Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/pidfs.c pidfd_ioctl() -> get_nsproxy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &_T->lock->alloc_lock | ||
| LOCK2 | &task->signal->exec_update_lock | ||
| TYPE_LOCK | (struct signal_struct)->exec_update_lock |
kernel/nsproxy.c copy_namespaces() -> get_nsproxy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/nsproxy.c validate_nsset() -> get_nsproxy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &tsk->alloc_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct task_struct)->alloc_lock |