Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7405197rwp; Tue, 18 Jul 2023 15:03:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlGwUKGEpd/nTY7g+FT+e+AKZMN4gCz3KrjMqL/TsNKsrEmVmHX5BDma9veChr+PTvMrGthg X-Received: by 2002:a05:6a00:2d1d:b0:682:5a68:9846 with SMTP id fa29-20020a056a002d1d00b006825a689846mr20176040pfb.16.1689717820384; Tue, 18 Jul 2023 15:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689717820; cv=none; d=google.com; s=arc-20160816; b=TU13/rH6Tl709y5TCb/8BSrUVCJ6ZfOtgkSpsN4pD9tsx1uhD6+qCdoRDm3kQN5mdE JsGr94G32i0+fZKyF885LNyyq+nPT8Erw7aISZexvINLa7kjecL5IJyb338QfVvR2hV2 amXpbKn9nSq7xKhBEI/XeZ6GKGYIVt0lBB7P2NdARB1asuI1nyEXEdEwQqu20hOBol0i LOWehcNZk5NnHkvPXkEQyUTnqB++XTRn035pCLvz99x8Mdc1TwRgQbeZneEf2eK5ek3r Ee5tL499FO3D5RWFErTs4EXNL3xyrZYQEUn6a7dEI4AEz+eRY7NRf/QapN2i3ky5QNQt a4uw== 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=rNBgqhbwS3m6bM0Sx4mFuoy8DGUxjMTmWp+uII1JX8o=; fh=3VkAnw2GFeyY/u4dOw3KMhkgjRPAQ49pERzDlOh6PQo=; b=MdjuY8kkWKFp6W3LXo4WQnr3gX1UI3sZIDtmsH7Cs/QfUYnQeifcHsnHBN+b+aiWJk ufkAB5aFlCIMU+dek6DGuwlI8CbPv35ks6oIYnqe8+FYSYzNPR639RZPjNQoDzq3vY+y 1fyViwZTFA4sh4R9ZCgPzNhcQfKQWgln/lS1vOWRwp7AbiyoaBZCnzb3cpeoiea4fFf0 2a/5IM0ddYwqHU2Yv1QQUft5/oBw6brKMIYIM/u8ao4TnOOlV2E25CaxZ1hHBJYB0Btr fM7kG0iGnfUMsspTKrOuZmVrBBcRhv8GtkOGjkINop8zbasHgUxfbX9zo2eDHF6GUotw qkIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=BCrdpvT0; 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 j62-20020a638041000000b0055be457e535si2192787pgd.137.2023.07.18.15.03.28; Tue, 18 Jul 2023 15:03:40 -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=BCrdpvT0; 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 S231387AbjGRWCQ (ORCPT + 99 others); Tue, 18 Jul 2023 18:02:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbjGRWBn (ORCPT ); Tue, 18 Jul 2023 18:01:43 -0400 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D85E41FCE for ; Tue, 18 Jul 2023 15:01:27 -0700 (PDT) Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-765a5b93b5bso565419185a.3 for ; Tue, 18 Jul 2023 15:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1689717686; x=1692309686; h=in-reply-to:references:subject:cc:to:from:message-id:date:from:to :cc:subject:date:message-id:reply-to; bh=rNBgqhbwS3m6bM0Sx4mFuoy8DGUxjMTmWp+uII1JX8o=; b=BCrdpvT0EtYv8uEi5CZ4oBTiadWO0/j6QFw/wO1ORmRcpGPA1NfDg8IQNLTnx8tTXw hjAEx8OUhLv5LTdmIk/w+3BSZz2TiWaUBo9gCnTTlt2pdBe84wjDNubgJ5W8lC0P1YA+ XmD9Ivj+c19AEX9GJt64jWsKD9mBXPd9NjNX4vMDD+RjhUWlh98NBm9jzxyNnxsG8dQ2 7Wk2oRTbyDneRiUWrBeumiNQ7lA5fjz0tiSSoFl7AgyGNpwGFiiWyug9zgM+2yMOcIKt vm5PxFm4H7ijvkBQCyZjiqFiZzTUFvPvblq92ekFp+pAapsbmeMiXqJkKJ17wn8cpJVV 9+Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689717686; x=1692309686; 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=rNBgqhbwS3m6bM0Sx4mFuoy8DGUxjMTmWp+uII1JX8o=; b=QQ/Wbm9aQvYz4hGNBPrvrW9V2x9BNc/GZQbRjsliBjiW37G1hOWbRgSIshtB7iLDtR yA5m99UQOzW6yIpBi/if5CR1P8hd2CFMCIrEseZKqpwRhNdkLYfNty/caRekyTCfF+Rv Vu+DfcG9dGEAqBp8jnOo81aCiBuVUDSRDagQ4ZE8ERvePYB6JgeSeU38/Fbni8214eGd ciP74vzMjahPBxeLflikbeGh/pMv7+2ECsmbX9xmlBvoA4/8c0zkIlPgXCDIfJqIVTSV KqbqNH0NxGe/yW/FOLpzNS+bVhJ+PjrFIiRKlQYEiZzSPo2yFOMdtS6aXXcPV/JqXPGr 30IQ== X-Gm-Message-State: ABy/qLZYxjYDBkM+9sXuKgjodg0sO2US9JEL/rw8inXWD6lAQTaM3J2X MxLxf1KI2Q+OPGcyteh7Al6V X-Received: by 2002:ad4:514b:0:b0:62d:fddb:1856 with SMTP id g11-20020ad4514b000000b0062dfddb1856mr14051160qvq.43.1689717686374; Tue, 18 Jul 2023 15:01:26 -0700 (PDT) Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id w11-20020a0ce10b000000b006300722883fsm1024024qvk.33.2023.07.18.15.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jul 2023 15:01:25 -0700 (PDT) Date: Tue, 18 Jul 2023 18:01:25 -0400 Message-ID: <5b5dcaa8860c3cd3f40b63b855cecd96.paul@paul-moore.com> From: Paul Moore To: =?UTF-8?q?Christian=20G=C3=B6ttsche?= , selinux@vger.kernel.org Cc: Stephen Smalley , Eric Paris , Ondrej Mosnacek , linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 15/20] selinux: policydb: implicit conversions References: <20230706132337.15924-15-cgzones@googlemail.com> In-Reply-To: <20230706132337.15924-15-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 the identical type for local variables, e.g. loop counters. > > Signed-off-by: Christian Göttsche > --- > security/selinux/ss/policydb.c | 112 +++++++++++++++++++-------------- > 1 file changed, 65 insertions(+), 47 deletions(-) Loop iterators ... -- paul-moore.com