]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux: Fix SMAP-enabled futex routines
authorMark Johnston <markj@FreeBSD.org>
Sun, 16 May 2021 17:41:41 +0000 (13:41 -0400)
committerMark Johnston <markj@FreeBSD.org>
Sun, 16 May 2021 17:42:08 +0000 (13:42 -0400)
commitfb580451456aa769daa2f4b2f077e39692f80c62
tree0c1dab87cf37ba197af29ac13cf6099d76fc0611
parent687e510e5ce32fddf46a9dc1d517ccc8a8e25581
linux: Fix SMAP-enabled futex routines

Some of them were dereferencing the user pointer before disabling SMAP.

PR: 255591
Reviewed by: kib
Tested by: pitwuu@gmail.com
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30276
sys/amd64/linux/linux_support.s
sys/amd64/linux32/linux32_support.s