diff options
author | 2024-01-20 22:45:25 +0100 | |
---|---|---|
committer | 2024-01-23 13:24:32 +1000 | |
commit | 0ea731db5a0edb5b1b9038e1c0059053e20ce5d3 (patch) | |
tree | 8a04da9de9ac98be941647d971ba76c213e315fa /scripts/qapi/source.py | |
parent | linux-user/elfload: test return value of getrlimit (diff) | |
download | qemu-0ea731db5a0edb5b1b9038e1c0059053e20ce5d3.tar.xz qemu-0ea731db5a0edb5b1b9038e1c0059053e20ce5d3.zip |
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 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions