Changeset View
Changeset View
Standalone View
Standalone View
stable/11/usr.sbin/bhyve/bhyverun.c
Show First 20 Lines • Show All 1,015 Lines • ▼ Show 20 Lines | if (acpi) { | ||||
error = acpi_build(ctx, guest_ncpus); | error = acpi_build(ctx, guest_ncpus); | ||||
assert(error == 0); | assert(error == 0); | ||||
} | } | ||||
if (lpc_bootrom()) | if (lpc_bootrom()) | ||||
fwctl_init(); | fwctl_init(); | ||||
#ifndef WITHOUT_CAPSICUM | #ifndef WITHOUT_CAPSICUM | ||||
bhyve_caph_cache_catpages(); | |||||
if (bhyve_caph_limit_stdoe() == -1) | if (bhyve_caph_limit_stdoe() == -1) | ||||
errx(EX_OSERR, "Unable to apply rights for sandbox"); | errx(EX_OSERR, "Unable to apply rights for sandbox"); | ||||
if (cap_enter() == -1 && errno != ENOSYS) | if (cap_enter() == -1 && errno != ENOSYS) | ||||
errx(EX_OSERR, "cap_enter() failed"); | errx(EX_OSERR, "cap_enter() failed"); | ||||
#endif | #endif | ||||
Show All 17 Lines |