Bug 723921

Summary: Add PIE and RELRO flags when building setuid programs
Product: Red Hat Enterprise Linux 6 Reporter: Steve Grubb <sgrubb>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: mvadkert
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 784349 (view as bug list) Environment:
Last Closed: 2011-12-06 16:27:56 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: 784349    

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