Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: fstat sysctl crashes kernel
To:
Alexander Bluhm <bluhm@openbsd.org>
Cc:
Vitaliy Makkoveev <otto@bsdbox.dev>, tech@openbsd.org
Date:
Thu, 08 Aug 2024 08:00:36 -0600

Download raw body.

Thread
On Thu, 08 Aug 2024 13:21:54 +0200, Alexander Bluhm wrote:

> Independent of that, can we commit the chunk below?  When searching
> for a specific process, there is not need to traverse the list to
> the end.  Also I check for arg >= 0 as this is cosistent with the
> arg < -1 check before.  Then you don't have to think about what is
> special about process 0.  There is no functional difference as
> process 0 has PS_SYSTEM set and is skipped anyway.

Yes, this makes sense. OK millert@

 - todd