Bug 158939 - Isn't a PIE
Summary: Isn't a PIE
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: audit
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steve Grubb
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC5Blocker
TreeView+ depends on / blocked
 
Reported: 2005-05-26 23:45 UTC by Dave Jones
Modified: 2015-01-04 22:19 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-07-05 20:27:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2005-05-26 23:45:05 UTC
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 12:39:09 UTC
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 15:29:37 UTC
audit 0.9.4 is a pie executable. I don't have relro, is that needed?

Comment 3 Dave Jones 2005-07-05 20:27:17 UTC
(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.