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 D9020C04E83 for ; Tue, 7 Nov 2023 13:52:42 +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:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References: Message-Id:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=01fqaai5cQuWPGC+bEpv0HEuPn5J7M61psLzLyNUwfo=; b=bma8OGDmFmWPNc fKDF7yAhNbS2RAoEkvDHn8P7yE7SQBzCaGBXzsja6mFIagsMtKaziUqeybdwxhpRClCL6/9EYNon8 fk0i78ccvhEkd36NZszUDHArEC7I9qsNauEU1gyvLj4nmtbUi5DFJE/AfP7Ef3I3Ho0Sr+CZSBvvU I2Nss310Ie9iTq2yTc5JHbOft9XnNVAZIiNul6t39jVUB4F193j3qO58CrexV9/t0QM+dIrNXWBuK ZAVbv4/3E0wBYPCP0Olg9bYDcQ9sLCDFNK2KRU3b3LCLJXDT3yJxXrAk2389+0u6ShkzHSdcjlnef vky7SiW7vAPsRpT6js+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r0MVU-001fOQ-2t; Tue, 07 Nov 2023 13:52:40 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0MOb-001eIx-0n for kexec@bombadil.infradead.org; Tue, 07 Nov 2023 13:45:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Reply-To:Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Content-ID:Content-Description; bh=Z5t1zt3688qlYeG7FUYtV3tL7udOlFsIM/Uvp3pLCds=; b=gmiEXHArSUVB8LrnJKZaJddF2t fBUyWRv9w/ByRnNozUqehYyTouxDYf9VRcOrHAkmNkDjbTappLbGKX1GoIsVJpNNE2bgEm7HWxQgE LeJPnZ5r5vS8QzDbljRwIojOd0d5vj6iu3MsfBeykkIizMi58lwbCbNQJ1TL4seMIPYQX+NX4K/tN mY2Fnut/KTlGEUME7c36iEdUtVCXpnk2n/nFuoMhHUHI9wyq/bJq5ko8qZFNc43ZkzhaJVu9a8qco RHzxEsENCdW7ujxTvzsY2j2Rg2OiLhJDxGBu7sBtKVPYugBcKSZ6v+h4q/s3+J3lF2cAeY9nl5Qxm C1+wkCKg==; Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0MOW-00C21J-0I for kexec@lists.infradead.org; Tue, 07 Nov 2023 13:45:32 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6819E6122B; Tue, 7 Nov 2023 13:45:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9B499C433B9; Tue, 7 Nov 2023 13:45:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699364713; bh=OBKESA6z+ypbdkshq0oP3KPAy1iy0ukrfKnmnNq4WJA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=h43ePxLcL/R7o7MW3xIMAnkdRfhRaaQf9031QDegbmM/nbSf/bMnVStCFXsHxzHbh umQxbtkw+ENmxrvBg9bQQCfvQdpLgb+OmSMuYC1WNUqh6hLRweM2vu7guqjuv028Ni vitCZEesfxIP4xf5Ghx5XYoVWo71hQe4BB8vphu5DK0mM0iPjfs12nmz1t+AJYiGni SCAlFFBtTW8EAh8GUJn0PqBEWqwnY1fNWI5tyx+Iv/JKj6lv3psgPNGreAv5PSfxZu m5bJJ8Hh9Bd3vAD0nuNPJTmOtGESZiOCxUA3eMorXFlBmzp6B48YaPLOpdDUdXzdeN zP/W6lXRbitiA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87F0CC04A68; Tue, 7 Nov 2023 13:45:13 +0000 (UTC) From: Joel Granados via B4 Relay Date: Tue, 07 Nov 2023 14:45:05 +0100 Subject: [PATCH 05/10] seccomp: Remove the now superfluous sentinel elements from ctl_table array MIME-Version: 1.0 Message-Id: <20231107-jag-sysctl_remove_empty_elem_kernel-v1-5-e4ce1388dfa0@samsung.com> References: <20231107-jag-sysctl_remove_empty_elem_kernel-v1-0-e4ce1388dfa0@samsung.com> In-Reply-To: <20231107-jag-sysctl_remove_empty_elem_kernel-v1-0-e4ce1388dfa0@samsung.com> To: Luis Chamberlain , willy@infradead.org, josh@joshtriplett.org, Kees Cook , 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 Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org, Joel Granados X-Mailer: b4 0.13-dev-86aa5 X-Developer-Signature: v=1; a=openpgp-sha256; l=888; i=j.granados@samsung.com; h=from:subject:message-id; bh=9sZMX/MyF0SVCK9nOfmRTomO7bMfFutH6W/a+/xTbXo=; b=owEB7QES/pANAwAKAbqXzVK3lkFPAcsmYgBlSj9mNFZDTxYBV3ycaOzU/tLImGilBhNCksZLp WGijXaPwGOJAbMEAAEKAB0WIQSuRwlXJeYxJc7LJ5C6l81St5ZBTwUCZUo/ZgAKCRC6l81St5ZB T1b9C/9PFUeR3oLJQZ5C1zAHlr9iY0SEZA7VWEn0vzPx1HPuN5tWPmlAXseWXPaUflTKS7msMWE M3zeKCxSiX1+LzSIQW1LQv5iNU6ZT+jvozmAT7b2V8AYzjMZG4a6nmlOseJsuQiXb3rGLpbSvlf 7AfNwufTeW19MCfcZ2NCYp832zwcJQ56u3ednb2u/LWweimM2/ajzWjzsw8W50B4OUo7U2Xc6H8 4SoFlZdS3zSKjas9qWWgC73gV3GyjsIysZkAEib5O8alDwoyZyON3rwx5MSGpxjliEtgYvqneek O0d3HKI2VXWtPueKnVx3+qz+zx+jAhx9owAHcdFEePkvCGfzIjEXKpX/MEBzExdoN4tTK/MhIfY LhtLhDA0t+ehKSeQ6HVpfUq8ZxhX+ZN8JvJkPM/1dnBlZrmRzOgBpZ5BNSpkjwKy812SW2kCLWV S1KbQLQ9KY/KeqvD1nrkJF+paUXuQ3BefWuvSded7ESEHi1V07HEH39Z3oQRz9z/wgPR0= X-Developer-Key: i=j.granados@samsung.com; a=openpgp; fpr=F1F8E46D30F0F6C4A45FF4465895FAAC338C6E77 X-Endpoint-Received: by B4 Relay for j.granados@samsung.com/default with auth_id=70 X-Original-From: Joel Granados X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231107_134528_757359_3C7220D2 X-CRM114-Status: GOOD ( 13.16 ) X-Mailman-Approved-At: Tue, 07 Nov 2023 05:52:34 -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: , Reply-To: j.granados@samsung.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+kexec=archiver.kernel.org@lists.infradead.org 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 --- kernel/seccomp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/seccomp.c b/kernel/seccomp.c index 255999ba9190..b727b4351c1b 100644 --- a/kernel/seccomp.c +++ b/kernel/seccomp.c @@ -2445,7 +2445,6 @@ static struct ctl_table seccomp_sysctl_table[] = { .mode = 0644, .proc_handler = seccomp_actions_logged_handler, }, - { } }; static int __init seccomp_sysctl_init(void) -- 2.30.2 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec