From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CD9F3C4167B for ; Thu, 9 Nov 2023 16:23:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3fADiqB0K4PtBavm/SmnjeWLCa1NnqRc1IlS1DUHeaE=; b=MSClMBNUMbv3B6 aRLsUdojMIqQQD5gk6ywEJczTteNr/5eOxuSGLhMI20fIRHVPnEb+uu/Hl/bnZfqdin8k3dmnFAFY spCYK8cghB3nD0w9/I0D37im/N3Nv3Sqb6QsyFjgCgC4V05phPgWevuAyvZxwWKdZg42dQ1iC/W7V ALlLGo9dcFr8U12Wa7tPTI6eHwFN51E0c53WXmLAl3U22B1E0nke4UdWnSB66WmbXR77CWy5uhce+ iJsfo5luyhU0IL8wfxLFNeJkafT+sVOugxMlZJg3GlHD39QmCYtW48VWHvtuQ9HKJqgeefhPeIyqm 3EhEfVAkPuH6M9UxdxCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r17oE-006hy4-2J; Thu, 09 Nov 2023 16:23:10 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0SAp-002IlF-1d for kexec@lists.infradead.org; Tue, 07 Nov 2023 19:55:44 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1cc0e78ec92so41143735ad.3 for ; Tue, 07 Nov 2023 11:55:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1699386941; x=1699991741; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HNeFqgo6zpROkihy0ShoA85fAr1c1+bU52BjgzWcK1o=; b=jGUtn8OQLrJ0gqUCR0pv4sY5ZzdGacj1QEsakIof6tK90cHg/ZWaxQ8rKuVju7R+ic 0i6A3Qw/LJmZfMNf+CXdaZT7Zhu3jlOSthxwphoaivfRKJj0G2fpcqjOhLhmTp2qmL7E DkMF5ZVz6Rv14n3vPH9pZekKL/e+7Otlv8lq4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699386941; x=1699991741; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HNeFqgo6zpROkihy0ShoA85fAr1c1+bU52BjgzWcK1o=; b=Kkr9i066UY/Qk4iYTGXFrZQfZTciA0EPkQviHMKUshV7cNiVXjTrXu3EEiVsjaYM94 bG7fPtCfglyQIV9jXAxtIHOgtG+/62nfF7c8fqdy8BwthEnBhO1vQjqgFO7fRhGTtEhT 26HQFBenUGHxN4i5OCtuvlwER6w+3ZGaVvuFdi87EtZ06+dRhSz3Whf7oRg5TYS86Ccu Z3Ph4JZp5AMfCzjrbpa177exuMt8lKXRh0aCHvrRMef5lyw+iObNRYqxL130w7RBBPV4 PjrTaHbEzUFOlesUvi8V692nI5FeJT5BY6NtgRt7nU5OPFyQmEcWS9pQZkHRZN61tmpv uWMA== X-Gm-Message-State: AOJu0YxKN+sNuR+65fxQ6NkZrOLBWCPON34LODdl7bB1UDMzkFfxVGO+ 7ZJfSoeCG0BMK3cL3TKE3MDC3A== X-Google-Smtp-Source: AGHT+IEZgybC45XGlQUGbU637Xhd/YQognaCWgtAXzdYdCdXOmVngLWoQt1kbfTCkOpNfx5sZXCftA== X-Received: by 2002:a17:903:2282:b0:1cc:ee07:1654 with SMTP id b2-20020a170903228200b001ccee071654mr35008plh.14.1699386940686; Tue, 07 Nov 2023 11:55:40 -0800 (PST) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id jw24-20020a170903279800b001cc3a8af18dsm209511plb.60.2023.11.07.11.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 11:55:39 -0800 (PST) Date: Tue, 7 Nov 2023 11:55:38 -0800 From: Kees Cook To: j.granados@samsung.com Cc: Luis Chamberlain , willy@infradead.org, josh@joshtriplett.org, Eric Biederman , Iurii Zaikin , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Thomas Gleixner , John Stultz , Stephen Boyd , Andy Lutomirski , Will Drewry , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Petr Mladek , John Ogness , Sergey Senozhatsky , "Naveen N. Rao" , Anil S Keshavamurthy , "David S. Miller" , Balbir Singh , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH 05/10] seccomp: Remove the now superfluous sentinel elements from ctl_table array Message-ID: <202311071155.EE9C0FBF@keescook> References: <20231107-jag-sysctl_remove_empty_elem_kernel-v1-0-e4ce1388dfa0@samsung.com> <20231107-jag-sysctl_remove_empty_elem_kernel-v1-5-e4ce1388dfa0@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231107-jag-sysctl_remove_empty_elem_kernel-v1-5-e4ce1388dfa0@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231107_115543_576516_BC721E7B X-CRM114-Status: GOOD ( 12.59 ) X-Mailman-Approved-At: Thu, 09 Nov 2023 08:23:08 -0800 X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+kexec=archiver.kernel.org@lists.infradead.org On Tue, Nov 07, 2023 at 02:45:05PM +0100, Joel Granados via B4 Relay wrote: > From: Joel Granados > > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the ctl_table arrays (sentinels) which > will reduce the overall build time size of the kernel and run time > memory bloat by ~64 bytes per sentinel (further information Link : > https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/) > > Remove sentinel element from seccomp_sysctl_table. > > Signed-off-by: Joel Granados Acked-by: Kees Cook -- Kees Cook _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec