diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2024-01-20 22:45:25 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-01-23 13:24:32 +1000 |
commit | 0ea731db5a0edb5b1b9038e1c0059053e20ce5d3 (patch) | |
tree | 8a04da9de9ac98be941647d971ba76c213e315fa /linux-user/linux_loop.h | |
parent | 3805d4287fd64917a20bdc406b52d37800d46659 (diff) | |
download | qemu-0ea731db5a0edb5b1b9038e1c0059053e20ce5d3.zip qemu-0ea731db5a0edb5b1b9038e1c0059053e20ce5d3.tar.gz qemu-0ea731db5a0edb5b1b9038e1c0059053e20ce5d3.tar.bz2 |
linux-user/elfload: check PR_GET_DUMPABLE before creating coredump
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: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Message-Id: <20240120-qemu-user-dumpable-v3-2-6aa410c933f1@t-8ch.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions