/openbmc/linux/include/linux/ |
H A D | ima.h | 24 extern int ima_file_mmap(struct file *file, unsigned long reqprot, 80 static inline int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument
|
H A D | lsm_hook_defs.h | 177 LSM_HOOK(int, 0, mmap_file, struct file *file, unsigned long reqprot, 180 unsigned long reqprot, unsigned long prot)
|
H A D | security.h | 165 extern int cap_mmap_file(struct file *file, unsigned long reqprot, 397 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, 1011 unsigned long reqprot, in security_file_mprotect() argument
|
/openbmc/linux/mm/ |
H A D | mprotect.c | 693 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local 719 reqprot = prot; in do_mprotect_pkey() 805 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey() 825 prot = reqprot; in do_mprotect_pkey()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_bpf_cookie.c | 113 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
|
/openbmc/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)
|
/openbmc/linux/security/integrity/ima/ |
H A D | ima_main.c | 430 int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument 441 if (reqprot & PROT_EXEC) { in ima_file_mmap()
|
/openbmc/linux/security/apparmor/ |
H A D | lsm.c | 571 static int apparmor_mmap_file(struct file *file, unsigned long reqprot, in apparmor_mmap_file() argument 578 unsigned long reqprot, unsigned long prot) in apparmor_file_mprotect() argument
|
/openbmc/linux/security/ |
H A D | commoncap.c | 1435 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
|
H A D | security.c | 2748 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument 2753 ret = call_int_hook(file_mprotect, 0, vma, reqprot, prot); in security_file_mprotect()
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 3809 unsigned long reqprot __always_unused, in selinux_mmap_file() 3829 unsigned long reqprot __always_unused, in selinux_file_mprotect()
|
/openbmc/linux/security/smack/ |
H A D | smack_lsm.c | 1781 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument
|