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

/linux-master/init/
H A Dinit_task.c29 .cred_guard_mutex = __MUTEX_INITIALIZER(init_signals.cred_guard_mutex),
/linux-master/fs/
H A Dexec.c1408 * cred_guard_mutex must be held at least to this point to prevent
1428 mutex_unlock(&me->signal->cred_guard_mutex);
1472 mutex_unlock(&me->signal->cred_guard_mutex);
1487 * Prepare credentials and lock ->cred_guard_mutex.
1494 if (mutex_lock_interruptible(&current->signal->cred_guard_mutex))
1501 mutex_unlock(&current->signal->cred_guard_mutex);
1522 mutex_unlock(&current->signal->cred_guard_mutex);
1603 * - the caller must hold ->cred_guard_mutex to protect against
/linux-master/kernel/
H A Dseccomp.c484 * Expects sighand and cred_guard_mutex locks to be held.
494 BUG_ON(!mutex_is_locked(&current->signal->cred_guard_mutex));
586 * Expects sighand and cred_guard_mutex locks to be held, and for
595 BUG_ON(!mutex_is_locked(&current->signal->cred_guard_mutex));
1959 mutex_lock_killable(&current->signal->cred_guard_mutex))
1982 mutex_unlock(&current->signal->cred_guard_mutex);
H A Dptrace.c448 &task->signal->cred_guard_mutex) {
H A Dfork.c1897 mutex_init(&sig->cred_guard_mutex);
1908 * all threads in the group. Holding cred_guard_mutex is not
/linux-master/include/linux/sched/
H A Dsignal.h238 struct mutex cred_guard_mutex; /* guard against foreign influences on member in struct:signal_struct
/linux-master/fs/proc/
H A Dbase.c2782 rv = mutex_lock_interruptible(&current->signal->cred_guard_mutex);
2789 mutex_unlock(&current->signal->cred_guard_mutex);

Completed in 211 milliseconds