getpeuid implementation. Get the uid of a process (by endpoint)
This commit is contained in:
@@ -95,6 +95,7 @@
|
||||
#if 0
|
||||
#define FREEMEM 106 /* to PM, not used, not implemented */
|
||||
#endif
|
||||
#define GETPUID 107 /* to PM: get the uid of a process (endpoint) */
|
||||
|
||||
#define DEVCTL 120 /* to FS, map or unmap a device */
|
||||
#define TASK_REPLY 121 /* to FS: reply code from drivers, not
|
||||
|
||||
@@ -198,6 +198,7 @@ _PROTOTYPE( int freemem, (phys_bytes size, phys_bytes base) );
|
||||
#define unmapdriver(device) devctl(DEV_UNMAP, 0, device, 0)
|
||||
_PROTOTYPE( int devctl, (int ctl_req, int driver, int device, int style,
|
||||
int force) );
|
||||
_PROTOTYPE( uid_t getpeuid, (endpoint_t ep) );
|
||||
|
||||
/* For compatibility with other Unix systems */
|
||||
_PROTOTYPE( int getpagesize, (void) );
|
||||
|
||||
Reference in New Issue
Block a user