diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-08-20 05:52:15 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-08-20 05:52:15 -0400 |
| commit | 7393423dd9b5790a3115873be355e9fc862bce8f (patch) | |
| tree | fc83214602c8ce41dc06d5c8e21deada679521f7 /security/security.c | |
| parent | 8df9676d6402563da91427e8d9f2da8a4598aede (diff) | |
| parent | 1fca25427482387689fa27594c992a961d98768f (diff) | |
Merge branch 'linus' into x86/cleanups
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, |
