Home
last modified time | relevance | path

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

/linux-6.6.21/security/
Dcommoncap.c1402 int cap_sys_admin = 0; in cap_vm_enough_memory() local
1406 cap_sys_admin = 1; in cap_vm_enough_memory()
1408 return cap_sys_admin; in cap_vm_enough_memory()
Dsecurity.c1024 int cap_sys_admin = 1; in security_vm_enough_memory_mm() local
1037 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()
/linux-6.6.21/mm/
Dutil.c941 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() argument
963 if (!cap_sys_admin) in __vm_enough_memory()
/linux-6.6.21/include/net/
Dgenetlink.h20 u8 cap_sys_admin:1; member
/linux-6.6.21/fs/fuse/
Dinode.c1162 int cap_sys_admin = capable(CAP_SYS_ADMIN); in process_init_limits() local
1174 if (!cap_sys_admin && fc->max_background > max_user_bgreq) in process_init_limits()
1180 if (!cap_sys_admin && in process_init_limits()
/linux-6.6.21/net/core/
Ddrop_monitor.c186 { .name = "events", .cap_sys_admin = 1 },
/linux-6.6.21/net/netlink/
Dgenetlink.c1693 if (grp->cap_sys_admin && in genl_bind()
/linux-6.6.21/security/selinux/
Dhooks.c2212 int rc, cap_sys_admin = 0; in selinux_vm_enough_memory() local
2217 cap_sys_admin = 1; in selinux_vm_enough_memory()
2219 return cap_sys_admin; in selinux_vm_enough_memory()
/linux-6.6.21/include/linux/
Dmm.h3218 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
/linux-6.6.21/Documentation/admin-guide/sysctl/
Dvm.rst84 with the capability cap_sys_admin.