Documented in 2 files:
Defined in 2 files as a function:
- security/apparmor/domain.c, line 130 (as a function)
- security/apparmor/label.c, line 1329 (as a function)
Referenced in 2 files:
Smatch caller information:
security/apparmor/domain.c label_match() -> label_compound_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 | 4 | inview | 1 |
| PARAM_VALUE | 5 | request | 536870912,1073741824 |
| PARAM_VALUE | 6 | perms | 4435921615944921088,5961077081502613504 |
| PARAM_VALUE | 6 | perms->allow | 0 |
| DATA_SOURCE | 0 | profile | $0 |
| DATA_SOURCE | 1 | label | $1 |
| DATA_SOURCE | 2 | stack | $2 |
| DATA_SOURCE | 3 | state | $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_compound_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 | 4 | inview | 0 |
| PARAM_VALUE | 6 | perms | 6329865071411904512,6626306062208851968,8678448063599136768 |
| DATA_SOURCE | 0 | profile | $0 |
| DATA_SOURCE | 1 | label | $1 |
| DATA_SOURCE | 2 | stack | $2 |
| DATA_SOURCE | 3 | state | $3 |
| DATA_SOURCE | 4 | inview | $4 |
| DATA_SOURCE | 5 | request | $5 |
| DATA_SOURCE | 6 | perms | $6 |