HomeFreeBSD

amd64/linux*: add required header to get the constant value

Description

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)

Details

Provenance
kibAuthored on May 25 2021, 10:19 PM
markjCommitted on May 26 2021, 7:31 PM
Parents
rGc69096577383: amd64: clear PSL.AC in the right frame
Branches
Unknown
Tags
Unknown