public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] tracing: Add missing LOCKDOWN_TRACEFS checking
@ 2023-09-05 18:26 Steven Rostedt
  2023-09-05 18:26 ` [PATCH 1/2] tracefs: Add missing lockdown check to tracefs_create_dir() Steven Rostedt
  2023-09-05 18:26 ` [PATCH 2/2] tracefs/eventfs: Add missing lockdown checks Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2023-09-05 18:26 UTC (permalink / raw)
  To: linux-kernel, linux-trace-kernel
  Cc: Masami Hiramatsu, Mark Rutland, Andrew Morton, Ajay Kaher,
	kernel test robot, Ching-lin Yu


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(+)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-05 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05 18:26 [PATCH 0/2] tracing: Add missing LOCKDOWN_TRACEFS checking Steven Rostedt
2023-09-05 18:26 ` [PATCH 1/2] tracefs: Add missing lockdown check to tracefs_create_dir() Steven Rostedt
2023-09-05 18:26 ` [PATCH 2/2] tracefs/eventfs: Add missing lockdown checks Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox