diff options
author | Petr Tesarik <ptesarik@suse.com> | 2024-07-11 12:34:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-12 11:00:58 +0200 |
commit | e777798e67d9ba46cf56ad49919c1e86c5ee3213 (patch) | |
tree | e541110c27fb0470f2fb938f39465ae873ef3db1 /arch/arm/include/asm/module.h | |
parent | af46fe8c41de5b79358c3007e3854dda9c61c7dc (diff) | |
download | lwn-e777798e67d9ba46cf56ad49919c1e86c5ee3213.tar.gz lwn-e777798e67d9ba46cf56ad49919c1e86c5ee3213.zip |
sysfs/cpu: Make crash_hotplug attribute world-readable
There is no reason to restrict access to this attribute, as it merely
reports whether crash elfcorehdr is automatically updated on CPU hot
plug/unplug and/or online/offline events.
Note that since commit 79365026f8694 ("crash: add a new kexec flag for
hotplug support"), this maps to the same flag which is world-accessible
through /sys/devices/system/memory/crash_hotplug.
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
Acked-by: Baoquan He <bhe@redhat.com>
Acked-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Link: https://lore.kernel.org/r/20240711103409.319673-1-petr.tesarik@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/include/asm/module.h')
0 files changed, 0 insertions, 0 deletions