Skip to content
Snippets Groups Projects
Commit 4e00b7d8 authored by Stacey Son's avatar Stacey Son Committed by Warner Losh
Browse files

bsd-user: Implement shmat(2) and shmdt(2)


Use `WITH_MMAP_LOCK_GUARD` instead of mmap_lock() and mmap_unlock(),
to match linux-user implementation, according to the following commits:

69fa2708 linux-user: Use WITH_MMAP_LOCK_GUARD in target_{shmat,shmdt}
ceda5688 linux-user: Fix shmdt

Signed-off-by: default avatarStacey Son <sson@FreeBSD.org>
Signed-off-by: default avatarKarim Taha <kariem.taha2.7@gmail.com>
Message-Id: <20230925182709.4834-23-kariem.taha2.7@gmail.com>
parent f9bbe3cf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment