Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/keys/request_key.c umh_keys_init() -> install_session_keyring_to_cred()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cred | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->group_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->jit_keyring | 1 |
| PARAM_VALUE | 0 | cred->non_rcu | 0 |
| PARAM_VALUE | 0 | cred->process_keyring | 0 |
| PARAM_VALUE | 0 | cred->request_key_auth | 0 |
| PARAM_VALUE | 0 | cred->security | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->session_keyring | 0 |
| PARAM_VALUE | 0 | cred->thread_keyring | 0 |
| PARAM_VALUE | 0 | cred->ucounts | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->usage.counter | 1 |
| PARAM_VALUE | 0 | cred->user | 4096-ptr_max |
| BUF_SIZE | 1 | keyring | 1-s32max |
| BUF_SIZE | 1 | keyring | 1-s32max |
| DATA_SOURCE | 0 | cred | $1 |
security/keys/process_keys.c install_session_keyring() -> install_session_keyring_to_cred()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cred | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->group_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->non_rcu | 0 |
| PARAM_VALUE | 0 | cred->process_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->request_key_auth | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->security | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->session_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->thread_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->ucounts | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->usage.counter | 1 |
| PARAM_VALUE | 0 | cred->user | 4096-ptr_max |
| PARAM_VALUE | 1 | keyring | 4096-ptr_max |
| DATA_SOURCE | 0 | cred | r prepare_creds |
| DATA_SOURCE | 1 | keyring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | keyring->quotalen | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | sk |
security/keys/process_keys.c join_session_keyring() -> install_session_keyring_to_cred()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cred | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->group_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->non_rcu | 0 |
| PARAM_VALUE | 0 | cred->process_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->request_key_auth | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->security | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->session_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->thread_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->ucounts | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->usage.counter | 1 |
| PARAM_VALUE | 0 | cred->user | 4096-ptr_max |
| PARAM_VALUE | 1 | keyring | 0 |
| DATA_SOURCE | 0 | cred | r prepare_creds |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/keys/process_keys.c join_session_keyring() -> install_session_keyring_to_cred()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cred | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->group_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->non_rcu | 0 |
| PARAM_VALUE | 0 | cred->process_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->request_key_auth | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->security | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->session_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->thread_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cred->ucounts | 4096-ptr_max |
| PARAM_VALUE | 0 | cred->usage.counter | 1 |
| PARAM_VALUE | 0 | cred->user | 4096-ptr_max |
| PARAM_VALUE | 1 | keyring | 4096-ptr_max |
| PARAM_VALUE | 1 | keyring->user | 1-u64max |
| DATA_SOURCE | 0 | cred | r prepare_creds |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 1 | keyring->quotalen | |
| NO_OVERFLOW_SIMPLE | 1 | keyring->user->qnbytes | |
| LOCK2 | global &key_session_mutex |