12 lines
171 B
C
Executable file
12 lines
171 B
C
Executable file
#include <lib.h>
|
|
#define setuid _setuid
|
|
#include <unistd.h>
|
|
|
|
PUBLIC int setuid(usr)
|
|
_mnx_Uid_t usr;
|
|
{
|
|
message m;
|
|
|
|
m.m1_i1 = usr;
|
|
return(_syscall(MM, SETUID, &m));
|
|
}
|