/kernel/linux/linux-5.10/include/linux/ |
H A D | ima.h | 21 extern int ima_file_mmap(struct file *file, unsigned long reqprot, 74 static inline int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument
|
H A D | security.h | 158 extern int cap_mmap_file(struct file *file, unsigned long reqprot, 376 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, 949 unsigned long reqprot, in security_file_mprotect() 948 security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot) security_file_mprotect() argument
|
/kernel/linux/linux-6.6/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 | 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() 1010 security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot) security_file_mprotect() argument
|
/kernel/linux/linux-5.10/mm/ |
H A D | mprotect.c | 525 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local 562 reqprot = prot; in do_mprotect_pkey() 635 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey() 657 prot = reqprot; in do_mprotect_pkey()
|
/kernel/linux/linux-6.6/mm/ |
H A D | mprotect.c | 694 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local 728 reqprot = prot; in do_mprotect_pkey() 814 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey() 834 prot = reqprot; in do_mprotect_pkey()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_bpf_cookie.c | 113 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() 112 BPF_PROG(test_int_hook, struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot, int ret) BPF_PROG() argument
|
H A D | lsm.c | 90 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() 89 BPF_PROG(test_int_hook, struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot, int ret) BPF_PROG() argument
|
/kernel/linux/common_modules/xpm/core/ |
H A D | xpm_security_hooks.c | 363 unsigned long reqprot, unsigned long prot) in xpm_mprotect_check() 365 (void)reqprot; in xpm_mprotect_check() 362 xpm_mprotect_check(struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot) xpm_mprotect_check() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | lsm.c | 41 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() 40 BPF_PROG(test_int_hook, struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot, int ret) BPF_PROG() argument
|
/kernel/linux/linux-6.6/security/integrity/ima/ |
H A D | ima_main.c | 420 * @reqprot: protection requested by the application 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()
|
/kernel/linux/linux-5.10/security/integrity/ima/ |
H A D | ima_main.c | 395 * @reqprot: protection requested by the application 405 int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument
|
/kernel/linux/linux-5.10/security/ |
H A D | commoncap.c | 1357 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
|
H A D | security.c | 1569 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument 1574 ret = call_int_hook(file_mprotect, 0, vma, reqprot, prot); in security_file_mprotect()
|
/kernel/linux/linux-6.6/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 | 2741 * @reqprot: application requested protection 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()
|
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | lsm.c | 515 static int apparmor_mmap_file(struct file *file, unsigned long reqprot, in apparmor_mmap_file() argument 522 unsigned long reqprot, unsigned long prot) in apparmor_file_mprotect() 521 apparmor_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot) apparmor_file_mprotect() argument
|
/kernel/linux/linux-6.6/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() 577 apparmor_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot) apparmor_file_mprotect() argument
|
/kernel/linux/linux-5.10/security/selinux/ |
H A D | hooks.c | 3749 static int selinux_mmap_file(struct file *file, unsigned long reqprot, in selinux_mmap_file() argument 3765 prot = reqprot; in selinux_mmap_file() 3772 unsigned long reqprot, in selinux_file_mprotect() 3779 prot = reqprot; in selinux_file_mprotect() 3771 selinux_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot) selinux_file_mprotect() argument
|
/kernel/linux/linux-5.10/security/smack/ |
H A D | smack_lsm.c | 1670 * @reqprot contains the protection requested by the application. 1676 unsigned long reqprot, unsigned long prot, in smack_mmap_file() 1675 smack_mmap_file(struct file *file, unsigned long reqprot, unsigned long prot, unsigned long flags) smack_mmap_file() argument
|
/kernel/linux/linux-6.6/security/smack/ |
H A D | smack_lsm.c | 1772 * @reqprot: contains the protection requested by the application. 1781 unsigned long reqprot, unsigned long prot, in smack_mmap_file() 1780 smack_mmap_file(struct file *file, unsigned long reqprot, unsigned long prot, unsigned long flags) smack_mmap_file() argument
|
/kernel/linux/linux-6.6/security/selinux/ |
H A D | hooks.c | 3810 unsigned long reqprot __always_unused, in selinux_mmap_file() 3830 unsigned long reqprot __always_unused, in selinux_file_mprotect()
|