Home
last modified time | relevance | path

Searched refs:cred_guard_mutex (Results 1 – 7 of 7) sorted by relevance

/linux/security/
H A Dlsm_syscalls.c62 rc = mutex_lock_interruptible(&current->signal->cred_guard_mutex); in SYSCALL_DEFINE4()
66 mutex_unlock(&current->signal->cred_guard_mutex); in SYSCALL_DEFINE4()
/linux/init/
H A Dinit_task.c35 .cred_guard_mutex = __MUTEX_INITIALIZER(init_signals.cred_guard_mutex),
/linux/fs/
H A Dexec.c1321 * cred_guard_mutex must be held at least to this point to prevent in begin_new_exec()
1347 mutex_unlock(&me->signal->cred_guard_mutex); in begin_new_exec()
1391 mutex_unlock(&me->signal->cred_guard_mutex); in setup_new_exec()
1412 * Prepare credentials and lock ->cred_guard_mutex.
1419 if (mutex_lock_interruptible(&current->signal->cred_guard_mutex)) in finalize_exec()
1426 mutex_unlock(&current->signal->cred_guard_mutex);
1487 mutex_unlock(&current->signal->cred_guard_mutex); in free_bprm()
1596 * - the caller must hold ->cred_guard_mutex to protect against in bprm_change_interp()
1622 * state is protected by cred_guard_mutex we hold. in check_unsafe_exec()
/linux/include/linux/sched/
H A Dsignal.h246 struct mutex cred_guard_mutex; /* guard against foreign influences on member
/linux/kernel/
H A Dptrace.c473 &task->signal->cred_guard_mutex) { in ptrace_attach()
H A Dfork.c1806 mutex_init(&sig->cred_guard_mutex); in copy_seccomp()
1817 * all threads in the group. Holding cred_guard_mutex is not in copy_seccomp()
/linux/fs/proc/
H A Dbase.c2816 rv = mutex_lock_interruptible(&current->signal->cred_guard_mutex); in proc_pid_attr_write()
2823 mutex_unlock(&current->signal->cred_guard_mutex);