Re: [PATCH 1/2] tracing: Make the backup instance readonly
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-01-08 03:05:46
Also in:
lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-01-08 03:05:46
Also in:
lkml
On Thu, 8 Jan 2026 11:51:25 +0900 Masami Hiramatsu (Google) [off-list ref] wrote:
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. -- Steve