Commit ee93c91
tracing: Fix to set write permission to per-cpu buffer_size_kb
[ Upstream commit f844282 ]
Since the per-cpu buffer_size_kb file is writable for changing
per-cpu ring buffer size, the file should have the write access
permission.
Cc: stable@vger.kernel.org
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/177071301597.2293046.11683339475076917920.stgit@mhiramat.tok.corp.google.com
Fixes: 21ccc9c ("tracing: Disable "other" permission bits in the tracefs files")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent d89b8b1 commit ee93c91
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8858 | 8858 | | |
8859 | 8859 | | |
8860 | 8860 | | |
8861 | | - | |
| 8861 | + | |
8862 | 8862 | | |
8863 | 8863 | | |
8864 | 8864 | | |
| |||
0 commit comments