aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-02 19:02:59 +0000
committerBjorn Helgaas <[email protected]>2024-12-03 21:29:59 +0000
commit35fdb302caab92f7ee998ff428b0f41c2c3a45f7 (patch)
tree1a37016348f1e3be943a7c3e563ba02f630a24c9 /net/unix/af_unix.c
parentPCI/VPD: Constify 'struct bin_attribute' (diff)
downloadkernel-35fdb302caab92f7ee998ff428b0f41c2c3a45f7.tar.gz
kernel-35fdb302caab92f7ee998ff428b0f41c2c3a45f7.zip
PCI/P2PDMA: 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-3-c32360f495a7@weissschuh.net Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions