Bug 784349 - 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: Fedora
Classification: Fedora
Component: shadow-utils
Version: 16
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 723921
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-24 16:20 UTC by Jeff Bastian
Modified: 2012-02-17 23:51 UTC (History)
4 users (show)

Fixed In Version: shadow-utils-4.1.4.3-13.fc16
Clone Of: 723921
Environment:
Last Closed: 2012-02-17 23:51:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeff Bastian 2012-01-24 16:20:23 UTC
+++ This bug was initially created as a clone of Bug #723921 +++

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 3 Fedora Update System 2012-02-13 11:25:15 UTC
shadow-utils-4.1.4.3-13.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/shadow-utils-4.1.4.3-13.fc16

Comment 4 Fedora Update System 2012-02-14 09:09:06 UTC
Package shadow-utils-4.1.4.3-13.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing shadow-utils-4.1.4.3-13.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1631/shadow-utils-4.1.4.3-13.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-02-17 23:51:16 UTC
shadow-utils-4.1.4.3-13.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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