diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 14:30:11 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-18 06:00:51 +0300 |
commit | ae026eae08e7a0a118abc31192041e49bcda3a8e (patch) | |
tree | a5673c99988513ef842620326798d0eda68bfbe2 /tools/perf/scripts/python/syscall-counts.py | |
parent | 2d7b422fa7952e3f15fc0912b12530af1d265193 (diff) | |
download | linux-ae026eae08e7a0a118abc31192041e49bcda3a8e.tar.xz |
netxen_nic: 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 <linux@weissschuh.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-4-ec460b91f274@weissschuh.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions