Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/lsm.c apparmor_file_lock() -> common_file_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 5272176369423908864 |
| PARAM_VALUE | 2 | mask | 32768,32770 |
| BUF_SIZE | 0 | op | 10 |
| DATA_SOURCE | 1 | file | $0 |
| FUZZY_MAX | 2 | mask | 32768 |
| STR_LEN | 0 | op | 9 |
| BIT_INFO | 2 | mask | 0x8000,0x8002 |
| TERMINATED | 0 | op | 1 |
security/apparmor/lsm.c apparmor_file_permission() -> common_file_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 777774716091924480 |
| BUF_SIZE | 0 | op | 10 |
| DATA_SOURCE | 1 | file | $0 |
| DATA_SOURCE | 2 | mask | $1 |
| STR_LEN | 0 | op | 9 |
| TERMINATED | 0 | op | 1 |
security/apparmor/lsm.c apparmor_file_receive() -> common_file_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 7146136070081822720 |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30 |
| BUF_SIZE | 0 | op | 13 |
| DATA_SOURCE | 1 | file | $0 |
| STR_LEN | 0 | op | 12 |
| TERMINATED | 0 | op | 1 |
security/apparmor/lsm.c common_mmap() -> common_file_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 7714807792304844800,7963021027472015360 |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 0,2,4,6,65536,65538,65540,65542 |
| BUF_SIZE | 0 | op | 10,14 |
| BUF_SIZE | 0 | op | 10,14 |
| DATA_SOURCE | 0 | op | $0 |
| DATA_SOURCE | 1 | file | $1 |
| STR_LEN | 0 | op | 9,13 |
| STR_LEN | 0 | op | 9,13 |
| BIT_INFO | 2 | mask | 0x0,0x10006 |
| TERMINATED | 0 | op | 1 |