Re: [PATCH] tracing/selftests: Add ownership modification tests for eventfs

2023-12-21 Thread Steven Rostedt
On Thu, 21 Dec 2023 19:35:51 -0500 Steven Rostedt wrote: > + > +# find another owner and group that is not the original > +other_group=`tac /etc/group | grep -v ":$original_group:" | head -1 | cut > -d: -f3` > +other_owner=`tac /etc/passwd | grep -v ":$original_group:" | head -1 | cut > -d:

[PATCH] tracing/selftests: Add ownership modification tests for eventfs

2023-12-21 Thread Steven Rostedt
From: "Steven Rostedt (Google)" As there were bugs found with the ownership of eventfs dynamic file creation. Add a test to test it. It will remount tracefs with a different gid and check the ownership of the eventfs directory, as well as the system and event directories. It will also check the