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