[RFC PATCH] getting misc stats/attributes via xattr API
Abel Wu
wuyun.abel at bytedance.com
Mon Nov 14 09:00:18 UTC 2022
Hi Miklos and anyone interested in this proposal, is there any update on
this? Sorry that I didn't find any..
Thanks & Best regards,
Abel
On 5/3/22 8:23 PM, Miklos Szeredi wrote:
> This is a simplification of the getvalues(2) prototype and moving it to the
> getxattr(2) interface, as suggested by Dave.
>
> The patch itself just adds the possibility to retrieve a single line of
> /proc/$$/mountinfo (which was the basic requirement from which the fsinfo
> patchset grew out of).
>
> But this should be able to serve Amir's per-sb iostats, as well as a host of
> other cases where some statistic needs to be retrieved from some object. Note:
> a filesystem object often represents other kinds of objects (such as processes
> in /proc) so this is not limited to fs attributes.
>
> This also opens up the interface to setting attributes via setxattr(2).
>
More information about the Linux-security-module-archive
mailing list