minix/servers/vfs
Thomas Veerman 0bd011affd PM: extend srv_fork to set a specific UID
Currently, all servers and drivers run as root as they are forks of
RS. srv_fork now tells PM with which credentials to run the resulting
fork. Subsequently, PM lets VFS now as well.

This patch also fixes the following bugs:
 - RS doesn't initialize the setugid variable during exec, causing the
   servers and drivers to run setuid rendering the srv_fork extension
   useless.
 - PM erroneously tells VFS to run processes setuid. This doesn't
   actually lead to setuid processes as VFS sets {r,e}uid and {r,e}gid
   properly before checking PM's approval.
2012-01-30 15:16:19 +00:00
..
const.h - Make sure there's space left in the vmnt table for another mount point. 2010-08-17 10:02:50 +00:00
device.c VFS/FS: REQ_NEW_DRIVER now provides a label 2011-11-30 19:05:26 +01:00
dmap.c Split block/character protocols and libdriver 2011-11-23 14:06:37 +01:00
dmap.h Clean up and fix multiple bugs in select: 2011-04-13 13:25:34 +00:00
elf_core_dump.c Provide core dumping support for AVFS 2011-12-08 10:47:11 +00:00
exec.c vfs,avfs: verify an interpreter was found on #! line 2011-12-21 23:44:13 +01:00
exec.h Implement issetugid syscall 2011-11-28 10:03:43 +00:00
file.h Clean up and fix multiple bugs in select: 2011-04-13 13:25:34 +00:00
filedes.c Split block/character protocols and libdriver 2011-11-23 14:06:37 +01:00
fproc.h vfs - split fp_fd field into fd + callnr fields 2010-07-22 14:55:28 +00:00
fs.h <ansi.h> -> <minix/ansi.h> 2011-01-28 11:35:02 +00:00
fscall.c Servers: cleanup of some gcc -W warnings 2011-12-11 22:33:37 +01:00
gcov.c decouple file system server start/termination from mount/umount 2010-11-23 19:34:56 +00:00
glo.h vfs/avfs: map O_ACCMODE to R_BIT|W_BIT on recovery 2011-11-24 13:57:36 +01:00
link.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
lock.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
lock.h Use of all NIL_* defines converted to NULL 2010-05-10 13:26:00 +00:00
main.c PM: extend srv_fork to set a specific UID 2012-01-30 15:16:19 +00:00
Makefile ELF core files 2011-11-22 22:07:40 +01:00
misc.c Add "expected size" parameter to getsysinfo() 2011-12-11 22:34:14 +01:00
mount.c VFS/FS: REQ_NEW_DRIVER now provides a label 2011-11-30 19:05:26 +01:00
open.c VFS/FS: REQ_NEW_DRIVER now provides a label 2011-11-30 19:05:26 +01:00
param.h Add "expected size" parameter to getsysinfo() 2011-12-11 22:34:14 +01:00
path.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
pipe.c Clean up and fix multiple bugs in select: 2011-04-13 13:25:34 +00:00
protect.c Increase gid_t and uid_t to 32 bits 2011-09-05 13:56:14 +00:00
proto.h VFS/FS: REQ_NEW_DRIVER now provides a label 2011-11-30 19:05:26 +01:00
read.c Prepare VFS to support back calls from PFS. For security reasons and to support 2010-08-30 13:44:07 +00:00
request.c vfs/avfs: req_newdriver should use fs_sendrec 2011-12-05 16:28:09 +01:00
request.h - Fix dangling symlink regression 2010-01-21 09:32:15 +00:00
select.c Cleanup servers to make GCC/Clang a little happier 2011-09-08 13:57:03 +00:00
select.h Asynchronous select implementation. 2008-02-22 15:46:59 +00:00
stadir.c New stat structure. 2011-07-12 16:39:55 +02:00
table.c vfs/avfs: renumber stat calls so as to be unique 2012-01-14 00:27:07 +01:00
time.c Prepare VFS to support back calls from PFS. For security reasons and to support 2010-08-30 13:44:07 +00:00
utility.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
vmnt.c Use of all NIL_* defines converted to NULL 2010-05-10 13:26:00 +00:00
vmnt.h Use of all NIL_* defines converted to NULL 2010-05-10 13:26:00 +00:00
vnode.c add NOASSERTS make flag that disables assert()s (NDEBUG=1). 2011-02-16 18:58:30 +00:00
vnode.h Use of all NIL_* defines converted to NULL 2010-05-10 13:26:00 +00:00
write.c Remove useless variables and the computations on them. 2010-02-19 10:00:32 +00:00