Searched refs:cap_sys_admin (Results 1 – 5 of 5) sorted by relevance
1032 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() argument1055 if (!cap_sys_admin) in __vm_enough_memory()
1199 int cap_sys_admin = capable(CAP_SYS_ADMIN); in process_init_limits() local1211 if (!cap_sys_admin && fc->max_background > max_user_bgreq) in process_init_limits()1217 if (!cap_sys_admin && in process_init_limits()
1221 int cap_sys_admin = 1; in security_vm_enough_memory_mm() local1233 cap_sys_admin = 0; in security_vm_enough_memory_mm()1237 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
3297 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
86 with the capability cap_sys_admin.