Re: [PATCH RFC v2 5/6] pidfs, coredump: add PIDFD_INFO_COREDUMP
From: Jann Horn
Date: Fri May 02 2025 - 10:11:48 EST
On Fri, May 2, 2025 at 2:43 PM Christian Brauner <brauner@xxxxxxxxxx> wrote:
> Let userspace know that the task coredumped and whether it was dumped as
> root or as regular user. The latter is needed so that access permissions
> to the executable are correctly handled.
>
> I don't think this requires any additional privileges checks. The
> missing exposure of the dumpability attribute of a given task is an
> issue we should fix given that we already expose whether a task is
> coredumping or not.
Yeah, it certainly isn't more sensitive than things like the exit code and UIDs.