diff options
author | Andrey Kazmin <a.kazmin@partner.samsung.com> | 2021-12-27 15:50:48 +0300 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-01-06 11:40:52 +0100 |
commit | e13685a6e5c92612c6eeeb8a17c052539c0f9da5 (patch) | |
tree | deb559f0c972fa5d2a0c45f308f6d4672e81242a /target/nios2/cpu.h | |
parent | 407a119bfd350101a8ef947a9edd58b01644ec89 (diff) | |
download | qemu-e13685a6e5c92612c6eeeb8a17c052539c0f9da5.zip qemu-e13685a6e5c92612c6eeeb8a17c052539c0f9da5.tar.gz qemu-e13685a6e5c92612c6eeeb8a17c052539c0f9da5.tar.bz2 |
linux-user/syscall.c: fix missed flag for shared memory in open_self_maps
The possible variants for region type in /proc/self/maps are either
private "p" or shared "s". In the current implementation,
we mark shared regions as "-". It could break memory mapping parsers
such as included into ASan/HWASan sanitizers.
Fixes: 01ef6b9e4e4e ("linux-user: factor out reading of /proc/self/maps")
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211227125048.22610-1-a.kazmin@partner.samsung.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target/nios2/cpu.h')
0 files changed, 0 insertions, 0 deletions