On 06/09/14 11:43, Michael Orlitzky wrote:
On 06/07/2014 08:55 PM, Anthony G. Basile wrote:

When running with a pax kernel, you must enable EMUTRAMP in your Kconfig
and you must paxmark your python exe's with E.  Note: EMUTRAMP is on by
default and the ebuild automatically does the markings for you, so leave
the defaults alone.


Can linux-info.eclass be used to spit out a warning during a python emerge?

This,

   use hardened && CONFIG_CHECK+=" ~CONFIG_PAX_EMUTRAMP"

seems like a common pattern. With a little more ingenuity we can
probably have it check the running/installed kernel and not the USE flag.


Yes and no. I could add that as a warning but .... There is no guarantee that the kernel you are building under is the kernel you will be running under. So there's no way to warn against future stupidity. Or current stupidity if your running kernel and kernel sources are out of sync.

So I'm not a fan of linux-info.eclass.

--
Anthony G. Basile, Ph. D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
(716) 829-8197

Reply via email to