security: rename ptrace_may_access => ptrace_access_check
authorIngo Molnar <mingo@elte.hu>
Thu, 7 May 2009 09:26:19 +0000 (19:26 +1000)
committerJames Morris <jmorris@namei.org>
Wed, 24 Jun 2009 14:18:05 +0000 (00:18 +1000)
commit9e48858f7d36a6a3849f1d1b40c3bf5624b4ee7c
tree5d8fe586c5b1bbab36acc3b76b2b4dd1bc538968
parent86abcf9cebf7b5ceb33facde297face5ec4d2260
security: rename ptrace_may_access => ptrace_access_check

The ->ptrace_may_access() methods are named confusingly - the real
ptrace_may_access() returns a bool, while these security checks have
a retval convention.

Rename it to ptrace_access_check, to reduce the confusion factor.

[ Impact: cleanup, no code changed ]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/security.h
kernel/ptrace.c
security/capability.c
security/commoncap.c
security/security.c
security/selinux/hooks.c
security/smack/smack_lsm.c