Home
last modified time | relevance | path

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

/linux-3.4.99/security/
Dcommoncap.c938 int cap_sys_admin = 0; in cap_vm_enough_memory() local
942 cap_sys_admin = 1; in cap_vm_enough_memory()
943 return __vm_enough_memory(mm, pages, cap_sys_admin); in cap_vm_enough_memory()
/linux-3.4.99/fs/fuse/
Dinode.c788 int cap_sys_admin = capable(CAP_SYS_ADMIN); in process_init_limits() local
799 if (!cap_sys_admin && fc->max_background > max_user_bgreq) in process_init_limits()
805 if (!cap_sys_admin && in process_init_limits()
/linux-3.4.99/mm/
Dnommu.c1917 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() argument
1962 if (!cap_sys_admin) in __vm_enough_memory()
1975 if (!cap_sys_admin) in __vm_enough_memory()
Dmmap.c113 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() argument
158 if (!cap_sys_admin) in __vm_enough_memory()
172 if (!cap_sys_admin) in __vm_enough_memory()
/linux-3.4.99/include/linux/
Dmm.h1363 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
/linux-3.4.99/security/selinux/
Dhooks.c2006 int rc, cap_sys_admin = 0; in selinux_vm_enough_memory() local
2011 cap_sys_admin = 1; in selinux_vm_enough_memory()
2013 return __vm_enough_memory(mm, pages, cap_sys_admin); in selinux_vm_enough_memory()