Add a kern.features.cloudabi64 entry when the module is loaded to helps the

userland to be able to test is cloudabi64 is supported or not

Reviewed by:	ed
Differential Revision:	https://reviews.freebsd.org/D3430
This commit is contained in:
Baptiste Daroussin 2015-08-19 15:18:32 +00:00
parent f3dd93ad49
commit d83272a486
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286924

View File

@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$");
#include <sys/module.h>
#include <sys/proc.h>
#include <sys/smp.h>
#include <sys/sysctl.h>
#include <sys/sysent.h>
#include <sys/systm.h>
@ -272,3 +273,4 @@ static moduledata_t cloudabi64_module = {
DECLARE_MODULE_TIED(cloudabi64, cloudabi64_module, SI_SUB_EXEC, SI_ORDER_ANY);
MODULE_DEPEND(cloudabi64, cloudabi, 1, 1, 1);
FEATURE(cloudabi64, "CloudABI 64bit support");