ASLR/PIE status in FreeBSD HEAD

Ed Maste emaste at freebsd.org
Mon May 4 15:15:21 UTC 2020


On Wed, 22 Apr 2020 at 02:10, Dewayne Geraghty
<dewayne at heuristicsystems.com.au> wrote:
>
> Thank-you for the pointer to elfctl.  Unfortunately it looks like I need
> to create the section in the image file, due to my: (for example)
>
> # elfctl -l /usr/bin/ztest
> Known features are:
> aslr            Disable ASLR
> protmax         Disable implicit PROT_MAX
> stackgap        Disable stack gap
> elfctl: NT_FREEBSD_FEATURE_CTL note not found
>
> on
> FreeBSD 12.1-STABLE #0 r359973M: Thu Apr 16 amd64 1201513 1201513

Ah, yes - r340701 needs to be MFC'd to stable/12 to make this work there.


More information about the freebsd-security mailing list