diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2023-05-03 16:01:14 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-05-03 18:45:00 +0200 |
commit | 4f94559f40ad06d627c0fdfc3319cec778a2845b (patch) | |
tree | e3bb171d8e0b50f44a28d78f8b422f53bcb8781c /Documentation/trace/ftrace.rst | |
parent | ring-buffer: Sync IRQ works before buffer destruction (diff) | |
download | linux-4f94559f40ad06d627c0fdfc3319cec778a2845b.tar.xz linux-4f94559f40ad06d627c0fdfc3319cec778a2845b.zip |
tracing: Fix permissions for the buffer_percent file
This file defines both read and write operations, yet it is being
created as read-only. This means that it can't be written to without the
CAP_DAC_OVERRIDE capability. Fix the permissions to allow root to write
to it without the need to override DAC perms.
Link: https://lore.kernel.org/linux-trace-kernel/20230503140114.3280002-1-omosnace@redhat.com
Cc: stable@vger.kernel.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Fixes: 03329f993978 ("tracing: Add tracefs file buffer_percentage")
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/trace/ftrace.rst')
0 files changed, 0 insertions, 0 deletions