aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/io-reauthenticate.c
Commit message (Collapse)AuthorAgeFilesLines
* 2001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-06-161-5/+9
| | | | | | | | | | | | | | | | * dir-lookup.c (diskfs_S_dir_lookup): Use iohelp_create_empty_iouser. * fsys-getfile.c (diskfs_S_fsys_getfile): Use iohelp_create_complex_iouser. * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use new iohelp_reauth semantics. * io-restrict-auth.c (diskfs_S_io_restrict_auth): Use new iohelp_create_iouser semantics. * protid-make.c (diskfs_finish_protid): Use iohelp_create_simple_iouser and new iohelp_dup_iouse semantics. * trans-callback.c (_diskfs_translator_callback2_fn): Use iohelp_create_simple_iouser.
* 2001-03-28 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-03-281-2/+5
| | | | | | | | | * dir-lookup.c (diskfs_S_dir_lookup): New variable USER. Store new iouser in that variable and free it after creating the protid for DIRPORT. * trans-callback.c (_diskfs_translator_callback2_fn): Likewise. * io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise. * io-reauthenticate.c (diskfs_S_io_reauthenticate): Likewise.
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-8/+6
| | | | | * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use ports_get_send_right.
* Thu Nov 7 01:03:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-131-37/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * protid-rele.c (diskfs_protid_rele): Free CRED->user. Wed Nov 6 17:55:17 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h (diskfs_isuid, diskfs_groupmember, diskfs_isowner, diskfs_access, diskfs_checkdirmod): Delete functions. * fsys-getroot.c (diskfs_S_fsys_getroot): Replace PSEUDOCRED with a real iouser and specify that in the relevant calls. * io-restrict-auth.c (diskfs_S_io_restrict_auth): Reworked to use idvecs. * file-chmod.c (diskfs_S_file_chmod): diskfs_isuid -> idvec_contains. * file-chown.c (diskfs_S_file_chown): Likewise. * file-getcontrol.c (diskfs_S_file_getcontrol): Likewise. * file-chmod.c (diskfs_S_file_chmod): diskfs_groupmember -> idvec_contains. * file-chown.c (diskfs_S_file_chown): Likewise. * node-create.c (diskfs_create_node): Likewise. * dir-lookup.c (diskfs_S_dir_lookup): diskfs_isowner -> fshelp_isowner. * file-chflags.c (diskfs_S_file_chflags): Likewise. * file-chmod.c (diskfs_S_file_chmod): Likewise. * file-chown.c (diskfs_S_file_chown): Likewise. * file-get-transcntl.c (diskfs_S_file_get_translator_cntl): Likewise. * file-set-trans.c (diskfs_S_file_set_translator): Likewise. * file-utimes.c (diskfs_S_file_utimes): Likewise. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * lithp.h (dithkfth_ithowner): Deleted macro. (fthhelp_ithowner, uther): New macros. * file-chauthor.c (dithkfth_TH_file_chauthor): dthkfth_ithowner -> fthhelp_ithowner. * dir-lookup.c (diskfs_S_dir_lookup): diskfs_access -> fshelp_access. * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. * file-access.c (diskfs_S_file_check_access): Likewise. * file-exec.c (diskfs_S_file_exec): Likewise (in dead code). * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * ifsock.c (diskfs_S_ifsock_getsockaddr): Likewise. * lookup.c (diskfs_lookup): Likewise. (diskfs_lookup): diskfs_checkdirmod -> fshelp_checkdirmod. * dir-lookup.c (diskfs_S_dir_lookup): New arg format for fshelp_fetch_root. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * diskfs.h, protid-make.c (diskfs_create_protid): Delete args `uids', `gids', `nuids', and `ngids'. Replace with new arg `user'. All callers changed. (diskfs_finish_protid): Likewise. * file-inv-trans.c (diskfs_S_file_invoke_translator): Use CRED->user instead of old fields. * io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise. * node-create.c (diskfs_create_node): Likewise. * file-exec.c (diskfs_S_file_exec): Likewise. Use idvec_merge instead of idvec_merge_ids, now that it's convenient. * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use new iohelp_reauthenticate. Tue Nov 5 21:10:18 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h: Include <idvec.h>. (struct protid): Delete members `uids', `gids', `nuids' and `ngids'. New member `user'.
* (diskfs_S_io_reauthenticate): Create send right outside of loop.Michael I. Bushnell1996-07-141-11/+15
|
* (diskfs_S_io_reauthenticate): Repeat diskfs_start_protid andMichael I. Bushnell1996-07-141-10/+19
| | | | auth_server_authenticate for as we get EINTR.
* (diskfs_S_io_reauthenticate): Don't use unsafe MOVE_SEND inMichael I. Bushnell1996-07-081-11/+10
| | | | auth_server_authenticate.
* (diskfs_S_io_reauthenticate): If auth_server_authenticate fails, thenMichael I. Bushnell1996-06-241-12/+16
| | | | | fill with empty IDs. We can't permit interruption, because this is a simpleroutine.
* (diskfs_S_io_reauthenticate): Don't pass CRED port inRoland McGrath1996-05-091-7/+5
| | | | auth_server_authenticate.
* (diskfs_S_io_reauthenticate): Use new version of diskfs_start_protid.Miles Bader1996-01-271-2/+8
|
* (diskfs_S_io_reauthenticate): Free initial reference created byMichael I. Bushnell1995-07-211-0/+2
| | | | diskfs_start_protid.
* (diskfs_S_io_reauthenticate): Use assert_perror instead of assertMichael I. Bushnell1995-03-071-2/+2
| | | | where appropriate.
* entered into RCSMichael I. Bushnell1994-08-291-2/+3
|
* Formerly io-reauthenticate.c.~8~Roland McGrath1994-06-051-7/+6
|
* Formerly io-reauthenticate.c.~7~Michael I. Bushnell1994-05-191-0/+1
|
* Formerly io-reauthenticate.c.~6~Roland McGrath1994-05-051-1/+1
|
* Formerly io-reauthenticate.c.~5~Michael I. Bushnell1994-02-141-1/+1
|
* Formerly io-reauthenticate.c.~4~Michael I. Bushnell1994-02-121-2/+2
|
* Formerly io-reauthenticate.c.~3~Michael I. Bushnell1994-02-041-3/+3
|
* Formerly io-reauthenticate.c.~2~Michael I. Bushnell1994-02-031-2/+3
|
* Initial revisionMichael I. Bushnell1994-02-031-0/+71