summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-15 14:29:15 +0100
committerTzung-Bi Shih <tzungbi@kernel.org>2024-12-30 01:31:05 +0000
commit6fcbc55a6afb21ccfaa4de1426b22a5e25331506 (patch)
treec3f3b795e9f35b25dbc07ddb6f8805ad17373e57 /scripts/gdb/linux/utils.py
parent033fceedca9178f137ee5f6652e0f734199b1c96 (diff)
platform/chrome: cros_ec_vbc: 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> Link: https://lore.kernel.org/r/20241215-sysfs-const-bin_attr-chrome-v1-1-92249c4bc295@weissschuh.net Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions