summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/linux/cap.c11
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);
+}