Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3157775rdh; Thu, 28 Sep 2023 04:37:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGpM2vp41gO03uicZC6X6DKbaAGXPQqsZiFA2IEUSwVuSu3imKTCAmPH1SLHVOVkxcJcjK5 X-Received: by 2002:a05:6808:1150:b0:3ab:8956:ada4 with SMTP id u16-20020a056808115000b003ab8956ada4mr1060893oiu.10.1695901051416; Thu, 28 Sep 2023 04:37:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695901051; cv=none; d=google.com; s=arc-20160816; b=xdwCV5G6FoAFOtd5v0NB95rAdkRjjVb9gYlQj+cK7dGmchKbs1yPFb43ENnOFCeg2F cEl6adtQIv1nsTrqT34EH08QaEMNXYMHiuoXSQAMfmKgHK1RZrmIkeI8bP80f9wMbI2k S15yeGSNPjc160S3WpZugPjhxWr2b7uzcDg1WYUr6ZTrNaAiqCK2s6RA4BK1OuVqFDsA 9Q0ZbzOFq3pS5S5YlaGGvNySHhwRyP+KY2NeVMRcsNi/DTELNokeRUJi8xFHfcCgDqJ3 /4RMDoYqgqX3Tp0QOAqHZo/rUcpRF2mM4vtudEELTzTBDWMCXQGtBxHeb3TFdZ3Mv/Ts wKmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kaEErbevJPVby2eGWTUnwD7McpVF2Psvmhenueqa8zU=; fh=WgBXh9+dqNJSmNIbMrHlim/mlb4wtn4DEPthgFovn4A=; b=E+bPWTmJUuE5+gowMosT8VNRhruYZg1VGlNCV1p9W/nyfMQc7+2wPmByoS6YtX8g4c Pzl76Xp//V604/namPsyI8ecscwoowbgFLvAMSATP9v0vCIz3BW54yNA9geSqsI3FiJ6 YbsTu/f3DBlDRUKoi5ywfN4WkP80t0K+GYDvkoBODiui8PQq9ZvdTa/YA5lARCaPDF5O s1OzpVAhE2S9lP03qnnaQfRT1HwOoT/mF6GzIxfg+hVPtDj9cdSGriEd8Vs1UxM/9dtx Qa5iaSU/4n5Bhl1kIxnpQQtkYuNvjjc4bLw4NFoUxHosuihhgAtdZnL3lLTk1+8TEZyS NMfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LKbza3JZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bk13-20020a056a02028d00b00584a4a5be67si7811084pgb.520.2023.09.28.04.37.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:37:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LKbza3JZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 95B9182AAC4C; Thu, 28 Sep 2023 04:24:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232529AbjI1LXp (ORCPT + 99 others); Thu, 28 Sep 2023 07:23:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232106AbjI1LXZ (ORCPT ); Thu, 28 Sep 2023 07:23:25 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F31CB30E6; Thu, 28 Sep 2023 04:05:53 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93135C4339A; Thu, 28 Sep 2023 11:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899153; bh=WVJs4r3gn56zBo47yqZI/s5Yoqse5Zyy37O4JYc3re8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LKbza3JZRSUAdtu/GjX1l2se+pcdi6B1agIk6YbWgnEjMfFnb0fBX9Ccw57h/EwVp nxPI/qEMicp0DmqTli8iGdhp56iW5KnID9GMhitMPWXAvWLPDrQYJlvfET7eOB6P3n RP9bGQ5yVoLBd8Wx1e7q/eFZeI+q4nKR4BrZw4lDt7BZYsp+URE9c3JehU5eRQF+xd 8GQO3r6ar7/zT8GGJ25AwSdRqDqBqgR5zE8TjkKcOY4A7fzBn9p7dfR6w901Cs0DDF ttZVyDpIoLFPfNLUtn/R8wfxpK1ETx0s2faFpFe8ZSCuBUDVJ2+9yCwX9Mj/8oLLrc 1IKETsFzHXJXA== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: selinux@vger.kernel.org Subject: [PATCH 83/87] security/selinux: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:03:32 -0400 Message-ID: <20230928110413.33032-82-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230928110413.33032-1-jlayton@kernel.org> References: <20230928110300.32891-1-jlayton@kernel.org> <20230928110413.33032-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:24:13 -0700 (PDT) Signed-off-by: Jeff Layton --- security/selinux/selinuxfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index 6fa640263216..6c596ae7fef9 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c @@ -1198,7 +1198,7 @@ static struct inode *sel_make_inode(struct super_block *sb, umode_t mode) if (ret) { ret->i_mode = mode; - ret->i_atime = ret->i_mtime = inode_set_ctime_current(ret); + simple_inode_init_ts(ret); } return ret; } -- 2.41.0