Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2279309rdb; Tue, 3 Oct 2023 16:42:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHvCTdUyAPnNCPl6vlJXP49fza1ax5rHMMUgkJNO7bzZ0IzOs1cxySxndpc3LpOBrfxp81U X-Received: by 2002:a17:90a:850b:b0:274:3d7d:e793 with SMTP id l11-20020a17090a850b00b002743d7de793mr716211pjn.47.1696376548549; Tue, 03 Oct 2023 16:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696376548; cv=none; d=google.com; s=arc-20160816; b=TFR8Un4E6o1cBq7sT9DHY8au+SgON+HXvGNqGQhrsFb20XRFfHkpk68x0UVJc2UzPl gdO3cFvqxnfipJBHBvlVLNxnMcOoM0MLhinaIyh3prNi3Jf1y8a/Wau8Do1b4lFjqhRp Nu8Rc+ne0g1+EkkXOrZJuS1e7stUEBoJtjc080EmC9vO39TUhguuHbfJQyTCYqR5855X PZVrsrtq5iAZasKTndEt31rqmpjkGEfQdXuJ2+AR4n12EeX11Dv0nnAeF/ECNIWPyRlz hwgT/w130X+MCWMhlV8XXncddQ/Vb1pyYoGRbPqhjGyI8Yy7i23su8Wp/KSvIyiZNGRK UV0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=7SjA75N+ejDLC45VlzVptLHxzNWXM0z0YjaVzLTZEJk=; fh=1eFkRpLD/tzAofpmbvHS7C3J43ZX9CCRsyRLvkLRO/A=; b=ykr3TRScjqobwREAGMYQ4pe6P962AuxiFkXQAbkhVOeWoiotZHF9DkChhXxGhbGeD+ TmU0xaYZjD62Je4Kciqiw2lv8KBy5GMkU2w0dKo7b67GjdjoLCTvknRhM5KU9I5C5YPG zqC2BzVlQOdv96K3CA5E0fj2/hYL9JuXBUX7M3xV4Z8MfPiUcH4Q7YBC9luTJReGimF0 OuSJVSzVcFx1ejRPEMgNeh4rZ4xlIXtwduIrQDk9wAsOFCnBEKX75Tz/4mfsh7Z2owUK jrbFlcEVBaxWrMytoEd09KlwI6w/QNE/03ZnF6k2eAQ7Vp/I35gJPZFC5Zsuy/OtSLHd nfLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=cauXbrqD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id mt12-20020a17090b230c00b002790b712b6asi327530pjb.39.2023.10.03.16.42.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 16:42:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=cauXbrqD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0D1588130F83; Tue, 3 Oct 2023 16:42:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237581AbjJCXmQ (ORCPT + 99 others); Tue, 3 Oct 2023 19:42:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238024AbjJCXmO (ORCPT ); Tue, 3 Oct 2023 19:42:14 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88259DC for ; Tue, 3 Oct 2023 16:42:05 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-d77ad095f13so1594558276.2 for ; Tue, 03 Oct 2023 16:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1696376525; x=1696981325; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7SjA75N+ejDLC45VlzVptLHxzNWXM0z0YjaVzLTZEJk=; b=cauXbrqDMYfBfIJdCkh//lgXTor8mD4MEg+eoTrnZG+HoNVuoSflTy46Zjd6p0zRb7 cmQXkgJLQqV55dTMe3O66wgOqHtWHbRdo2ImyrT2gMxb7/tob+KHH7xoMvB/Jd1Jy65E Xi76UuJ0KvjM1ysIHgrA+F+bc3HbSg19CiB6xGbceG8eQegggEUTrM3oZSZ1nEgjaMuq 8zwoLrnwTwXlL0GTgTxpJ/CjdEBaomlOQn8ZTrfpSpdDHGRlkUSSoc2Ofbv6bdM/T/iG jWFByrdJ+E1btZYv7b+0OedJAWnKdMrAx0+fv8P//ZFqS7ovjwdJfgknTyG58i1ZfZEQ 1Gyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696376525; x=1696981325; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7SjA75N+ejDLC45VlzVptLHxzNWXM0z0YjaVzLTZEJk=; b=tOostW5JM1aJelqVp4OQdXTTgA4/OOQkbDa2j93sMawlrNNUA3xvbwxFV/65na8LVr 1zGlEvcpEs1U2AffdkrABUgZD8c9SdYJPzBjWVanJdS4jGyOxX34u65dAgQMvcci6htr XSwhdjXzzhXuCP6z28+uHaaCiUyDdgx+jnpKFWrAce50+MAmXc5kwJdBo6dZj8AK/61/ Dtnxu0HOpshtE6HuRYYHzOYroNj+9tDs4l4Bd027CFXqFOcuiyXfOgydI+zj7PBqA63s ozOtR0rm0YSqA9g/RiUkLfKEEcoK+0xUFENOrXnZPaYCXi0FKJ3dTSGK0h18kTHkGbJU V+gg== X-Gm-Message-State: AOJu0YycwMo/K8TYofS3P3kR1rjS6dlJwM4OxGwLx6QaPGCB0wdhlyJ2 /9coVB9ajWqNz30FO2iI0hFXUPZiI718I7S4y6a5 X-Received: by 2002:a25:ab0b:0:b0:d7a:ea5b:a45 with SMTP id u11-20020a25ab0b000000b00d7aea5b0a45mr667291ybi.57.1696376524736; Tue, 03 Oct 2023 16:42:04 -0700 (PDT) MIME-Version: 1.0 References: <20230928110300.32891-1-jlayton@kernel.org> <20230928110413.33032-1-jlayton@kernel.org> <20230928110413.33032-83-jlayton@kernel.org> In-Reply-To: <20230928110413.33032-83-jlayton@kernel.org> From: Paul Moore Date: Tue, 3 Oct 2023 19:41:54 -0400 Message-ID: Subject: Re: [PATCH 84/87] security: convert to new inode {a,m}time accessors To: Jeff Layton Cc: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 16:42:24 -0700 (PDT) On Thu, Sep 28, 2023 at 7:22=E2=80=AFAM Jeff Layton wr= ote: > > Signed-off-by: Jeff Layton > --- > security/inode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Paul Moore > diff --git a/security/inode.c b/security/inode.c > index 3aa75fffa8c9..9e7cde913667 100644 > --- a/security/inode.c > +++ b/security/inode.c > @@ -145,7 +145,7 @@ static struct dentry *securityfs_create_dentry(const = char *name, umode_t mode, > > inode->i_ino =3D get_next_ino(); > inode->i_mode =3D mode; > - inode->i_atime =3D inode->i_mtime =3D inode_set_ctime_current(ino= de); > + simple_inode_init_ts(inode); > inode->i_private =3D data; > if (S_ISDIR(mode)) { > inode->i_op =3D &simple_dir_inode_operations; > -- > 2.41.0 --=20 paul-moore.com