aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/security.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/security.h')
-rw-r--r--include/linux/security.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 2ee5ecfb2393..80c4d002864c 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -1755,7 +1755,7 @@ static inline int security_ptrace_may_access(struct task_struct *child,
1755 return cap_ptrace_may_access(child, mode); 1755 return cap_ptrace_may_access(child, mode);
1756} 1756}
1757 1757
1758static inline int security_ptrace_traceme(struct task_struct *child) 1758static inline int security_ptrace_traceme(struct task_struct *parent)
1759{ 1759{
1760 return cap_ptrace_traceme(parent); 1760 return cap_ptrace_traceme(parent);
1761} 1761}