diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-02-28 14:16:04 -0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-03-09 19:22:09 +0100 |
commit | 3c5f6a5f888729f9fbc64211298f7c3e2fb42b64 (patch) | |
tree | 57a3beb81c854f26f87395e13ea7a2255375e33f /linux-user/sparc | |
parent | ebf9a3630c911d0cfc9c20f7cafe9ba4f88cf583 (diff) | |
download | qemu-3c5f6a5f888729f9fbc64211298f7c3e2fb42b64.zip qemu-3c5f6a5f888729f9fbc64211298f7c3e2fb42b64.tar.gz qemu-3c5f6a5f888729f9fbc64211298f7c3e2fb42b64.tar.bz2 |
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>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180228221609.11265-7-jcmvbkbc@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/sparc')
0 files changed, 0 insertions, 0 deletions