Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/nstree.c do_listns_userns() -> to_user_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | (-1),256 |
| BUF_SIZE | 0 | ns | (-1),256 |
fs/nsfs.c is_current_namespace() -> to_user_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | $0 |
| LOCK2 | rcu_read |
fs/nsfs.c nsfs_fh_to_dentry() -> to_user_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | r ns_tree_lookup_rcu |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nsfs.c nsfs_fh_to_dentry() -> to_user_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | r ns_tree_lookup_rcu |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/user_namespace.c userns_install() -> to_user_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | $1 |
kernel/user_namespace.c userns_owner() -> to_user_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ns | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &ns_tree_lock.lock |
kernel/user_namespace.c userns_put() -> to_user_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | s32min-s32max |
| DATA_SOURCE | 0 | ns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &task->signal->exec_update_lock |