getpeuid implementation. Get the uid of a process (by endpoint)

This commit is contained in:
Philip Homburg
2007-04-27 12:21:06 +00:00
parent 8eb09f6ddc
commit 69ca935251
7 changed files with 49 additions and 0 deletions
+1
View File
@@ -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) );