Searched refs:mm (Results 1 – 6 of 6) sorted by relevance
/security/tomoyo/ |
D | util.c | 951 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()
|
D | domain.c | 877 if (get_user_pages(current, bprm->mm, pos, 1, 0, 1, &page, NULL) <= 0) in tomoyo_dump_page()
|
/security/ |
D | commoncap.c | 1040 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()
|
D | security.c | 228 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/ |
D | keyctl.c | 1512 if (parent->pid <= 1 || !parent->mm) in keyctl_session_to_parent()
|
/security/selinux/ |
D | hooks.c | 2080 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()
|