| Summary: | Request to recompile libraries with -Wl,-z,relro flags | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Irina Boverman <iboverma> |
| Component: | attr | Assignee: | Kamil Dudka <kdudka> |
| Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | azelinka, jscotka, ovasik, pkovar, sgrubb |
| Target Milestone: | rc | Keywords: | EasyFix, Patch |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Prior to this update, the attr library was built without support for read-only relocations (RELRO) flags. With this update, the library is now built with partial RELRO support.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-07 13:07:19 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 584498, 727296, 846801, 846802 | ||
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Prior to this update, the attr library was built without support for read-only relocations (RELRO) flags. With this update, the library is now built with partial RELRO support.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1272.html |
This would be the fix: Index: attr.spec =================================================================== RCS file: /cvs/dist/rpms/attr/RHEL-6/attr.spec,v retrieving revision 1.37 diff -u -p -r1.37 attr.spec --- attr.spec 27 Jun 2011 16:11:30 -0000 1.37 +++ attr.spec 1 Aug 2011 19:31:25 -0000 @@ -95,7 +95,7 @@ autoconf %build # attr abuses libexecdir -%configure --libdir=/%{_lib} --libexecdir=%{_libdir} +%configure --libdir=/%{_lib} --libexecdir=%{_libdir} LDFLAGS="$LDFLAGS -Wl,-z,relro" make LIBTOOL="libtool --tag=CC" %check