Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/af_unix.c match_to_peer() -> match_to_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1-u32max |
| PARAM_VALUE | 4 | cmd | 1 |
| PARAM_VALUE | 5 | p | 3815936466931290112 |
| PARAM_VALUE | 5 | *p | 0 |
| PARAM_VALUE | 6 | info | 2240689271445065776 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | state | $1 |
| DATA_SOURCE | 2 | request | $2 |
| DATA_SOURCE | 3 | u | $3 |
| DATA_SOURCE | 5 | p | $6 |
| DATA_SOURCE | 6 | info | $7 |
security/apparmor/af_unix.c profile_listen_perm() -> match_to_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1-u32max |
| PARAM_VALUE | 2 | request | 4194304 |
| PARAM_VALUE | 4 | cmd | 2 |
| PARAM_VALUE | 5 | p | 4229214135265509376 |
| PARAM_VALUE | 5 | *p | 0 |
| PARAM_VALUE | 6 | info | 8540027098599215152 |
| PARAM_VALUE | 6 | *info | 0,5972506434562547712,7456652106755571712 |
| PARAM_VALUE | 6 | *(*info) | 0 |
| DATA_SOURCE | 1 | state | r RULE_MEDIATES_UNIX |
security/apparmor/af_unix.c profile_opt_perm() -> match_to_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1-u32max |
| PARAM_VALUE | 2 | request | 16777216,33554432 |
| PARAM_VALUE | 4 | cmd | 4 |
| PARAM_VALUE | 5 | p | 1408760205569286144 |
| PARAM_VALUE | 5 | *p | 0 |
| PARAM_VALUE | 6 | info | 5608650315911725104 |
| PARAM_VALUE | 6 | *info | 0,2932045113585340416,7456652106755571712 |
| PARAM_VALUE | 6 | *(*info) | 0 |
| DATA_SOURCE | 1 | state | r RULE_MEDIATES_UNIX |
| DATA_SOURCE | 2 | request | $1 |
| HARD_MAX | 2 | request | 33554432 |