]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64/linux*: add required header to get the constant value
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 25 May 2021 22:19:44 +0000 (01:19 +0300)
committerMark Johnston <markj@FreeBSD.org>
Wed, 26 May 2021 19:31:50 +0000 (15:31 -0400)
commitf32130a1955e40476fc3c15e4d32e80e32b7c42c
tree41e6e1faf5ec902d8343f988863d937fdf4ba73d
parentc690965773831b46f84a242b417372fc499302b4
amd64/linux*: add required header to get the constant value

Otherwise asm silently interpret it as the external global symbol.

Approved by: so
Security: FreeBSD-SA-21:11.smap
Security: CVE-2021-29628
Reported by: bz
Sponsored by: The FreeBSD Foundation
Fixes: 91aae953cb80

(cherry picked from commit a59f0285377aa3d61cccda64e9ade126ecb3d2d9)
(cherry picked from commit 876ffe28796c4a81fbedcdaa4d7e4527cd1c79c5)
sys/amd64/linux/linux_support.s
sys/amd64/linux32/linux32_support.s