From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ondrej Mosnacek Subject: [RFC PATCH ghak10 v2 1/4] audit: Add AUDIT_TIME_ADJUSTED record type Date: Tue, 19 Jun 2018 15:58:58 +0200 Message-ID: <20180619135901.31473-2-omosnace@redhat.com> References: <20180619135901.31473-1-omosnace@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EA4915C558 for ; Tue, 19 Jun 2018 13:59:39 +0000 (UTC) Received: from mail-wr0-f197.google.com (mail-wr0-f197.google.com [209.85.128.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 80D0E81DE8 for ; Tue, 19 Jun 2018 13:59:39 +0000 (UTC) Received: by mail-wr0-f197.google.com with SMTP id r2-v6so14490688wrm.15 for ; Tue, 19 Jun 2018 06:59:39 -0700 (PDT) In-Reply-To: <20180619135901.31473-1-omosnace@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: Richard Guy Briggs List-Id: linux-audit@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 --- 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