man(1) Manual page archive

sys-setuid(2) - Unix First Edition Manual Page
11/3/71SYS_SETUID (II)

NAME setuid -- set process ID
SYNOPSIS (process ID in r0)sys setuid / setuid = 23.


DESCRIPTION The user ID of the current process is set to the argument in r0.Both the effective and the real user ID are set. This call is only


permitted to the super--user.
FILES
SEE_ALSO getuid
DIAGNOSTICS Error bit (c--bit) is set if the current user ID is not that of thesuper--user.


BUGS
OWNER ken, dmr