diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-06-08 17:29:31 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-06-08 17:29:31 +0000 |
commit | 989e2c600051059839eb88abfc343a905caf37eb (patch) | |
tree | 770fe42f243492477db77896e2564375cd017ad4 /kerberos5/usr.sbin | |
parent | 14c8389ad08e251819c8c35fcaa75e0519595437 (diff) | |
download | FreeBSD-src-989e2c600051059839eb88abfc343a905caf37eb.zip FreeBSD-src-989e2c600051059839eb88abfc343a905caf37eb.tar.gz |
In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.
This is currently an opt-in build flag. Once ASLR support is ready and stable
it should changed to opt-out and be enabled by default along with ASLR.
Each application Makefile uses opt-out to ensure that ASLR will be enabled by
default in new directories when the system is compiled with PIE/ASLR. [2]
Mark known build failures as NO_PIE for now.
The only known runtime failure was rtld.
[1] http://www.bsdcan.org/2014/schedule/events/452.en.html
Submitted by: Shawn Webb <lattera@gmail.com>
Discussed between: des@ and Shawn Webb [2]
Diffstat (limited to 'kerberos5/usr.sbin')
-rw-r--r-- | kerberos5/usr.sbin/iprop-log/Makefile | 2 | ||||
-rw-r--r-- | kerberos5/usr.sbin/kstash/Makefile | 2 | ||||
-rw-r--r-- | kerberos5/usr.sbin/ktutil/Makefile | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/kerberos5/usr.sbin/iprop-log/Makefile b/kerberos5/usr.sbin/iprop-log/Makefile index 176012a..a5cb4f5 100644 --- a/kerberos5/usr.sbin/iprop-log/Makefile +++ b/kerberos5/usr.sbin/iprop-log/Makefile @@ -13,6 +13,8 @@ DPADD= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} \ LDADD= -lkadm5srv -lhdb -lkrb5 -lasn1 -lcrypto -lcrypt ${LIBSL} -lroken \ ${LIBVERS} -ledit +NO_PIE= yes + iprop-commands.h: iprop-commands.in ${SLC} ${.ALLSRC:M*.in} diff --git a/kerberos5/usr.sbin/kstash/Makefile b/kerberos5/usr.sbin/kstash/Makefile index 024e45d..9fc8101 100644 --- a/kerberos5/usr.sbin/kstash/Makefile +++ b/kerberos5/usr.sbin/kstash/Makefile @@ -10,6 +10,8 @@ LDADD= -lhdb -lkrb5 -lroken ${LIBVERS} \ -lasn1 -lcrypto -lcrypt ${LDAPLDADD} LDFLAGS=${LDAPLDFLAGS} +NO_PIE= yes + .include <bsd.prog.mk> .PATH: ${KRB5DIR}/kdc diff --git a/kerberos5/usr.sbin/ktutil/Makefile b/kerberos5/usr.sbin/ktutil/Makefile index f7d340f..3445fc6 100644 --- a/kerberos5/usr.sbin/ktutil/Makefile +++ b/kerberos5/usr.sbin/ktutil/Makefile @@ -22,6 +22,8 @@ DPADD= ${LIBKADM5CLNT} ${LIBKRB5} ${LIBSL} ${LIBROKEN} ${LIBVERS} \ LDADD= -lkadm5clnt -lkrb5 ${LIBSL} -lroken ${LIBVERS} \ -lasn1 -lcrypto -lcrypt -ledit +NO_PIE= yes + .include <bsd.prog.mk> ktutil-commands.h: ${KRB5DIR}/admin/ktutil-commands.in |