tracing: Add missing LOCKDOWN_TRACEFS checking
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tracefs: Add missing lockdown check to tracefs_create_dir()fs/ | +3 | 0 replies | |
| 2/2 | tracefs/eventfs: Add missing lockdown checksfs/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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/[email protected]/
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(+)