Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/af_unix.c aa_unix_file_perm() -> unix_fs_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | path | 4993019590976180224 |
| PARAM_VALUE | 4 | path->dentry | 0,4096-ptr_max |
| DATA_SOURCE | 0 | op | $2 |
| DATA_SOURCE | 1 | mask | $3 |
| DATA_SOURCE | 2 | subj_cred | $0 |
| DATA_SOURCE | 3 | label | $1 |
security/apparmor/af_unix.c profile_accept_perm() -> unix_fs_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 751892821077909504 |
| PARAM_VALUE | 1 | mask | 1048576 |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 4 | path | 4096-ptr_max |
| BUF_SIZE | 0 | op | 5-8,10-16 |
security/apparmor/af_unix.c profile_listen_perm() -> unix_fs_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 4769769966644432896 |
| PARAM_VALUE | 1 | mask | 4194304 |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 4 | path | 4096-ptr_max |
| BUF_SIZE | 0 | op | 5-8,10-16 |
security/apparmor/af_unix.c profile_opt_perm() -> unix_fs_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 4197275624911224832,7512163014219960320 |
| PARAM_VALUE | 1 | mask | 16777216,33554432 |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 4 | path | 4096-ptr_max |
| BUF_SIZE | 0 | op | 5-8,10-16 |
| DATA_SOURCE | 1 | mask | $1 |
| HARD_MAX | 1 | mask | 33554432 |
security/apparmor/af_unix.c profile_peer_perm() -> unix_fs_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mask | 2,4,6,70,1048582 |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 4 | path | 4096-ptr_max |
| BUF_SIZE | 0 | op | 5-8,10-16 |
| BUF_SIZE | 4 | path | (-1)-0,16 |
| BUF_SIZE | 4 | path | (-1)-0,16 |
| DATA_SOURCE | 1 | mask | $1 |
| DATA_SOURCE | 4 | path | $6 |
| HARD_MAX | 1 | mask | 1048582 |
security/apparmor/af_unix.c profile_peer_perm() -> unix_fs_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mask | 2,4,6,70,1048582 |
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 4 | path | 4096-ptr_max |
| BUF_SIZE | 0 | op | 5-8,10-16 |
| BUF_SIZE | 4 | path | (-1)-0,16 |
| BUF_SIZE | 4 | path | (-1)-0,16 |
| DATA_SOURCE | 1 | mask | $1 |
| DATA_SOURCE | 4 | path | $3 |
| HARD_MAX | 1 | mask | 1048582 |
security/apparmor/af_unix.c profile_sk_perm() -> unix_fs_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | label | 4096-ptr_max |
| PARAM_VALUE | 4 | path | 4096-ptr_max |
| BUF_SIZE | 0 | op | 5-8,10-16 |
| DATA_SOURCE | 1 | mask | $2 |