Files
linux/fs
Steven Rostedt (VMware) 045bef28d6 UPSTREAM: tracefs: Have new files inherit the ownership of their parent
If directories in tracefs have their ownership changed, then any new files
and directories that are created under those directories should inherit
the ownership of the director they are created in.

Link: https://lkml.kernel.org/r/20211208075720.4855d180@gandalf.local.home

Cc: Kees Cook <keescook@chromium.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Yabin Cui <yabinc@google.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: stable@vger.kernel.org
Fixes: 4282d60689 ("tracefs: Add new tracefs file system")
Reported-by: Kalesh Singh <kaleshsingh@google.com>
Reported: https://lore.kernel.org/all/CAC_TJve8MMAv+H_NdLSJXZUSoxOEq2zB_pVaJ9p=7H6Bu3X76g@mail.gmail.com/
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
(cherry picked from commit ee7f366699)

Bug: 209513178
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I026a8302d1d51ce1751e4595dc13e7e5f16b7f84
2021-12-13 21:14:24 +00:00
..
2021-09-08 09:07:16 +02:00
2021-09-30 10:42:21 +02:00
2020-10-16 11:11:22 -07:00
2021-12-08 09:44:28 +01:00
2021-12-01 09:37:11 +01:00
2021-12-01 09:37:11 +01:00
2021-07-14 16:55:59 +02:00
2021-12-01 09:37:11 +01:00
2021-10-09 15:04:37 +02:00
2021-09-18 13:40:15 +02:00
2021-12-01 09:37:11 +01:00
2021-12-08 09:44:28 +01:00
2021-07-31 08:50:03 +02:00
2021-05-20 15:35:25 +02:00
2021-05-13 14:22:11 +02:00
2021-11-19 07:47:18 +01:00
2021-12-08 09:44:28 +01:00
2021-09-18 13:59:45 +02:00
2021-11-19 07:47:18 +01:00
2021-12-01 09:37:11 +01:00
2021-11-26 10:39:20 +01:00
2021-09-30 10:33:42 +02:00
2021-05-13 14:22:11 +02:00
2021-09-08 09:07:16 +02:00
2020-08-04 21:02:38 -04:00
2021-11-26 10:39:22 +01:00
2020-07-31 08:16:01 +02:00
2021-02-18 11:21:01 +01:00
2021-04-15 14:23:41 +02:00
2020-08-27 16:06:47 -04:00
2020-06-25 14:25:32 +02:00
2020-07-31 08:16:01 +02:00