minix/servers/avfs
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
..
comm.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
comm.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
const.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
coredump.c Provide core dumping support for AVFS 2011-12-08 10:47:11 +00:00
device.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
dmap.c Split block/character protocols and libdriver 2011-11-23 14:06:37 +01:00
dmap.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
exec.c Don't print events that happen often 2012-01-19 17:06:14 +00:00
exec.h Implement issetugid syscall 2011-11-28 10:03:43 +00:00
file.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
filedes.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
fproc.h AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
fs.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
fscall.c Servers: cleanup of some gcc -W warnings 2011-12-11 22:33:37 +01:00
gcov.c Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
glo.h AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
job.h err_code has to be preserved as well. Short term fix 2011-10-25 12:12:20 +00:00
link.c AVFS: Return actual last dir when path is named by a symlink 2012-01-16 10:12:29 +00:00
lock.c AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
lock.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
main.c PM: extend srv_fork to set a specific UID 2012-01-30 15:16:19 +00:00
Makefile Provide core dumping support for AVFS 2011-12-08 10:47:11 +00:00
misc.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
mount.c Properly unlock on mount failure 2011-12-09 15:47:42 +00:00
open.c lseek should not yield a negative file position 2012-01-19 16:48:01 +00:00
param.h Add "expected size" parameter to getsysinfo() 2011-12-11 22:34:14 +01:00
path.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
path.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
pipe.c AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
protect.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
proto.h Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
read.c AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
request.c vfs/avfs: req_newdriver should use fs_sendrec 2011-12-05 16:28:09 +01:00
request.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
scratchpad.h AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
select.c Servers: cleanup of some gcc -W warnings 2011-12-11 22:33:37 +01:00
select.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
stadir.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
table.c vfs/avfs: renumber stat calls so as to be unique 2012-01-14 00:27:07 +01:00
threads.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
time.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
tll.c Fix tll state bug 2012-01-12 11:30:24 +00:00
tll.h Merge AVFS and APFS 2011-08-17 13:40:36 +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 Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
vmnt.h Reenable backcall detection 2011-10-27 15:29:37 +00:00
vnode.c Make AVFS resilient against failing back calls 2011-09-06 10:38:16 +00:00
vnode.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
worker.c Increase thread stack space for GCC compiled images 2012-01-16 10:12:29 +00:00
write.c Provide core dumping support for AVFS 2011-12-08 10:47:11 +00:00