Home
last modified time | relevance | path

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

/linux-5.19.10/security/
Dcommoncap.c1408 int cap_sys_admin = 0; in cap_vm_enough_memory() local
1412 cap_sys_admin = 1; in cap_vm_enough_memory()
1414 return cap_sys_admin; in cap_vm_enough_memory()
Dsecurity.c833 int cap_sys_admin = 1; in security_vm_enough_memory_mm() local
846 cap_sys_admin = 0; in security_vm_enough_memory_mm()
850 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
/linux-5.19.10/mm/
Dutil.c1018 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() argument
1040 if (!cap_sys_admin) in __vm_enough_memory()
/linux-5.19.10/fs/fuse/
Dinode.c1077 int cap_sys_admin = capable(CAP_SYS_ADMIN); in process_init_limits() local
1089 if (!cap_sys_admin && fc->max_background > max_user_bgreq) in process_init_limits()
1095 if (!cap_sys_admin && in process_init_limits()
/linux-5.19.10/security/selinux/
Dhooks.c2202 int rc, cap_sys_admin = 0; in selinux_vm_enough_memory() local
2207 cap_sys_admin = 1; in selinux_vm_enough_memory()
2209 return cap_sys_admin; in selinux_vm_enough_memory()
/linux-5.19.10/include/linux/
Dmm.h2624 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
/linux-5.19.10/Documentation/admin-guide/sysctl/
Dvm.rst84 with the capability cap_sys_admin.