Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/apparmor/apparmorfs.c policy_update() -> aa_put_profile_loaddata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->ns | 4096-ptr_max |
| PARAM_VALUE | 0 | data->pcount.refcount.refs.counter | (-1073741824) |
| BUF_SIZE | 0 | data | (-1),224 |
| BUF_SIZE | 0 | data | (-1),224 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *data->data | 0-255 |
| USER_PTR | 0 | data->data |
security/apparmor/apparmorfs.c profile_remove() -> aa_put_profile_loaddata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->count.reftype | 2 |
| PARAM_VALUE | 0 | data->data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->size | 0-1000000000,2147479552 |
| BUF_SIZE | 0 | data | (-1),224 |
| BUF_SIZE | 0 | data | (-1),224 |
| DATA_SOURCE | 0 | data | r aa_simple_write_to_buffer |
| TERMINATED | 0 | data->data | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | data->size | 0-1000000000 |
| USER_DATA | 0 | *data->data | 0-255 |
| USER_PTR | 0 | data->data |
security/apparmor/policy.c __remove_profile() -> aa_put_profile_loaddata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &ns->lock | ||
| TYPE_LOCK | (struct aa_ns)->lock |
security/apparmor/policy.c aa_free_profile() -> aa_put_profile_loaddata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &profile->ns->lock |
security/apparmor/policy.c aa_replace_profiles() -> aa_put_profile_loaddata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->abi | 0-1023 |
| PARAM_VALUE | 0 | data->count.reftype | 2 |
| PARAM_VALUE | 0 | data->data | 1-u64max |
| PARAM_VALUE | 0 | data->hash | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->pcount.refcount.refs.counter | (-1073741824) |
| PARAM_VALUE | 0 | data->size | 0-u32max |
| BUF_SIZE | 0 | data | (-1),224 |
| BUF_SIZE | 0 | data | (-1),224 |
| CAPPED_DATA | 0 | data->compressed_size | 1 |
| CAPPED_DATA | 0 | data->size | 1 |
| DATA_SOURCE | 0 | data | $3 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | data->size | 0-1000000000[c] |
| LOCK2 | &ns->lock | ||
| TYPE_LOCK | (struct aa_ns)->lock |
security/apparmor/policy.c aa_replace_profiles() -> aa_put_profile_loaddata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | data->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->pcount.refcount.refs.counter | (-1073741824) |
| BUF_SIZE | 0 | data | (-1),224 |
| BUF_SIZE | 0 | data | (-1),224 |
| DATA_SOURCE | 0 | data | $3 [m] |
| NOCHECK_CALL | |||
| USER_DATA | 0 | data->size | 0-1000000000[c] |