Home
last modified time | relevance | path

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

/linux-6.12.1/security/ipe/
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,
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.12.1/mm/
Dmprotect.c712 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local
738 reqprot = prot; in do_mprotect_pkey()
824 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey()
844 prot = reqprot; in do_mprotect_pkey()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Diters_css_task.c23 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
Dtest_bpf_cookie.c129 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
Dlsm.c90 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
/linux-6.12.1/Documentation/bpf/
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.12.1/security/integrity/ima/
Dima_main.c443 static int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument
454 if (reqprot & PROT_EXEC) { in ima_file_mmap()
482 static int ima_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in ima_file_mprotect() argument
/linux-6.12.1/include/linux/
Dlsm_hook_defs.h196 LSM_HOOK(int, 0, mmap_file, struct file *file, unsigned long reqprot,
199 unsigned long reqprot, unsigned long prot)
Dsecurity.h182 extern int cap_mmap_file(struct file *file, unsigned long reqprot,
429 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
1092 unsigned long reqprot, in security_file_mprotect() argument
/linux-6.12.1/security/apparmor/
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.12.1/security/
Dcommoncap.c1431 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
Dsecurity.c3006 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument
3009 return call_int_hook(file_mprotect, vma, reqprot, prot); in security_file_mprotect()
/linux-6.12.1/security/selinux/
Dhooks.c3824 unsigned long reqprot __always_unused, in selinux_mmap_file()
3844 unsigned long reqprot __always_unused, in selinux_file_mprotect()
/linux-6.12.1/security/smack/
Dsmack_lsm.c1815 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument