diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/security.c b/security/security.c index 59838a99b80e..c4507ce2a5a0 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -161,9 +161,10 @@ int mod_reg_security(const char *name, struct security_operations *ops) | |||
161 | 161 | ||
162 | /* Security operations */ | 162 | /* Security operations */ |
163 | 163 | ||
164 | int security_ptrace(struct task_struct *parent, struct task_struct *child) | 164 | int security_ptrace(struct task_struct *parent, struct task_struct *child, |
165 | unsigned int mode) | ||
165 | { | 166 | { |
166 | return security_ops->ptrace(parent, child); | 167 | return security_ops->ptrace(parent, child, mode); |
167 | } | 168 | } |
168 | 169 | ||
169 | int security_capget(struct task_struct *target, | 170 | int security_capget(struct task_struct *target, |