diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-10-26 14:21:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-10-26 14:21:53 +0000 |
commit | 7530e8cdd506ecec1f4ad3bbd55f94de5a6d63ac (patch) | |
tree | 20917d9312d38cf57e04f17cec119d89873b57b3 /src/libposixplz/setgroups.c | |
parent | ad90bc1107ef9a76f4ca530cc41e86d4f352e3d9 (diff) | |
download | skalibs-7530e8cdd506ecec1f4ad3bbd55f94de5a6d63ac.tar.xz |
Separate and expose ancil_recv_fd/ancil_send_fd
The goal is to make late channel creation easy, as opposed to
textclient which always creates a new channel at start time.
This commit also moves posixishard.h inclusions as late as possible.
Diffstat (limited to 'src/libposixplz/setgroups.c')
-rw-r--r-- | src/libposixplz/setgroups.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libposixplz/setgroups.c b/src/libposixplz/setgroups.c index fff507f..0c32222 100644 --- a/src/libposixplz/setgroups.c +++ b/src/libposixplz/setgroups.c @@ -5,11 +5,13 @@ #ifdef SKALIBS_HASSETGROUPS #include <skalibs/nonposix.h> -#include <skalibs/posixishard.h> + #include <string.h> #include <unistd.h> #include <grp.h> + #include <skalibs/setgroups.h> +#include <skalibs/posixishard.h> int setgroups_and_gid (gid_t g, size_t n, gid_t const *tab) { |