Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 158939 - Isn't a PIE
Isn't a PIE
Product: Fedora
Classification: Fedora
Component: audit (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Steve Grubb
Depends On:
Blocks: FC5Blocker
  Show dependency treegraph
Reported: 2005-05-26 19:45 EDT by Dave Jones
Modified: 2015-01-04 17:19 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-05 16:27:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dave Jones 2005-05-26 19:45:05 EDT
Daemons really should be built as PIE where possible, by passing -fpie -pie
compile flags.

lsexec shows auditd isn't built this way yet.
Comment 1 Steve Grubb 2005-05-27 08:39:09 EDT
I used to have it PIE, but debugging was not easy. Development work is nearly
over, I'll keep this open a little while longer to remind me to fix it. BTW,
there is nearly no risk for this daemon. Only root can run auditd & auditd only
takes input from /etc/audit.conf which is owned by root. It performs checks on
that file to make sure permissions are sane before reading anything from it. It
also reads from netlink only if sender is kernel.
Comment 2 Steve Grubb 2005-06-14 11:29:37 EDT
audit 0.9.4 is a pie executable. I don't have relro, is that needed?
Comment 3 Dave Jones 2005-07-05 16:27:17 EDT
(16:28:01:root@nemesis:~)# lsexec --all  |  grep aud
auditd, PID 26848: PIE, execshield enabled

Looks fixed :-)

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