Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2020 11:15:05 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Dewayne Geraghty <dewayne@heuristicsystems.com.au>
Cc:        freebsd-security@freebsd.org
Subject:   Re: ASLR/PIE status in FreeBSD HEAD
Message-ID:  <CAPyFy2BY7%2BREuYimQ076r8rHxg63BGz7S1FcxLbA4TMUs=BZxg@mail.gmail.com>
In-Reply-To: <d63d9bd6-ff27-4bff-71ae-36e0894fae04@heuristicsystems.com.au>
References:  <CAPv3WKfYyVnfNDTPOEN6TF_GjJr=ThdNeB1yMtTEoQoxEdHMDg@mail.gmail.com> <b57fd929-9776-5ff8-f7f6-91a1c8089da3@heuristicsystems.com.au> <CAPyFy2DErURgvKASUk_wghdPD=KA2KqT5Osczf7ZO4NFobFnsQ@mail.gmail.com> <d63d9bd6-ff27-4bff-71ae-36e0894fae04@heuristicsystems.com.au>

index | next in thread | previous in thread | raw e-mail

On Wed, 22 Apr 2020 at 02:10, Dewayne Geraghty
<dewayne@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.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2BY7%2BREuYimQ076r8rHxg63BGz7S1FcxLbA4TMUs=BZxg>