Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7422020rwp; Tue, 18 Jul 2023 15:19:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFCaoVSFJq1BsAk0n2qD3Zsn3EF48Vxv11CJKOLhBtoK4cpUsCNkJT6wWj3or8TnNu9qnx9 X-Received: by 2002:a05:6512:3414:b0:4fd:cdc6:3519 with SMTP id i20-20020a056512341400b004fdcdc63519mr708418lfr.44.1689718794443; Tue, 18 Jul 2023 15:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689718794; cv=none; d=google.com; s=arc-20160816; b=dUkYw1lAiB4ChxcqTOB0HkPMYO3D30PNty+BQT8Ui1E0RrFjE5Vb0NA8O/ybvKAm/C Pcr3kcbHal+aQAGRDSoKBZD/q/8b7A/a3XEHh58EXkav2rRP4XTTMe9gYDW4rvvWhN+I ndfcSp4dPF7gVbs9ijZDxF0r5UvPa68iUUZP5uTDG+Vz+Cq2DAanPgBDkSZjdqeNQXZx D9joUEK21ttwmI7Q0bW7wZFZrDE+VNZZpybm4t5qU1r+Hmds5U/TCyaumKeRmi/QMcKP WIrJRAAYcYK/T1jOlxnlvWdVfRP9Uf35RflBYRppHImD4lxOdWnRqMgWc+qMk/BjalvZ Dugg== 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=OhqKt40L8OqcLw8LjCrBqzYCuugFm8zkJphxDeUn8N4=; fh=zOdTh2zTjJiNrBG1kFVcf98gVI/1jQma2FGYQ18uIgo=; b=o63SNdu0cOPywRFut38FKpLEWYEFBfQQUziv30qd+6RY+hM0dULSoEZ+ZbgyMrLeLg JyPUw1MGF4C/BDDVfqCk1byQRc3/K/OxlSz3A90sDZFaU2X0L28fb7O3uMAgiKYgxg7l moUMYlRglUDkqknOni3WpnXF01tIg0Ogb7kjHBV2VPmUWdWoN/Y+dzurRVGRl6tD27i3 I9ong+KC3THAp8IJdXaHRT7Z+EEClL8XrmB36Jx/FIgSJQMY96q1zMGxIC1RRoCtKl2G O1TBvwMxFgKWrYsFjkXO+fm7rUdJm7esXzWNWbutMqje607TUQ/dqkPQpouOsSFaGG8Y rYEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b="A74w8Ia/"; 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 u8-20020a170906408800b0099a1fb56245si188504ejj.432.2023.07.18.15.19.30; Tue, 18 Jul 2023 15:19:54 -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="A74w8Ia/"; 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 S231355AbjGRWBk (ORCPT + 99 others); Tue, 18 Jul 2023 18:01:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231200AbjGRWBV (ORCPT ); Tue, 18 Jul 2023 18:01:21 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAADB19B5 for ; Tue, 18 Jul 2023 15:01:18 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-7679ea01e16so565241085a.2 for ; Tue, 18 Jul 2023 15:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1689717678; x=1692309678; h=in-reply-to:references:subject:cc:to:from:message-id:date:from:to :cc:subject:date:message-id:reply-to; bh=OhqKt40L8OqcLw8LjCrBqzYCuugFm8zkJphxDeUn8N4=; b=A74w8Ia/08u2KKgpEdKm/cB4wUc5lgnl5inl+w0GbhySy3LhwF2EATnxn98ZomdjxB y2yNP67zyDrxPfJbQCYtTp+36LSm2pvCZrTjyV/wY+z4hWumu/Ezy1AjpKk10cz/hwnr GHgTCEgzCf4NtjeHWFtoDhLM27ptVAWfvQa58bBTZcdkBIQcxd0YQBFkV60ya6fZ8mda nFGWuKE+lG2hRQ+WXuL9liQI34NpzlIvMLpiHcZ4PMf00y5DG66d8cYdFuI+srohbxyv VxAFONU2x71W3v1dlIaQMQNyffv9x2+nScWklSjvaMbw4RbOfMjoAE+Bs95dgyFmsgmw LqRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689717678; x=1692309678; 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=OhqKt40L8OqcLw8LjCrBqzYCuugFm8zkJphxDeUn8N4=; b=ZbKrRTjqKTJ3f7WoHcHiP5pYvndKkn4V0pGesXauru5lqLbBk7a22lqXBnuKLdX7up T7/hEHOELGFGVwM3WCYhxoKurZf1vBeDnJYoCN8AHavVPjBFgTBkGX9qn2xRfDT7wPzl GnMYj57zRoFkYCRwBrPmWpjMWH0qtTu+djT8T64o1wdiGDchF6vTRBkdWQcAoOgCTO8+ FyZq0+uqV6mmBYa7fVjWbR39cTReg9Wu1fmnsyzAxK2Cf1cKBdnYIe5hdf85nmRqABSZ 6p7oGKcwDqq57NK9G2c1wDbHq2lGcldIofZ1nUEwRY5GUWAY1VftkBym++Ct3K3B79jF Sb4g== X-Gm-Message-State: ABy/qLYu5TM7eFBNSyuTX6yr479l6Tywp20/O0SdZ+ZBw2v9HBIx7bTk cfEBur/7MXRYskI/U0E1TMGX X-Received: by 2002:a0c:be8b:0:b0:636:a9a3:9035 with SMTP id n11-20020a0cbe8b000000b00636a9a39035mr12896162qvi.42.1689717677899; Tue, 18 Jul 2023 15:01:17 -0700 (PDT) Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id l18-20020a0c9792000000b006379c3f7895sm1036919qvd.52.2023.07.18.15.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jul 2023 15:01:17 -0700 (PDT) Date: Tue, 18 Jul 2023 18:01:16 -0400 Message-ID: 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 6/20] selinux: mls: avoid implicit conversions References: <20230706132337.15924-6-cgzones@googlemail.com> In-Reply-To: <20230706132337.15924-6-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=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 Jul 6, 2023 =?UTF-8?q?Christian=20G=C3=B6ttsche?= wrote: > > Use u32 for ebitmap bits. > > Use char for the default range of a class. > > Signed-off-by: Christian Göttsche > --- > security/selinux/ss/mls.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) Two words: "loop iterators" -- paul-moore.com