From 8f445640ff25d17f7e513c1baee95ffd43bc3a6b Mon Sep 17 00:00:00 2001 From: Viktor Rosendahl Date: Thu, 11 Sep 2008 19:20:41 +0300 Subject: [PATCH] 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 --- security/lowmem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.41.3