Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dinit_task.h39 .cred_guard_mutex = \
40 __MUTEX_INITIALIZER(sig.cred_guard_mutex), \
Dsched.h642 struct mutex cred_guard_mutex; /* guard against foreign influences on member
/linux-2.6.39/fs/proc/
Dbase.c242 err = mutex_lock_killable(&task->signal->cred_guard_mutex); in check_mem_permission()
247 mutex_unlock(&task->signal->cred_guard_mutex); in check_mem_permission()
257 err = mutex_lock_killable(&task->signal->cred_guard_mutex); in mm_for_maps()
267 mutex_unlock(&task->signal->cred_guard_mutex); in mm_for_maps()
352 int err = mutex_lock_killable(&task->signal->cred_guard_mutex); in lock_trace()
356 mutex_unlock(&task->signal->cred_guard_mutex); in lock_trace()
364 mutex_unlock(&task->signal->cred_guard_mutex); in unlock_trace()
2475 length = mutex_lock_interruptible(&task->signal->cred_guard_mutex); in proc_pid_attr_write()
2482 mutex_unlock(&task->signal->cred_guard_mutex); in proc_pid_attr_write()
/linux-2.6.39/kernel/
Dptrace.c188 if (mutex_lock_interruptible(&task->signal->cred_guard_mutex)) in ptrace_attach()
215 mutex_unlock(&task->signal->cred_guard_mutex); in ptrace_attach()
Dfork.c934 mutex_init(&sig->cred_guard_mutex); in copy_signal()
/linux-2.6.39/fs/
Dexec.c1129 if (mutex_lock_interruptible(&current->signal->cred_guard_mutex)) in prepare_bprm_creds()
1136 mutex_unlock(&current->signal->cred_guard_mutex); in prepare_bprm_creds()
1144 mutex_unlock(&current->signal->cred_guard_mutex); in free_bprm()
1165 mutex_unlock(&current->signal->cred_guard_mutex); in install_exec_creds()