[PATCH 15/18] fsinfo: Add an attribute that lists all the visible mounts in a namespace [ver #21]
David Howells
dhowells at redhat.com
Wed Aug 5 16:44:12 UTC 2020
Miklos Szeredi <miklos at szeredi.hu> wrote:
> > where each element contains a once-in-a-system-lifetime unique ID, the
> > mount ID (which may get reused), the parent mount ID and sums of the
> > notification/change counters for the mount and its superblock.
>
> The change counters are currently conditional on CONFIG_MOUNT_NOTIFICATIONS.
> Is this is intentional?
Yeah - the counters aren't driven unless CONFIG_MOUNT_NOTIFICATIONS=y.
I could perhaps make it so they're driven in both cases, but driving the
in-subtree counter is somewhat tied up in the notification posting.
This is something that can be fixed after this patchset is taken - if it is
taken since that doesn't change the UAPI.
David
More information about the Linux-security-module-archive
mailing list