diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-12-15 20:13:04 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-12-15 20:13:04 +0000 |
commit | 25ef0f44a4d150d8a3571906475ed3d567ee7f4a (patch) | |
tree | e26886f7669a67a09c2d1526a0cbb7e1a1015e20 /src/OS | |
parent | 3eeff5f988769512ed30bcf13b08d59cc853a392 (diff) |
GNU/Hurd: handle platform-specific behaviour of setgroups()
Diffstat (limited to 'src/OS')
-rw-r--r-- | src/OS/os.h-GNU | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/OS/os.h-GNU b/src/OS/os.h-GNU index 44993163d..1de2e3e84 100644 --- a/src/OS/os.h-GNU +++ b/src/OS/os.h-GNU @@ -20,4 +20,8 @@ typedef struct flock flock_t; /* default is non-const */ #define ICONV_ARG2_TYPE const char ** +/* setgroups(0, NULL) succeeds, and drops the gid group +as well as any supplementary groups*/ +#define OS_SETGROUPS_ZERO_DROPS_ALL + /* End */ |