Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH git] add key,value delimiter to PATH record
@ 2006-06-14 22:42 Amy Griffis
  0 siblings, 0 replies; only message in thread
From: Amy Griffis @ 2006-06-14 22:42 UTC (permalink / raw)
  To: linux-audit

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 <amy.griffis@hpd.com>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-14 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-14 22:42 [PATCH git] add key,value delimiter to PATH record Amy Griffis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox