Date: Wed, 5 Feb 2014 09:10:50 +0100 From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me> To: Shawn Webb <lattera@gmail.com> Cc: freebsd-bugs@freebsd.org Subject: Re: kern/181497: [kernel] [patch] Add ASLR feature to kernel Message-ID: <CA%2Bq%2BTcrFM0k83OFEwS5QpCy2HCvPcUWmuq9FpA__ov49WhBj1g@mail.gmail.com> In-Reply-To: <201402042000.s14K01eo021855@freefall.freebsd.org> References: <201402042000.s14K01eo021855@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 4, 2014 at 9:00 PM, Shawn Webb <lattera@gmail.com> wrote:
> The following reply was made to PR kern/181497; it has been noted by GNATS.
>
> From: Shawn Webb <lattera@gmail.com>
> To: bug-followup@FreeBSD.org,
> steven@roothosts.com
>
> I'm sorry, my patch actually wasn't right. It included other fixes I had =
> in my branch for other features and didn't include some of the other =
> ASLR bits. Attached is the right patch.
>
>
A kernel without PAX_ASLR option in configuraton file failed:
--- imgact_elf.o ---
/src/sys/kern/imgact_elf.c:606:20: error: unused variable 'pr'
[-Werror,-Wunused-variable]
struct prison *pr; /* For ASLR */
^
There is a missing #ifdef PAX_ASLR arround this line.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcrFM0k83OFEwS5QpCy2HCvPcUWmuq9FpA__ov49WhBj1g>
