aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-22 20:13:48 +0000
committerGreg Kroah-Hartman <[email protected]>2024-12-24 07:56:04 +0000
commit997a6e146d5fdb9d92186a09e7ad6463679fe271 (patch)
treed09dd55bd1b340f4f7f200675579636717fa5624 /scripts/mod/file2alias.c
parentusb: core: sysfs: Constify 'struct bin_attribute' (diff)
downloadkernel-997a6e146d5fdb9d92186a09e7ad6463679fe271.tar.gz
kernel-997a6e146d5fdb9d92186a09e7ad6463679fe271.zip
usbip: vudc: 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. Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://lore.kernel.org/r/20241222-sysfs-const-bin_attr-usbip-v1-1-20d611a9bfa4@weissschuh.net Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions