diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/security/security.c b/security/security.c index ff7068727757..3a4b4f55b33f 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -127,10 +127,14 @@ int register_security(struct security_operations *ops) | |||
127 | 127 | ||
128 | /* Security operations */ | 128 | /* Security operations */ |
129 | 129 | ||
130 | int security_ptrace(struct task_struct *parent, struct task_struct *child, | 130 | int security_ptrace_may_access(struct task_struct *child, unsigned int mode) |
131 | unsigned int mode) | ||
132 | { | 131 | { |
133 | return security_ops->ptrace(parent, child, mode); | 132 | return security_ops->ptrace_may_access(child, mode); |
133 | } | ||
134 | |||
135 | int security_ptrace_traceme(struct task_struct *parent) | ||
136 | { | ||
137 | return security_ops->ptrace_traceme(parent); | ||
134 | } | 138 | } |
135 | 139 | ||
136 | int security_capget(struct task_struct *target, | 140 | int security_capget(struct task_struct *target, |