exacl 0.1.0

Manipulate file system access control lists (ACL) on macOS and Linux
1
2
3
4
5
6
7
8
9
10
11
12
#include <sys/types.h>
#include <sys/errno.h>
#include <sys/acl.h>
#include <fcntl.h>
#if __APPLE__
// MacOS makes us translate between GUID and UID/GID.
# include <membership.h>
#elif __linux__
// Linux supplies non-standard ACL extensions in a different header.
# include <acl/libacl.h>
#endif
#include <unistd.h>