aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-02 19:02:58 +0000
committerBjorn Helgaas <[email protected]>2024-12-03 21:25:41 +0000
commit3c39919a5f3d65abff031a7d9acd3b5f5672eec7 (patch)
tree7b72073ef2576500d1aef3d2cc1ecb74b6c1678d /net/unix/af_unix.c
parentPCI/sysfs: Constify 'struct bin_attribute' (diff)
downloadkernel-3c39919a5f3d65abff031a7d9acd3b5f5672eec7.tar.gz
kernel-3c39919a5f3d65abff031a7d9acd3b5f5672eec7.zip
PCI/VPD: 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://lore.kernel.org/r/20241202-sysfs-const-bin_attr-pci-v1-2-c32360f495a7@weissschuh.net Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions