HomeFreeBSD

Move PLTs to the beginning of amd64 kernel modules.

Description

Move PLTs to the beginning of amd64 kernel modules.

As with .text, the aim is to ensure that executable sections are
segregated from the rest, to avoid creation of writeable and executable
mappings. Recent versions of LLVM emit a PLT in firmware modules.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26444

Details

Provenance
markjAuthored on Sep 16 2020, 1:51 PM
Parents
rG6132212808e8: Temporarily skip sys.fs.tmpfs.times_test.{empty,non_empty} in CI
Branches
Unknown
Tags
Unknown

Event Timeline