Repository: https://git.rsbac.org/?repository=linux-6.18.y
Commit: https://git.rsbac.org/?repository=linux-6.18.y&commit=547778bb0616aa2316ed0…
LTS kernel 6.18
Current version: 6.18.35
commit 547778bb0616aa2316ed05f340114203a4204f2a
Author: Amon Ott <ao(a)rsbac.org>
Date: Fri Jun 19 09:25:00 2026 +0200
rsbac_do_init(): for all delayed mount entries, always mntput() and rsbac_mount()
Wenn registering a delayed mount, we call mntget() for vfsmount_p and
vfsmount_parent_p (if valid), so we must mntput() them for every item
when walking rsbac_mount_list in rsbac_do_init().
Additionally, we must ensure that for every entry we call rsbac_mount() with
or without vfsmount_parent_p exactly once to guarantee correct mount counts
in RSBAC device lists.
rsbac/data_structures/aci_data_structures.c | 79 +++++++++++++----------------
1 file changed, 35 insertions(+), 44 deletions(-)