Skip to contentSkip to conversation

admin_dmesg.patch

refpolicy Daniel J Walsh 2 participants 3 messages Jun 2, 2010 – Jun 18, 2010

lore
Share & tools
lore
#2 lore raw
Quoted 9 lines · Christopher J. PeBenito
Quoted 5 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F14/admin_dmesg.patch

Abrt transitions to sosreport_t which transitions to dmesg_t

And leaks these descriptors.

It sounds like these should be dontaudit instead (?)

No I guess in this case leak is the wrong term. It is passing along an stdout which points for a file in its /var/run directory

abrt execs "sosreport > /var/run/sosreport/report.dat"

So we want to allow the dmesg output to get stored in this file.