|Summary:||Isn't a PIE|
|Product:||[Fedora] Fedora||Reporter:||Dave Jones <davej>|
|Component:||audit||Assignee:||Steve Grubb <sgrubb>|
|Status:||CLOSED RAWHIDE||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2005-07-05 20:27:17 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
|Bug Depends On:|
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 :-)