Gentoo Archives: gentoo-hardened

From: Michael Orlitzky <mjo@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] denied RWX mmap by layman
Date: Mon, 09 Jun 2014 15:43:22
Message-Id: 5395D610.4030202@gentoo.org
In Reply to: Re: [gentoo-hardened] denied RWX mmap by layman by "Anthony G. Basile"
1 On 06/07/2014 08:55 PM, Anthony G. Basile wrote:
2 >
3 > When running with a pax kernel, you must enable EMUTRAMP in your Kconfig
4 > and you must paxmark your python exe's with E. Note: EMUTRAMP is on by
5 > default and the ebuild automatically does the markings for you, so leave
6 > the defaults alone.
7 >
8
9 Can linux-info.eclass be used to spit out a warning during a python emerge?
10
11 This,
12
13 use hardened && CONFIG_CHECK+=" ~CONFIG_PAX_EMUTRAMP"
14
15 seems like a common pattern. With a little more ingenuity we can
16 probably have it check the running/installed kernel and not the USE flag.

Replies

Subject Author
Re: [gentoo-hardened] denied RWX mmap by layman Jason Zaman <jason@×××××××××.com>
Re: [gentoo-hardened] denied RWX mmap by layman "Anthony G. Basile" <basile@××××××××××××××.edu>