]> 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, 24 May 2021 14:06:16 +0000 (10:06 -0400)
commitef46ce0e29ac89daabe3e65efacd57eff02172c1
treefc013320f3cf45ecf900116622971a0e8222a215
parent22d340828e06818fb47e6034aadbd52a01795793
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")
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 60cb98a1bd2e4ea8fda532261f7211f5d4eba9c0)
sys/amd64/linux32/linux32_support.s