New kernel call, SYS_PARAMCTL, that sets parameters of the caller

and is therefore unprivileged. Used to set grant tables.
This commit is contained in:
Ben Gras
2006-06-23 15:07:41 +00:00
parent 8dfac43a75
commit 002922fa4c
10 changed files with 71 additions and 14 deletions

View File

@@ -148,6 +148,7 @@ PRIVATE void initialize(void)
map(SYS_NICE, do_nice); /* set scheduling priority */
map(SYS_PRIVCTL, do_privctl); /* system privileges control */
map(SYS_TRACE, do_trace); /* request a trace operation */
map(SYS_PARAMCTL, do_paramctl); /* get/set own parameters */
/* Signal handling. */
map(SYS_KILL, do_kill); /* cause a process to be signaled */