Linux Hardening
 help / color / mirror / Atom feed
* [PATCH 0/4] module: sysfs: Two cleanups and preparation for const struct bin_attribute
@ 2024-12-16 19:16 Thomas Weißschuh
  2024-12-16 19:16 ` [PATCH 1/4] module: sysfs: Drop member 'nsections' Thomas Weißschuh
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Thomas Weißschuh @ 2024-12-16 19:16 UTC (permalink / raw)
  To: Luis Chamberlain, Petr Pavlu, Sami Tolvanen, Daniel Gomez,
	Kees Cook, Gustavo A. R. Silva
  Cc: linux-modules, linux-kernel, linux-hardening,
	Thomas Weißschuh

The sysfs core is switching to 'const struct bin_attribute's.
Prepare for that.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (4):
      module: sysfs: Drop member 'nsections'
      module: sysfs: Simplify section attribute allocation
      module: sysfs: Add notes attributes through attribute_group
      module: sysfs: Use const 'struct bin_attribute'

 kernel/module/sysfs.c | 85 +++++++++++++++++++++++++--------------------------
 1 file changed, 41 insertions(+), 44 deletions(-)
---
base-commit: 2d8308bf5b67dff50262d8a9260a50113b3628c6
change-id: 20241215-sysfs-const-bin_attr-module-be05346937a6

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


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

end of thread, other threads:[~2024-12-18 13:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-16 19:16 [PATCH 0/4] module: sysfs: Two cleanups and preparation for const struct bin_attribute Thomas Weißschuh
2024-12-16 19:16 ` [PATCH 1/4] module: sysfs: Drop member 'nsections' Thomas Weißschuh
2024-12-16 19:16 ` [PATCH 2/4] module: sysfs: Simplify section attribute allocation Thomas Weißschuh
2024-12-18 11:28   ` Petr Pavlu
2024-12-16 19:16 ` [PATCH 3/4] module: sysfs: Add notes attributes through attribute_group Thomas Weißschuh
2024-12-18 13:13   ` Petr Pavlu
2024-12-16 19:16 ` [PATCH 4/4] module: sysfs: Use const 'struct bin_attribute' Thomas Weißschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox