[RFC PATCH] getting misc stats/attributes via xattr API
Miklos Szeredi
miklos at szeredi.hu
Tue May 10 15:47:13 UTC 2022
On Tue, 10 May 2022 at 17:30, Christian Brauner <brauner at kernel.org> wrote:
> But now we're in the process of extending the *xattr() calls to operate
> on mounts and filesystems so an additional getfsattr() (or another name)
> is not fragmentation imho. And I definitely don't think this would
> qualify as "crazy".
In that spirit st_dev does not belong in struct stat, because that is
the property of the block device, not the inode.
But I feel we are going round in circles, lets please not get hung up
on this issue. Linus will have the final word on which variant (if
either) is going to go in.
Thanks,
Miklos
More information about the Linux-security-module-archive
mailing list