Annotation of cci/usr/src/man/man3/setuid.3, revision 1.1

1.1     ! root        1: .TH SETUID 3 "1 April 1983" 
        !             2: .UC 4
        !             3: .SH NAME
        !             4: setuid, seteuid, setruid, setgid, setegid, setrgid \- set user and group ID
        !             5: .SH SYNOPSIS
        !             6: .nf
        !             7: .B setuid(uid)
        !             8: .B seteuid(euid)
        !             9: .B setruid(ruid)
        !            10: .PP
        !            11: .B setgid(gid)
        !            12: .B setegid(egid)
        !            13: .B setrgid(rgid)
        !            14: .fi
        !            15: .SH DESCRIPTION
        !            16: .I Setuid
        !            17: .RI ( setgid )
        !            18: sets both the real and effective
        !            19: user ID (group ID) of the current process to
        !            20: as specified.
        !            21: .PP
        !            22: .I Seteuid
        !            23: .RI ( setegid )
        !            24: sets the effective user ID (group ID) of the
        !            25: current process.
        !            26: .PP
        !            27: .I Setruid
        !            28: .RI ( setruid )
        !            29: sets the real user ID (group ID) of the
        !            30: current process.
        !            31: .PP
        !            32: These calls are only permitted to the super-user
        !            33: or if the argument is the real or effective ID.
        !            34: .SH "SEE ALSO"
        !            35: setreuid(2), setregid(2), getuid(2), getgid(2)
        !            36: .SH DIAGNOSTICS
        !            37: Zero is returned if the user (group) ID is set;
        !            38: \-1 is returned otherwise.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.