file metadata via fs API

Miklos Szeredi miklos at szeredi.hu
Tue Aug 18 20:18:29 UTC 2020


On Tue, Aug 18, 2020 at 8:51 PM Linus Torvalds
<torvalds at linux-foundation.org> wrote:

> I think people who have problems parsing plain ASCII text are just
> wrong. It's not that expensive. The thing that makes /proc/mounts
> expensive is not the individual lines - it's that there are a lot of
> them.

I agree completely with the above.

So why mix a binary structure into it?  Would it not make more sense
to make it text only?

I.e. NAME=VALUE pairs separated by newlines and quoting non-printable chars.

Thanks,
Miklos



More information about the Linux-security-module-archive mailing list