Re: [PATCH 1/2] tracing: Make the backup instance readonly
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2026-01-08 05:30:04
Also in:
lkml
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2026-01-08 05:30:04
Also in:
lkml
On Wed, 7 Jan 2026 22:05:42 -0500 Steven Rostedt [off-list ref] wrote:
On Thu, 8 Jan 2026 11:51:25 +0900 Masami Hiramatsu (Google) [off-list ref] wrote:quoted
quoted
We may need to make sure they can't be changed to write as well. But that will require a change to tracefs (and eventfs).Ah, you mean the permission check is not correctly done in tracefs/eventfs yet?Actually, i think we could use a different fops for read only instances that do not have a write callback. And for eventfs we could have it for read only instances to only create the id and format files.
Ah, OK. Let me update it. Thanks,
-- Steve
-- Masami Hiramatsu (Google) [off-list ref]