Defined in 2 files as a function:
- include/keys/trusted-type.h, line 89 (as a function)
- include/keys/trusted-type.h, line 103 (as a function)
Referenced in 5 files:
- drivers/infiniband/ulp/isert/ib_isert.c
- drivers/target/iscsi/cxgbit/cxgbit_target.c
- drivers/target/iscsi/iscsi_target.c
- security/keys/trusted-keys/trusted_core.c
- security/keys/trusted-keys/trusted_pkwm.c
Smatch caller information:
security/keys/trusted-keys/trusted_core.c trusted_instantiate() -> dump_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| BUF_SIZE | 0 | p | 672 |
| DATA_SOURCE | 0 | p | r trusted_payload_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->key_len | 32-128 |
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/trusted-keys/trusted_core.c trusted_instantiate() -> dump_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->blob_len | 0-512 |
| PARAM_VALUE | 0 | *p->blob | 0-255 |
| BUF_SIZE | 0 | p | 672 |
| DATA_SOURCE | 0 | p | r trusted_payload_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/trusted-keys/trusted_core.c trusted_update() -> dump_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->migratable | 1-255 |
| BUF_SIZE | 0 | p | 1-s32max |
| BUF_SIZE | 0 | p | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &key->sem | ||
| HALF_LOCKED2 | global &key_types_sem | ||
| TYPE_LOCK | (struct key)->sem |
security/keys/trusted-keys/trusted_core.c trusted_update() -> dump_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->migratable | 1-255 |
| BUF_SIZE | 0 | p | 672 |
| DATA_SOURCE | 0 | p | r trusted_payload_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &key->sem | ||
| HALF_LOCKED2 | global &key_types_sem | ||
| TYPE_LOCK | (struct key)->sem |