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 -------------------- 1 file changed, 20 deletions(-) (limited to 'doc/libstddjb') 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

-- cgit v1.2.3