diff options
| author | Max Filippov | 2018-02-27 23:52:25 +0100 |
|---|---|---|
| committer | Max Filippov | 2018-03-13 19:30:22 +0100 |
| commit | 21b869a321871728077a5d0469a05f0d34041650 (patch) | |
| tree | d6962dde1e3f473f370fb4b2207d0e7591c0dfc5 /include/exec/exec-all.h | |
| parent | linux-user: fix mmap/munmap/mprotect/mremap/shmat (diff) | |
| download | qemu-21b869a321871728077a5d0469a05f0d34041650.tar.gz qemu-21b869a321871728077a5d0469a05f0d34041650.tar.xz qemu-21b869a321871728077a5d0469a05f0d34041650.zip | |
linux-user: fix assertion in shmdt
shmdt fails to call mmap_lock/mmap_unlock around page_set_flags,
resulting in the following assertion:
page_set_flags: Assertion `have_mmap_lock()' failed.
Wrap shmdt internals into mmap_lock/mmap_unlock.
Cc: qemu-stable@nongnu.org
Cc: Riku Voipio <riku.voipio@iki.fi>
Cc: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
