From 7bf3e29007350897cb708da01df845f4d58b4173 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 1 Aug 2018 20:26:05 +0000 Subject: Remove prot --- doc/libstddjb/djbunix.html | 20 -------------------- doc/upgrade.html | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) (limited to 'doc') 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 file in write-only, non-blocking mode. Returns a valid fd number if it succeeds, or -1 (and sets errno) if it fails.

-

Privilege management

- -

- int prot_readgroups (char const *name, gid_t *tab, unsigned int max)
-Reads the group database (normally /etc/group, but it can be -altered via NSS) to get the list of supplementary groups for user name. -Stores that list into the array pointed to by tab, which must be -preallocated. Stores at most max elements into tab. -Returns -1 and sets errno if it fails; else, returns the number of elements actually -stored into tab. -

- -

- int prot_grps (char const *name)
-Sets the kernel-maintained list of supplementary groups for the current process -to the list of supplementary groups for user name according to the -group database. This is a privileged operation. -Returns -1 and sets errno if it fails; returns 0 if it succeeds. -

-

Executable search and execution, and environment

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 @@

  • The dir_close() function now returns void and leaves errno unchanged.
  • The absolutepath() and sarealpath_tmp() functions, as well -as the skalibs/mininetstring.h family of functions, have been removed.
  • +as the skalibs/mininetstring.h and prot family of functions, have been removed.
  • skalibs/djbunix.h does not include skalibs/env.h anymore.
  • -- cgit v1.2.3