提交 e361019c 编写于 作者: R Rich Felker

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...
上级 6343ac8f
#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);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册