24303566 proftpd should disable lazy binding to simplify chroot (fix comment)
authorJiri Sasek <Jiri.Sasek@Oracle.COM>
Thu, 25 Aug 2016 16:28:16 -0700
changeset 6700 1c5631bc6bd3
parent 6699 c08d869c3db7
child 6701 8f6824af31fa
24303566 proftpd should disable lazy binding to simplify chroot (fix comment)
components/proftpd/Makefile
--- a/components/proftpd/Makefile	Wed Aug 17 06:52:14 2016 -0700
+++ b/components/proftpd/Makefile	Thu Aug 25 16:28:16 2016 -0700
@@ -71,9 +71,9 @@
 CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
 endif
 LDFLAGS +=	-m$(BITS)
+# Force immediate (no-lazy) binding because of chroot() can loose the access into (/usr)/lib
 LDFLAGS +=	-z guidance=nolazyload -z nolazyload -lbsm
 
-# Force immediate binding because of chroot().
 CONFIGURE_OPTIONS +=	install_user=`id -nu`
 CONFIGURE_OPTIONS +=	install_group=`groups | cut -f 1 -d ' '`
 CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)