Bug 723921 - Add PIE and RELRO flags when building setuid programs
Summary: Add PIE and RELRO flags when building setuid programs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: shadow-utils
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Peter Vrabec
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 784349
TreeView+ depends on / blocked
 
Reported: 2011-07-21 14:47 UTC by Steve Grubb
Modified: 2012-01-24 16:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 784349 (view as bug list)
Environment:
Last Closed: 2011-12-06 16:27:56 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1650 0 normal SHIPPED_LIVE shadow-utils bug fix and enhancement update 2011-12-06 00:50:28 UTC

Description Steve Grubb 2011-07-21 14:47:05 UTC
Description of problem:
The shadow-utils program contains setuid programs. We would like them to be built with PIE and FULL RELRO support if possible. Partial RELRO is OK if all attempts at making it FULL RELRO run into problems.

Additional info:
PIE flags mean -fPIE -DPIE passed to gcc on compile
FULL RELRO requires these passed at link:
-Wl,-z,relro -Wl,-z,bind_now

Comment 4 errata-xmlrpc 2011-12-06 16:27:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1650.html


Note You need to log in before you can comment on or make changes to this bug.