Searched refs:cred_guard_mutex (Results 1 – 7 of 7) sorted by relevance
28 .cred_guard_mutex = __MUTEX_INITIALIZER(init_signals.cred_guard_mutex),
396 BUG_ON(!mutex_is_locked(¤t->signal->cred_guard_mutex)); in seccomp_can_sync_threads()490 BUG_ON(!mutex_is_locked(¤t->signal->cred_guard_mutex)); in seccomp_sync_threads()1596 mutex_lock_killable(¤t->signal->cred_guard_mutex)) in seccomp_set_mode_filter()1619 mutex_unlock(¤t->signal->cred_guard_mutex); in seccomp_set_mode_filter()
433 if (mutex_lock_interruptible(&task->signal->cred_guard_mutex)) in ptrace_attach()488 mutex_unlock(&task->signal->cred_guard_mutex); in ptrace_attach()
1625 mutex_init(&sig->cred_guard_mutex); in copy_signal()
1445 mutex_unlock(&me->signal->cred_guard_mutex); in setup_new_exec()1467 if (mutex_lock_interruptible(¤t->signal->cred_guard_mutex)) in prepare_bprm_creds()1474 mutex_unlock(¤t->signal->cred_guard_mutex); in prepare_bprm_creds()1486 mutex_unlock(¤t->signal->cred_guard_mutex); in free_bprm()
227 struct mutex cred_guard_mutex; /* guard against foreign influences on member
2941 rv = mutex_lock_interruptible(¤t->signal->cred_guard_mutex); in proc_pid_attr_write()2948 mutex_unlock(¤t->signal->cred_guard_mutex); in proc_pid_attr_write()