From mboxrd@z Thu Jan 1 00:00:00 1970 From: LC Bruzenak Subject: audit-viewer "comm" question Date: Mon, 04 Aug 2008 17:49:42 -0500 Message-ID: <1217890182.30693.417.camel@homeserver> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m74Mo0gx029487 for ; Mon, 4 Aug 2008 18:50:00 -0400 Received: from mail.magitekltd.com (rrcs-24-242-137-197.sw.biz.rr.com [24.242.137.197]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m74Mnmeq023823 for ; Mon, 4 Aug 2008 18:49:48 -0400 Received: from [24.242.137.194] (helo=[192.168.30.40]) by mail.magitekltd.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KQ8qS-0002q0-F1 for linux-audit@redhat.com; Mon, 04 Aug 2008 17:48:04 -0500 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Linux Audit List-Id: linux-audit@redhat.com 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@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@magitekltd.com