HomeFreeBSD

Add an ldscript for amd64 kernel modules.

Description

Add an ldscript for amd64 kernel modules.

Use it to pad the text and read-only data sections to a 4KB boundary.
This will be used to enforce strict memory protections for some
sections of loadable kernel modules.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D21970

Details

Provenance
markjAuthored on
Reviewer
kib
Differential Revision
D21970: Add an ldscript for amd64 kmods.
Parents
rS353700: Implement NetGDB(4)
Branches
Unknown
Tags
Unknown