Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/selinux/hooks.c selinux_file_mprotect() -> file_map_prot_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | prot | 4-u64max |
| PARAM_VALUE | 3 | mounter_check | 1 |
| DATA_SOURCE | 1 | prot | $2 |
| BIT_INFO | 0 | file->f_mode | 0x1000000,0xffffffffffffffff |
| BIT_INFO | 2 | shared | 0x0,0x0 |
security/selinux/hooks.c selinux_mmap_file_common() -> file_map_prot_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4096-ptr_max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | prot | $1 |
| DATA_SOURCE | 2 | shared | $2 |
| DATA_SOURCE | 3 | mounter_check | $3 |