Files
linux-apfs/fs/proc
Stephen Wilson 18f661bcf8 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>
2011-03-23 16:36:58 -04:00
..
2011-02-15 07:34:16 -08:00
2011-03-08 02:22:27 -05:00
2011-01-13 08:03:16 -08:00
2011-01-13 08:03:17 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:43 -08:00
2010-10-29 04:17:01 -04:00