diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-02-26 16:58:02 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-02-29 08:48:02 -1000 |
commit | ccb6f3eee0f746961f95e9956fa20decd1f46da3 (patch) | |
tree | ff1fb2e82531e4fb80d1077a97ddd8ddafe333fc /python | |
parent | 0af22a6abf8397f966701f120eee8a5bdf22ab19 (diff) | |
download | qemu-ccb6f3eee0f746961f95e9956fa20decd1f46da3.zip qemu-ccb6f3eee0f746961f95e9956fa20decd1f46da3.tar.gz qemu-ccb6f3eee0f746961f95e9956fa20decd1f46da3.tar.bz2 |
linux-user/elfload: Latch errno before cleanup in elf_core_dump
On the off-chance that one of the cleanup functions changes
errno, latch the errno that we want to return beforehand.
Flush errno to 0 upon success, rather than at the beginning.
No need to avoid negation of 0.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions