summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-07-13 01:26:58 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-07-13 01:26:58 (GMT)
commit8d2f2b2db21bddfad17a0a52b4fdded558adf7fb (patch)
treedaa866d3736fed70a600813a475a86b8c75418f1 /Doc/lib
parent4d5d5bf5ae26fe820301ad175560192af372716c (diff)
downloadcpython-8d2f2b2db21bddfad17a0a52b4fdded558adf7fb.zip
cpython-8d2f2b2db21bddfad17a0a52b4fdded558adf7fb.tar.gz
cpython-8d2f2b2db21bddfad17a0a52b4fdded558adf7fb.tar.bz2
From Sam Rushing's Medusa, via SF patch #100858: add & document
os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libos.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 55db0e1..803d90b 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -181,6 +181,16 @@ calls to \function{putenv()} don't update \code{os.environ}, so it is
actually preferable to assign to items of \code{os.environ}.
\end{funcdesc}
+\begin{funcdesc}{setegid}{egid}
+Set the current process's effective group id.
+Availability: \UNIX{}.
+\end{funcdesc}
+
+\begin{funcdesc}{seteuid}{euid}
+Set the current process's effective user id.
+Availability: \UNIX{}.
+\end{funcdesc}
+
\begin{funcdesc}{setgid}{gid}
Set the current process' group id.
Availability: \UNIX{}.
@@ -199,6 +209,16 @@ for the semantics.
Availability: \UNIX{}.
\end{funcdesc}
+\begin{funcdesc}{setreuid}{ruid, euid}
+Set the current process's real and effective user ids.
+Availability: \UNIX{}.
+\end{funcdesc}
+
+\begin{funcdesc}{setregid}{rgid, egid}
+Set the current process's real and effective group ids.
+Availability: \UNIX{}.
+\end{funcdesc}
+
\begin{funcdesc}{setsid}{}
Calls the system call \cfunction{setsid()}. See the \UNIX{} manual
for the semantics.