Home
last modified time | relevance | path

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

/linux/Documentation/bpf/
H A Dkfuncs.rst307 calls. At the moment they only require CAP_SYS_BOOT capability, but more can be
/linux/Documentation/virt/kvm/
H A Dapi.rst8756 have CAP_SYS_BOOT, -EINVAL if args[0] is not 0 or any vCPUs have been
/linux/arch/x86/kvm/
H A Dx86.c6742 if (!capable(CAP_SYS_BOOT)) { in kvm_vm_ioctl_enable_cap()
/linux/include/uapi/linux/
H A Dcapability.h283 #define CAP_SYS_BOOT 22 macro
/linux/kernel/bpf/
H A Dverifier.c12273 if (is_kfunc_destructive(&meta) && !capable(CAP_SYS_BOOT)) { in check_kfunc_call()
/linux/kernel/
H A Dkexec_core.c969 if (!capable(CAP_SYS_BOOT) || kexec_load_disabled) in kexec_load_permitted()
H A Dreboot.c723 if (!ns_capable(pid_ns->user_ns, CAP_SYS_BOOT)) in SYSCALL_DEFINE4()
1138 if (!capable(CAP_SYS_BOOT)) in mode_store()
1170 if (!capable(CAP_SYS_BOOT)) in force_store()
1215 if (!capable(CAP_SYS_BOOT)) in type_store()
1251 if (!capable(CAP_SYS_BOOT)) in cpu_store()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dkfunc_call.c302 if (!ASSERT_OK(cap_disable_effective(1ULL << CAP_SYS_BOOT, &save_caps), "drop_caps")) in test_destructive()
/linux/tools/testing/selftests/kvm/x86_64/
H A Dnx_huge_pages_test.sh47 echo Running test with CAP_SYS_BOOT enabled
51 echo setcap failed, skipping nx_huge_pages_test with CAP_SYS_BOOT enabled
56 echo Running test with CAP_SYS_BOOT disabled
59 echo Running as root, skipping nx_huge_pages_test with CAP_SYS_BOOT disabled