]> 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:38:41 +0000 (15:38 -0400)
commitbc74f783f9af4ae611abeb79533a18c274b87005
treea5db7ea976f9540f79a4882463756ac1038be71c
parentbb4435255df53118082b3567db6da100962b3822
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 b25bb77861640456a77fbf6f34cac4a3b69f0e5f)
sys/amd64/linux/linux_support.s
sys/amd64/linux32/linux32_support.s