minix/servers/pm
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
..
alarm.c move timers code to libsys 2010-07-09 12:58:18 +00:00
break.c - Introduce some macros for field names, so that endpt, pendpt, 2009-09-21 14:48:19 +00:00
const.h Fix a few compile time warnings 2010-07-02 12:41:19 +00:00
exec.c PM: extend srv_fork to set a specific UID 2012-01-30 15:16:19 +00:00
forkexit.c PM: extend srv_fork to set a specific UID 2012-01-30 15:16:19 +00:00
getset.c Implement issetugid syscall 2011-11-28 10:03:43 +00:00
glo.h SMP - can boot even if some cpus fail to boot 2010-09-15 14:11:21 +00:00
main.c Use correct value for _NSIG 2012-01-16 11:42:29 +00:00
Makefile Cut PM out of the adddma/deldma/getdma call path 2012-01-14 00:27:06 +01:00
mcontext.c - Add support for the ucontext system calls (getcontext, setcontext, 2010-03-12 15:58:41 +00:00
misc.c Remove obsolete PROCSTAT/getsigset call. 2012-01-14 00:27:06 +01:00
mproc.h Implement issetugid syscall 2011-11-28 10:03:43 +00:00
param.h Add "expected size" parameter to getsysinfo() 2011-12-11 22:34:14 +01:00
pm.h <ansi.h> -> <minix/ansi.h> 2011-01-28 11:35:02 +00:00
profile.c Split off sys_umap_remote from sys_umap 2011-06-10 14:28:20 +00:00
proto.h Cut PM out of the adddma/deldma/getdma call path 2012-01-14 00:27:06 +01:00
schedule.c SMP - Changed prototype of sys_schedule() 2010-09-15 14:10:42 +00:00
signal.c Use correct value for _NSIG 2012-01-16 11:42:29 +00:00
table.c vfs/avfs: renumber stat calls so as to be unique 2012-01-14 00:27:07 +01:00
time.c panic() cleanup. 2010-03-05 15:05:11 +00:00
trace.c Use correct value for _NSIG 2012-01-16 11:42:29 +00:00
type.h Removed 'system process' magic from PM and FS. 2005-05-13 08:57:08 +00:00
utility.c Servers: cleanup of some gcc -W warnings 2011-12-11 22:33:37 +01:00