Home
last modified time | relevance | path

Searched refs:reqprot (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/security/ipe/
H A Dhooks.h27 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 Dhooks.c53 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 Dmprotect.c706 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 Diters_css_task.c23 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
H A Dtest_bpf_cookie.c129 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
H A Dlsm.c90 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
/linux-6.15/Documentation/bpf/
H A Dprog_lsm.rst18 .. 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 Dima_main.c456 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 Dlsm_hook_defs.h197 LSM_HOOK(int, 0, mmap_file, struct file *file, unsigned long reqprot,
200 unsigned long reqprot, unsigned long prot)
H A Dsecurity.h196 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 Dlsm.c582 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 Dsecurity.c3009 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 Dhooks.c3832 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 Dsmack_lsm.c1797 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument