Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/label.c __label_insert() -> __proxy_share()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->vec | 4096-ptr_max |
| CAPPED_DATA | 0 | old | 1 |
| CAPPED_DATA | 1 | new | 1 |
| DATA_SOURCE | 1 | new | $1 |
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ls->lock | ||
| HALF_LOCKED2 | &ls->lock |
security/apparmor/label.c aa_label_replace() -> __proxy_share()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 0 | old->hname | 1-u64max |
| PARAM_VALUE | 0 | old->vec | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->hname | 1-u64max |
| PARAM_VALUE | 1 | new->vec | 4096-ptr_max |
| CAPPED_DATA | 0 | old->hname | 1 |
| CAPPED_DATA | 1 | new->hname | 1 |
| DATA_SOURCE | 0 | old | $0 |
| DATA_SOURCE | 1 | new | $1 |
| PARAM_COMPARE | 1 | new->hname | == $0->hname |
| PARAM_COMPARE | 1 | new->proxy | != $0->proxy |
| NOCHECK_CALL | |||
| LOCK2 | &ons->labels.lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ns->lock | ||
| TYPE_LOCK | (struct aa_labelset)->lock |