Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dmprotect.c459 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local
481 reqprot = prot; in do_mprotect_pkey()
548 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey()
570 prot = reqprot; in do_mprotect_pkey()
/Linux-v4.19/include/linux/
Dlsm_hooks.h1565 int (*mmap_file)(struct file *file, unsigned long reqprot,
1567 int (*file_mprotect)(struct vm_area_struct *vma, unsigned long reqprot,
Dsecurity.h93 extern int cap_mmap_file(struct file *file, unsigned long reqprot,
325 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
849 unsigned long reqprot, in security_file_mprotect() argument
/Linux-v4.19/security/apparmor/
Dlsm.c509 static int apparmor_mmap_file(struct file *file, unsigned long reqprot, in apparmor_mmap_file() argument
516 unsigned long reqprot, unsigned long prot) in apparmor_file_mprotect() argument
/Linux-v4.19/security/
Dsecurity.c946 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument
949 return call_int_hook(file_mprotect, 0, vma, reqprot, prot); in security_file_mprotect()
Dcommoncap.c1340 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
/Linux-v4.19/security/selinux/
Dhooks.c3714 static int selinux_mmap_file(struct file *file, unsigned long reqprot, in selinux_mmap_file() argument
3730 prot = reqprot; in selinux_mmap_file()
3737 unsigned long reqprot, in selinux_file_mprotect() argument
3744 prot = reqprot; in selinux_file_mprotect()
/Linux-v4.19/security/smack/
Dsmack_lsm.c1717 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument