Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/af_unix.c aa_unix_file_perm() -> unix_peer_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | request | 6 |
| PARAM_VALUE | 4 | sk | 4096-ptr_max |
| PARAM_VALUE | 5 | path | 0 |
| PARAM_VALUE | 8 | peer_path | 0 |
| BUF_SIZE | 5 | path | 0 |
| DATA_SOURCE | 0 | subj_cred | $0 |
| DATA_SOURCE | 1 | label | $1 |
| DATA_SOURCE | 2 | op | $2 |
| DATA_SOURCE | 6 | peer_addr | r aa_sunaddr |
| DATA_SOURCE | 9 | peer_label | r aa_get_newest_label |
| UNITS | 4 | sk | unit_byte |
security/apparmor/af_unix.c aa_unix_file_perm() -> unix_peer_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | request | 6 |
| PARAM_VALUE | 4 | sk | 4096-ptr_max |
| PARAM_VALUE | 5 | path | 0 |
| PARAM_VALUE | 8 | peer_path | 0 |
| PARAM_VALUE | 9 | peer_label | 4096-ptr_max |
| BUF_SIZE | 8 | peer_path | 0 |
| CAPPED_DATA | 9 | peer_label->size | 1 |
| DATA_SOURCE | 1 | label | r aa_get_newest_label |
| DATA_SOURCE | 2 | op | $2 |
| DATA_SOURCE | 6 | peer_addr | r aa_sunaddr |
| DATA_SOURCE | 9 | peer_label | $1 |
| UNITS | 4 | sk | unit_byte |
security/apparmor/af_unix.c aa_unix_peer_perm() -> unix_peer_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | op | 3903629404945924096,7528988410598850560 |
| PARAM_VALUE | 3 | request | 2,4,70,1048582 |
| PARAM_VALUE | 5 | path | 0,4096-ptr_max |
| PARAM_VALUE | 8 | peer_path | 0,4096-ptr_max |
| BUF_SIZE | 2 | op | 8 |
| BUF_SIZE | 2 | op | 8 |
| BUF_SIZE | 5 | path | 0,16 |
| BUF_SIZE | 8 | peer_path | 0,16 |
| DATA_SOURCE | 0 | subj_cred | $0 |
| DATA_SOURCE | 1 | label | $1 |
| DATA_SOURCE | 2 | op | $2 |
| DATA_SOURCE | 3 | request | $3 |
| DATA_SOURCE | 4 | sk | $4 |
| DATA_SOURCE | 6 | peer_addr | r aa_sunaddr |
| DATA_SOURCE | 9 | peer_label | $6 |
| STR_LEN | 0 | subj_cred | 7 |
| STR_LEN | 0 | subj_cred | 7 |
| TERMINATED | 2 | op | 1 |
| HARD_MAX | 3 | request | 1048582 |
| UNITS | 4 | sk | unit_byte |