oss-sec mailing list archives

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


From: Alan Coopersmith <alan.coopersmith () oracle com>
Date: Thu, 29 Dec 2022 08:43:02 -0800

On 12/28/22 08:47, Demi Marie Obenour wrote:
A binary format would be even better.  No risk of ambiguity.

That is how the Solaris (and now illumos) /proc has always worked - fewer
parsing problems, but you need to use tools to handle the contents, not
just cat/less/etc.

https://docs.oracle.com/cd/E88353_01/html/E37852/proc-5.html

--
        -Alan Coopersmith-                 alan.coopersmith () oracle com
         Oracle Solaris Engineering - https://blogs.oracle.com/solaris


Current thread: