[RFC PATCH] getting misc stats/attributes via xattr API
Miklos Szeredi
miklos at szeredi.hu
Mon Nov 14 12:35:54 UTC 2022
On Mon, 14 Nov 2022 at 10:00, Abel Wu <wuyun.abel at bytedance.com> wrote:
>
> Hi Miklos and anyone interested in this proposal, is there any update on
> this? Sorry that I didn't find any..
No update.
Which part are you interested in?
Getting mount attributes? Or a generic key-value retrieval and
storage interface?
For the first one there are multiple proposals, one of them is adding
a new system call using binary structs. The fsinfo(2) syscall was
deemed overdesigned and rejected. Something simpler would probably be
fairly uncontroversial.
As for the other proposal it seems like some people would prefer a set
of new syscalls, while some others would like to reuse the xattr
syscalls. No agreement seems to have been reached.
Also I think a notification system for mount related events is also a
much needed component. I've tried to explore using the fsnotify
framework for this, but the code is pretty convoluted and I couldn't
get prototype working.
Thanks,
Miklos
More information about the Linux-security-module-archive
mailing list