Re: [PATCH v3 2/2] linux-user/elfload: check PR_GET_DUMPABLE before creating coredump

2024-01-22 Thread Philippe Mathieu-Daudé
On 20/1/24 22:45, Thomas Weißschuh wrote: A process can opt-out of coredump creation by calling prctl(PR_SET_DUMPABLE, 0). linux-user passes this call from the guest through to the operating system. From there it can be read back again to avoid creating coredumps from qemu-user itself if the gue

[PATCH v3 2/2] linux-user/elfload: check PR_GET_DUMPABLE before creating coredump

2024-01-20 Thread Thomas Weißschuh
A process can opt-out of coredump creation by calling prctl(PR_SET_DUMPABLE, 0). linux-user passes this call from the guest through to the operating system. >From there it can be read back again to avoid creating coredumps from qemu-user itself if the guest chose so. Reviewed-by: Richard Henderson