Documented in 1 files:
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 request_key_tag() -> request_key_and_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 4096-ptr_max |
| PARAM_VALUE | 3 | callout_info | 0,4602998933304729600,5750901020209332224 |
| PARAM_VALUE | 4 | callout_len | 0-1010101 |
| PARAM_VALUE | 5 | aux | 0 |
| PARAM_VALUE | 6 | dest_keyring | 0 |
| PARAM_VALUE | 7 | flags | 0 |
| BUF_SIZE | 0 | type | (-1),184 |
| BUF_SIZE | 0 | type | (-1),184 |
| BUF_SIZE | 1 | description | (-1)-s32max |
| BUF_SIZE | 1 | description | (-1)-s32max |
| BUF_SIZE | 3 | callout_info | (-1),1,6 |
| CAPPED_DATA | 4 | callout_len | 1 |
| CAPPED_DATA | 4 | callout_len | 1 |
| DATA_SOURCE | 0 | type | $0 |
| DATA_SOURCE | 1 | description | $1 |
| DATA_SOURCE | 2 | domain_tag | $2 |
| DATA_SOURCE | 3 | callout_info | $3 |
| FUZZY_MAX | 4 | callout_len | 0 |
| STR_LEN | 0 | type | (-1)-0,7,13,263 |
| STR_LEN | 0 | type | (-1)-0,7,13,263 |
| STR_LEN | 1 | description | (-1)-0 |
| STR_LEN | 1 | description | (-1)-0 |
| STR_LEN | 2 | domain_tag | (-1)-0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *description | 0-255 |
| UNITS | 1 | description | unit_byte |
| USER_PTR | 1 | description | |
| HALF_LOCKED2 | &rx->sk | ||
| HALF_LOCKED2 | &ses->session_mutex |
security/keys/request_key.c request_key_with_auxdata() -> request_key_and_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 514600015717191680 |
| PARAM_VALUE | 1 | description | 16,4096-ptr_max |
| PARAM_VALUE | 2 | domain_tag | 0 |
| PARAM_VALUE | 3 | callout_info | 4602998933304729600 |
| PARAM_VALUE | 3 | *callout_info | 0-255 |
| PARAM_VALUE | 4 | callout_len | 0 |
| PARAM_VALUE | 5 | aux | 4096-ptr_max |
| PARAM_VALUE | 6 | dest_keyring | 0 |
| PARAM_VALUE | 7 | flags | 0 |
| BUF_SIZE | 3 | callout_info | 1 |
| BUF_SIZE | 3 | callout_info | 1 |
| DATA_SOURCE | 0 | type | $0 |
| DATA_SOURCE | 1 | description | $1 |
| DATA_SOURCE | 2 | domain_tag | $2 |
| DATA_SOURCE | 3 | callout_info | $3 |
| DATA_SOURCE | 4 | callout_len | $4 |
| DATA_SOURCE | 5 | aux | $5 |
| STR_LEN | 0 | type | 0 |
| STR_LEN | 0 | type | 0 |
| TERMINATED | 3 | callout_info | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &idmap->idmap_mutex | ||
| TYPE_LOCK | (struct idmap)->idmap_mutex |
security/keys/keyctl.c __do_sys_request_key() -> request_key_and_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 4096-ptr_max |
| PARAM_VALUE | 1 | description | 4096-ptr_max |
| PARAM_VALUE | 2 | domain_tag | 0 |
| PARAM_VALUE | 3 | callout_info | 0,4096-ptr_max |
| PARAM_VALUE | 4 | callout_len | 0-1010101 |
| PARAM_VALUE | 5 | aux | 0 |
| PARAM_VALUE | 6 | dest_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 7 | flags | 0 |
| BUF_SIZE | 1 | description | s32min-s32max |
| CAPPED_DATA | 4 | callout_len | 1 |
| CAPPED_DATA | 4 | callout_len | 1 |
| DATA_SOURCE | 0 | type | r key_type_lookup |
| DATA_SOURCE | 1 | description | r strndup_user |
| FUZZY_MAX | 4 | callout_len | 0 |
| TERMINATED | 1 | description | 1 |
| USER_DATA | 1 | *description | 0-255 |
| USER_PTR | 1 | description | |
| USER_PTR | 3 | callout_info | |
| LOCK2 | global &key_types_sem |
security/keys/keyctl.c __do_sys_request_key() -> request_key_and_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 4096-ptr_max |
| PARAM_VALUE | 1 | description | 4096-ptr_max |
| PARAM_VALUE | 2 | domain_tag | 0 |
| PARAM_VALUE | 3 | callout_info | 0,4096-ptr_max |
| PARAM_VALUE | 4 | callout_len | 0-1010101 |
| PARAM_VALUE | 5 | aux | 0 |
| PARAM_VALUE | 6 | dest_keyring | 0,4096-ptr_max |
| PARAM_VALUE | 7 | flags | 0 |
| BUF_SIZE | 1 | description | s32min-s32max |
| CAPPED_DATA | 4 | callout_len | 1 |
| CAPPED_DATA | 4 | callout_len | 1 |
| DATA_SOURCE | 0 | type | r key_type_lookup |
| DATA_SOURCE | 1 | description | r strndup_user |
| FUZZY_MAX | 4 | callout_len | 0 |
| TERMINATED | 1 | description | 1 |
| USER_DATA | 1 | *description | 0-255 |
| USER_PTR | 1 | description | |
| USER_PTR | 3 | callout_info | |
| LOCK2 | global &key_types_sem |