Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 27c04648 authored by Steven Rostedt (Google)'s avatar Steven Rostedt (Google)
Browse files

tracefs: Update inode permissions on remount

When a remount happens, if a gid or uid is specified update the inodes to
have the same gid and uid. This will allow the simplification of the
permissions logic for the dynamically created files and directories.

Link: https://lore.kernel.org/linux-trace-kernel/20240523051539.592429986@goodmis.org

Cc: stable@vger.kernel.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Fixes: baa23a8d

 ("tracefs: Reset permissions on remount if permissions are options")
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent 8898e7f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment