]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux: Fix a mistake in commit fb58045145
authorMark Johnston <markj@FreeBSD.org>
Mon, 17 May 2021 02:17:53 +0000 (22:17 -0400)
committerMark Johnston <markj@FreeBSD.org>
Mon, 17 May 2021 02:23:14 +0000 (22:23 -0400)
commit60cb98a1bd2e4ea8fda532261f7211f5d4eba9c0
treef028a435f4ca43587cd43919f0b1843fff6db361
parent5b81e2e1bcdc2692044873e147f84b67e35e8dcd
linux: Fix a mistake in commit fb58045145

The change to futex_andl_smap() should have ordered stac before the
load from a user address, otherwise it does not fix anything.

Fixes: fb58045145 ("linux: Fix SMAP-enabled futex routines")
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
sys/amd64/linux32/linux32_support.s