Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Disambiguation of "hardened" use flag and proposal for a new global flag "pax_kernel"
Date: Tue, 19 Jul 2011 03:51:45
Message-Id: 201107182350.52374.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: Disambiguation of "hardened" use flag and proposal for a new global flag "pax_kernel" by "Anthony G. Basile"
1 On Friday, July 15, 2011 06:51:42 Anthony G. Basile wrote:
2 > ewarn "We are disabling MPROTECT on the mono binary."
3 > sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i
4 > "${S}"/runtime/mono-wrapper.in
5
6 use:
7 sed -i \
8 '/exec/ itype -p paxctl >/dev/null && paxctl -mr "$r/@mono_runtime@"' \
9 "${S}"/runtime/mono-wrapper.in
10 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature