Re: [PATCH] linux-user/syscall.c: fix missed flag for shared memory in open_self_maps

2022-01-05 Thread Alex Bennée
Laurent Vivier writes: > Le 27/12/2021 à 13:50, Andrey Kazmin a écrit : >> 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

Re: [PATCH] linux-user/syscall.c: fix missed flag for shared memory in open_self_maps

2022-01-05 Thread Laurent Vivier
Le 27/12/2021 à 13:50, Andrey Kazmin a écrit : 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. Signed-o

Re: [PATCH] linux-user/syscall.c: fix missed flag for shared memory in open_self_maps

2021-12-27 Thread Laurent Vivier
Le 27/12/2021 à 13:50, Andrey Kazmin a écrit : 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. Signed-o

[PATCH] linux-user/syscall.c: fix missed flag for shared memory in open_self_maps

2021-12-27 Thread Andrey Kazmin
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. Signed-off-by: Andrey Kazmin --- linux-user/syscall.c |