Name
tracehook_unsafe_exec —
check for exec declared unsafe due to tracing
Synopsis
int tracehook_unsafe_exec ( | struct task_struct * task); |
Arguments
task
current task doing exec
Description
Return LSM_UNSAFE_* bits applied to an exec because of tracing.
task->cred_guard_mutex is held by the caller through the do_execve.