Re: [PATCH RESEND] Add sicode to /proc/<PID>/stat.
From: Kees Cook
Date: Fri Sep 09 2022 - 17:34:39 EST
On Fri, Sep 09, 2022 at 11:06:17AM -0700, Florian Mayer wrote:
> In order to enable additional debugging features, Android init needs a
> way to distinguish MTE-related SEGVs (with si_code of SEGV_MTEAERR)
> from other SEGVs. This is not possible with current APIs, neither by
> the existing information in /proc/<pid>/stat, nor via waitpid.
Normally no changes are made to "stat" any more. New additions are made
to "status" instead. Could it live there instead?
-Kees
--
Kees Cook