From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0563C7F7EF for ; Mon, 15 Apr 2024 16:06:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713197203; cv=none; b=X97v+2wLis4Wrzc8DnGEGosCNMra/mNVHZxqp/HsteKmXQk9wi/YRAq9xX7r4j2oWUMnOwJ9/OmhTE4swpfDwQUsqMVo4vVtRHuDJ8Wxv3oOjzMxSQoTtMM1KOWDhVXCDjpssv2JvS0rbn3vGOK7nqZdSsrxJVvRXVXXNysJ3fw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713197203; c=relaxed/simple; bh=TbkoZcrC73ReILBlLCzDk8hBya5REumqV3/XGRD0RBM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sjUBuLajDNfRct5bt91ipaFyORcZ286du7hreCQnYxWxY63A/SOr85qGZ0ZP37f9+jQWTG9DIQvohY9SZ1BqjIkemiIUuCSzlW3a+3TLaCRI3O0iocDdsQ0jkJpUvA4pwOfxuBw8FEBFPfLco8ip3ok0gVoHP+ASHJsiS8/VpNY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=O8xv1am3; arc=none smtp.client-ip=209.85.215.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="O8xv1am3" Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-5ce9555d42eso2059630a12.2 for ; Mon, 15 Apr 2024 09:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1713197200; x=1713802000; darn=vger.kernel.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=W9YkT2PBxlsTiQpc9k80Xb2w2qGzzlQLFXvx15ENFSo=; b=O8xv1am3Lk+DQ59W9cNWa2OG2Fks5PZkZcv6Z6Pfi7Uv5Oy1Av7RnTmnxj3FUYOm5V yx4o1he5W90asuV36XyOe0antbXBxeK6gi/EVqhCphP56lqegAsztJrs5wGp912uqAFQ L131duRGarDG1vumEdOdHiU0czbOW9+JxRfTA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713197200; x=1713802000; 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=W9YkT2PBxlsTiQpc9k80Xb2w2qGzzlQLFXvx15ENFSo=; b=k4ubs1iTQsQxhXK3mJRoCUOLXVtqsoAlI576haWtGPxfoJNcmPmu0jW2Ox+C/C2xSf NRSMfPYp+Er+WRQhwuFB+vXtaK5uHwqIRzw8URBDd/hyt172J24YL2hdpT+EAKZ7L75Y 2Od/usoblwKvwKxLsUMA+VSO4YDDHKfF26wVIFF8AdUmoOMvRe6wZ3LwP5ySw+xU+MtY AgYJ+DM8EDeuYkYL4DC3nZqkyQBZpxs63cZGRN9a0rQtGDfkuEVzTDFO6UMXQajo3+Yb ueVObWzZxlyvK2HtH2xExz06jXZsRNkyT4ssUeDsvpMfXvlGVFPsU0+lIhA2tzN+8gJq f43A== X-Forwarded-Encrypted: i=1; AJvYcCXAOlyrDwMCM0rPVMFgx0DSn7vwxQrtx3AClvoVE/wHw3N0j3nTCOYttK/v/LsI53jQ7gtg031tOPaAg4ZYj0hBzsMz+Thq97vVyIlA X-Gm-Message-State: AOJu0Yx0ZtvPIrMKfd1W09D310HzZfwcW+E+0XXERS0EKJCYGxGpdTkW IdH9YPf/oHz3I1lc2Nuzb59GAGw3eMfXk3LpWf6sIa2Bu+WxmwetjvG24vl17w== X-Google-Smtp-Source: AGHT+IEOd/x1N/CPtx25Nf+PUqf1rfZqa2mTy1XxaxcS7HXEzP+ucQDv/NhrafY/fDlqqKtbbV3LWA== X-Received: by 2002:a17:90b:3d3:b0:2a5:ba9d:a06b with SMTP id go19-20020a17090b03d300b002a5ba9da06bmr10113697pjb.5.1713197200332; Mon, 15 Apr 2024 09:06:40 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id l6-20020a17090a49c600b002a46b925e99sm8796108pjm.18.2024.04.15.09.06.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 09:06:39 -0700 (PDT) Date: Mon, 15 Apr 2024 09:06:39 -0700 From: Kees Cook To: j.granados@samsung.com Cc: Andrew Morton , Muchun Song , Miaohe Lin , Naoya Horiguchi , John Johansen , Paul Moore , James Morris , "Serge E. Hallyn" , David Howells , Jarkko Sakkinen , Herbert Xu , "David S. Miller" , Jens Axboe , Pavel Begunkov , Atish Patra , Anup Patel , Will Deacon , Mark Rutland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Luis Chamberlain , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, io-uring@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/7] security: Remove the now superfluous sentinel element from ctl_table array Message-ID: <202404150906.C37D8D9DA1@keescook> References: <20240328-jag-sysctl_remset_misc-v1-0-47c1463b3af2@samsung.com> <20240328-jag-sysctl_remset_misc-v1-2-47c1463b3af2@samsung.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240328-jag-sysctl_remset_misc-v1-2-47c1463b3af2@samsung.com> On Thu, Mar 28, 2024 at 04:57:49PM +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 the sentinel from all files under security/ that register a > sysctl table. > > Signed-off-by: Joel Granados Acked-by: Kees Cook # loadpin & yama -- Kees Cook 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 07CC5C4345F for ; Mon, 15 Apr 2024 16:06:53 +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=NWJBu0/yV41euSxmQ8Hx2jGihovNmrW1muGONtEE51w=; b=bbyjTza9bg+Asm klEy9b5uZxPMsHvu0UjABvc4OtykoPtK+rChIaQo7V9RWxhcgv/WuyZy5je1kP4j1l9JAdsIDlmY6 wtE5BOzqc6DHqOFOVT9mnKIlTXahSbgM0KuJj8ESFa4zoAx9Vss32n34vQr2c1EvUqSNviXA0fnwN K/ihulni2YedOgjD27bMXSMFIm/gABNSyYgwGTw+ZSGuR3pPsdhsNyNwGO9Gojj9qZOJV1QQS2V0Y lSWI2XpbJO/UtGZRoOlo+CaQMiHQw5Uxj6RZjUcaAba6xhiIjX2ZCM43Zlp9E80NJvX6JPlyPxkjH 5bL+NKf4D8E3faVZx4lQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwOr2-00000008zoM-43Ea; Mon, 15 Apr 2024 16:06:48 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwOqv-00000008zjy-3lnE for linux-riscv@lists.infradead.org; Mon, 15 Apr 2024 16:06:47 +0000 Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-5ce9555d42eso2059632a12.2 for ; Mon, 15 Apr 2024 09:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1713197200; x=1713802000; 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=W9YkT2PBxlsTiQpc9k80Xb2w2qGzzlQLFXvx15ENFSo=; b=Y0orKxxosNBMSkxwxxI5RPcBnuxSyQcBP3Vje4e+Iq1460/TQPYPjTBkHOMWWGRjAO mcY8qEoHHt3j+4IAkH81OsNnJgX4gbIeefrD7RIuwpxpOly8djUkxIK8tgeuMS6mOZph de1kK5H3enJaQXOjkdyOZsQpXvxtPo82gA+38= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713197200; x=1713802000; 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=W9YkT2PBxlsTiQpc9k80Xb2w2qGzzlQLFXvx15ENFSo=; b=fwCgiBpNYM527cYRvXDNTrzkbI6TTDFyzczhBUqp5RVWtQx1zgRED13Ronx7Y3XihF 2r4qgadmplFM/uHkCf/NEacc83xC/CDLER1U3KxOJdbppyXHSsWQtJXLC08chW6du1yH ePryW0qkFP8ggwW/dVY0kRKRC24C/uLoWFWvlKBryGtCB/me4X5Hhx0L4frlgFl5XN15 7SHuVXaaQdVp2eJqGRUQH6d65kHqUqR584cZHMfw/EvPs2oryMqZdTgDNGKWbfWHyl2d pJ3bAp/wBkx5F57rWQRO3SFfU2YnW+W+AxuNan/8ditS5Er1HbIGQMooOab5dMgST5O6 rBCA== X-Forwarded-Encrypted: i=1; AJvYcCW8YAD+ITV3U/ilM0y/tJ6kmPKuRWI48TANuL1/RJ1aIKqV2LCn000PXBKbnOAfoLoYuX7uxU3toOAWpTnb5SdR8zrQVCya1DJyCo8Ya1m3 X-Gm-Message-State: AOJu0YwIfSfzRf83Nne9pKKI3IdfhfWiaT0g16XSeZMCZy1RH2jbE3HB 48Etdf5mJP0IuVEvwTg0efIOBWSX2rIiCLYz3Ka13Ya68USraZS1omcWJy0eFA== X-Google-Smtp-Source: AGHT+IEOd/x1N/CPtx25Nf+PUqf1rfZqa2mTy1XxaxcS7HXEzP+ucQDv/NhrafY/fDlqqKtbbV3LWA== X-Received: by 2002:a17:90b:3d3:b0:2a5:ba9d:a06b with SMTP id go19-20020a17090b03d300b002a5ba9da06bmr10113697pjb.5.1713197200332; Mon, 15 Apr 2024 09:06:40 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id l6-20020a17090a49c600b002a46b925e99sm8796108pjm.18.2024.04.15.09.06.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 09:06:39 -0700 (PDT) Date: Mon, 15 Apr 2024 09:06:39 -0700 From: Kees Cook To: j.granados@samsung.com Cc: Andrew Morton , Muchun Song , Miaohe Lin , Naoya Horiguchi , John Johansen , Paul Moore , James Morris , "Serge E. Hallyn" , David Howells , Jarkko Sakkinen , Herbert Xu , "David S. Miller" , Jens Axboe , Pavel Begunkov , Atish Patra , Anup Patel , Will Deacon , Mark Rutland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Luis Chamberlain , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, io-uring@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/7] security: Remove the now superfluous sentinel element from ctl_table array Message-ID: <202404150906.C37D8D9DA1@keescook> References: <20240328-jag-sysctl_remset_misc-v1-0-47c1463b3af2@samsung.com> <20240328-jag-sysctl_remset_misc-v1-2-47c1463b3af2@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240328-jag-sysctl_remset_misc-v1-2-47c1463b3af2@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240415_090641_990269_CF2B93BE X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-riscv@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: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Thu, Mar 28, 2024 at 04:57:49PM +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 the sentinel from all files under security/ that register a > sysctl table. > > Signed-off-by: Joel Granados Acked-by: Kees Cook # loadpin & yama -- Kees Cook _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 D2117C4345F for ; Mon, 15 Apr 2024 16:07:07 +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=9Hc48CALmCC8BeZ91GIsZutaM9WWErdsNg8u0QOYQMU=; b=YMU74hi+zd++D2 cIYmOv4wHXX+ZM3WqvkNiRcC1Kf/tJCuG/sKqORtzHHfAsXJzcusPLM9rSVflHAQo6qHx5yV5lzcb HLTb1I8Te1iILXcKpZQd7cZ0zO98FMq4bLDCYsGP25SNnBkbwolHrXxG2qF9d5cMgJXUWWq6OpSAz gbOlxj8xlt6BoLx354I/XPFPUbeVLZEWfsYuovYA1D1D6XLT3rtyjw3tIQtF9Cl+3UBEgudZXWE0j 9jInJbBl7mWkc7H9lpOnr7Z9HyZNnGLtfJxxgqLC/cCA3gewzlJ7GP6aN6cFfmu3zpQSMlWztT83z nTLpDrd1C5PCFNZbV/Hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwOr5-00000008zpm-0eh0; Mon, 15 Apr 2024 16:06:51 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwOqv-00000008zjx-3qtA for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2024 16:06:49 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-517ab9a4a13so2682121a12.1 for ; Mon, 15 Apr 2024 09:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1713197200; x=1713802000; 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=W9YkT2PBxlsTiQpc9k80Xb2w2qGzzlQLFXvx15ENFSo=; b=Y0orKxxosNBMSkxwxxI5RPcBnuxSyQcBP3Vje4e+Iq1460/TQPYPjTBkHOMWWGRjAO mcY8qEoHHt3j+4IAkH81OsNnJgX4gbIeefrD7RIuwpxpOly8djUkxIK8tgeuMS6mOZph de1kK5H3enJaQXOjkdyOZsQpXvxtPo82gA+38= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713197200; x=1713802000; 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=W9YkT2PBxlsTiQpc9k80Xb2w2qGzzlQLFXvx15ENFSo=; b=L748EiHfaf6j1RrUgYqq/FOTmuvayuYPv7kJ9K5YvkHXd4e0ialgqMCIQJ6c83uAp9 WViDYTkmXmgnJ78f8PE4bFXjIQIplBD8Lw4pEF/gZGYJEcGOWE1eFlcdBX6UxKEIZ9bT /rednFpcmGxHzmvJsXgOHe1VECmJaVyW4ANlDcTSh7tjIXDTSanac1Vjo5NSQShJaj6c PyIFVjjTb8i+ds1O0zDfBMsIx35M8zgmU3HugPfpVqVK9os+ubWMDXXA2zPhWRVGogsG g3cCgphfK6ni93NSeAGFU4dqXNQVHmHz75nYVelyoyRmoUDxrlLaUzF0836mHhMTyYwI NJqQ== X-Forwarded-Encrypted: i=1; AJvYcCWdcPef8d3u4BQiG+3uUhH/p4ggAB2wc0Et3X/pKqxePGfTzI+DWhv2aqiPLXctmDeEB5aoFmbV6rKpbUb4eSGRBmuEaZR5oLZC/xgbnmA9rkkPb2U= X-Gm-Message-State: AOJu0YzykwvnB8/G+VdGF4GSkUwqsj4HaPaSsdweZBbhiBktTO3GKtwT /p6b/LcdTVD5Ov5OeKoONVWG+HhOA8Lk2bUnR+IVcFTzvKx93iDaCZZUc8A1fg== X-Google-Smtp-Source: AGHT+IEOd/x1N/CPtx25Nf+PUqf1rfZqa2mTy1XxaxcS7HXEzP+ucQDv/NhrafY/fDlqqKtbbV3LWA== X-Received: by 2002:a17:90b:3d3:b0:2a5:ba9d:a06b with SMTP id go19-20020a17090b03d300b002a5ba9da06bmr10113697pjb.5.1713197200332; Mon, 15 Apr 2024 09:06:40 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id l6-20020a17090a49c600b002a46b925e99sm8796108pjm.18.2024.04.15.09.06.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 09:06:39 -0700 (PDT) Date: Mon, 15 Apr 2024 09:06:39 -0700 From: Kees Cook To: j.granados@samsung.com Cc: Andrew Morton , Muchun Song , Miaohe Lin , Naoya Horiguchi , John Johansen , Paul Moore , James Morris , "Serge E. Hallyn" , David Howells , Jarkko Sakkinen , Herbert Xu , "David S. Miller" , Jens Axboe , Pavel Begunkov , Atish Patra , Anup Patel , Will Deacon , Mark Rutland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Luis Chamberlain , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, io-uring@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/7] security: Remove the now superfluous sentinel element from ctl_table array Message-ID: <202404150906.C37D8D9DA1@keescook> References: <20240328-jag-sysctl_remset_misc-v1-0-47c1463b3af2@samsung.com> <20240328-jag-sysctl_remset_misc-v1-2-47c1463b3af2@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240328-jag-sysctl_remset_misc-v1-2-47c1463b3af2@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240415_090641_992300_EB6CDDB3 X-CRM114-Status: GOOD ( 14.67 ) X-BeenThere: linux-arm-kernel@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: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Mar 28, 2024 at 04:57:49PM +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 the sentinel from all files under security/ that register a > sysctl table. > > Signed-off-by: Joel Granados Acked-by: Kees Cook # loadpin & yama -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel