From nobody Mon Jun 13 14:22:39 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9FE0683CC3C; Mon, 13 Jun 2022 14:22:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LMDL946fSz3tMT; Mon, 13 Jun 2022 14:22:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655130161; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PsNy+qR232OC6LH/5fgPtMwn0H8hN4uNHOGizHnnfMU=; b=SmzvEUpcoBuAOb+y2K511beIaessZC42uMz6LFJMUt7wSxi+PyQGioUM7Vf88hFrqt5VaB oNAAcbVPEqGviRAckcADpFEcKV4o9Y1xZf+1X7ZySlCaVGJWInQpuxfvZj5YazEZ8TEmpF oIpbiozKv0SNxU9tsK7VPhLr37ijCH6kt/c7q+tdtcC/9/KN86XJ1fzVxdKRthLJy5G2/0 vOpX0KcawEVdQzaBzIMuzCyIm3VYoDV4azKPJAdjqFLrIkqHtTcqlSlNLWwbnW9nFMTz3B neRStzAOgOI/Iu9hpEON/7384qckdIiWj3f7JsurJaTsjeZGiO1Je0msj4vJkQ== Received: from [IPV6:2601:648:8680:ed60:d176:6ba6:4601:2b26] (unknown [IPv6:2601:648:8680:ed60:d176:6ba6:4601:2b26]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id DE15E2C941; Mon, 13 Jun 2022 14:22:40 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <5a3bd99e-bd7a-7b89-7d11-a821b3d19fac@FreeBSD.org> Date: Mon, 13 Jun 2022 07:22:39 -0700 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: git: 9fd0d9b16e93 - main - ktls: Remove the KERN_TLS option from the i386 and amd64 LINT-NOIP kernel configurations. Content-Language: en-US To: Hans Petter Selasky , "Bjoern A. Zeeb" Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202206111932.25BJW6w6040018@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655130161; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PsNy+qR232OC6LH/5fgPtMwn0H8hN4uNHOGizHnnfMU=; b=op64azFJW7JEPzXx24NHy9uvDRvp9rbMXipvWAVei+X4Sezluv2tfUWeay9X7HKE4m+MFA ah7GhtROdG99TtxHxSgA0mPMXeZQatXPskj/GrW8+z8no9jTE1HI+YK7IJvYGBmYFZnNB7 7dBjJxniW1O+ZWqMX092lm7OBgvKO9TcZYtAk3L1AQhQh/9Gb0IC221gObs1M1/L2+CYWy sVl6p5cNl7QPPgNcGgYXdnCFCIjnp2dvhMUDxi2unYG359GBydO8kChcMzJJtns+SkSOiY 81vE+rpyo7gmYUBkVJndtaIll038Oh3VCcliPJN1xPfsX33T6ErCCm2tN8ttAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655130161; a=rsa-sha256; cv=none; b=mmBztr5hktt3OLCV4lIAJ6uHNCCaoIGs41+IuSWydiuwmSsR/thPSuCiR7bVpFFIvgiPz7 bUk5Vrdg3HENMRn9Ire5tbLWk6wI2Jv/hHfcbnoAiWn9GUvkDYE1GMNbZzOdHKiLZsVXel SxvWLVOO1tAiRBzSrssajmrkNbS1GPUIyT1209OkWoFag82mmx+oyn7Rby4v40CqppKglg 2QV7armIKqhfxVI59MX++gsDxHvEMusJm/RxNgQmSb4+1Y9s0pnZThOeQs4yWEG/DZ3oJ5 inTMI6CWC7yAJZrj8VnC0R0em9s8u4mPmKTf9vWTipSgnf70+2smOeUMTvGM9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 6/12/22 4:43 AM, Hans Petter Selasky wrote: > On 6/11/22 22:04, Bjoern A. Zeeb wrote: >> On Sat, 11 Jun 2022, Hans Petter Selasky wrote: >> >>> The branch main has been updated by hselasky: >>> >>> URL: >>> https://cgit.FreeBSD.org/src/commit/?id=9fd0d9b16e93ff2a3bd375a98763dca0150dcee0 >>> >>> >>> commit 9fd0d9b16e93ff2a3bd375a98763dca0150dcee0 >>> Author:     Hans Petter Selasky >>> AuthorDate: 2022-06-11 19:29:42 +0000 >>> Commit:     Hans Petter Selasky >>> CommitDate: 2022-06-11 19:31:28 +0000 >>> >>>    ktls: Remove the KERN_TLS option from the i386 and amd64 LINT-NOIP >>> kernel configurations. >>> >>>    Kernel TLS depends on INET or INET6 being enabled. >> >> That is only a short-term solution hiding the actual problem and will >> now propably never be fixed again like these device drivers which were >> on that list ofr ages... > > +1 > > There is a plan to replace config at some point. I believe this is a > limitation of sys/conf/files, that it doesn't provide a good way to > handle conflicts. There are many ifdef KERN_TLS, so just skipping one > file for building won't help. > > https://hackmd.io/w1Tf8mmVQVuZok7-LNEhgw What we often do though is just add in #ifdef's to make a given file a kind of stub. In theory KTLS could work over UNIX domain sockets if someone wanted to do the work, and that would just entail adding the right #ifdef INET, etc. in this file. -- John Baldwin