summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst34
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)