summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-07-16 16:52:08 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-07-16 16:52:08 +0000
commit8b000a20cc367c727b9f2c0d8e68372d0c9df995 (patch)
tree4b1fe6d66241ee4844a77f9dad61bf14a3bb97e2 /src/include
parent61c1f79bcace61c650edd09fc4424c2d08fbf79e (diff)
downloadskalibs-8b000a20cc367c727b9f2c0d8e68372d0c9df995.tar.xz
More secure setgroups functions. (thanks muh)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/setgroups.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/skalibs/setgroups.h b/src/include/skalibs/setgroups.h
index fab0614..98998e0 100644
--- a/src/include/skalibs/setgroups.h
+++ b/src/include/skalibs/setgroups.h
@@ -9,6 +9,7 @@
#include <unistd.h>
+extern int setgroups_and_gid (gid_t, size_t, gid_t const *) ;
extern int setgroups_with_egid (size_t, gid_t const *) ;
extern int skalibs_setgroups (size_t, gid_t const *) ;