aboutsummaryrefslogtreecommitdiffstats
path: root/capability.c
diff options
context:
space:
mode:
Diffstat (limited to 'capability.c')
-rw-r--r--capability.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/capability.c b/capability.c
index 26d9c66a..d18d7264 100644
--- a/capability.c
+++ b/capability.c
@@ -117,8 +117,7 @@ print_cap_data(struct tcb *tcp, unsigned long addr, const cap_user_header_t h)
tprints("}");
}
-int
-sys_capget(struct tcb *tcp)
+SYS_FUNC(capget)
{
cap_user_header_t h;
@@ -133,8 +132,7 @@ sys_capget(struct tcb *tcp)
return 0;
}
-int
-sys_capset(struct tcb *tcp)
+SYS_FUNC(capset)
{
if (entering(tcp)) {
cap_user_header_t h = get_cap_header(tcp, tcp->u_arg[0]);