Bug 259968 - ASLR by default tracking PR
Summary: ASLR by default tracking PR
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: tracking
Depends on: 256477 259971 271081 249937 259969 259970 260303 268318 270038 270912
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-21 16:02 UTC by Ed Maste
Modified: 2024-09-18 23:41 UTC (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2021-11-21 16:02:24 UTC
ASLR is enabled by default for 64-bit images, as of

commit b014e0f15bc73d80ef49b64fd1f8c29f469467cb
Author: Marcin Wojtas <mw@FreeBSD.org>
Date:   Sun Oct 24 16:53:06 2021 +0200

    Enable ASLR by default for 64-bit executables

This PR is open to track issues related to ASLR, with some initially reported by lwhsu on freebsd-current:

> Thanks very much for working on this. FYI, there are some test cases
> seem to be affected by this:
>
> https://ci.freebsd.org/job/FreeBSD-main-amd64-test/19828/testReport/

I fixed the mkimg test failures in:

commit 036af1053acd6cae68c5fb6bed30508f2e40be13
Author: Ed Maste <emaste@FreeBSD.org>
Date:   Sat Nov 20 19:29:11 2021 -0500

    mkimg: zero entry in vhdx_write_metadata
    
    Otherwise _reserved might contain uninitialized data.
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2023-06-15 07:10:43 UTC
Hello Ed Maste,

Adding 2 more PRs to list.

Thanks
Comment 2 Justine Akehurst 2024-09-18 19:02:51 UTC
@emaste

Please add PR256477 to the tracking list.