aboutsummaryrefslogtreecommitdiffhomepage
path: root/acl/acl-update.h
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-17 20:37:10 +0900
committerOphestra <cat@gensokyo.uk>2025-02-17 21:39:14 +0900
commite85be67fd98dd5adb17fefdc52a28c8a7a7c3b28 (patch)
treed026ee5cddd84c99349edc19112caa396f5be0bc /acl/acl-update.h
parent7e69893264f4b3ee3fc9168a61908552f7fbddac (diff)
acl: implement Update in C
The original implementation was effectively just writing C in Go. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'acl/acl-update.h')
-rw-r--r--acl/acl-update.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/acl/acl-update.h b/acl/acl-update.h
new file mode 100644
index 00000000..e758788e
--- /dev/null
+++ b/acl/acl-update.h
@@ -0,0 +1,3 @@
+#include <sys/acl.h>
+
+int f_acl_update_file_by_uid(const char *path_p, uid_t uid, acl_perm_t *perms, size_t plen);