Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- security/keys/key.c, line 971
- security/keys/keyctl.c, line 231
- security/keys/process_keys.c, line 778
- security/keys/request_key.c
Smatch caller information:
security/keys/request_key.c request_key_tag() -> wait_for_key_construction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0,4096-ptr_max |
| PARAM_VALUE | 0 | key->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | key->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | intr | 0 |
| BUF_SIZE | 0 | key | (-1)-s32max |
| BUF_SIZE | 0 | key | (-1)-s32max |
| DATA_SOURCE | 0 | key | r request_key_and_link |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | key->quotalen | |
| HALF_LOCKED2 | &rx->sk | ||
| HALF_LOCKED2 | &ses->session_mutex |
security/keys/request_key.c request_key_with_auxdata() -> wait_for_key_construction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0,4096-ptr_max |
| PARAM_VALUE | 0 | key->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | key->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | intr | 0 |
| BUF_SIZE | 0 | key | (-1)-s32max |
| BUF_SIZE | 0 | key | (-1)-s32max |
| DATA_SOURCE | 0 | key | r request_key_and_link |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | key->quotalen | |
| LOCK2 | &idmap->idmap_mutex | ||
| TYPE_LOCK | (struct idmap)->idmap_mutex |
security/keys/keyctl.c __do_sys_request_key() -> wait_for_key_construction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0,4096-ptr_max |
| PARAM_VALUE | 0 | key->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | key->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | intr | 1 |
| BUF_SIZE | 0 | key | (-1)-s32max |
| BUF_SIZE | 0 | key | (-1)-s32max |
| DATA_SOURCE | 0 | key | r request_key_and_link |
| NO_OVERFLOW_SIMPLE | 0 | key->quotalen | |
| LOCK2 | global &key_types_sem |
security/keys/keyctl.c __do_sys_request_key() -> wait_for_key_construction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0,4096-ptr_max |
| PARAM_VALUE | 0 | key->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | key->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | intr | 1 |
| BUF_SIZE | 0 | key | (-1)-s32max |
| BUF_SIZE | 0 | key | (-1)-s32max |
| DATA_SOURCE | 0 | key | r request_key_and_link |
| NO_OVERFLOW_SIMPLE | 0 | key->quotalen | |
| LOCK2 | global &key_types_sem |
security/keys/key.c __key_create_or_update() -> wait_for_key_construction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 1 | intr | 1 |
| DATA_SOURCE | 0 | key | r key_ref_to_ptr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &key_types_sem | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
security/keys/process_keys.c lookup_user_key() -> wait_for_key_construction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->serial | 1-s32max |
| PARAM_VALUE | 1 | intr | 1 |
| CAPPED_DATA | 0 | key->serial | 1 |
| NOSPEC | 0 | key->serial | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | key->serial | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | key->quotalen | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | sk |