[sudo-commits] sudo changeset 9884:f8df753736ad

Todd C. Miller Todd.Miller at courtesan.com
Tue Feb 10 10:10:19 MST 2015


changeset:	9884:f8df753736ad in /media/repos/sudo
details:	http://www.sudo.ws/repos/sudo/rev/f8df753736ad
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Feb 09 20:52:50 2015 -0700

Log Message:
	Restrict default creation of PIE binaries (-fPIE and -pie) to Linux.
	OpenBSD also supports PIE but enables it by default so we don't
	need to do anything.  This fixes problems on systems with a version
	of GNU ld that accepts -pie but where the run-time linker doesn't
	actually support PIE.  Also verify that a trivial PIE binary works
	unless PIE is explicitly enabled.

diffstat:

 INSTALL         |   17 ++++-
 NEWS            |    4 +
 TROUBLESHOOTING |    9 +++
 aclocal.m4      |   17 ++++++
 configure       |  157 +++++++++++++++++++++++++++++++++++++++++++++++++------
 configure.in    |   63 ++++++++++++++++------
 6 files changed, 225 insertions(+), 42 deletions(-)


More information about the sudo-commits mailing list