X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=security%2Fcommoncap.c;h=0b6537a3672d8822baf4b10627f142e9afc1102b;hb=d249afddffda695a20afe5270cbbfa242969d6e1;hp=33d34330841344f7329e1b1f313cc531c65aa7a9;hpb=f9f278fefdbbbf198bb4111b3fba47d9043dae59;p=linux-2.6 diff --git a/security/commoncap.c b/security/commoncap.c index 33d3433084..0b6537a367 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -63,7 +63,8 @@ int cap_settime(struct timespec *ts, struct timezone *tz) return 0; } -int cap_ptrace (struct task_struct *parent, struct task_struct *child) +int cap_ptrace (struct task_struct *parent, struct task_struct *child, + unsigned int mode) { /* Derived from arch/i386/kernel/ptrace.c:sys_ptrace. */ if (!cap_issubset(child->cap_permitted, parent->cap_permitted) &&