Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
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
Dlsm_hook_defs.h175 LSM_HOOK(int, 0, mmap_file, struct file *file, unsigned long reqprot,
178 unsigned long reqprot, unsigned long prot)
Dsecurity.h165 extern int cap_mmap_file(struct file *file, unsigned long reqprot,
395 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
1002 unsigned long reqprot, in security_file_mprotect() argument
/Linux-v6.6/mm/
Dmprotect.c693 unsigned long nstart, end, tmp, reqprot; in do_mprotect_pkey() local
719 reqprot = prot; in do_mprotect_pkey()
805 error = security_file_mprotect(vma, reqprot, prot); in do_mprotect_pkey()
825 prot = reqprot; in do_mprotect_pkey()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_bpf_cookie.c113 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-v6.6/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-v6.6/security/integrity/ima/
Dima_main.c416 int ima_file_mmap(struct file *file, unsigned long reqprot, in ima_file_mmap() argument
427 if (reqprot & PROT_EXEC) { in ima_file_mmap()
/Linux-v6.6/security/apparmor/
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-v6.6/security/
Dcommoncap.c1435 int cap_mmap_file(struct file *file, unsigned long reqprot, in cap_mmap_file() argument
Dsecurity.c2730 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, in security_file_mprotect() argument
2735 ret = call_int_hook(file_mprotect, 0, vma, reqprot, prot); in security_file_mprotect()
/Linux-v6.6/security/selinux/
Dhooks.c3788 unsigned long reqprot __always_unused, in selinux_mmap_file()
3808 unsigned long reqprot __always_unused, in selinux_file_mprotect()
/Linux-v6.6/security/smack/
Dsmack_lsm.c1780 unsigned long reqprot, unsigned long prot, in smack_mmap_file() argument