audit-viewer "comm" question

LC Bruzenak lenny at magitekltd.com
Mon Aug 4 22:49:42 UTC 2008


After reading Steve's info about the "comm" field being clipped at 16
chars, I was surprised to see a longer string inside the audit-viewer
"comm" field.
I have taken a screen shot, but won't post it unless asked (it's 41K).
The "comm" field there is: "/usr/libexec/gnome-settings-daemon", which
of course is longer than 16 chars.

The same event in ausearch shows a NULL "comm" field, but the rest of
the info lines up with the GUI:

[root at hugo ~]# ausearch -ts today -i -a 126492
----
type=USER_AVC msg=audit(08/04/2008 16:04:24.152:126492) : user pid=23501
uid=root auid=unset subj=system_u:system_r:xdm_xserver_t:s0-s15:c0.c1023
msg='avc:  denied  { receive } for  comm=(null) event=X11:PropertyNotify
scontext=user_u:user_r:user_t:s0-s15:c0.c1023
tcontext=user_u:object_r:property_xevent_t:s4:c0,c2,c11,c200.c511
tclass=x_event : exe=/usr/bin/Xorg (sauid=root  hostname=?, addr=?,
terminal=?)' 

-- 
LC (Lenny) Bruzenak
lenny at magitekltd.com




More information about the Linux-audit mailing list