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/lsm.c apparmor_file_open() -> aa_path_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 1632177204226002944 |
| PARAM_VALUE | 1 | subj_cred | 4096-ptr_max |
| PARAM_VALUE | 2 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 4096-ptr_max |
| PARAM_VALUE | 3 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 3 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | request | 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30 |
| PARAM_VALUE | 6 | cond | 6944398326622257152 |
| BUF_SIZE | 0 | op | 5 |
| DATA_SOURCE | 2 | label | r aa_get_newest_cred_label_condref |
| STR_LEN | 0 | op | 4 |
| BIT_INFO | 2 | label->flags | 0x0,0xfffffffffffffffd |
| TERMINATED | 0 | op | 1 |
security/apparmor/lsm.c apparmor_path_rename() -> aa_path_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 7474282071487954944 |
| PARAM_VALUE | 2 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 8391646968464056320 |
| PARAM_VALUE | 3 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | request | 806 |
| PARAM_VALUE | 6 | cond | 255133159422676992 |
| BUF_SIZE | 0 | op | 11 |
| DATA_SOURCE | 2 | label | r begin_current_label_crit_section |
| STR_LEN | 0 | op | 10 |
| BIT_INFO | 2 | label->flags | 0x0,0xfffffffffffffffd |
| TERMINATED | 0 | op | 1 |
security/apparmor/lsm.c apparmor_path_rename() -> aa_path_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 5877336302087827456 |
| PARAM_VALUE | 2 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 5959719518147440640 |
| PARAM_VALUE | 3 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 3 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | request | 274 |
| PARAM_VALUE | 6 | cond | 255133159422676992 |
| BUF_SIZE | 0 | op | 12 |
| CAPPED_DATA | 2 | label->size | 1 |
| DATA_SOURCE | 2 | label | r begin_current_label_crit_section |
| STR_LEN | 0 | op | 11 |
| BIT_INFO | 2 | label->flags | 0x0,0xfffffffffffffffd |
| TERMINATED | 0 | op | 1 |
security/apparmor/lsm.c apparmor_path_rename() -> aa_path_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 7474282071487954944 |
| PARAM_VALUE | 2 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 5959719518147440640 |
| PARAM_VALUE | 3 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 3 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | request | 806 |
| PARAM_VALUE | 6 | cond | 4053066457634979840 |
| BUF_SIZE | 0 | op | 11 |
| DATA_SOURCE | 2 | label | r begin_current_label_crit_section |
| STR_LEN | 0 | op | 10 |
| BIT_INFO | 2 | label->flags | 0x0,0xfffffffffffffffd |
| TERMINATED | 0 | op | 1 |
security/apparmor/lsm.c apparmor_path_rename() -> aa_path_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 5877336302087827456 |
| PARAM_VALUE | 2 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 8391646968464056320 |
| PARAM_VALUE | 3 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | request | 274 |
| PARAM_VALUE | 6 | cond | 4053066457634979840 |
| BUF_SIZE | 0 | op | 12 |
| CAPPED_DATA | 2 | label->size | 1 |
| DATA_SOURCE | 2 | label | r begin_current_label_crit_section |
| STR_LEN | 0 | op | 11 |
| BIT_INFO | 2 | label->flags | 0x0,0xfffffffffffffffd |
| TERMINATED | 0 | op | 1 |
security/apparmor/lsm.c common_perm() -> aa_path_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 4096-ptr_max |
| PARAM_VALUE | 2 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | request | 16,32,258,512,4096,8192 |
| PARAM_VALUE | 6 | cond | 576040295627952128,1868001062833639424,4645434260409507840 |
| BUF_SIZE | 0 | op | 6-9 |
| BUF_SIZE | 0 | op | 6-9 |
| DATA_SOURCE | 0 | op | $0 |
| DATA_SOURCE | 2 | label | r __begin_current_label_crit_section |
| DATA_SOURCE | 3 | path | $1 |
| DATA_SOURCE | 5 | request | $2 |
| DATA_SOURCE | 6 | cond | $3 |
| STR_LEN | 0 | op | 5-8 |
| STR_LEN | 0 | op | 5-8 |
| BIT_INFO | 2 | label->flags | 0x0,0xfffffffffffffffd |
| HARD_MAX | 5 | request | 8192 |
security/apparmor/af_unix.c unix_fs_perm() -> aa_path_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | label | 4096-ptr_max |
| PARAM_VALUE | 3 | path | 4096-ptr_max |
| PARAM_VALUE | 3 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 3 | path->dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 3 | path->dentry->d_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 2 |
| PARAM_VALUE | 5 | request | 0,2-193526 |
| PARAM_VALUE | 6 | cond | 323956504514027520 |
| BUF_SIZE | 0 | op | (-1),5-8,10-16 |
| BUF_SIZE | 0 | op | (-1),5-8,10-16 |
| BUF_SIZE | 3 | path | (-1)-0,16 |
| BUF_SIZE | 3 | path | (-1)-0,16 |
| DATA_SOURCE | 0 | op | $0 |
| DATA_SOURCE | 1 | subj_cred | $2 |
| DATA_SOURCE | 2 | label | $3 |
| DATA_SOURCE | 3 | path | $4 |
| DATA_SOURCE | 5 | request | $1 [m] |
| BIT_INFO | 2 | label->flags | 0x0,0xfffffffffffffffd |
| BIT_INFO | 5 | request | 0x0,0x2f3f6 |