CRED: Rename cred_exec_mutex to reflect that it's a guard against ptrace
commit5e751e992f3fb08ba35e1ca8095ec8fbf9eda523
authorDavid Howells <dhowells@redhat.com>
Fri, 8 May 2009 12:55:22 +0000 (8 13:55 +0100)
committerJames Morris <jmorris@namei.org>
Sun, 10 May 2009 22:15:36 +0000 (11 08:15 +1000)
tree711b1b47622dc9661f1d3d9c67d55c0b21456e8c
parentd254117099d711f215e62427f55dfb8ebd5ad011
CRED: Rename cred_exec_mutex to reflect that it's a guard against ptrace

Rename cred_exec_mutex to reflect that it's a guard against foreign
intervention on a process's credential state, such as is made by ptrace().  The
attachment of a debugger to a process affects execve()'s calculation of the new
credential state - _and_ also setprocattr()'s calculation of that state.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
fs/compat.c
fs/exec.c
include/linux/init_task.h
include/linux/sched.h
kernel/cred.c
kernel/ptrace.c