dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone
b394b9
From 19b9d9197374c5811e32777ca70a32eef37a1fb0 Mon Sep 17 00:00:00 2001
b394b9
From: Karel Zak <kzak@redhat.com>
b394b9
Date: Thu, 7 Jan 2016 13:23:24 +0100
b394b9
Subject: [PATCH 65/84] hwclock: change audit message
b394b9
b394b9
The preferred layout is name=value for audit messages.
b394b9
b394b9
Upstream: http://github.com/karelzak/util-linux/commit/fbed7e09f826e7804e99522cc1dd3cf54c9cdb67
b394b9
Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=1296521
b394b9
References: https://bugzilla.redhat.com/show_bug.cgi?id=1296278
b394b9
Signed-off-by: Karel Zak <kzak@redhat.com>
b394b9
---
b394b9
 sys-utils/hwclock.c | 2 +-
b394b9
 1 file changed, 1 insertion(+), 1 deletion(-)
b394b9
b394b9
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
b394b9
index c7789c8..ac9294b 100644
b394b9
--- a/sys-utils/hwclock.c
b394b9
+++ b/sys-utils/hwclock.c
b394b9
@@ -1939,7 +1939,7 @@ void __attribute__((__noreturn__)) hwaudit_exit(int status)
b394b9
 {
b394b9
 	if (hwaudit_on) {
b394b9
 		audit_log_user_message(hwaudit_fd, AUDIT_USYS_CONFIG,
b394b9
-				       "changing system time", NULL, NULL, NULL,
b394b9
+				       "op=change-system-time", NULL, NULL, NULL,
b394b9
 				       status ? 0 : 1);
b394b9
 		close(hwaudit_fd);
b394b9
 	}
b394b9
-- 
b394b9
2.7.4
b394b9