Re: [PATCH 1/2] debugfs: Only clobber mode/uid/gid on remount if asked

From: Steven Rostedt
Date: Thu Sep 08 2022 - 20:43:14 EST


On Thu, 8 Sep 2022 17:16:17 -0700
Brian Norris <briannorris@xxxxxxxxxxxx> wrote:

> I think I've covered all that in v2. The patch contents haven't changed
> -- just the metadata, and a link to a draft LTP test. As noted in v2, I
> plan to submit a PR for that once the kernel changes are in.

Instead of doing an LTP test, could you just write a script that could test
it in the kernel selftests?

See tools/testing/selftests/...

in the kernel repository.

Not exactly sure which directory it would go. Perhaps the "mounts"
directory?

If you create a tracefs one, it could go into the ftrace directory.

-- Steve