Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2018 12:00:35 -0400
From:      Eric McCorkle <eric@metricspace.net>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org>
Subject:   Adding kernel config options
Message-ID:  <138c47b1-de8f-1753-1554-ee58fca77749@metricspace.net>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--chgHUg39jn1FpoRExt4TkRm6qyGB9LxPr
Content-Type: multipart/mixed; boundary="EjSnw92cAToR7aCgYEEKycjzpnQfZqEAy";
 protected-headers="v1"
From: Eric McCorkle <eric@metricspace.net>
To: "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org>
Message-ID: <138c47b1-de8f-1753-1554-ee58fca77749@metricspace.net>
Subject: Adding kernel config options

--EjSnw92cAToR7aCgYEEKycjzpnQfZqEAy
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Is there a guide somewhere to adding new kernel configuration options?
If so, where can I find it?

What I'm going to want to do is fairly simple.  It would look like this:

option TRUST
option TRUST_BUILTIN_ROOTCERTS
option TRUST_KEYBUF_ROOTCERTS

I assume these would then show up as make/preprocessor defs according to
some convention?


I'll also eventually want to do something like:

device trust

for a pseudo-device interface.


--EjSnw92cAToR7aCgYEEKycjzpnQfZqEAy--

--chgHUg39jn1FpoRExt4TkRm6qyGB9LxPr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQQPGL/SuSPN3pRzpwUI38IpFsHCbAUCW5PyIwAKCRAI38IpFsHC
bBnTAQCbIFK/jCaqqAfD9avqBb6Cu6X/wgoEJlmpG/of16D+1AEApwZrPCOQGfkp
iJzzka2c5O+XyuFhTqFZPlVmcSl/bg0=
=g8Ek
-----END PGP SIGNATURE-----

--chgHUg39jn1FpoRExt4TkRm6qyGB9LxPr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?138c47b1-de8f-1753-1554-ee58fca77749>