Message ID | 20231223-sysctl-perm-empty-dir-v1-1-194edd9b09dd@weissschuh.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-10432-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1682059dyi; Sat, 23 Dec 2023 05:54:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFc+W2nQ6CxBT950JtHkIQgEQY93lFHAf6/C+65TtSVnmVQmE24Q0U+t3x7qod85Zm5D4T X-Received: by 2002:a05:622a:308:b0:427:a316:a270 with SMTP id q8-20020a05622a030800b00427a316a270mr3830735qtw.90.1703339657549; Sat, 23 Dec 2023 05:54:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703339657; cv=none; d=google.com; s=arc-20160816; b=XzDY7AuBkKSg0E3ro2Ughv4J9Il0uUBB2iwrAfbww5duHwv2oeTfdDLSLlLu+xTS8j HE091pvY9o+vfpZCUL6fkSr4104PlCsxkrwSdr6uXQFsQ8s2Uh9QeRP+HwsGoAbZGhgV 1B1oMmZ8iaumypMH2V77KzOYwZTNe7lxoByfpLa/PkPyBBLWOPoTAKsWUhTuSO7uC1yU 6yFLSKVNuAXl721cNhizecZBYBFIG43LGn+/8iR/WSDMr/6njjsa/0cUuhNpupKKZ3Cr 82wGEiaDiRdrHy3TnhG5OrF2SVzdW8j0zmYinoOhBeE4xKNEPDkcuACv2Jme+HNzxrhV 7ujw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=by06/TN8pXFQoR6SVxc8Q6ov/JUMW9skpGpU5Gayj2E=; fh=lt+h9xVPpWGy3CQ1ZVbEQK4XSH4kmOqIr3aKZar7XWw=; b=AeKFwFbo3nSyxoPeZ842oJeu5dOPlVjBJRpr4sQKS2oQV8An53owftZn+afw+/sj3i gVN098ufPh9XW6OLswxnLCXQkyhLtjVFQ8ReGFIpYa5Z29t7FYwlFtTOR0Xb8zCI7S4L 3X6miXupEcJ1Fbo0ueZF3havjisGuKSMR4pIBYzZV2s1K1Vo3uPwaTUNL8r7X4ToAZOf 8gG7Xup/IsaG27kwSoh4B2tuZ8ptcDChjhschTwfIehGKgYjg2KGXKfxZBYvYR4WJIZ5 T2QlPUpA6MvhNNCfwEehL88PbdM7gUB0423JlHASgDmr5kCXdxl9vEnZVg+5tdjjO7mM hYJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="qkAK/xX4"; spf=pass (google.com: domain of linux-kernel+bounces-10432-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10432-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n11-20020a05622a040b00b0041cb3f5c40esi6712664qtx.756.2023.12.23.05.54.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 05:54:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10432-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="qkAK/xX4"; spf=pass (google.com: domain of linux-kernel+bounces-10432-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10432-ouuuleilei=gmail.com@vger.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 5728A1C20FB8 for <ouuuleilei@gmail.com>; Sat, 23 Dec 2023 13:54:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46B76DDDF; Sat, 23 Dec 2023 13:54:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="qkAK/xX4" X-Original-To: linux-kernel@vger.kernel.org Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 1D14CD50C; Sat, 23 Dec 2023 13:53:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1703339632; bh=Ee0tYNZexbPVXAGBvkDgOutqhhXAAC/AoPNZbvbdlwM=; h=From:Date:Subject:To:Cc:From; b=qkAK/xX4+e5Fm9Cwe7OnOwVnV3kjMEg9u3ylyIVLiBHA3e1ArPhlQtGagyQ2lCdIK HTAfOuwONryfUtIjex6bSDxVWMBj330uWDv1H+TO6tHtyrd0fCxDvz22RMRV2EBWd1 Jji8iFDS7WkCgIZh+BRrcu9IfeAPGdzwKCkO8o4I= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> Date: Sat, 23 Dec 2023 14:53:47 +0100 Subject: [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20231223-sysctl-perm-empty-dir-v1-1-194edd9b09dd@weissschuh.net> X-B4-Tracking: v=1; b=H4sIAGrmhmUC/x3MSQqAMAxA0atI1gZsK1a8irhwiBpwKImIIt7d4 vIt/n9ASZgUquQBoZOV9y3CpAn0c7tNhDxEg82sM9Y61Fv7Y8FAsiKt4bhxYEHfetPl5MrCdxD bIDTy9X/r5n0/9/DM6mcAAAA= To: Luis Chamberlain <mcgrof@kernel.org>, Kees Cook <keescook@chromium.org>, Joel Granados <j.granados@samsung.com> Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, =?utf-8?q?T?= =?utf-8?q?homas_Wei=C3=9Fschuh?= <linux@weissschuh.net> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703339632; l=1129; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=Ee0tYNZexbPVXAGBvkDgOutqhhXAAC/AoPNZbvbdlwM=; b=gJ/VXmLeL0bESGRyabJyAwZYHRnxzRKg56eMMUH5IRbfzzw5lW+AHQX9vifII3taleCjDsyZc 6Kg/7BD5jDpD/nwKYUSTSJGlNgKSh2r6CXmQydMIHR32kin7ikCdMgN X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786081084802989579 X-GMAIL-MSGID: 1786081084802989579 |
Series |
sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR
|
|
Commit Message
Thomas Weißschuh
Dec. 23, 2023, 1:53 p.m. UTC
It seems it was never used.
Fixes: 2f2665c13af4 ("sysctl: replace child with an enumeration")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
This was originally part of the sysctl-const series [0], but it doesn't
really belong in there.
To slim down that series as much as possible, submit this patch on its
own.
[0] https://lore.kernel.org/lkml/20231204-const-sysctl-v2-2-7a5060b11447@weissschuh.net/
---
include/linux/sysctl.h | 2 --
1 file changed, 2 deletions(-)
---
base-commit: a6fd07f80ab7bd94edb4d56c35e61117ffb9957e
change-id: 20231223-sysctl-perm-empty-dir-7a71b4e3867b
Best regards,
Comments
On Sat, Dec 23, 2023 at 02:53:47PM +0100, Thomas Weißschuh wrote: > It seems it was never used. > > Fixes: 2f2665c13af4 ("sysctl: replace child with an enumeration") > Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> > --- > This was originally part of the sysctl-const series [0], but it doesn't > really belong in there. > To slim down that series as much as possible, submit this patch on its > own. > > [0] https://lore.kernel.org/lkml/20231204-const-sysctl-v2-2-7a5060b11447@weissschuh.net/ Applied, and pushed! BTW: $ b4 am -s 20231223-sysctl-perm-empty-dir-v1-1-194edd9b09dd@weissschuh.net Grabbing thread from lore.kernel.org/all/20231223-sysctl-perm-empty-dir-v1-1-194edd9b09dd@weissschuh.net/t.mbox.gz Analyzing 1 messages in the thread Checking attestation on all messages, may take a moment... --- ✓ [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR + Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> --- ✗ No key: ed25519/linux@weissschuh.net ✓ Signed: DKIM/weissschuh.net Luis
On 2023-12-23 10:25:41-0800, Luis Chamberlain wrote: > On Sat, Dec 23, 2023 at 02:53:47PM +0100, Thomas Weißschuh wrote: > > It seems it was never used. > > > > Fixes: 2f2665c13af4 ("sysctl: replace child with an enumeration") > > Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> > > --- > > This was originally part of the sysctl-const series [0], but it doesn't > > really belong in there. > > To slim down that series as much as possible, submit this patch on its > > own. > > > > [0] https://lore.kernel.org/lkml/20231204-const-sysctl-v2-2-7a5060b11447@weissschuh.net/ > > Applied, and pushed! BTW: Thanks! > $ b4 am -s 20231223-sysctl-perm-empty-dir-v1-1-194edd9b09dd@weissschuh.net > Grabbing thread from > lore.kernel.org/all/20231223-sysctl-perm-empty-dir-v1-1-194edd9b09dd@weissschuh.net/t.mbox.gz > Analyzing 1 messages in the thread > Checking attestation on all messages, may take a moment... > --- > ✓ [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR > + Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> > --- > ✗ No key: ed25519/linux@weissschuh.net > ✓ Signed: DKIM/weissschuh.net b4 needs a manual import of contributor keys for it to validate them: https://b4.docs.kernel.org/en/latest/maintainer/kr.html Thomas
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 61b40ea81f4d..26a38161c28f 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -255,8 +255,6 @@ extern int unaligned_enabled; extern int unaligned_dump_stack; extern int no_unaligned_warning; -#define SYSCTL_PERM_EMPTY_DIR (1 << 0) - #else /* CONFIG_SYSCTL */ static inline void register_sysctl_init(const char *path, struct ctl_table *table)