summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorYichong Chen <chenyichong@uniontech.com>2026-08-07 18:00:53 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-10-01 14:48:25 +0200
commit5ec78be9552035e1e71de218f968c03c44181bf0 (patch)
treef74aaea4dba5bb6f3e24cf655a2da0074bd37fd9 /tools/perf/scripts/python/bin
parent98421ba5925fd95db714727f7ae82e87e571979b (diff)
debugfs: make debugfs_create_str() read-only
debugfs_create_str() supports replacing the backing string from userspace. Concurrent writers can race and free the same old string twice. All writable in-tree users have been converted to local file operations. Remove the generic write support from debugfs_create_str(), and refuse to create a file when the caller passes write permission bits. This makes unsupported writable use visible instead of silently creating a file with different permissions. Fixes: 86b5488121db ("debugfs: Add write support to debugfs_create_str()") Signed-off-by: Yichong Chen <chenyichong@uniontech.com> Link: https://patch.msgid.link/20260807100053.1089834-4-chenyichong@uniontech.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions