musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/linux/cap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/cap.c')
-rw-r--r--src/linux/cap.c 11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/linux/cap.c b/src/linux/cap.c
new file mode 100644
index 00000000..8d035e07
--- /dev/null
+++ b/src/linux/cap.c
@@ -0,0 +1,11 @@
+#include "syscall.h"
+
+int capset(void *a, void *b)
+{
+ return syscall(SYS_capset, a, b);
+}
+
+int capget(void *a, void *b)
+{
+ return syscall(SYS_capget, a, b);
+}
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月08日 16:26:49 +0000

AltStyle によって変換されたページ (->オリジナル) /