Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9734441rwd; Wed, 21 Jun 2023 11:05:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7OGV3vONQ52VbOpgiSiluLLQ/rkWH/9jBwl25QIkrIlpqBD2GJMv0yd6q/G/XJsWlbzyuM X-Received: by 2002:a9d:694f:0:b0:6b5:8b7a:552c with SMTP id p15-20020a9d694f000000b006b58b7a552cmr8056086oto.4.1687370721688; Wed, 21 Jun 2023 11:05:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687370721; cv=none; d=google.com; s=arc-20160816; b=p1kVmBg6w8rPzymTwoeoVcgaf+/O0C0327Oc/+XUd8YuUcC69tB/h+sfaKayJmBER0 MNjsAha93T/FbZ+1E2DX8zRa472lRL+odqGKzECCwv7Hc4+LjvhxtO2Eklp6o/ov6acw BZg25qE8JZJYRajPL/FI7z3pKaTH+vhGOTLbR46HvXi686XbJ2xtP+vQu5sai0StrsB9 FZzcgOVoTrBgt7oDVlqEhe3lOFmXKTQVkcSfDlBMxqP3OZB/3IpnXGushbLpxImM3ylv 9QyBJhhUA7PdlFTSZ699VEtYkTIamSzY7vhtYgEFBUvS9C+8KJgZSBLP9/1tV3h+8ZzK TF1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ul91Gz+yGEhmaOXTQJ2di/sLFzTVDLLuzrW8OhsrW9o=; b=U7TuZASD/LhYbsR2D7mVyCwgEF+ym8aGfeEq9hiRk5lEeN3DalWTGVpJyiK68vIvym h1KegHav6C98lriByQr6ONMdxoUTXRKMa9dbjz/tQsggM5JmiNCe1/o0ARQB+OUbLIQ8 XRtbRIob3bDLVWjtgyD8+oORtBWb2WFtW1Ql/YN93JKeaAhGbzP+JyigXmTX82x3KJvh MN4Y4+Q74D6VqQPFQujVZgtIcqHd26MGznBeqPTBfgNkxMNmKKRi5NS4KSc7cHa/2QcZ SANwq/nBHe+E6pB1kG/AQvee1dvxzJpC+qaggigDb4kHmxRr0L3MbEButKVfBjMWYrlF FbEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PN88XqpG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a6540cb000000b0053b8f80c63dsi4341657pgp.734.2023.06.21.11.05.09; Wed, 21 Jun 2023 11:05:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PN88XqpG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231765AbjFURwY (ORCPT + 99 others); Wed, 21 Jun 2023 13:52:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230260AbjFURwM (ORCPT ); Wed, 21 Jun 2023 13:52:12 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 825381FE2 for ; Wed, 21 Jun 2023 10:50:58 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-25ea0c44acdso3115225a91.0 for ; Wed, 21 Jun 2023 10:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1687369856; x=1689961856; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ul91Gz+yGEhmaOXTQJ2di/sLFzTVDLLuzrW8OhsrW9o=; b=PN88XqpGSql5ti6zvT6MUvr9iRN8qejKRO5qMqIuXMl4qKT/uKG4P1FmNIemZkRScj KsudeTVuvXIjTPV/yKqEfzwR1i99um4nsgTQ0U0KpdcF/BxGhOsbrldKHFhAe1mViIHK JWPqzFj8jkO0Mk5C1pG3VeABn0XA9qWSNdi9A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687369856; x=1689961856; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ul91Gz+yGEhmaOXTQJ2di/sLFzTVDLLuzrW8OhsrW9o=; b=PMwhNUcoVgCplDPHABGcQ93jA677WD6S6aVQfhmFZVGZVr2z6Un4OJtOCLeKzkicCr vTQmwripVjm/tqst3Xx+tj0qGbsQhgvhLMUvUFTKxlZbP5UQBM44XlJiAJX7yxQXTT0Y MaV2cFYqJd7UeXo0LiOmoprJYpGoP6XBZe2RGzDYxm2FSSNsQ91FjgKy5e+bMCsvUsO+ pM835wQE+z36k0kRj0qdghBzgCDgplgn9Bv+zKSXrn9vgymT/GZ/alhSEa7senXQx0/m M27oXrNw/SlnngYDewZKN9FvueUBaNgmy4xltq3UBn6bC2k9qp7LShxWZ8MBrWHaWh6B Cwzw== X-Gm-Message-State: AC+VfDx3pUwgvkgwZf6XjtIN18+nEIxLn+Y/jreXERXgNx9IxlkoCFMB B4sp9O1ZfWr0mdLMv2j34+/TkjXe3eLK8awDWHY= X-Received: by 2002:a17:90a:d908:b0:260:afef:7b6d with SMTP id c8-20020a17090ad90800b00260afef7b6dmr5982996pjv.39.1687369856294; Wed, 21 Jun 2023 10:50:56 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id x6-20020a17090a6b4600b0025bda194e5esm9179619pjl.31.2023.06.21.10.50.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 10:50:55 -0700 (PDT) Date: Wed, 21 Jun 2023 10:50:55 -0700 From: Kees Cook To: Jeff Layton Cc: Christian Brauner , Tony Luck , "Guilherme G. Piccoli" , Al Viro , Jan Kara , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 56/79] pstore: switch to new ctime accessors Message-ID: <202306211050.969F935BB8@keescook> References: <20230621144507.55591-1-jlayton@kernel.org> <20230621144735.55953-1-jlayton@kernel.org> <20230621144735.55953-55-jlayton@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230621144735.55953-55-jlayton@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 21, 2023 at 10:46:09AM -0400, Jeff Layton wrote: > In later patches, we're going to change how the ctime.tv_nsec field is > utilized. Switch to using accessor functions instead of raw accesses of > inode->i_ctime. > > Signed-off-by: Jeff Layton Acked-by: Kees Cook -- Kees Cook