Documented in 2 files:
Defined in 2 files as a function:
- security/apparmor/domain.c, line 192 (as a function)
- security/apparmor/label.c, line 1385 (as a function)
Referenced in 2 files:
Smatch caller information:
security/apparmor/domain.c label_match() -> label_components_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 4096-ptr_max |
| PARAM_VALUE | 0 | profile->label.rules | 4096-ptr_max |
| PARAM_VALUE | 0 | profile->mode | s64min-2,4-s64max |
| PARAM_VALUE | 1 | label | 4096-ptr_max |
| PARAM_VALUE | 4 | inview | 1 |
| PARAM_VALUE | 5 | request | 536870912,1073741824 |
| PARAM_VALUE | 6 | perms | 4435921615944921088,5961077081502613504 |
| PARAM_VALUE | 6 | perms->allow | u32max |
| PARAM_VALUE | 6 | perms->audit | 0 |
| CAPPED_DATA | 0 | profile->ns | 1 |
| CAPPED_DATA | 5 | request | 1 |
| DATA_SOURCE | 0 | profile | $0 |
| DATA_SOURCE | 1 | label | $1 |
| DATA_SOURCE | 2 | stack | $2 |
| DATA_SOURCE | 3 | start | $3 |
| DATA_SOURCE | 4 | inview | $4 |
| DATA_SOURCE | 5 | request | $5 |
| DATA_SOURCE | 6 | perms | $6 |
| FUZZY_MAX | 5 | request | 1073741824 |
| BIT_INFO | 5 | request | 0x0,0x60000000 |
| HARD_MAX | 5 | request | 1073741824 |
security/apparmor/label.c aa_label_match() -> label_components_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 4096-ptr_max |
| PARAM_VALUE | 0 | profile->label.rules | 4096-ptr_max |
| PARAM_VALUE | 1 | label | 4096-ptr_max |
| PARAM_VALUE | 1 | label->policy | 4096-ptr_max |
| PARAM_VALUE | 2 | stack | 4096-ptr_max |
| PARAM_VALUE | 4 | inview | 0 |
| PARAM_VALUE | 6 | perms | 6329865071411904512,6626306062208851968,8678448063599136768 |
| PARAM_VALUE | 6 | perms->allow | u32max |
| PARAM_VALUE | 6 | perms->audit | 0 |
| PARAM_VALUE | 6 | perms->complain | 0 |
| PARAM_VALUE | 6 | perms->cond | 0 |
| PARAM_VALUE | 6 | perms->deny | 0 |
| PARAM_VALUE | 6 | perms->hide | u32max |
| PARAM_VALUE | 6 | perms->kill | 0 |
| PARAM_VALUE | 6 | perms->label | 0 |
| PARAM_VALUE | 6 | perms->prompt | 0 |
| PARAM_VALUE | 6 | perms->quiet | u32max |
| PARAM_VALUE | 6 | perms->subtree | 0 |
| PARAM_VALUE | 6 | perms->tag | 0 |
| PARAM_VALUE | 6 | perms->xindex | 0 |
| DATA_SOURCE | 0 | profile | $0 |
| DATA_SOURCE | 1 | label | $1 |
| DATA_SOURCE | 2 | stack | $2 |
| DATA_SOURCE | 3 | start | $3 |
| DATA_SOURCE | 4 | inview | $4 |
| DATA_SOURCE | 5 | request | $5 |
| DATA_SOURCE | 6 | perms | $6 |