]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - security/commoncap.c
block: make printk_partition use the class iterator function
[linux-2.6-omap-h63xx.git] / security / commoncap.c
index 33d34330841344f7329e1b1f313cc531c65aa7a9..0b6537a3672d8822baf4b10627f142e9afc1102b 100644 (file)
@@ -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) &&