seteuid() and setegid()

This commit is contained in:
Ben Gras
2005-12-13 09:48:29 +00:00
parent f18384d54c
commit f6e5052597
10 changed files with 41 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
#define NCALLS 91 /* number of system calls allowed */
#define NCALLS 93 /* number of system calls allowed */
#define EXIT 1
#define FORK 2
@@ -82,3 +82,5 @@
#define GETPRIORITY 88 /* to PM */
#define SETPRIORITY 89 /* to PM */
#define GETTIMEOFDAY 90 /* to PM */
#define SETEUID 91 /* to PM (and PM -> FS) */
#define SETEGID 92 /* to PM (and PM -> FS) */

View File

@@ -124,9 +124,11 @@ _PROTOTYPE( int pipe, (int _fildes[2]) );
_PROTOTYPE( ssize_t read, (int _fd, void *_buf, size_t _n) );
_PROTOTYPE( int rmdir, (const char *_path) );
_PROTOTYPE( int setgid, (_mnx_Gid_t _gid) );
_PROTOTYPE( int setegid, (_mnx_Gid_t _gid) );
_PROTOTYPE( int setpgid, (pid_t _pid, pid_t _pgid) );
_PROTOTYPE( pid_t setsid, (void) );
_PROTOTYPE( int setuid, (_mnx_Uid_t _uid) );
_PROTOTYPE( int seteuid, (_mnx_Uid_t _uid) );
_PROTOTYPE( unsigned int sleep, (unsigned int _seconds) );
_PROTOTYPE( long sysconf, (int _name) );
_PROTOTYPE( pid_t tcgetpgrp, (int _fd) );