diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-18 16:29:17 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-19 15:50:45 -0400 |
commit | 2d4ff1dcd044c09dd6368b6726d53b4f3afcd546 (patch) | |
tree | bfa39e8aeb48ea1b0a2955bbd29406efbbccb0c2 /config/acl-is-trivial-np.c | |
parent | 536075930140c7886c61997be31c41d651f48818 (diff) | |
download | bfs-2d4ff1dcd044c09dd6368b6726d53b4f3afcd546.tar.xz |
config: Check for acl_is_trivial_np()
Diffstat (limited to 'config/acl-is-trivial-np.c')
-rw-r--r-- | config/acl-is-trivial-np.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/acl-is-trivial-np.c b/config/acl-is-trivial-np.c new file mode 100644 index 0000000..4178238 --- /dev/null +++ b/config/acl-is-trivial-np.c @@ -0,0 +1,11 @@ +// Copyright © Tavian Barnes <tavianator@tavianator.com> +// SPDX-License-Identifier: 0BSD + +#include <sys/acl.h> + +int main(void) { + acl_t acl = acl_get_fd(3); + int trivial; + acl_is_trivial_np(acl, &trivial); + return 0; +} |