Home
last modified time | relevance | path

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

/linux-6.1.9/security/
Dcommoncap.c1410 int cap_sys_admin = 0; in cap_vm_enough_memory() local
1414 cap_sys_admin = 1; in cap_vm_enough_memory()
1416 return cap_sys_admin; in cap_vm_enough_memory()
Dsecurity.c835 int cap_sys_admin = 1; in security_vm_enough_memory_mm() local
848 cap_sys_admin = 0; in security_vm_enough_memory_mm()
852 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
/linux-6.1.9/mm/
Dutil.c990 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() argument
1012 if (!cap_sys_admin) in __vm_enough_memory()
/linux-6.1.9/fs/fuse/
Dinode.c1083 int cap_sys_admin = capable(CAP_SYS_ADMIN); in process_init_limits() local
1095 if (!cap_sys_admin && fc->max_background > max_user_bgreq) in process_init_limits()
1101 if (!cap_sys_admin && in process_init_limits()
/linux-6.1.9/security/selinux/
Dhooks.c2199 int rc, cap_sys_admin = 0; in selinux_vm_enough_memory() local
2204 cap_sys_admin = 1; in selinux_vm_enough_memory()
2206 return cap_sys_admin; in selinux_vm_enough_memory()
/linux-6.1.9/include/linux/
Dmm.h2677 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
/linux-6.1.9/Documentation/admin-guide/sysctl/
Dvm.rst84 with the capability cap_sys_admin.