diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-08-01 20:26:05 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-08-01 20:26:05 +0000 |
commit | 7bf3e29007350897cb708da01df845f4d58b4173 (patch) | |
tree | 7f6ecb1b4706d955d9bf52f2b3aa7aff11419109 /doc | |
parent | e8fe8ed8117bb1a58cd588b295352875d3c08c1a (diff) | |
download | skalibs-7bf3e29007350897cb708da01df845f4d58b4173.tar.xz |
Remove prot
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libstddjb/djbunix.html | 20 | ||||
-rw-r--r-- | doc/upgrade.html | 2 |
2 files changed, 1 insertions, 21 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> diff --git a/doc/upgrade.html b/doc/upgrade.html index eb10441..3f1f1d9 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -23,7 +23,7 @@ <li> The <a href="libstddjb/djbunix.html">dir_close()</a> function now returns void and leaves errno unchanged. </li> <li> The <tt>absolutepath()</tt> and <tt>sarealpath_tmp()</tt> functions, as well -as the <tt>skalibs/mininetstring.h</tt> family of functions, have been removed. </li> +as the <tt>skalibs/mininetstring.h</tt> and <em>prot</em> family of functions, have been removed. </li> <li> <a href="libstddjb/djbunix.html">skalibs/djbunix.h</a> does not include <tt>skalibs/env.h</tt> anymore. </li> </ul> |