summaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorStephen Wilson <wilsons@start.ca>2011-03-13 15:49:22 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-23 16:36:58 -0400
commit18f661bcf898742212182d75f22f05b048cc04bb (patch)
tree3a0a6edc6e4240bda06fe52d565fe4b1cb4d8b84 /fs/Kconfig
parent26947f8c8f9598209001cdcd31bb2162a2e54691 (diff)
proc: hold cred_guard_mutex in check_mem_permission()
Avoid a potential race when task exec's and we get a new ->mm but check against the old credentials in ptrace_may_access(). Holding of the mutex is implemented by factoring out the body of the code into a helper function __check_mem_permission(). Performing this factorization now simplifies upcoming changes and minimizes churn in the diff's. Signed-off-by: Stephen Wilson <wilsons@start.ca> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions