Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 7 files:
- drivers/android/binder/rust_binderfs.c, line 751
- drivers/android/binderfs.c, line 744
- ipc/mqueue.c
- ipc/namespace.c
- ipc/shm.c
- ipc/util.c, line 916
- kernel/nsproxy.c
Smatch caller information:
ipc/namespace.c ipcns_install() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NS_CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
ipc/namespace.c ipcns_put() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &task->signal->exec_update_lock |
ipc/util.c sysvipc_proc_release() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/nsproxy.c create_new_namespaces() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 0-ptr_max |
| BUF_SIZE | 0 | ns | (-1),2944 |
| BUF_SIZE | 0 | ns | (-1),2944 |
| DATA_SOURCE | 0 | ns | r copy_ipcs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
kernel/nsproxy.c nsproxy_free() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/android/binderfs.c binderfs_kill_super() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &s->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
ipc/shm.c exit_shm() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ids | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | ns->shm_rmid_forced | s32min-(-1),1-s32max |
| PARAM_COMPARE | 0 | ns | == $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ns | unit_byte |
ipc/shm.c shm_release() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
ipc/mqueue.c mq_create_mount() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
ipc/mqueue.c mqueue_create_attr() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | (-1),1-s32max |
| BUF_SIZE | 0 | ns | (-1),1-s32max |
| CAPPED_DATA | 0 | ns->mq_queues_max | 1 |
| DATA_SOURCE | 0 | ns | r __get_ns_from_inode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
ipc/mqueue.c mqueue_create_attr() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | (-1),1-s32max |
| BUF_SIZE | 0 | ns | (-1),1-s32max |
| CAPPED_DATA | 0 | ns->mq_queues_max | 1 |
| DATA_SOURCE | 0 | ns | r __get_ns_from_inode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
ipc/mqueue.c mqueue_evict_inode() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 1-u64max |
| BUF_SIZE | 0 | ns | 1-s32max |
| BUF_SIZE | 0 | ns | 1-s32max |
| DATA_SOURCE | 0 | ns | r get_ns_from_inode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
ipc/mqueue.c mqueue_fs_context_free() -> put_ipc_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |