From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: [PATCH] audit: fix event coverage of AUDIT_ANOM_LINK Date: Thu, 29 Nov 2012 10:10:48 -0500 Message-ID: <30095411.WXacVxzAP7@x2> References: <20121128225744.GA11697@www.outflux.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121128225744.GA11697@www.outflux.net> 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@redhat.com List-Id: linux-audit@redhat.com On Wednesday, November 28, 2012 02:57:44 PM Kees Cook wrote: > The userspace audit tools didn't like the existing formatting of the > AUDIT_ANOM_LINK event. It needed to be expanded to emit an AUDIT_PATH > event as well, so this implements the change. The bulk of the patch is > moving code out of auditsc.c into audit.c and audit.h for general use. > It expands audit_log_name to include an optional "struct path" argument > for the simple case of just needing to report a pathname. This also makes > audit_log_task_info available when syscall auditing is not enabled so > an admin can make sense of the audit report (which would have only shown > path information, not process information). > > Reported-by: Steve Grubb > Signed-off-by: Kees Cook Do you have a sample record I could check? ausearch --start today -m 1702 --raw --just-one Thanks, -Steve