diff options
| author | 2026-08-07 18:00:51 +0800 | |
|---|---|---|
| committer | 2026-10-01 14:48:25 +0200 | |
| commit | 493daf5bf2b9e931c93ef9223c840b0a6bb35474 (patch) | |
| tree | c5ee926901f1ace226acdfaca455b9a3b4dfa8d8 /scripts/Makefile.thinlto | |
| parent | docs: admin-guide: Handle TAINT_FORCED_BIND when parsing /proc/sys/kernel/tainted (diff) | |
interconnect: debugfs: replace writable string helper
debugfs_create_str() is being made read-only because its generic write
path is hard to make safe without adding more locking to the helper.
Convert the interconnect debugfs client src_node and dst_node entries to
local file operations before removing writable string support from
debugfs_create_str(). Protect the string replacement and path lookup with
the existing debugfs_lock.
The old code duplicated the strings under rcu_read_lock(), so it had to use
GFP_ATOMIC. The local file operations protect src_node and dst_node with
debugfs_lock instead, so the allocation can use GFP_KERNEL.
Signed-off-by: Yichong Chen <chenyichong@uniontech.com>
Link: https://patch.msgid.link/20260807100053.1089834-2-chenyichong@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
