Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dmprotect.c515 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local
539 reqprot = prot; in do_mprotect_pkey()
612 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey()
634 prot = reqprot; in do_mprotect_pkey()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dlsm.c41 unsigned long reqprot, unsigned long prot, int ret) in BPF_PROG() argument
/Linux-v5.10/Documentation/bpf/
Dbpf_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-v5.10/include/linux/
Dlsm_hook_defs.h162 LSM_HOOK(int, 0, mmap_file, struct file *file, unsigned long reqprot,
165 unsigned long reqprot, unsigned long prot)
Dsecurity.h155 extern int cap_mmap_file(struct file *file, unsigned long reqprot,
371 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
937 unsigned long reqprot, in security_file_mprotect() argument
/Linux-v5.10/security/apparmor/
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() argument
/Linux-v5.10/security/
Dcommoncap.c1336 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
Dsecurity.c1534 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument
1539 ret = call_int_hook(file_mprotect, 0, vma, reqprot, prot); in security_file_mprotect()
/Linux-v5.10/security/selinux/
Dhooks.c3701 static int selinux_mmap_file(struct file *file, unsigned long reqprot, in selinux_mmap_file() argument
3717 prot = reqprot; in selinux_mmap_file()
3724 unsigned long reqprot, in selinux_file_mprotect() argument
3731 prot = reqprot; in selinux_file_mprotect()
/Linux-v5.10/security/smack/
Dsmack_lsm.c1647 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument