Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/keys/keyring.c keyring_detect_cycle() -> search_nested_keyrings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | keyring | 4096-ptr_max |
| PARAM_VALUE | 0 | keyring->index_key.desc_len | 1-u16max |
| PARAM_VALUE | 0 | keyring->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | keyring->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | keyring->type | 9142442151112187904 |
| PARAM_VALUE | 1 | ctx | 6554109414929014784 |
| PARAM_VALUE | 1 | ctx->cred | 0 |
| PARAM_VALUE | 1 | ctx->flags | 93 |
| PARAM_VALUE | 1 | ctx->index_key.desc_len | 0 |
| PARAM_VALUE | 1 | ctx->index_key.description | 0 |
| PARAM_VALUE | 1 | ctx->index_key.domain_tag | 0 |
| PARAM_VALUE | 1 | ctx->index_key.hash | 0 |
| PARAM_VALUE | 1 | ctx->index_key.type | 0 |
| PARAM_VALUE | 1 | ctx->iterator | 7638568813408546816 |
| PARAM_VALUE | 1 | ctx->match_data.lookup_type | 0 |
| PARAM_VALUE | 1 | ctx->match_data.raw_data | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->now | 0 |
| PARAM_VALUE | 1 | ctx->possessed | 0 |
| PARAM_VALUE | 1 | ctx->result | 0 |
| PARAM_VALUE | 1 | ctx->skipped_ret | 0 |
| BUF_SIZE | 0 | keyring | (-1)-s32max |
| BUF_SIZE | 0 | keyring | (-1)-s32max |
| DATA_SOURCE | 0 | keyring | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | keyring->quotalen | |
| NO_OVERFLOW_SIMPLE | 0 | keyring->user->qnbytes | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &A->sem | ||
| HALF_LOCKED2 | &from_keyring->sem | ||
| HALF_LOCKED2 | &user->cons_lock |
security/keys/keyring.c keyring_search_rcu() -> search_nested_keyrings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | keyring | 4096-ptr_max |
| PARAM_VALUE | 0 | keyring->type | 9142442151112187904 |
| PARAM_VALUE | 1 | ctx | 865089248343306240,2764668154173882368,3985960929331363840,5000047925832593408,6296698174800781312,6940733319926751232,7870531563263242240 |
| PARAM_VALUE | 1 | ctx->flags | 2,34,65-66,98 |
| PARAM_VALUE | 1 | ctx->iterator | 4332256403137916928 |
| PARAM_VALUE | 1 | ctx->match_data.cmp | 1679633131033747456,3325541039431966720,4068942585331077120,4687065711135023104,4946869985818988544,7569574332998537216,8304728542847062016 |
| PARAM_VALUE | 1 | ctx->match_data.lookup_type | 0-1 |
| PARAM_VALUE | 1 | ctx->result | (-11) |
| PARAM_VALUE | 1 | ctx->skipped_ret | 0,2 |
| BUF_SIZE | 1 | ctx->index_key.description | (-1)-s32max |
| BUF_SIZE | 1 | ctx->index_key.type | (-1),184 |
| BUF_SIZE | 1 | ctx->match_data.raw_data | (-1)-s32max |
| DATA_SOURCE | 0 | keyring | r key_ref_to_ptr |
| DATA_SOURCE | 1 | ctx | $1 |
| STR_LEN | 1 | ctx->index_key.description | (-1)-0 |
| STR_LEN | 1 | ctx->index_key.type | (-1)-0,7,13,263 |
| STR_LEN | 1 | ctx->match_data.raw_data | (-1)-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | ctx->index_key.description | |
| USER_PTR | 1 | ctx->match_data.raw_data | |
| HALF_LOCKED2 | rcu_read |