qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 2/2] linux-user/elfload: check PR_GET_DUMPABLE before creating coredump
Date: Mon, 22 Jan 2024 12:41:52 +0100
User-agent: Mozilla Thunderbird

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 guest chose so.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
---
  linux-user/elfload.c | 6 ++++++
  1 file changed, 6 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]