All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR
@ 2023-12-23 13:53 Thomas Weißschuh
  2023-12-23 18:25 ` Luis Chamberlain
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Weißschuh @ 2023-12-23 13:53 UTC (permalink / raw)
  To: Luis Chamberlain, Kees Cook, Joel Granados
  Cc: linux-kernel, linux-fsdevel, Thomas Weißschuh

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(-)

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)

---
base-commit: a6fd07f80ab7bd94edb4d56c35e61117ffb9957e
change-id: 20231223-sysctl-perm-empty-dir-7a71b4e3867b

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR
  2023-12-23 13:53 [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR Thomas Weißschuh
@ 2023-12-23 18:25 ` Luis Chamberlain
  2023-12-24 10:42   ` Thomas Weißschuh
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Chamberlain @ 2023-12-23 18:25 UTC (permalink / raw)
  To: Thomas Weißschuh
  Cc: Kees Cook, Joel Granados, linux-kernel, linux-fsdevel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR
  2023-12-23 18:25 ` Luis Chamberlain
@ 2023-12-24 10:42   ` Thomas Weißschuh
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Weißschuh @ 2023-12-24 10:42 UTC (permalink / raw)
  To: Luis Chamberlain; +Cc: Kees Cook, Joel Granados, linux-kernel, linux-fsdevel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-24 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-23 13:53 [PATCH] sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR Thomas Weißschuh
2023-12-23 18:25 ` Luis Chamberlain
2023-12-24 10:42   ` Thomas Weißschuh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.