Re: [PATCH v2 01/10] pid: add helpers to operate on a struct pid array

From: Kuniyuki Iwashima

Date: Thu Sep 10 2026 - 00:14:33 EST


On Wed, Sep 9, 2026 at 3:43 AM Christian Brauner <brauner@xxxxxxxxxx> wrote:
>
> We're about to extend af_unix sockets and coredump code with the ability
> to hand out thread-specific pidfds. Add a few simple helpers that allow
> to operate on multiple struct pids up to PIDTYPE_MAX with automatic
> bounds checking.
>
> Signed-off-by: Christian Brauner (Amutable) <brauner@xxxxxxxxxx>

Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>