Commit 0f4dcba
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 ec4445a commit 0f4dcba
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8831 | 8831 | | |
8832 | 8832 | | |
8833 | 8833 | | |
8834 | | - | |
| 8834 | + | |
8835 | 8835 | | |
8836 | 8836 | | |
8837 | 8837 | | |
| |||
0 commit comments