]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
lowmem: Fix split of ptrace
authorViktor Rosendahl <viktor.rosendahl@nokia.com>
Thu, 11 Sep 2008 16:20:41 +0000 (19:20 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 12 Sep 2008 18:12:00 +0000 (11:12 -0700)
A previous commit split the ptrace member into two. Thus we need to update the
lowmem module accordingly.

Signed-off-by: Viktor Rosendahl <viktor.rosendahl@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
security/lowmem.c

index 56f1f6e5900e7bda4f441a6826bd80e24edd7e94..b9860709c81fe501ce24c3dcf9dbb38004c8df6e 100644 (file)
@@ -324,7 +324,8 @@ enough_memory:
 
 static struct security_operations lowmem_security_ops = {
        /* Use the capability functions for some of the hooks */
-       .ptrace = cap_ptrace,
+       .ptrace_may_access = cap_ptrace_may_access,
+       .ptrace_traceme = cap_ptrace_traceme,
        .capget = cap_capget,
        .capset_check = cap_capset_check,
        .capset_set = cap_capset_set,