Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7418853rwp; Tue, 18 Jul 2023 15:16:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlHyqY1+CIzg4rFY9PMjgBoh7kXjgar95AGuNjXUfA2aWrvJlFGcbN6rnDNw2gT6tbAqNrJS X-Received: by 2002:a17:902:a589:b0:1b9:c205:a876 with SMTP id az9-20020a170902a58900b001b9c205a876mr997621plb.29.1689718584083; Tue, 18 Jul 2023 15:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689718584; cv=none; d=google.com; s=arc-20160816; b=HaU+XLcNuUYMgZL1ZK/QhntS0+ABcHGnscDbu5hAZdM0b+RBWQsYTbHo8LL9EX6tAs I/PhH0azyyXXM8C4qWZajGPgle8Ed1x+I/D7t+AWwKvVHPw69bASkSDHb15Hmw0mf5r7 LisTd7ZDrVwKrnWXbGqpzPS43dzS91/X2dHzr/1i41TFr9zI4syQTT5P3sI3nyJgTFNH 5A1SMpQWeidNns/ihE7BZ7XblG8YviLWsdCIrzB2UYDZHPR/i38wKQ8n6aoEoRRdpPiY 1Nnh/aXiAqkS0IrrSO8azkSbeGbZlekYw79j0opE9K9WRyFDzkak5IjKlhPqMPLLI4PY zrDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:subject:cc:to:from :message-id:date:dkim-signature; bh=IGKUUeN2n3dLjiGz+5O+JqepftZ1VAcXJq+8NvA1EVE=; fh=zOdTh2zTjJiNrBG1kFVcf98gVI/1jQma2FGYQ18uIgo=; b=w/LX6VaffJtbUJkQ+KXYYVnt+22Bg7MH7/n7SxV/EgwPVQ0MZSLjDmuPndxQ1zm5ED d68YliO5LER/w313qiDogGuID2mAAX0Y7x7cQ+lFmJa9+uxIn5HMtAXd70N8Yf6JhecZ YzHv5KjXtbxaJNsP+4jqoF7YX8j170Pz3F0mejDFGoqqYv+Fm+pGw4SoJ2jCbTgKeiH5 7Vu3BUVZEmQHOoOxMlqlPs5zVrp9Wt4st/aozthayLvJW7R/VE4asQHqN+nSUFSIwOMn fkXWn5uzwAaf840RQctCrMzy+IxUig8+oxlEQzirmpPbgoXPSmDbHtsy1rANho98hLfP he8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=RbnJ+IOH; 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=paul-moore.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r7-20020a1709028bc700b001b9d335175asi2189302plo.292.2023.07.18.15.16.10; Tue, 18 Jul 2023 15:16:24 -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=@paul-moore.com header.s=google header.b=RbnJ+IOH; 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=paul-moore.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231351AbjGRWCJ (ORCPT + 99 others); Tue, 18 Jul 2023 18:02:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231215AbjGRWBk (ORCPT ); Tue, 18 Jul 2023 18:01:40 -0400 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E4FF1BF3 for ; Tue, 18 Jul 2023 15:01:25 -0700 (PDT) Received: by mail-qk1-x732.google.com with SMTP id af79cd13be357-7659c6cae2cso421817485a.1 for ; Tue, 18 Jul 2023 15:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1689717684; x=1692309684; h=in-reply-to:references:subject:cc:to:from:message-id:date:from:to :cc:subject:date:message-id:reply-to; bh=IGKUUeN2n3dLjiGz+5O+JqepftZ1VAcXJq+8NvA1EVE=; b=RbnJ+IOHqbT2TKTtSBpBMW4C0ByTCzV1VRxozZEvAF108KeOgc556eXV4TwKq2DYzf UbBygsD0+0WVPEnnMdoHq3nn1j/Q3B8JWIcMJWZY4YSH1hJ92aRHTEZMhdwx85KBvnJr +A3oLeLTQBJMSVvtp8/s7pg90W8xZZKtos6AF1qRG4MwiihX1lx+qbu5/IVmWuosya7j sZToCvuYx+NsakyogzHDaJzMtnyOAwSI7KrgAgC0IeayAlCkMUGFC1wS2IEh+gdEwYtM PBuWcCJ2HdythI6WxD+4ca5SnwwN1rHrjKz00Am/qrKhvwAnoKBVyMLl9vnuyzd0vSBy VaTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689717684; x=1692309684; h=in-reply-to:references:subject:cc:to:from:message-id:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IGKUUeN2n3dLjiGz+5O+JqepftZ1VAcXJq+8NvA1EVE=; b=UVr3vu/85fyyLTSIwlMajvfWynN7mUm+IYzr1aqTRakgssZUqIOg6eLUyn0aNkyQd8 HVaValjCZWcq0eGkoqPlJTpBag5DWYtfFbeLMk02j/CAJfpCSsCJuVnrFa2XqBryJ3YO MP9bgLO4cRsqQ8wBsDqcfMrHCJVMlwHRqJSx3P8B1kWZF9VxOwhSUCSu4oO3gKqePc8u hYdjYXr1pd13OH+G8ouNZGHUUprAtdhBBC+JS837+jr6TrChvcEpMQvZTA8vw71ELLSJ HdNM+dkLZoJWsolZIVz/Q4q6jh/ROC77blwAjqrDt9LP6iJyrarjXjQYuv8AwFufWqtx UQSA== X-Gm-Message-State: ABy/qLaVOymNk/HWb17Xazkhro5QKXALlgW177ycJmFJYI1zv9S9DiIF vMxZeSKuvoPevl45C6Dk48K7 X-Received: by 2002:a0c:f201:0:b0:62f:eb99:edc with SMTP id h1-20020a0cf201000000b0062feb990edcmr776824qvk.6.1689717684321; Tue, 18 Jul 2023 15:01:24 -0700 (PDT) Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id q10-20020a0ce20a000000b0062b35b691cdsm121280qvl.93.2023.07.18.15.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jul 2023 15:01:24 -0700 (PDT) Date: Tue, 18 Jul 2023 18:01:23 -0400 Message-ID: <7301f8baddb16f3e9e06a27172d6cecd.paul@paul-moore.com> From: Paul Moore To: =?UTF-8?q?Christian=20G=C3=B6ttsche?= , selinux@vger.kernel.org Cc: Stephen Smalley , Eric Paris , linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 13/20] selinux: selinuxfs: avoid implicit conversions References: <20230706132337.15924-13-cgzones@googlemail.com> In-Reply-To: <20230706132337.15924-13-cgzones@googlemail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,PP_MIME_FAKE_ASCII_TEXT, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham 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 Jul 6, 2023 =?UTF-8?q?Christian=20G=C3=B6ttsche?= wrote: > > Use umode_t as parameter type for sel_make_inode(), which assigns the > value to the member i_mode of struct inode. > > Use identical type for loop iterator. > > Signed-off-by: Christian Göttsche > --- > security/selinux/selinuxfs.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) No declaration of iterators inside loops please. -- paul-moore.com