components/openssh/Makefile
changeset 5163 352d2c5134cf
parent 5066 7e7b4d607ab6
child 5308 f947e0b8b753
--- a/components/openssh/Makefile	Sun Dec 06 09:46:51 2015 -0800
+++ b/components/openssh/Makefile	Mon Dec 07 11:36:37 2015 -0800
@@ -70,6 +70,9 @@
 # libraries that it needs.
 LDFLAGS += -B direct -z nolazyload
 
+# Enable nxheap and nxstack security extensions
+LDFLAGS += -z nxheap=enable -z nxstack=enable
+
 # Just $(BUILD_64) option was not propogating the 64 bit flags to all the
 # necessary places. Hence the -m64 option is added to LDFLAGS for
 # CONFIGURE_OPTIONS.64.