Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2794588rdb; Mon, 12 Feb 2024 17:53:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWZW+9JSDr8V+G50f0T4ccieB/V8DV0n/dc4maoy8+Y3dMVRdPb+uQ9DDs+OtnUAE1xyYepQFmzheXJ4PcLcZ1Wgek0LxKDs8XlAJo4mw== X-Google-Smtp-Source: AGHT+IHUKgyVgrATBaPj9d6cMScobjjKqka/74gFf9yVKezzfPu7tSj94mYsGWitaZHfVhxx6Vxa X-Received: by 2002:a05:620a:4907:b0:783:d550:4b6f with SMTP id vy7-20020a05620a490700b00783d5504b6fmr8487289qkn.26.1707789206719; Mon, 12 Feb 2024 17:53:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707789206; cv=pass; d=google.com; s=arc-20160816; b=xqkdgacjrfupK4uO54QH3gWOPMrrVZnQfXFpRpiey6EeD4bRyP4se4hyNq0t/Zt7xc t4xXtmfUflTEwJkoZkpd+dQXyycIZ8v/U5/cbnT2dTgRiDtrKqaFb7TI+XYngjHv0OyX QkDMqMs02EsOVHHPjPlckM7S69NrO6lIUP6F0oG6EE4EQUDU7NmZNrst9clIksEfQTh6 /scxtlWAqhNNQA0R2cfhvCFOf8/O97fQiPv6UBnmapMfEglLuWjbV2nTzeW6DA+xf1xA M94kgTMOp1/+22DMCItUOC62zr0JrVA0EIttuiSKwRVCVf/0IqPsNWjrqteD+OAsi9lE ZqLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:references:in-reply-to :user-agent:subject:cc:to:from:date:dkim-signature; bh=kXp5CkezHYO2P3+nF2rPMTHwJXkdw1LI6qdScnfm3Mo=; fh=cVZ+x8TlGTxOuqvIhV9usFT9ybP9KAG8073Jc/GSs6E=; b=VNbRugdES4MNT9x22ni3cIcftmid1KnewV5NxF6Vq4ziLUChcgHW/lnzVrk0SVeyXZ B6+92iuZgi2YJ0+FrBIOtlgMIoGRUO4dMTvCP7zh2DJQNzgbR0DOeSuOCcSg73IKpwjv 6+09nxRxRrk6v/70VQgsLkV3o0rcEQRm7UpGk4LzTt3lbhvcGj0iQ1BjGNYPmG2zGnpR AwDkR8EqKCOt6qACfukKQoYqTON/t/dNNwQTXTyb1Q6RvkFBKLa80W7vobRKIH5L6mvM CgvMRNQMk1SrBTnAj5JzxIfFnPLnL+I0nrLdjm7JKVPXK/n1EQGpS22Tehg76Bu+PidU Sbrw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eDPiwvym; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-62872-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62872-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCW/E0lE6VfYMgvKHYwm2TX2zFadVtzeI2N6Im2cLaCY6K/ArDGP4Bdeu4g5LrLRkb28mzN937b/xGwseyXNlZ1QoEMMuWYOc+Mylujscg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id br17-20020a05620a461100b007871d41a880si234375qkb.644.2024.02.12.17.53.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 17:53:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62872-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eDPiwvym; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-62872-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62872-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6D2151C25B41 for ; Tue, 13 Feb 2024 01:53:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6766529A9; Tue, 13 Feb 2024 01:52:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eDPiwvym" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87B211C3D; Tue, 13 Feb 2024 01:52:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707789151; cv=none; b=ecMl6ZPGg1BkfMbieriHuTdXroiZbcadTOE2anL8Lcvx2HaFn1URWdbGjgNFO0HWp89dgWoaAMIjakgnuZ29gHTRbD+0IgBFdelksqtsFcF1iUP2cDpw557f0ojsgObMUsGJ/5JOtNjoC9EC8GSF80yewdAtqsn+hqWN5pVsEeI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707789151; c=relaxed/simple; bh=uGuxFzDBaFp/hIBEohjAhRGcb9tqim+2jqM2pnvtGo4=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=JhOoI0bw/0W11dX2k92OQ8fy0EEwLFld3zFpvcZ9bsjW/5bTDjnfCKxxuSw8B6Fd3cTgk18HLW3bkAT7+T1PivYQkfpbo16iFBnK1r6lOvfCdPoGYK/3WhKRMAd/kLPeR28Tqb/ZTj8pLDQJY2VfO9SSz28jH1jkS2DMuJYCMGE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eDPiwvym; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D323C433C7; Tue, 13 Feb 2024 01:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707789150; bh=uGuxFzDBaFp/hIBEohjAhRGcb9tqim+2jqM2pnvtGo4=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=eDPiwvymo5oHUt2DUOS2kOtbJ7K+J1wO6uzNETAr+HveASj7TBWCLPo0vpkjnTmJ2 ccMUkNfVO98UraNQfFx1ftopzdYwFMxx/abCEaVYYIF77JyaacAJ2zKN9TwbvVOBzh fT70pastL/AOnilQY1w23dIlUVOcZ/w2dKCH6kqT49wcft0yx4KjGMtg55DevYUUkX JL7slsqaAbdy7udDnSjT2JsnSFuUQ7+AlQFRF38x8dYrAnKxgk0KQqMDbGhmEumi9I +1DkZ9mdRyBrv/6M7AEq4PWO/v2/oURpP9l1WnjmnNjp6Q/v7j3hX7ADfiJFEwE6se /wbXLzukvQ/Sw== Date: Mon, 12 Feb 2024 17:52:28 -0800 From: Kees Cook To: Jakub Kicinski , Kees Cook CC: "Matthieu Baerts (NGI0)" , linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Paolo Abeni , Qian Cai , mptcp@lists.linux.dev, netdev@vger.kernel.org, Andrew Morton Subject: Re: [PATCH] configs/debug: add NET debug config User-Agent: K-9 Mail for Android In-Reply-To: <20240212170253.77a7be7c@kernel.org> References: <20240212-kconfig-debug-enable-net-v1-1-fb026de8174c@kernel.org> <202402121039.E14DF37@keescook> <20240212170253.77a7be7c@kernel.org> Message-ID: <952DDEA7-E788-4705-B85F-6B28AD6A707A@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On February 12, 2024 5:02:53 PM PST, Jakub Kicinski wr= ote: >On Mon, 12 Feb 2024 10:39:55 -0800 Kees Cook wrote: >> > Notes: >> > - It looks like this debug=2Econfig doesn't have a specific maintai= ner=2E >> > If this patch is not rejected, I don't know if this modification = can >> > go through the net tree, or if it should be handled by Andrew=2E >> > Probably the latter? I didn't add [net-next] in the subject for t= his >> > reason=2E =20 >>=20 >> Adding these seem reasonable=2E I touched debug=2Econfig last, so I can= take >> it via the kernel hardening tree if netdev doesn't want to take it=2E > >I'd prefer to have it in net-next sooner rather than later, because >when our CI hits an issue we can tell people: > > make defconfig debug=2Econfig > make > >otherwise I have to explain what options to twiddle with=2E And the >refcount options do catch bugs, I had to do this exact the explaining >last Friday :( > >So I'd offer these three options: > - we put it on a shared branch and both pull in > - you send to Linus within a week and we'll get it soon that way > - we take it to net-next directly > >What's your preference? Totally fine in net-next! Go for it=2E :) -Kees --=20 Kees Cook