Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5806944imm; Mon, 27 Aug 2018 04:47:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaZ26Zj6xG77H+dXuhEWIgI4/VqM+XVfqm4aPkdeXcU+NR3WxNQbVZNvro2BMcdAv88IuBo X-Received: by 2002:a62:59d5:: with SMTP id k82-v6mr13870772pfj.143.1535370462298; Mon, 27 Aug 2018 04:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535370462; cv=none; d=google.com; s=arc-20160816; b=PRN5SGvIeerVwE69CldpazUc7Yo23pYM9ptcFyaay5m/mUtbMIbFB/nDS/dNugM/ql NiesKRdnb3ac5vRSZ+4qtn23uz0rtVvkfzHcOZozoJO3JTCe/wbe8q7B8AY7TCUU01Oy OaUA6eWQ0shVv3zaVkOQ3twS2TMhdnK9nz1EpfabU/nput5r4EJyM2nB+5wVyzjIUGBV EYS6iA5vm+YMBeHoyqng1CLx8zpsNKrp79bF13mG2+a5VCJE9gfeErgqyizy/S6ymAQb BtZLnp4SjYOZQ6pmL/tsGRbJcUntZE/5bUkfZOzZzmJyx1G5030EErXQyHYScDA1s6Q4 GlHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=YCMeC6HsKAnS3R29VsaWb4GpBLC8i9SS+f0QMS0c9Ho=; b=zLgXMetmkhnJ6kn3W5sdXl48rIefTJmt/Z3JfIAOBBwzzCcOnM0bl1y1UMpr/OT8ta HH9XhRqBJjfVQwroDZTW09Uapdecz40HscHj6mu/AxD68GM+/TP3CIwpvvjF6M/0JYrY oLFsgvS4BpW/zqBBArA3UgQW138N4Fv8gfWNvH0fsc6Z4NfV47VAttlwIYyuQJd6tvhn RYH3kGIiLk2lRUF5eIGEGu66xckB4iJSEyB5Hey1DjlYxCjM80EzAM1URw16vV7nG7Um ZiFH49vG2liKZCLGnHttF7cgp0SCSC0qegw+rGr4mKPDcwtWB1IvonqvqFmuL2sijPdp 9Ujw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7-v6si13636147plt.327.2018.08.27.04.47.27; Mon, 27 Aug 2018 04:47:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727402AbeH0Pc0 (ORCPT + 99 others); Mon, 27 Aug 2018 11:32:26 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:46050 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726931AbeH0PcZ (ORCPT ); Mon, 27 Aug 2018 11:32:25 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DE2CF804B9F1; Mon, 27 Aug 2018 11:46:05 +0000 (UTC) Received: from localhost (unknown [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2784F2026D6B; Mon, 27 Aug 2018 11:46:01 +0000 (UTC) Date: Mon, 27 Aug 2018 13:45:57 +0200 From: Miroslav Lichvar To: Ondrej Mosnacek Cc: Richard Guy Briggs , Linux-Audit Mailing List , Linux kernel mailing list , Stephen Boyd , John Stultz , Thomas Gleixner Subject: Re: [PATCH ghak10 v5 2/2] timekeeping/ntp: Audit clock/NTP params adjustments Message-ID: <20180827114557.GN27091@localhost> References: <20180824120001.20771-1-omosnace@redhat.com> <20180824120001.20771-3-omosnace@redhat.com> <20180824194703.h3mbuhrxzixmna4e@madcap2.tricolour.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Mon, 27 Aug 2018 11:46:05 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Mon, 27 Aug 2018 11:46:05 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mlichvar@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 27, 2018 at 01:35:09PM +0200, Ondrej Mosnacek wrote: > On Fri, Aug 24, 2018 at 9:51 PM Richard Guy Briggs wrote: > > It appears this time_tai use of "constant" is different than > > time_constant, the former not mentioned by Miroslav Lichvar. What is it > > and is it important to log for security? It sounds like it is > > important. > The TAI offset is the offset of the clock from the International > Atomic Time, so basically the time zone offset. I suppose it can't > influence the audit timestamps, but changing timezones can still cause > all sorts of confusion throughout the system, so intuitively I would > say we should log it. It's not related to timezones. ADJ_TAI sets the offset of the system TAI clock (CLOCK_TAI) relative to the standard UTC clock (CLOCK_REALTIME). CLOCK_TAI is rarely used by applications. Setting the TAI offset effectively injects a whole-second offset to the TAI time. -- Miroslav Lichvar