| /linux-6.15/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-6.15/mm/ |
| H A D | mprotect.c | 706 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local 732 reqprot = prot; in do_mprotect_pkey() 818 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey() 838 prot = reqprot; in do_mprotect_pkey()
|
| /linux-6.15/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-6.15/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-6.15/security/integrity/ima/ |
| H A D | ima_main.c | 456 static int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument 467 if (reqprot & PROT_EXEC) { in ima_file_mmap() 495 static int ima_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in ima_file_mprotect() argument
|
| /linux-6.15/include/linux/ |
| H A D | lsm_hook_defs.h | 197 LSM_HOOK(int, 0, mmap_file, struct file *file, unsigned long reqprot, 200 unsigned long reqprot, unsigned long prot)
|
| H A D | security.h | 196 extern int cap_mmap_file(struct file *file, unsigned long reqprot, 479 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, 1155 unsigned long reqprot, in security_file_mprotect() argument
|
| /linux-6.15/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-6.15/security/ |
| H A D | security.c | 3009 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument 3012 return call_int_hook(file_mprotect, vma, reqprot, prot); in security_file_mprotect()
|
| /linux-6.15/security/selinux/ |
| H A D | hooks.c | 3832 unsigned long reqprot __always_unused, in selinux_mmap_file() 3852 unsigned long reqprot __always_unused, in selinux_file_mprotect()
|
| /linux-6.15/security/smack/ |
| H A D | smack_lsm.c | 1797 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument
|