From: Viktor Rosendahl Date: Thu, 11 Sep 2008 16:20:41 +0000 (+0300) Subject: lowmem: Fix split of ptrace X-Git-Tag: v2.6.27-omap1~198 X-Git-Url: http://pilppa.org/gitweb/?a=commitdiff_plain;h=8f445640ff25d17f7e513c1baee95ffd43bc3a6b;p=linux-2.6-omap-h63xx.git lowmem: Fix split of ptrace A previous commit split the ptrace member into two. Thus we need to update the lowmem module accordingly. Signed-off-by: Viktor Rosendahl Signed-off-by: Tony Lindgren --- diff --git a/security/lowmem.c b/security/lowmem.c index 56f1f6e5900..b9860709c81 100644 --- a/security/lowmem.c +++ b/security/lowmem.c @@ -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,