]> 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:05:43 +0000 (10:05 -0400)
commitf1119657d82ee8c7c7d3fb624d6e98927e459402
tree7c24917f994a2e20b6ccd0dd3d19de6cc8d27d9a
parent0be693b3d5f1bda593a96ba3fcd5a31538b35781
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