Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2014 18:22:46 +0100
From:      Oliver Pinter <oliver.pntr@gmail.com>
To:        =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: kern/181497: [kernel] [patch] Add ASLR feature to kernel
Message-ID:  <CAPjTQNFp_G0x0EMTiOq3j9oviF-%2BwxKJM5Moky-DEM=TeSaENQ@mail.gmail.com>
In-Reply-To: <201402031550.s13Fo1xI092378@freefall.freebsd.org>
References:  <201402031550.s13Fo1xI092378@freefall.freebsd.org>

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

[-- Attachment #1 --]
try this patch, ontop of original patch

On 2/3/14, Olivier Cochard-Labbé <olivier@cochard.me> wrote:
> The following reply was made to PR kern/181497; it has been noted by GNATS.
>
> From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
> To: bug-followup@freebsd.org, steven@roothosts.com
> Cc:
> Subject: Re: kern/181497: [kernel] [patch] Add ASLR feature to kernel
> Date: Mon, 3 Feb 2014 16:46:47 +0100
>
>  --089e0160c5e4989c9f04f1826ff6
>  Content-Type: text/plain; charset=ISO-8859-1
>
>  I've try to patch 10.0 with the last attached patch, but it complains
>  because it didn't find file opt_pax.h (and I didn't see this file in the
>  patch).
>
>  --089e0160c5e4989c9f04f1826ff6
>  Content-Type: text/html; charset=ISO-8859-1
>
>  <div dir="ltr">I&#39;ve try to patch 10.0 with the last attached patch, but
> it complains because it didn&#39;t fin<span class="">d file opt_pax.h (and I
> didn&#39;t see this file in the patch).<br></span></div>
>
>  --089e0160c5e4989c9f04f1826ff6--
> _______________________________________________
> freebsd-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
>

[-- Attachment #2 --]
From f4c6ebcd27ac5d0540df33ec720f504fc3f41eec Mon Sep 17 00:00:00 2001
From: Oliver Pinter <oliver.pntr@gmail.com>
Date: Tue, 4 Feb 2014 18:21:33 +0100
Subject: [PATCH] hook in PAX_ASLR to config system

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
---
 sys/conf/options | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/conf/options b/sys/conf/options
index 642064d..6c11000 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -913,3 +913,6 @@ RANDOM_YARROW	opt_random.h
 RANDOM_FORTUNA	opt_random.h
 RANDOM_DEBUG	opt_random.h
 RANDOM_RWFILE	opt_random.h
+
+# PaX
+PAX_ASLR	opt_pax.h
-- 
1.8.5.2


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPjTQNFp_G0x0EMTiOq3j9oviF-%2BwxKJM5Moky-DEM=TeSaENQ>