aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2024-01-20 22:45:25 +0100
committerRichard Henderson <richard.henderson@linaro.org>2024-01-23 13:24:32 +1000
commit0ea731db5a0edb5b1b9038e1c0059053e20ce5d3 (patch)
tree8a04da9de9ac98be941647d971ba76c213e315fa /scripts/qapi/source.py
parentlinux-user/elfload: test return value of getrlimit (diff)
downloadqemu-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