Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/apparmor/net.c aa_profile_af_perm() -> aa_match_to_prot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1-u32max |
| PARAM_VALUE | 6 | p | 5387898608669220864 |
| PARAM_VALUE | 6 | *p | 0 |
| PARAM_VALUE | 7 | info | 4096-ptr_max |
| DATA_SOURCE | 1 | state | r RULE_MEDIATES_NET |
| DATA_SOURCE | 2 | request | $2 |
| DATA_SOURCE | 3 | af | $3 |
| DATA_SOURCE | 4 | type | $4 |
| DATA_SOURCE | 5 | protocol | $5 |
security/apparmor/af_unix.c match_to_local() -> aa_match_to_prot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | af | 1 |
| PARAM_VALUE | 6 | p | 0 |
| PARAM_VALUE | 7 | *(*info) | 0-255 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | state | $1 |
| DATA_SOURCE | 2 | request | $2 |
| DATA_SOURCE | 4 | type | $3 |
| DATA_SOURCE | 5 | protocol | $4 |
| DATA_SOURCE | 7 | info | $8 |
security/apparmor/af_unix.c profile_create_perm() -> aa_match_to_prot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1-u32max |
| PARAM_VALUE | 2 | request | 16 |
| PARAM_VALUE | 3 | af | 1 |
| PARAM_VALUE | 6 | p | 0 |
| PARAM_VALUE | 7 | info | 7191640096643735600 |
| PARAM_VALUE | 7 | *info | 0,1641355522271170560,4868334955520704512,8630615704476737536 |
| PARAM_VALUE | 7 | *(*info) | 0 |
| DATA_SOURCE | 1 | state | r RULE_MEDIATES_UNIX |
| DATA_SOURCE | 4 | type | $2 |
| DATA_SOURCE | 5 | protocol | $3 |