Initialize priv from user supplied priv structure in SYS_PRIV_INIT.

Added SYS_PRIV_USER call to downgrade a privileged process to a user process.
This commit is contained in:
Philip Homburg
2006-10-20 14:42:48 +00:00
parent 1ce2f75627
commit dd3ee082b2
2 changed files with 63 additions and 0 deletions

View File

@@ -315,6 +315,9 @@
#define SYS_PRIV_ADD_MEM 3 /* Add memory range (struct mem_range)
*/
#define SYS_PRIV_ADD_IRQ 4 /* Add IRQ */
#define SYS_PRIV_USER 5 /* Make a process an oridinary user
* process.
*/
/* Subfunctions for SYS_SETGRANT */
#define SYS_PARAM_SET_GRANT 1 /* Set address and size of grant table */