aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/file-exec.c
Commit message (Collapse)AuthorAgeFilesLines
* (diskfs_S_file_exec): Use diskfs_create_protid instead ofMiles Bader1996-01-271-14/+18
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_file_exec): Use fshelp_exec_reauth().Miles Bader1996-01-011-322/+12
| | | | (setid, scan_ids): Functions deleted.
* (diskfs_S_file_exec):Miles Bader1995-12-291-11/+11
| | | | | Always reauth the proc port, as exec does not do it, even in the secure case. Set the proc's owner too.
* (setid):Miles Bader1995-12-281-91/+133
| | | | | | | | | | 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.
* (setid): New function.Miles Bader1995-12-281-348/+154
| | | | | | | | | (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.
* (diskfs_S_file_exec) [reauth]: If ISPROC, then don't install returnedMichael I. Bushnell1995-12-191-1/+318
| | | | port; just deallocate it.
* (diskfs_S_file_exec): Return EACCES for attempts to execute aMichael I. Bushnell1995-10-181-2/+23
| | | | | directory. Dike out totally bogus set[ug]id code. Bother to lock NP around critical section.
* (diskfs_S_file_exec): Free initial reference created byMichael I. Bushnell1995-07-211-6/+8
| | | | diskfs_make_protid.
* (diskfs_S_file_exec): Declare both variables `i' to be unsigned int.Michael I. Bushnell1995-06-091-2/+2
|
* The previous change mistakenly changed an instance of MACH_MSG_TYPE_MAKE_SENDMiles Bader1995-04-041-1/+1
| | | | to MACH_MSG_TYPE_COPY_SEND.
* (diskfs_S_file_exec): Using MOVE_SEND in call to exec_exec loses,Michael I. Bushnell1995-04-041-6/+16
| | | | | | 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.
* (diskfs_S_file_exec): And provide enough arguments.Michael I. Bushnell1994-11-091-1/+1
|
* (diskfs_S_file_exec): Give correct function name for file_name_lookup.Michael I. Bushnell1994-11-091-1/+1
|
* Include <hurd/paths.h>Michael I. Bushnell1994-11-091-0/+1
|
* (diskfs_S_file_exec): If diskfs_exec isn't already set, try to open itMichael I. Bushnell1994-11-091-0/+5
| | | | | here. (Later, we should also deal if exec_exec returns that the previous server died.)
* entered into RCSMichael I. Bushnell1994-08-311-1/+30
|
* Formerly file-exec.c.~9~Roland McGrath1994-08-311-23/+150
|
* Formerly file-exec.c.~8~Michael I. Bushnell1994-08-301-0/+8
|
* Formerly file-exec.c.~7~Michael I. Bushnell1994-07-131-1/+1
|
* Formerly file-exec.c.~6~Roland McGrath1994-05-051-2/+2
|
* Formerly file-exec.c.~5~Michael I. Bushnell1994-04-291-0/+1
|
* Formerly file-exec.c.~4~Michael I. Bushnell1994-03-221-5/+6
|
* Formerly file-exec.c.~3~Michael I. Bushnell1994-03-211-2/+2
|
* Formerly file-exec.c.~2~Michael I. Bushnell1994-03-211-1/+40
|
* Initial revisionMichael I. Bushnell1994-02-151-0/+45