diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2009-11-27 14:09:49 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2009-11-27 14:09:49 (GMT) |
commit | 7aed61ae466570fc9fbb8cb26c31e02c1a57e82d (patch) | |
tree | 6eb60ddb67a4866abff4f431ce43b1c2bd3e51b9 /Doc/library/os.rst | |
parent | 03f6c11f07f7f7163186c7f8cb9da086ba703162 (diff) | |
download | cpython-7aed61ae466570fc9fbb8cb26c31e02c1a57e82d.zip cpython-7aed61ae466570fc9fbb8cb26c31e02c1a57e82d.tar.gz cpython-7aed61ae466570fc9fbb8cb26c31e02c1a57e82d.tar.bz2 |
Merged revisions 76550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76550 | martin.v.loewis | 2009-11-27 14:56:01 +0100 (Fr, 27 Nov 2009) | 2 lines
Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.
........
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index c64c5ad..588a752 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -196,6 +196,19 @@ process and user. Return the parent's process id. Availability: Unix. +.. function:: getresgid() + + Return a tuple (ruid, euid, suid) denoting the current process's + real, effective, and saved user ids. Availability: Unix. + + .. versionadded:: 2.7/3.2 + +.. function:: getresuid() + + Return a tuple (rgid, egid, sgid) denoting the current process's + real, effective, and saved user ids. Availability: Unix. + + .. versionadded:: 2.7/3.2 .. function:: getuid() @@ -267,14 +280,27 @@ process and user. for the semantics. Availability: Unix. -.. function:: setreuid(ruid, euid) +.. function:: setregid(rgid, egid) - Set the current process's real and effective user ids. Availability: Unix. + Set the current process's real and effective group ids. Availability: Unix. +.. function:: setresgid(rgid, egid, sgid) -.. function:: setregid(rgid, egid) + Set the current process's real, effective, and saved group ids. + Availability: Unix. - Set the current process's real and effective group ids. Availability: Unix. + .. versionadded:: 2.7/3.2 + +.. function:: setresuid(ruid, euid, suid) + + Set the current process's real, effective, and saved user ids. + Availibility: Unix. + + .. versionadded:: 2.7/3.2 + +.. function:: setreuid(ruid, euid) + + Set the current process's real and effective user ids. Availability: Unix. .. function:: getsid(pid) |