Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/keys/key.c key_create() -> __key_create_or_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | description | 1-u64max |
| PARAM_VALUE | 3 | payload | 0,8829903657211326464 |
| PARAM_VALUE | 4 | plen | 0-32 |
| PARAM_VALUE | 5 | perm | 151584768,184614912,520814592 |
| PARAM_VALUE | 6 | flags | 2,6,38 |
| PARAM_VALUE | 7 | allow_update | 0 |
| BUF_SIZE | 1 | type | (-1),8,10 |
| BUF_SIZE | 1 | type | (-1),8,10 |
| BUF_SIZE | 2 | description | (-1)-s32max |
| BUF_SIZE | 2 | description | (-1)-s32max |
| BUF_SIZE | 3 | payload | (-1),32 |
| BUF_SIZE | 3 | payload | (-1),32 |
| CAPPED_DATA | 2 | description | 1 |
| DATA_SOURCE | 0 | keyring_ref | $0 |
| DATA_SOURCE | 1 | type | $1 |
| DATA_SOURCE | 2 | description | $2 |
| DATA_SOURCE | 3 | payload | $3 |
| DATA_SOURCE | 4 | plen | $4 |
| DATA_SOURCE | 5 | perm | $5 |
| DATA_SOURCE | 6 | flags | $6 |
| FUZZY_MAX | 4 | plen | 32 |
| STR_LEN | 0 | keyring_ref | (-1),7,9 |
| STR_LEN | 0 | keyring_ref | (-1),7,9 |
| HARD_MAX | 5 | perm | 520814592 |
| HARD_MAX | 6 | flags | 38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | plen | unit_byte |
| HALF_LOCKED2 | global &pernet_ops_rwsem |
security/keys/key.c key_create_or_update() -> __key_create_or_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 572916574821515264,2983909691106885632,3828916242367111168,5570815470420623360,8891941570754449408 |
| PARAM_VALUE | 5 | perm | 851968,4128768,184614912,520159232,520290304,1057685504,u32max |
| PARAM_VALUE | 6 | flags | 0,2,14 |
| PARAM_VALUE | 7 | allow_update | 1 |
| BUF_SIZE | 0 | keyring_ref | (-1)-s32max |
| BUF_SIZE | 0 | keyring_ref | (-1)-s32max |
| BUF_SIZE | 1 | type | 4-5,8,11,32 |
| BUF_SIZE | 1 | type | 4-5,8,11,32 |
| BUF_SIZE | 2 | description | (-1)-s32max |
| BUF_SIZE | 2 | description | (-1)-s32max |
| BUF_SIZE | 3 | payload | (-1)-1048575 |
| BUF_SIZE | 3 | payload | (-1)-1048575 |
| DATA_SOURCE | 0 | keyring_ref | $0 |
| DATA_SOURCE | 1 | type | $1 |
| DATA_SOURCE | 2 | description | $2 |
| DATA_SOURCE | 3 | payload | $3 |
| DATA_SOURCE | 4 | plen | $4 |
| DATA_SOURCE | 5 | perm | $5 |
| DATA_SOURCE | 6 | flags | $6 |
| STR_LEN | 0 | keyring_ref | (-1),3-4,7,10 |
| STR_LEN | 0 | keyring_ref | (-1),3-4,7,10 |
| STR_LEN | 1 | type | (-1),5,13 |
| STR_LEN | 1 | type | (-1),5,13 |
| STR_LEN | 2 | description | (-1),13 |
| STR_LEN | 2 | description | (-1),13 |
| HARD_MAX | 5 | perm | u32max |
| HARD_MAX | 6 | flags | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | *description | 0-255 |
| USER_DATA | 3 | *payload | s64min-s64max |
| USER_DATA | 4 | plen | 0-1048575[c] |
| UNITS | 3 | payload | unit_byte |
| UNITS | 4 | plen | unit_byte |
| BYTE_COUNT | 3 | ==payload4 | 8050 |
| USER_PTR | 2 | description | |
| USER_PTR | 3 | payload | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |