aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-02 19:03:00 +0000
committerBjorn Helgaas <[email protected]>2024-12-10 19:00:50 +0000
commitd5bdde0b38c1d17f39ad6d41d16af33357b329b2 (patch)
tree3be5329a0cbcdf21a60cb71ddbac16d91bd3750e /net/unix/af_unix.c
parentPCI/P2PDMA: Constify 'struct bin_attribute' (diff)
downloadkernel-d5bdde0b38c1d17f39ad6d41d16af33357b329b2.tar.gz
kernel-d5bdde0b38c1d17f39ad6d41d16af33357b329b2.zip
PCI/ACPI: 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-4-c32360f495a7@weissschuh.net Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions