From: Ondrej Mosnacek <omosnace@redhat.com>
To: linux-audit@redhat.com
Cc: Richard Guy Briggs <rgb@redhat.com>
Subject: [RFC PATCH ghak10 v2 1/4] audit: Add AUDIT_TIME_ADJUSTED record type
Date: Tue, 19 Jun 2018 15:58:58 +0200 [thread overview]
Message-ID: <20180619135901.31473-2-omosnace@redhat.com> (raw)
In-Reply-To: <20180619135901.31473-1-omosnace@redhat.com>
This auxiliary record type will be used to annotate the adjtimex SYSCALL
records with the information that the clock has been adjusted. This
record shall be emitted only when the clock is modified (including
changes that have no effect, e.g. adjust by zero offset, etc.).
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
---
include/uapi/linux/audit.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
index c35aee9ad4a6..d5aa26b02834 100644
--- a/include/uapi/linux/audit.h
+++ b/include/uapi/linux/audit.h
@@ -114,6 +114,7 @@
#define AUDIT_REPLACE 1329 /* Replace auditd if this packet unanswerd */
#define AUDIT_KERN_MODULE 1330 /* Kernel Module events */
#define AUDIT_FANOTIFY 1331 /* Fanotify access decision */
+#define AUDIT_TIME_ADJUSTED 1332 /* Clock adjustment event (aux for SYSCALL) */
#define AUDIT_AVC 1400 /* SE Linux avc denial or grant */
#define AUDIT_SELINUX_ERR 1401 /* Internal SE Linux Errors */
--
2.17.1
next prev parent reply other threads:[~2018-06-19 13:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-19 13:58 [RFC PATCH ghak10 v2 0/5] audit: Log modifying adjtimex(2) calls Ondrej Mosnacek
2018-06-19 13:58 ` Ondrej Mosnacek [this message]
2018-06-19 13:58 ` [RFC PATCH ghak10 v2 2/4] audit: Add the audit_adjtime() function Ondrej Mosnacek
2018-06-19 15:02 ` Richard Guy Briggs
2018-06-27 7:59 ` Ondrej Mosnacek
2018-06-19 13:59 ` [RFC PATCH ghak10 v2 3/4] timekeeping: Audit attempts to adjust the clock Ondrej Mosnacek
2018-06-19 13:59 ` [RFC PATCH ghak10 v2 4/4] [OPTIONAL] Determine read-only in the validation function Ondrej Mosnacek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180619135901.31473-2-omosnace@redhat.com \
--to=omosnace@redhat.com \
--cc=linux-audit@redhat.com \
--cc=rgb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox