Home
last modified time | relevance | path

Searched refs:reqprot (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A Dima.h21 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 Dsecurity.h158 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 Dima.h24 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 Dsecurity.h165 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 Dmprotect.c525 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 Dmprotect.c694 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 Dtest_bpf_cookie.c113 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 Dlsm.c90 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 Dxpm_security_hooks.c363 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 Dlsm.c41 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 Dima_main.c420 * @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 Dima_main.c395 * @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 Dcommoncap.c1357 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
H A Dsecurity.c1569 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 Dcommoncap.c1435 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
H A Dsecurity.c2741 * @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 Dlsm.c515 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 Dlsm.c571 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 Dhooks.c3749 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 Dsmack_lsm.c1670 * @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 Dsmack_lsm.c1772 * @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 Dhooks.c3810 unsigned long reqprot __always_unused, in selinux_mmap_file()
3830 unsigned long reqprot __always_unused, in selinux_file_mprotect()

Completed in 70 milliseconds