Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Dmprotect.c455 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local
479 reqprot = prot; in do_mprotect_pkey()
546 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey()
568 prot = reqprot; in do_mprotect_pkey()
/Linux-v5.4/include/linux/
Dsecurity.h149 extern int cap_mmap_file(struct file *file, unsigned long reqprot,
364 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
918 unsigned long reqprot, in security_file_mprotect() argument
Dlsm_hooks.h1606 int (*mmap_file)(struct file *file, unsigned long reqprot,
1608 int (*file_mprotect)(struct vm_area_struct *vma, unsigned long reqprot,
/Linux-v5.4/security/apparmor/
Dlsm.c503 static int apparmor_mmap_file(struct file *file, unsigned long reqprot, in apparmor_mmap_file() argument
510 unsigned long reqprot, unsigned long prot) in apparmor_file_mprotect() argument
/Linux-v5.4/security/
Dcommoncap.c1334 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
Dsecurity.c1461 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument
1464 return call_int_hook(file_mprotect, 0, vma, reqprot, prot); in security_file_mprotect()
/Linux-v5.4/security/selinux/
Dhooks.c3693 static int selinux_mmap_file(struct file *file, unsigned long reqprot, in selinux_mmap_file() argument
3709 prot = reqprot; in selinux_mmap_file()
3716 unsigned long reqprot, in selinux_file_mprotect() argument
3723 prot = reqprot; in selinux_file_mprotect()
/Linux-v5.4/security/smack/
Dsmack_lsm.c1659 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument