Searched refs:cap_sys_admin (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/x11-common/xserver-nodm-init/ |
| H A D | xserver-nodm | 46 if ! /usr/sbin/getcap $XSERVER | grep -q cap_sys_admin; then 47 /usr/sbin/setcap cap_sys_admin+eip $XSERVER
|
| H A D | capability.conf | 1 cap_sys_admin @USER@
|
| /OK3568_Linux_fs/buildroot/docs/manual/ |
| H A D | makedev-syntax.txt | 87 If you want to add the capability cap_sys_admin to the binary foo, 92 |xattr cap_sys_admin+eip 96 If you want to add the capability cap_sys_admin and cap_net_admin to the 101 |xattr cap_sys_admin+eip
|
| /OK3568_Linux_fs/kernel/security/ |
| H A D | commoncap.c | 1327 int cap_sys_admin = 0; in cap_vm_enough_memory() local 1331 cap_sys_admin = 1; in cap_vm_enough_memory() 1333 return cap_sys_admin; in cap_vm_enough_memory()
|
| H A D | security.c | 774 int cap_sys_admin = 1; in security_vm_enough_memory_mm() local 787 cap_sys_admin = 0; in security_vm_enough_memory_mm() 791 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | util.c | 918 int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) in __vm_enough_memory() argument 940 if (!cap_sys_admin) in __vm_enough_memory()
|
| /OK3568_Linux_fs/kernel/fs/fuse/ |
| H A D | inode.c | 962 int cap_sys_admin = capable(CAP_SYS_ADMIN); in process_init_limits() local 974 if (!cap_sys_admin && fc->max_background > max_user_bgreq) in process_init_limits() 980 if (!cap_sys_admin && in process_init_limits()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_verifier.c | 832 const cap_value_t cap_sys_admin = CAP_SYS_ADMIN; in set_admin() local 842 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, &cap_sys_admin, CAP_CLEAR)) { in set_admin()
|
| /OK3568_Linux_fs/kernel/security/selinux/ |
| H A D | hooks.c | 2223 int rc, cap_sys_admin = 0; in selinux_vm_enough_memory() local 2228 cap_sys_admin = 1; in selinux_vm_enough_memory() 2230 return cap_sys_admin; in selinux_vm_enough_memory()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | mm.h | 2670 extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin);
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/sysctl/ |
| H A D | vm.rst | 85 with the capability cap_sys_admin.
|