Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5637877pxb; Wed, 26 Jan 2022 17:13:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwedAg1M/yZcz14KpdaOg1U4wwrtPkXaIIjkRqT8VujS/85MNJXFiOsWRkGCcBtDqJ4l6fr X-Received: by 2002:a17:903:32cb:: with SMTP id i11mr1088045plr.68.1643246036211; Wed, 26 Jan 2022 17:13:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643246036; cv=none; d=google.com; s=arc-20160816; b=I9pbmFnjsyvfkTUPuTqJVIMmYrY+G1IU+Z3Rlq+peran27GrygecfmnvYJghVYeCGk HRfJLtfi9SVY43MgET/WWZEO+6PxRbfFeyhe24+aUW9ynsTeOkUSNOUaeOYB+/pysXwU pavraKmdSvyd2hkIIg5Aa2SCFeNmV5wi2WyyRBjJzZD2ufPRVF7OGIdx2x2x2Po4v+bQ 9+kfKd+2L3hkq47DVPvTgTleSHeE6B/tlPeBqtwa2YIUzAVDioNLN+Di8FdNrUhUc6t6 711nyz58sczHGGhPwvsbjw9rxGeko7UiF5cJ/cD5R3566A5HgSoIetNLEzEwDrkH/Qz6 lDow== 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=sfddJG8Ne5pbCi0QrdlrjT/b50oZdx4/kvMtR32BLbo=; b=lLisQR9TvAU3l1Yyh9dGSQ3sF5zfYsZdwIiNlpu+yjXJ4eaKb2TgatKnGp+KWrs3BB tcKIYvPfflEHqYV2LCwW2sWDjcSodhKGskWaFteqXpjCaayBBtL34ML3x3PDWUyrHXmA sRGOOnJHa65Qkj617JwO8YQymPij5/ww3/SbInPDYIYU+r24ekhJfWiVPgG590mMMJ6I F8BoDOL/3j0NPANL984KPnMYkQGVbmxoMPYRrr6UVv8sMsvsaPif7fY9fEfoIKfh6U0F iSKr8u8dFEQeqlWTp1hagEbICLlyXIs15ecD76Q7X3k0oxA1SoeYxHmihZb/fNhlzO69 a/MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20210112.gappssmtp.com header.s=20210112 header.b=QIsyaeJL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si829916pfc.94.2022.01.26.17.13.44; Wed, 26 Jan 2022 17:13:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20210112.gappssmtp.com header.s=20210112 header.b=QIsyaeJL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231947AbiAZVVL (ORCPT + 99 others); Wed, 26 Jan 2022 16:21:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbiAZVVK (ORCPT ); Wed, 26 Jan 2022 16:21:10 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46113C06173B for ; Wed, 26 Jan 2022 13:21:10 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id o12so1216840eju.13 for ; Wed, 26 Jan 2022 13:21:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=sfddJG8Ne5pbCi0QrdlrjT/b50oZdx4/kvMtR32BLbo=; b=QIsyaeJL52rp+3sMUQ/8G9bavcWiwWOAPwduuNQzSJTmaE0wmWzJTUXcd6yb7OAw9N /LvLL61/LhqDvVMoD6KM2ou8xCPrVa4xBjQssw+d+82eO2Oa0qqbrJ92xIiA/Fe297Qa zq4y15SlqILN9HRRaHpiVKB2ZQcL2wllShwZl6avz7sIF7hIAEJBO1Mf/xbt3/Q2WHVV LhorNt5gACpE8aU7l7t6YWYZI5IwvludQu6R+YzDS910gZAbgs8gXHu0RWtMcnwX7JqA TFXPJsCamc9Sfz1aGZ8MmF8L77Hu24LMstwIWZb9AZfC9/6hX88Z9s7yMEg0Ird5Rcfi 3oDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=sfddJG8Ne5pbCi0QrdlrjT/b50oZdx4/kvMtR32BLbo=; b=TH2cuwnVpWubZxZRvnxkWPhtyRwulfhpcwl8WRex+dQgicZqgB5YxaBBA32h+KmfyO pqOKgro0EDToMWLKm4uZ19BOsvIPwVf9X9qZc5tixyXR5Cwyc2UwNkEHbqDAzOspzPsE EfCxn0eLn+zRVC/TKQvUAV1z+qfGnDJgWzswDq6fND+PB6Sm5GlbVX/q6X40RTKXgvD5 Ioa6TxDUF/onRNHixquigR5E/Zwwd8OSTz9PNBO2BZGJj7houvs20MXJlfl5lsyWa2IZ 4Co8/4Uq3mWzmiRDWHjfkaIRAIrba16nR2tm36wCGP3lpaDRshMznMSH4kuzKW5NgOsT KLbA== X-Gm-Message-State: AOAM533BmF8EjfgYiRjspgzk6G9wAhHaDNED9n40Ca1Va35Z4tpdeF76 btb4OrwZgRXhxIU1IPLEpe/GPGWJk922uMVd5Loj X-Received: by 2002:a17:907:3e1d:: with SMTP id hp29mr414495ejc.701.1643232068672; Wed, 26 Jan 2022 13:21:08 -0800 (PST) MIME-Version: 1.0 References: <20220125141422.32655-1-cgzones@googlemail.com> <20220125141422.32655-8-cgzones@googlemail.com> In-Reply-To: <20220125141422.32655-8-cgzones@googlemail.com> From: Paul Moore Date: Wed, 26 Jan 2022 16:20:57 -0500 Message-ID: Subject: Re: [PATCH 9/9] selinux: drop unused macro To: =?UTF-8?Q?Christian_G=C3=B6ttsche?= Cc: selinux@vger.kernel.org, Stephen Smalley , Eric Paris , Nathan Chancellor , Nick Desaulniers , Jiapeng Chong , Xiu Jianfeng , Jeff Vander Stoep , linux-kernel@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 25, 2022 at 9:15 AM Christian G=C3=B6ttsche wrote: > > The macro _DEBUG_HASHES is nowhere used. The configuration DEBUG_HASHES > enables debugging of the SELinux hash tables, but the with an underscore > prefixed macro definition has no direct impact or any documentation. > > Reported by clang [-Wunused-macros] > > Signed-off-by: Christian G=C3=B6ttsche > --- > security/selinux/ss/policydb.c | 2 -- > 1 file changed, 2 deletions(-) Merged into selinux/next, thanks Christian. This macro definition predates the move to git so there is no quick answer to "why is this here?", but my best guess is that it is an artifact of a developer "disabling" the DEBUG_HASHES macro by adding an underscore to the front. Regardless of the reason behind it, I agree it should be removed. --=20 paul-moore.com