summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-16 15:20:25 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-01-26 07:22:19 +0300
commite2c9e6190dbb127466b9da9fb18f9adc16dff43b (patch)
tree0291b0aab3bc42da2d11a44c979c4ca8d39e4531 /lib
parent1fc10653552c17b9f336a81014f20465e664a2ec (diff)
downloadlinux-e2c9e6190dbb127466b9da9fb18f9adc16dff43b.tar.xz
mm/page_idle: constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be moved into read-only memory. Make use of that to protect them against accidental or malicious modifications. Link: https://lkml.kernel.org/r/20241216-sysfs-const-bin_attr-page_idle-v1-1-cc01ecc55196@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions