Next: putgrent
, Previous: getgrouplist
, Up: Glibc Extensions to <grp.h>
[Contents][Index]
initgroups
LSB specification:
https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-initgroups-3.html
Documentation:
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
fork
and exec
if
the parent process is multi-threaded. Instead, use getgroups
or
getgrouplist
(or use the gnulib module mgetgroups
)
before forking, and setgroups
in the child.