/[smeserver]/rpms/openldap/sme9/openldap-security-pie.patch
ViewVC logotype

Contents of /rpms/openldap/sme9/openldap-security-pie.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Nov 11 00:46:15 2014 UTC (9 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: openldap-2_4_39-8_el6_sme, HEAD
Import openldap

1 Build slapd as position-independent executable (PIE) to take an advantage of
2 address space layout randomization (ASLD).
3
4 Author: Thomas Woerner <twoerner@redhat.com>
5
6 --- a/servers/slapd/Makefile.in
7 +++ b/servers/slapd/Makefile.in
8 @@ -263,7 +263,7 @@ slapi/libslapi.la: FORCE
9 (cd slapi; $(MAKE) $(MFLAGS) all)
10
11 slapd: $(SLAPD_DEPENDS) @LIBSLAPI@
12 - $(LTLINK) -o $@ $(SLAPD_OBJECTS) $(LIBS) \
13 + $(LTLINK) -pie -Wl,-z,defs -o $@ $(SLAPD_OBJECTS) $(LIBS) \
14 $(WRAP_LIBS)
15 $(RM) $(SLAPTOOLS)
16 for i in $(SLAPTOOLS); do \

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed