diff options
| author | Al Viro <[email protected]> | 2025-05-23 23:20:36 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2025-05-26 21:35:32 +0000 |
| commit | 3b5260d12b1fe76b566fe182de8abc586b827ed0 (patch) | |
| tree | 2a01faf26260c35ca94d34b8ba2f25e886dbe38e /scripts/gcc-plugins/sancov_plugin.c | |
| parent | fix IS_MNT_PROPAGATING uses (diff) | |
| download | kernel-3b5260d12b1fe76b566fe182de8abc586b827ed0.tar.gz kernel-3b5260d12b1fe76b566fe182de8abc586b827ed0.zip | |
Don't propagate mounts into detached trees
All versions up to 6.14 did not propagate mount events into detached
tree. Shortly after 6.14 a merge of vfs-6.15-rc1.mount.namespace
(130e696aa68b) has changed that.
Unfortunately, that has caused userland regressions (reported in
https://lore.kernel.org/all/CAOYeF9WQhFDe+BGW=Dp5fK8oRy5AgZ6zokVyTj1Wp4EUiYgt4w@mail.gmail.com/)
Straight revert wouldn't be an option - in particular, the variant in 6.14
had a bug that got fixed in d1ddc6f1d9f0 ("fix IS_MNT_PROPAGATING uses")
and we don't want to bring the bug back.
This is a modification of manual revert posted by Christian, with changes
needed to avoid reintroducing the breakage in scenario described in
d1ddc6f1d9f0.
Cc: [email protected]
Reported-by: Allison Karlitskaya <[email protected]>
Tested-by: Allison Karlitskaya <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Co-developed-by: Christian Brauner <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
