Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2770008pxb; Sun, 28 Feb 2021 12:42:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrmzLFlulgSK2ob/2j8XWf1opJar2vinZhgp4PDy2mdvf4ML4f8eJzD331SQRLXNC0OHX4 X-Received: by 2002:a17:906:c09:: with SMTP id s9mr12788379ejf.539.1614544962970; Sun, 28 Feb 2021 12:42:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614544962; cv=none; d=google.com; s=arc-20160816; b=UyvzNYc4kE1nGodLUFosPjeKFxX5iYUlBsv41J8nSGXporZnjqAaAyqC2HWlDq9/dN AkEO+5GNGY/RvOemuiMmMlx7Osp4n+AkXq7Bk2LDLMN7O3WbfOYFnWbBJlFwQF/CIq6y ZiWi8oyAXX5XluFwqfdvqkDoulsLzMSmT8gWZJvtZRXimDnFtIHQH3ix2Y5FTaHqjAP6 BM8wLHwH33avtHfGCB3mn7S3BAhzHGMG0WKPQRQbhk54pRaL1jzhJq1Z0igNRuUqoy9A OTNaHtLW69s1ho+jYXfb3NC90WefVfJ+GRtTZ5W4QGscPTYxNz5PWC3154Lul2J5V8yo BHqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WGackHlMqLcsa5EmwPJ7kiwHldPgT/RGt4PyODRzqNQ=; b=D3hEjwrccio5OEtmMe17/XLat2J4etvZkzKk5iwIU7b49Do31RkZTcY5+N9Jt14cTI FsYAIrxb5ndt8zgK8zFQaVhB2X5BzS+am5HoFe/FBjlLbyKIGkwXEqglgDrP492rwh4x XT7vFCRMGtWFi9R/7UZLLoKOE1MiZ/qdBmWbsrlSIE1JPlmZv03aTfoxRUcuf8CdOGzP rtxBPGhluvjKNfGWyKd94ZKcx82z6jB9VRAI2T7R1yUr8lSasRrf+hup4yskNdR6DUyV LP2mWqR+yrM6tESL0bWVn+OmZnIYsO+IseUhBH1CQTPWm2o5lu8nG6MOhfowUXhtbvlg cpEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="tM4tF/j7"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si10303405eje.365.2021.02.28.12.42.20; Sun, 28 Feb 2021 12:42:42 -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=@gmail.com header.s=20161025 header.b="tM4tF/j7"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231423AbhB1S54 (ORCPT + 99 others); Sun, 28 Feb 2021 13:57:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231376AbhB1S5w (ORCPT ); Sun, 28 Feb 2021 13:57:52 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C21CC06174A; Sun, 28 Feb 2021 10:57:12 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id w1so24157639ejf.11; Sun, 28 Feb 2021 10:57:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=WGackHlMqLcsa5EmwPJ7kiwHldPgT/RGt4PyODRzqNQ=; b=tM4tF/j7cMCJsiN0g+3jpfiK3Vu4+tkgCe4xasFo6/y6YYgVShfgLhYzeDIF5FAY5l Mo9bFRg8tHxu8ltzNuEByFEocFfgElUiSAtsKQKmr8KbyrdRLsdGSWXAAHl6y6vZpSNJ 14+O940l57cfDy5TI0FiukVbW/KkQKJytTyY65hjgCG2l0bAUQINEqREKWopN9zcK/RI k2b/Kci41lZEjKORJEtzzqq3YIN987WaLvkaQJBL8HQkQtyySHAfNz11wAa/Si3qnxAD X/tsWQP1nDeUhsbeqw7J5if27QLIA/5ByWjb/m6hAgZLCQbg/8au4OSl4qbY4V/GqmaS kSbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WGackHlMqLcsa5EmwPJ7kiwHldPgT/RGt4PyODRzqNQ=; b=ewGXkb/a6Bzz6Muf1MLPpxluDgtZAm0vgGZhh4l9UYmTZozkSVAGAefunoVunITSUE CeKqJwnLDdbZP6XZSqrKq2TjSataU6n6Kzv8HGxmqaQtPrgIdRDRt/nuWEwx0KCnfvMC OMC5kSVE5k9v0qM/jZv2jTrMk10H+8KjdXP1yASKEYhr1z5ydz7PnP7pz8F4yIbLsuvv RSxGXy+n+C5bTRe2cJo+/6OWWSMJdd798ZGwGS9/TrKAIUD8EWbE/bVBtr6zlP5tJ1Oi vhv2qDT1TvlwGxvFp6UH4uWtyf0bGtLZ6BrhSA/UcM8n9FY4pwHL1PEPs/9bsW0n0bbm M/0A== X-Gm-Message-State: AOAM532tWH9Y+asb3KlvKHCmLTRKAZt/Fm7yCRHdpkhcz8Lx3TTuVISb 1syjAtD4uINbiCcrdSCIQQ== X-Received: by 2002:a17:906:1ecc:: with SMTP id m12mr12786914ejj.4.1614538631112; Sun, 28 Feb 2021 10:57:11 -0800 (PST) Received: from localhost.localdomain ([46.53.249.223]) by smtp.gmail.com with ESMTPSA id r11sm11964176edt.58.2021.02.28.10.57.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Feb 2021 10:57:10 -0800 (PST) Date: Sun, 28 Feb 2021 21:57:09 +0300 From: Alexey Dobriyan To: Paul Moore Cc: Linus Torvalds , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Stephen Smalley , Eric Paris , selinux@vger.kernel.org Subject: Re: [PATCH 09/11] pragma once: convert scripts/selinux/genheaders/genheaders.c Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 28, 2021 at 01:37:41PM -0500, Paul Moore wrote: > On Sun, Feb 28, 2021 at 12:04 PM Alexey Dobriyan wrote: > > > > From 097f2c8b2af7d9e88cff59376ea0ad51b95341cb Mon Sep 17 00:00:00 2001 > > From: Alexey Dobriyan > > Date: Tue, 9 Feb 2021 00:39:23 +0300 > > Subject: [PATCH 09/11] pragma once: convert scripts/selinux/genheaders/genheaders.c > > > > Generate security/selinux/flask.h and security/selinux/av_permissions.h > > without include guards. > > > > Signed-off-by: Alexey Dobriyan > > --- > > scripts/selinux/genheaders/genheaders.c | 6 ++---- > > 1 file changed, 2 insertions(+), 4 deletions(-) > > My LKML subscription must have died at some point due to mail bounces, > or maybe I dopped it (?), because I'm not seeing the rest of this > patchset for context. > > However, unless the rest of the kernel transitions to this, or there > is some other big win that I'm missing, I don't see much of a reason > for this; can you provide some compelling reason for why we should > make this change? A quick search on "#pragma once" seems to indicate > it is non-standard, so why replace the simple #ifdef/#define solution > for this? See https://lore.kernel.org/lkml/CAHk-=wjFWZMVWTbvUMVxQqGKvGMC_BNrahCtTkpEjxoC0k-T=A@mail.gmail.com/T/#t