Searched refs:cap_sys_admin (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/security/ |
D | commoncap.c | 938 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/ |
D | inode.c | 788 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/ |
D | nommu.c | 1917 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()
|
D | mmap.c | 113 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/ |
D | mm.h | 1363 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
|
/linux-3.4.99/security/selinux/ |
D | hooks.c | 2006 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()
|