From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amy Griffis Subject: [PATCH git] add key,value delimiter to PATH record Date: Wed, 14 Jun 2006 18:42:49 -0400 Message-ID: <20060614224249.GA2253@zk3.dec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5EMh5XF027052 for ; Wed, 14 Jun 2006 18:43:05 -0400 Received: from ccerelbas01.cce.hp.com (ccerelbas01.cce.hp.com [161.114.21.104]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5EMh36X003176 for ; Wed, 14 Jun 2006 18:43:03 -0400 Received: from ccerelint01.cce.cpqcorp.net (ccerelint01.cce.cpqcorp.net [16.110.74.103]) by ccerelbas01.cce.hp.com (Postfix) with ESMTP id 73F1F341BC for ; Wed, 14 Jun 2006 17:42:50 -0500 (CDT) Received: from dill.zko.hp.com (dill.zko.hp.com [16.116.96.242]) by ccerelint01.cce.cpqcorp.net (Postfix) with ESMTP id 44AE634010 for ; Wed, 14 Jun 2006 17:42:50 -0500 (CDT) Content-Disposition: inline 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 Audit record key,value pairs must have a space delimiter. This fix applies to lspp.b19 commit 3ee74f8797418a46e40976f1f1c2bcd23ded95bf "log more info for directory entry change events" Signed-off-by: Amy Griffis --- kernel/auditsc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/auditsc.c b/kernel/auditsc.c index a2ad392..1c43dba 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -869,7 +869,7 @@ static void audit_log_exit(struct audit_ case 0: /* name was specified as a relative path and the * directory component is the cwd */ - audit_log_d_path(ab, "name=", context->pwd, + audit_log_d_path(ab, " name=", context->pwd, context->pwdmnt); break; default: @@ -879,7 +879,7 @@ static void audit_log_exit(struct audit_ n->name); } } else - audit_log_format(ab, "name=(null)"); + audit_log_format(ab, " name=(null)"); if (n->ino != (unsigned long)-1) { audit_log_format(ab, " inode=%lu" -- 1.4.0