summaryrefslogtreecommitdiff
path: root/libdiskfs/file-exec.c
AgeCommit message (Collapse)Author
1996-07-26(diskfs_S_file_exec):Miles Bader
Unlock NP before we attempt to do setuid/setgid (which otherwise can deadlock during port reauth). Pay attention to the error code returned by fshelp_exec_reauth, and don't make NEWPI if it's an error. Initialize ERR.
1996-01-27(diskfs_S_file_exec): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-01(diskfs_S_file_exec): Use fshelp_exec_reauth().Miles Bader
(setid, scan_ids): Functions deleted.
1995-12-29(diskfs_S_file_exec):Miles Bader
Always reauth the proc port, as exec does not do it, even in the secure case. Set the proc's owner too.
1995-12-28(setid):Miles Bader
Don't touch the return params unless we succeed. Add SETID parameter, and just copy old into new unless it's set. Handle the NOLDGENIDS == 0 case correctly. (diskfs_S_file_exec): Use the new setid() properly. Make sure that {GEN,AUX}{UIDS,GIDS} are always in a state where they can be freed.
1995-12-28(setid): New function.Miles Bader
(scan_ids): Moved out of diskfs_S_file_exec. (diskfs_S_file_exec): Move duplicated code into setid(). Make the bogus auth port case work correctly. Deleted old ifdefed-out code. Enable setuid code.
1995-12-19(diskfs_S_file_exec) [reauth]: If ISPROC, then don't install returnedMichael I. Bushnell
port; just deallocate it.
1995-10-18(diskfs_S_file_exec): Return EACCES for attempts to execute aMichael I. Bushnell
directory. Dike out totally bogus set[ug]id code. Bother to lock NP around critical section.
1995-07-21(diskfs_S_file_exec): Free initial reference created byMichael I. Bushnell
diskfs_make_protid.
1995-06-09(diskfs_S_file_exec): Declare both variables `i' to be unsigned int.Michael I. Bushnell
1995-04-04The previous change mistakenly changed an instance of MACH_MSG_TYPE_MAKE_SENDMiles Bader
to MACH_MSG_TYPE_COPY_SEND.
1995-04-04(diskfs_S_file_exec): Using MOVE_SEND in call to exec_exec loses,Michael I. Bushnell
because it consumes a reference, which will be consumed again by mach_msg_server if we return an error. So use COPY_SEND instead, and deallocate the rights ourselves only when we are to return success.
1994-11-09(diskfs_S_file_exec): And provide enough arguments.Michael I. Bushnell
1994-11-09(diskfs_S_file_exec): Give correct function name for file_name_lookup.Michael I. Bushnell
1994-11-09Include <hurd/paths.h>Michael I. Bushnell
1994-11-09(diskfs_S_file_exec): If diskfs_exec isn't already set, try to open itMichael I. Bushnell
here. (Later, we should also deal if exec_exec returns that the previous server died.)
1994-08-31entered into RCSMichael I. Bushnell
1994-08-31Formerly file-exec.c.~9~Roland McGrath
1994-08-30Formerly file-exec.c.~8~Michael I. Bushnell
1994-07-13Formerly file-exec.c.~7~Michael I. Bushnell
1994-05-05Formerly file-exec.c.~6~Roland McGrath
1994-04-29Formerly file-exec.c.~5~Michael I. Bushnell
1994-03-22Formerly file-exec.c.~4~Michael I. Bushnell
1994-03-21Formerly file-exec.c.~3~Michael I. Bushnell
1994-03-21Formerly file-exec.c.~2~Michael I. Bushnell
1994-02-15Initial revisionMichael I. Bushnell