Home
last modified time | relevance | path

Searched refs:mm (Results 1 – 6 of 6) sorted by relevance

/security/tomoyo/
Dutil.c951 struct mm_struct *mm = current->mm; in tomoyo_get_exe() local
954 if (!mm) in tomoyo_get_exe()
956 down_read(&mm->mmap_sem); in tomoyo_get_exe()
957 if (mm->exe_file) in tomoyo_get_exe()
958 cp = tomoyo_realpath_from_path(&mm->exe_file->f_path); in tomoyo_get_exe()
959 up_read(&mm->mmap_sem); in tomoyo_get_exe()
Ddomain.c877 if (get_user_pages(current, bprm->mm, pos, 1, 0, 1, &page, NULL) <= 0) in tomoyo_dump_page()
/security/
Dcommoncap.c1040 int cap_vm_enough_memory(struct mm_struct *mm, long pages) in cap_vm_enough_memory() argument
1047 return __vm_enough_memory(mm, pages, cap_sys_admin); in cap_vm_enough_memory()
Dsecurity.c228 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() argument
230 return security_ops->vm_enough_memory(mm, pages); in security_vm_enough_memory_mm()
/security/keys/
Dkeyctl.c1512 if (parent->pid <= 1 || !parent->mm) in keyctl_session_to_parent()
/security/selinux/
Dhooks.c2080 static int selinux_vm_enough_memory(struct mm_struct *mm, long pages) in selinux_vm_enough_memory() argument
2089 return __vm_enough_memory(mm, pages, cap_sys_admin); in selinux_vm_enough_memory()