/linux/security/ipe/ |
H A D | hooks.h | 27 int ipe_mmap_file(struct file *f, unsigned long reqprot, unsigned long prot, 30 int ipe_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
|
H A D | hooks.c | 53 int ipe_mmap_file(struct file *f, unsigned long reqprot __always_unused, in ipe_mmap_file() 81 unsigned long reqprot __always_unused, in ipe_file_mprotect()
|
/linux/mm/ |
H A D | mprotect.c | 712 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local 738 reqprot = prot; in do_mprotect_pkey() 824 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey() 844 prot = reqprot; in do_mprotect_pkey()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | iters_css_task.c | 23 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
|
H A D | test_bpf_cookie.c | 129 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
|
H A D | lsm.c | 90 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
|
/linux/Documentation/bpf/ |
H A D | prog_lsm.rst | 18 .. c:function:: int file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, unsigned long … 69 unsigned long reqprot, unsigned long prot, int ret)
|
/linux/security/integrity/ima/ |
H A D | ima_main.c | 443 static int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument 454 if (reqprot & PROT_EXEC) { in ima_file_mmap() 482 static int ima_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in ima_file_mprotect() argument
|
/linux/include/linux/ |
H A D | lsm_hook_defs.h | 196 LSM_HOOK(int, 0, mmap_file, struct file *file, unsigned long reqprot, 199 unsigned long reqprot, unsigned long prot)
|
/linux/security/apparmor/ |
H A D | lsm.c | 582 static int apparmor_mmap_file(struct file *file, unsigned long reqprot, in apparmor_mmap_file() argument 589 unsigned long reqprot, unsigned long prot) in apparmor_file_mprotect() argument
|
/linux/security/ |
H A D | commoncap.c | 1431 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
|
H A D | security.c | 3006 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument 3009 return call_int_hook(file_mprotect, vma, reqprot, prot); in security_file_mprotect()
|
/linux/security/selinux/ |
H A D | hooks.c | 3824 unsigned long reqprot __always_unused, in selinux_mmap_file() 3844 unsigned long reqprot __always_unused, in selinux_file_mprotect()
|
/linux/security/smack/ |
H A D | smack_lsm.c | 1815 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument
|