aboutsummaryrefslogtreecommitdiff
path: root/libtrivfs/io-reauthenticate.c
Commit message (Collapse)AuthorAgeFilesLines
* 2001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-06-161-6/+8
| | | | | | | | | | | | | * dir-lookup.c (trivfs_S_dir_lookup): Use iohelp_dup_iouser as per the new semantics. * fsys-getroot.c (trivfs_S_fsys_getroot): Use iohelp_create_complex_iouser. * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use iohelp_reauth as per the new semantics. * io-restrict-auth.c (trivfs_S_io_restrict_auth): Use iohelp_create_complex_iouser. Check return values. * trivfs_protid_dup (trivfs_protid_dup): Use iohelp_dup_iouser as per the new semantics.
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-10/+8
| | | | | * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use ports_get_send_right.
* Mon Nov 18 18:13:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * io-stat.c (trivfs_S_io_stat): Make the mode specify IFCHR by default. Sat Nov 16 17:20:15 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile (HURDLIBS): Add `iohelp'. Thu Nov 14 13:13:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * io-restrict-auth.c (trivfs_S_io_restrict_auth): idvec_set -> idvec_set_ids. Fix unrelated typos. * protid-dup.c (trivfs_protid_dup): Use iouser_dup_iouser instead of copying old arrays by hand. * protid-clean.c (trivfs_clean_protid): Free CRED->user instead of CRED->uids and CRED->gids. * io-reauthenticate.c (trivfs_S_io_reauthenticate): Args for io_restrict_auth now come from the new structure definitions. * open.c (trivfs_open): Pass correct first arg to idvec_contains. * open.c (trivfs_open): Delete variable I. * trivfs.h: Include <hurd/iohelp.h>
* Thu Nov 7 01:01:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-131-57/+5
| | | | | | | | | | | | | | | | | | * io-restrict-auth.c (trivfs_S_io_restrict_auth): Rewrite to use idvecs. Wed Nov 6 23:40:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * trivfs.h (struct trivfs_protid): Delete members `uids', `gids', `nuids', and `ngids'. Replace with `user'. (trivfs_check_open_hook): Delete args `uids', `nuids', `gids', `ngids'. Replace with new arg `user'. All callers changed. (trivfs_open): Likewise. * open.c (trivfs_open): Change to match new declaration. * trivfs.h (struct trivfs_protid): Delete members `uids', `gids', * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use new iohelp_reauth call.
* *** empty log message ***Michael I. Bushnell1996-07-191-7/+6
|
* (trivfs_S_io_reauthenticate):Miles Bader1996-07-181-0/+4
| | | | Hold GLOBAL_LOCK while we're setting up the new port.
* (trivfs_S_io_reauthenticate): Repeat ports_create_port,Michael I. Bushnell1996-07-141-29/+54
| | | | | | auth_server_authenticate, io_restrict_auth, and *trivfs_protid_create_hook for as long as we get EINTR. Deal with other errors without crashing.
* (trivfs_S_io_reauthenticate): Don't use MACH_MSG_TYPE_MOVE_SEND; it'sMichael I. Bushnell1996-07-071-1/+2
| | | | unreliable.
* (trivfs_S_io_reauthenticate): Don't send right for CRED toMichael I. Bushnell1996-05-091-3/+1
| | | | auth_server_authenticate.
* (trivfs_S_io_reauthenticate): Use ports_create_port instead ofMiles Bader1996-01-271-3/+7
| | | | ports_allocate_port, and return any error.
* (trivfs_S_io_reauthenticate): Allow trivfs_protid_create_hook to return anMiles Bader1995-08-121-7/+10
| | | | error code.
* (trivfs_S_io_reauthenticate): Free initial reference created byMichael I. Bushnell1995-07-211-1/+3
| | | | ports_allocate_port.
* (trivfs_S_io_reauthenticate): Use new ports interface.Michael I. Bushnell1995-06-271-1/+3
|
* (trivfs_S_io_reauthenticate): Lock CRED->po->cntl->lock aroundMichael I. Bushnell1995-03-301-1/+5
| | | | relevant code.
* entered into RCSMichael I. Bushnell1994-08-291-2/+3
|
* Formerly io-reauthenticate.c.~8~Michael I. Bushnell1994-07-051-0/+2
|
* Formerly io-reauthenticate.c.~7~Michael I. Bushnell1994-06-221-0/+1
|
* Formerly io-reauthenticate.c.~6~Michael I. Bushnell1994-06-161-0/+1
|
* Formerly io-reauthenticate.c.~5~Michael I. Bushnell1994-06-151-12/+22
|
* Formerly io-reauthenticate.c.~4~Michael I. Bushnell1994-05-241-6/+13
|
* Formerly io-reauthenticate.c.~3~Michael I. Bushnell1994-05-101-2/+5
|
* Formerly io-reauthenticate.c.~2~Michael I. Bushnell1994-02-181-3/+11
|
* Initial revisionMichael I. Bushnell1994-02-181-0/+71