public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* [RFC PATCH ghak10 1/3] audit: Add AUDIT_TIME_ADJUSTED record type
@ 2018-06-15 12:45 Ondrej Mosnacek
  2018-06-15 12:45 ` [RFC PATCH ghak10 2/3] audit: Add the audit_adjtime() function Ondrej Mosnacek
  2018-06-15 12:45 ` [RFC PATCH ghak10 3/3] ntp: Audit valid attempts to adjust the clock Ondrej Mosnacek
  0 siblings, 2 replies; 13+ messages in thread
From: Ondrej Mosnacek @ 2018-06-15 12:45 UTC (permalink / raw)
  To: linux-audit; +Cc: Richard Guy Briggs

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 04f9bd249094..d7dab9e94932 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

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-06-21 11:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-15 12:45 [RFC PATCH ghak10 1/3] audit: Add AUDIT_TIME_ADJUSTED record type Ondrej Mosnacek
2018-06-15 12:45 ` [RFC PATCH ghak10 2/3] audit: Add the audit_adjtime() function Ondrej Mosnacek
2018-06-18 18:39   ` Steve Grubb
2018-06-19  8:57     ` Ondrej Mosnacek
2018-06-19 20:52       ` Steve Grubb
2018-06-19 21:08         ` Lenny Bruzenak
2018-06-21 11:28         ` Ondrej Mosnacek
2018-06-15 12:45 ` [RFC PATCH ghak10 3/3] ntp: Audit valid attempts to adjust the clock Ondrej Mosnacek
2018-06-16 16:44   ` Richard Guy Briggs
2018-06-18  7:35     ` Ondrej Mosnacek
2018-06-18 15:14       ` Richard Guy Briggs
2018-06-19  8:30         ` Ondrej Mosnacek
2018-06-19 16:22           ` Richard Guy Briggs

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