Searched refs:cap_sys_admin (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/security/ |
D | commoncap.c | 1323 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()
|
D | security.c | 810 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/ |
D | util.c | 864 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/ |
D | test_verifier.c | 842 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/ |
D | inode.c | 953 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/ |
D | hooks.c | 2220 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/ |
D | mm.h | 2559 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
|
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/ |
D | vm.rst | 83 with the capability cap_sys_admin.
|