From e361019c24b4dc930aa9431b895b478e1eee04e0 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 13 Jun 2012 11:04:31 -0400 Subject: add deprecated capabilities functions these were left in glibc for binary compatibility after the public part of the interface was removed, and libcap kept using them (with its own copy of the header files) rather than just making the syscalls directly. might as well add them since they're so small... --- src/linux/cap.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/linux/cap.c (limited to 'src') 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); +} -- cgit v1.2.1