Home
last modified time | relevance | path

Searched refs:CAP_SYS_BOOT (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dnx_huge_pages_test.sh36 echo Running test with CAP_SYS_BOOT enabled
40 echo setcap failed, skipping nx_huge_pages_test with CAP_SYS_BOOT enabled
45 echo Running test with CAP_SYS_BOOT disabled
48 echo Running as root, skipping nx_huge_pages_test with CAP_SYS_BOOT disabled
/linux-6.6.21/kernel/
Dreboot.c709 if (!ns_capable(pid_ns->user_ns, CAP_SYS_BOOT)) in SYSCALL_DEFINE4()
1116 if (!capable(CAP_SYS_BOOT)) in mode_store()
1148 if (!capable(CAP_SYS_BOOT)) in force_store()
1193 if (!capable(CAP_SYS_BOOT)) in type_store()
1229 if (!capable(CAP_SYS_BOOT)) in cpu_store()
Dkexec_core.c1027 if (!capable(CAP_SYS_BOOT) || kexec_load_disabled) in kexec_load_permitted()
/linux-6.6.21/include/uapi/linux/
Dcapability.h283 #define CAP_SYS_BOOT 22 macro
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dkfunc_call.c302 if (!ASSERT_OK(cap_disable_effective(1ULL << CAP_SYS_BOOT, &save_caps), "drop_caps")) in test_destructive()
/linux-6.6.21/Documentation/bpf/
Dkfuncs.rst285 calls. At the moment they only require CAP_SYS_BOOT capability, but more can be
/linux-6.6.21/arch/x86/kvm/
Dx86.c6496 if (!capable(CAP_SYS_BOOT)) { in kvm_vm_ioctl_enable_cap()
/linux-6.6.21/kernel/bpf/
Dverifier.c11732 if (is_kfunc_destructive(&meta) && !capable(CAP_SYS_BOOT)) { in check_kfunc_call()
/linux-6.6.21/Documentation/virt/kvm/
Dapi.rst8416 have CAP_SYS_BOOT, -EINVAL if args[0] is not 0 or any vCPUs have been