Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/[email protected] Cc: Kees Cook <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Al Viro <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Yabin Cui <[email protected]> Cc: Christian Brauner <[email protected]> Cc: [email protected] Fixes: 4282d60 ("tracefs: Add new tracefs file system") Reported-by: Kalesh Singh <[email protected]> Reported: https://lore.kernel.org/all/CAC_TJve8MMAv+H_NdLSJXZUSoxOEq2zB_pVaJ9p=7H6Bu3X76g@mail.gmail.com/ Signed-off-by: Steven Rostedt (VMware) <[email protected]>
- Loading branch information