Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86/
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
/linux/kernel/
H A Dreboot.c736 if (!ns_capable(pid_ns->user_ns, CAP_SYS_BOOT)) in SYSCALL_DEFINE4()
1223 if (!capable(CAP_SYS_BOOT)) in mode_store()
1255 if (!capable(CAP_SYS_BOOT)) in force_store()
1300 if (!capable(CAP_SYS_BOOT)) in type_store()
1336 if (!capable(CAP_SYS_BOOT)) in cpu_store()
H A Dkexec_core.c1117 if (!capable(CAP_SYS_BOOT) || kexec_load_disabled) in kexec_load_permitted()
/linux/include/uapi/linux/
H A Dcapability.h285 #define CAP_SYS_BOOT 22 macro
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dkfunc_call.c304 if (!ASSERT_OK(cap_disable_effective(1ULL << CAP_SYS_BOOT, &save_caps), "drop_caps")) in test_destructive()
/linux/arch/x86/kvm/
H A Dx86.c6946 if (!capable(CAP_SYS_BOOT)) { in kvm_vm_ioctl_enable_cap()
/linux/Documentation/virt/kvm/
H A Dapi.rst8776 have CAP_SYS_BOOT, -EINVAL if args[0] is not 0 or any vCPUs have been
/linux/kernel/bpf/
H A Dverifier.c14169 if (is_kfunc_destructive(&meta) && !capable(CAP_SYS_BOOT)) { in check_kfunc_call()