summaryrefslogtreecommitdiffstats
path: root/config/acl-is-trivial-np.c
diff options
context:
space:
mode:
Diffstat (limited to 'config/acl-is-trivial-np.c')
-rw-r--r--config/acl-is-trivial-np.c11
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;
+}