about summary refs log tree commit diff
path: root/doc/libstddjb/djbunix.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-08-01 20:26:05 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-08-01 20:26:05 +0000
commit7bf3e29007350897cb708da01df845f4d58b4173 (patch)
tree7f6ecb1b4706d955d9bf52f2b3aa7aff11419109 /doc/libstddjb/djbunix.html
parente8fe8ed8117bb1a58cd588b295352875d3c08c1a (diff)
downloadskalibs-7bf3e29007350897cb708da01df845f4d58b4173.tar.gz
skalibs-7bf3e29007350897cb708da01df845f4d58b4173.tar.xz
skalibs-7bf3e29007350897cb708da01df845f4d58b4173.zip
Remove prot
Diffstat (limited to 'doc/libstddjb/djbunix.html')
-rw-r--r--doc/libstddjb/djbunix.html20
1 files changed, 0 insertions, 20 deletions
diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html
index 1507bcd..db2e91e 100644
--- a/doc/libstddjb/djbunix.html
+++ b/doc/libstddjb/djbunix.html
@@ -311,26 +311,6 @@ Opens <em>file</em> in write-only, non-blocking mode.
 Returns a valid fd number if it succeeds, or -1 (and sets errno) if it fails.
 </p>
 
-<h3> Privilege management </h3>
-
-<p>
-<code> int prot_readgroups (char const *name, gid_t *tab, unsigned int max) </code> <br />
-Reads the group database (normally <tt>/etc/group</tt>, but it can be
-altered via NSS) to get the list of supplementary groups for user <em>name</em>.
-Stores that list into the array pointed to by <em>tab</em>, which must be
-preallocated. Stores at most <em>max</em> elements into <em>tab</em>.
-Returns -1 and sets errno if it fails; else, returns the number of elements actually
-stored into <em>tab</em>.
-</p>
-
-<p>
-<code> int prot_grps (char const *name) </code> <br />
-Sets the kernel-maintained list of supplementary groups for the current process
-to the list of supplementary groups for user <em>name</em> according to the
-group database. This is a privileged operation.
-Returns -1 and sets errno if it fails; returns 0 if it succeeds.
-</p>
-
 <h3> Executable search and execution, and environment </h3>
 
 <p>