From owner-freebsd-hackers@freebsd.org Sat Sep 8 16:00:44 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7162FF6E06 for ; Sat, 8 Sep 2018 16:00:44 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from mail.metricspace.net (mail.metricspace.net [IPv6:2001:470:1f11:617::107]) by mx1.freebsd.org (Postfix) with ESMTP id 5EFE097E65 for ; Sat, 8 Sep 2018 16:00:44 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from [192.168.2.64] (unknown [71.139.124.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: eric) by mail.metricspace.net (Postfix) with ESMTPSA id 59D5BA788 for ; Sat, 8 Sep 2018 16:00:38 +0000 (UTC) To: "freebsd-hackers@freebsd.org" From: Eric McCorkle Subject: Adding kernel config options Openpgp: preference=signencrypt Autocrypt: addr=eric@metricspace.net; prefer-encrypt=mutual; keydata= mDMEWue2FBYJKwYBBAHaRw8BAQdAP/qVPlXodV6pYO5b1Jw0eFyMhyDD7B5y5eFsciutEfS0 JEVyaWMgTWNDb3JrbGUgPGVyaWNAbWV0cmljc3BhY2UubmV0PoiWBBMWCAA+FiEEDxi/0rkj zd6Uc6cFCN/CKRbBwmwFAlrnthQCGwMFCQHhM4AFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA CgkQCN/CKRbBwmyGKAD/XTSBOItCKcYCPTlsaS1aQYVEwWXXFgdjWE+WsNdZUS8A/AhYAbQZ kNZNimE2rQLoklkfTA74qF/V257NuQi4QDcLuDgEWue2FBIKKwYBBAGXVQEFAQEHQKpZVyCG ync/xqejm2C1HKGXLJTUu38RvnrR3UYECz9nAwEIB4h+BBgWCAAmFiEEDxi/0rkjzd6Uc6cF CN/CKRbBwmwFAlrnthQCGwwFCQHhM4AACgkQCN/CKRbBwmyi2wEAmvaGt8QMjGELzm27gP4c jJGUi7oigsLmTiFPkpJqPz0A+QFBSCvxJaxCMyoVru/xB6bunpJ+Wtsj8HD1EuJOn4EJ Message-ID: <138c47b1-de8f-1753-1554-ee58fca77749@metricspace.net> Date: Sat, 8 Sep 2018 12:00:35 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="chgHUg39jn1FpoRExt4TkRm6qyGB9LxPr" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2018 16:00:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --chgHUg39jn1FpoRExt4TkRm6qyGB9LxPr Content-Type: multipart/mixed; boundary="EjSnw92cAToR7aCgYEEKycjzpnQfZqEAy"; protected-headers="v1" From: Eric McCorkle To: "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--