| commit | 9891d2f79a9fe9b77ad290f950eb8fa3e375330e | [log] [tgz] |
|---|---|---|
| author | Serge Hallyn <serge@hallyn.com> | Fri Nov 14 04:32:36 2025 +0000 |
| committer | Serge Hallyn <sergeh@kernel.org> | Tue Nov 18 18:00:19 2025 -0600 |
| tree | 08882b763689bb2228e43b411e93bd874057e7e9 | |
| parent | 211ddde0823f1442e4ad052a2f30f050145ccada [diff] |
Clarify the rootid_owns_currentns Split most of the rootid_owns_currentns() functionality into a more generic rootid_owns_ns() function which will be easier to write tests for. Rename the functions and variables to make clear that the ids being tested could be any uid. Signed-off-by: Serge Hallyn <serge@hallyn.com> CC: Ryan Foster <foster.ryan.r@gmail.com> CC: Christian Brauner <brauner@kernel.org> --- v2: change the function parameter documentation to mollify the bot.