Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/
Dcommoncap.c1323 int cap_sys_admin = 0; in cap_vm_enough_memory() local
1327 cap_sys_admin = 1; in cap_vm_enough_memory()
1329 return cap_sys_admin; in cap_vm_enough_memory()
Dsecurity.c810 int cap_sys_admin = 1; in security_vm_enough_memory_mm() local
823 cap_sys_admin = 0; in security_vm_enough_memory_mm()
827 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
/kernel/linux/linux-5.10/mm/
Dutil.c864 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() argument
886 if (!cap_sys_admin) in __vm_enough_memory()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_verifier.c842 const cap_value_t cap_sys_admin = CAP_SYS_ADMIN; in set_admin() local
852 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, &cap_sys_admin, CAP_CLEAR)) { in set_admin()
/kernel/linux/linux-5.10/fs/fuse/
Dinode.c953 int cap_sys_admin = capable(CAP_SYS_ADMIN); in process_init_limits() local
965 if (!cap_sys_admin && fc->max_background > max_user_bgreq) in process_init_limits()
971 if (!cap_sys_admin && in process_init_limits()
/kernel/linux/linux-5.10/security/selinux/
Dhooks.c2220 int rc, cap_sys_admin = 0; in selinux_vm_enough_memory() local
2225 cap_sys_admin = 1; in selinux_vm_enough_memory()
2227 return cap_sys_admin; in selinux_vm_enough_memory()
/kernel/linux/linux-5.10/include/linux/
Dmm.h2559 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/
Dvm.rst83 with the capability cap_sys_admin.