Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
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
A Dlsm_hook_defs.h174 LSM_HOOK(int, 0, mmap_file, struct file *file, unsigned long reqprot,
177 unsigned long reqprot, unsigned long prot)
A Dsecurity.h164 extern int cap_mmap_file(struct file *file, unsigned long reqprot,
396 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
1007 unsigned long reqprot, in security_file_mprotect() argument
/linux-6.3-rc2/mm/
A Dmprotect.c705 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local
731 reqprot = prot; in do_mprotect_pkey()
817 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey()
837 prot = reqprot; in do_mprotect_pkey()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_bpf_cookie.c113 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
A Dlsm.c90 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
/linux-6.3-rc2/Documentation/bpf/
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.3-rc2/security/integrity/ima/
A Dima_main.c412 int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument
423 if (reqprot & PROT_EXEC) { in ima_file_mmap()
/linux-6.3-rc2/security/apparmor/
A Dlsm.c559 static int apparmor_mmap_file(struct file *file, unsigned long reqprot, in apparmor_mmap_file() argument
566 unsigned long reqprot, unsigned long prot) in apparmor_file_mprotect() argument
/linux-6.3-rc2/security/
A Dcommoncap.c1435 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
A Dsecurity.c1678 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument
1683 ret = call_int_hook(file_mprotect, 0, vma, reqprot, prot); in security_file_mprotect()
/linux-6.3-rc2/security/selinux/
A Dhooks.c3768 static int selinux_mmap_file(struct file *file, unsigned long reqprot, in selinux_mmap_file() argument
3784 prot = reqprot; in selinux_mmap_file()
3791 unsigned long reqprot, in selinux_file_mprotect() argument
3798 prot = reqprot; in selinux_file_mprotect()
/linux-6.3-rc2/security/smack/
A Dsmack_lsm.c1698 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument

Completed in 50 milliseconds