Re: [oss-security] [patch] proc.5: tell how to parse /proc/*/stat correctly

From: Theodore Ts'o
Date: Wed Dec 28 2022 - 17:13:42 EST


On Wed, Dec 28, 2022 at 01:02:35PM -0500, Demi Marie Obenour wrote:
> > I think the argument I'm trying to make is to be flexible in
> > implementation, allowing for future needs and wants--that is "future
> > proofing".
>
> Linux should not have an XML, JSON, or YAML serializer. Linux already
> does way too much; let’s not add one more thing to the list.

There's always Protobufs[1]! :-) And all of these are better than
ASN.1, for which Google already has a limited parser (for x.509
certificates). :-) :-) :-)

- Ted