getpeuid implementation. Get the uid of a process (by endpoint)
This commit is contained in:
@@ -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