[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230905182607.505212458@goodmis.org>
Date: Tue, 05 Sep 2023 14:26:07 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Ajay Kaher <akaher@...are.com>,
kernel test robot <oliver.sang@...el.com>,
Ching-lin Yu <chinglinyu@...gle.com>
Subject: [PATCH 0/2] tracing: Add missing LOCKDOWN_TRACEFS checking
When LOCKDOWN_TRACEFS is activated, some of the tracefs functions can
still return success leaving tracefs in an undefined state.
I broke this up into two patches. One that fixes just tracefs that
existed before this merge window and needs to be backported to stable.
The other fixes changes added to this merge window.
This should fix the issue reported by kernel test robot:
https://lore.kernel.org/all/202309050916.58201dc6-oliver.sang@intel.com/
Steven Rostedt (Google) (2):
tracefs: Add missing lockdown check to tracefs_create_dir()
tracefs/eventfs: Add missing lockdown checks
----
fs/tracefs/event_inode.c | 15 +++++++++++++++
fs/tracefs/inode.c | 3 +++
2 files changed, 18 insertions(+)
Powered by blists - more mailing lists