summaryrefslogtreecommitdiff
path: root/Documentation/serial/computone.txt
diff options
context:
space:
mode:
authorStephen Wilson <wilsons@start.ca>2011-03-13 22:49:22 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-23 23:36:58 +0300
commit18f661bcf898742212182d75f22f05b048cc04bb (patch)
tree3a0a6edc6e4240bda06fe52d565fe4b1cb4d8b84 /Documentation/serial/computone.txt
parent26947f8c8f9598209001cdcd31bb2162a2e54691 (diff)
downloadlinux-18f661bcf898742212182d75f22f05b048cc04bb.tar.xz
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 'Documentation/serial/computone.txt')
0 files changed, 0 insertions, 0 deletions