Searched refs:cap_sys_admin (Results 1 – 12 of 12) sorted by relevance
46 if ! /usr/sbin/getcap $XSERVER | grep -q cap_sys_admin; then47 /usr/sbin/setcap cap_sys_admin+eip $XSERVER
1 cap_sys_admin @USER@
1402 int cap_sys_admin = 0; in cap_vm_enough_memory() local1406 cap_sys_admin = 1; in cap_vm_enough_memory()1408 return cap_sys_admin; in cap_vm_enough_memory()
1024 int cap_sys_admin = 1; in security_vm_enough_memory_mm() local1037 cap_sys_admin = 0; in security_vm_enough_memory_mm()1041 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
941 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() argument963 if (!cap_sys_admin) in __vm_enough_memory()
20 u8 cap_sys_admin:1; member
1188 int cap_sys_admin = capable(CAP_SYS_ADMIN); in process_init_limits() local1200 if (!cap_sys_admin && fc->max_background > max_user_bgreq) in process_init_limits()1206 if (!cap_sys_admin && in process_init_limits()
186 { .name = "events", .cap_sys_admin = 1 },
1689 if (grp->cap_sys_admin && in genl_bind()
2212 int rc, cap_sys_admin = 0; in selinux_vm_enough_memory() local2217 cap_sys_admin = 1; in selinux_vm_enough_memory()2219 return cap_sys_admin; in selinux_vm_enough_memory()
3225 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
84 with the capability cap_sys_admin.