cdown / rpms / util-linux

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