Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/label.c __label_update() -> __label_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 1 | label | 4096-ptr_max |
| PARAM_VALUE | 1 | label->count.reftype | 0 |
| PARAM_VALUE | 1 | label->proxy | 1-u64max |
| PARAM_VALUE | 1 | label->proxy->count.count.refcount.refs.counter | (-1073741824) |
| PARAM_VALUE | 1 | label->vec | 4096-ptr_max |
| PARAM_VALUE | 1 | *label->vec | 0 |
| PARAM_VALUE | 2 | replace | 1 |
| BUF_SIZE | 1 | label | s32min-s32max |
| DATA_SOURCE | 1 | label | r aa_label_alloc |
| LOCK2 | &ls->lock | ||
| LOCK2 | &ns->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct aa_labelset)->lock | ||
| TYPE_LOCK | (struct aa_ns)->lock |
security/apparmor/label.c aa_label_insert() -> __label_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | ls->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | label | 4096-ptr_max |
| PARAM_VALUE | 1 | label->flags | s64min-(-1),2048-s64max |
| PARAM_VALUE | 2 | replace | 0 |
| DATA_SOURCE | 0 | ls | $0 |
| DATA_SOURCE | 1 | label | $1 |
| LOCK2 | flags | ||
| LOCK2 | 0 | &ls->lock | |
| TYPE_LOCK | (struct aa_labelset)->lock |
security/apparmor/label.c aa_label_replace() -> __label_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 1 | label | 4096-ptr_max |
| PARAM_VALUE | 1 | label->count.count.refcount.refs.counter | (-1073741824) |
| PARAM_VALUE | 1 | label->vec | 4096-ptr_max |
| PARAM_VALUE | 2 | replace | 1 |
| CAPPED_DATA | 1 | label->hname | 1 |
| DATA_SOURCE | 1 | label | $1 |
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ns->lock | ||
| HALF_LOCKED2 | &ons->labels.lock |
security/apparmor/label.c label_merge_insert() -> __label_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 1 | label | 4096-ptr_max |
| PARAM_VALUE | 1 | label->count.reftype | 0 |
| PARAM_VALUE | 1 | label->proxy | 1-u64max |
| PARAM_VALUE | 1 | label->vec | 4096-ptr_max |
| PARAM_VALUE | 1 | *label->vec | 0 |
| PARAM_VALUE | 2 | replace | 0 |
| DATA_SOURCE | 1 | label | $0 |
| LOCK2 | &ls->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &fctx->lock | ||
| TYPE_LOCK | (struct aa_labelset)->lock |
security/apparmor/label.c vec_create_and_insert_label() -> __label_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | ls->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | label | 4096-ptr_max |
| PARAM_VALUE | 1 | label->count.reftype | 0 |
| PARAM_VALUE | 1 | label->proxy | 1-u64max |
| PARAM_VALUE | 1 | label->proxy->count.count.refcount.refs.counter | (-1073741824) |
| PARAM_VALUE | 1 | label->size | s32min-0,2-s32max |
| PARAM_VALUE | 1 | *label->vec | 0 |
| PARAM_VALUE | 2 | replace | 0 |
| BUF_SIZE | 0 | ls | 80 |
| BUF_SIZE | 1 | label | s32min-s32max |
| DATA_SOURCE | 1 | label | r aa_label_alloc |
| LOCK2 | flags | ||
| LOCK2 | 0 | &ls->lock | |
| HALF_LOCKED2 | &ns->lock | ||
| TYPE_LOCK | (struct aa_labelset)->lock |