Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp847025img; Mon, 18 Mar 2019 16:02:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeE40/qBldgDaKCJj9xRXITnOsSSabLClW/wUHQUiZ2taCHlTV+xd8Ort9lQNiigYcFPpJ X-Received: by 2002:a17:902:968b:: with SMTP id n11mr22347689plp.316.1552950154410; Mon, 18 Mar 2019 16:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552950154; cv=none; d=google.com; s=arc-20160816; b=n9N/YEtd4M+p2vDl/PdiaPAtvteGeqfhBNaeyn7LxkZwY0R1uP2qo4giDYNEC9sirY Y0pgtlfSr0Wyd+QHQBdM12pMZbUd6C4vhOtE3vSO46WaYnup0l5euclH4rzRpm9s1vHW lPC/TVhB5E3mR46RhV2pCHed+si7bTSJZwlMnVyPqXptkZEWBjC3bxDueNt29KxTu+/S z/hrLsGxOu6wrHmK5n3Ss2KL4EpIEhQjkblW8eOSdkExMsOWWjg0ZUk5l+N5fUB64gQg /q0ZjGoh7IIZg+B4XpgVxvWXYNPosg9+oZ6mQCEV5I5DXUG/gVIapzYABgAM9m+dzg+D rFfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Z8VlcdzkPP9rEjYJUrCvcc+8S2RS2ZCPdchVlGZyIoM=; b=gb/RLtuktpeSrqL+vyuuwgNGuLbbLYsUenCV2cMz/98sbzg2VGo2RH9eVl11cPoAd9 kkT0gazQyS9Qoh7uvHXTL5dIDJbVX2igxbOGsmy+sp5JwANfM4f2RjX9jerbgZO25G01 Iyb+jThFEmYqXiW83eIpPVtMTm1KaNmYXAUCwbJqsb8KYHope50ak/evVXbRFWeFiTYH rnZ1B8b1BaUxII+TVPnrZc9SvzL51A1zk+Q22oinQjys/SPSGSEYXM9Q482/hg83ttXt fluCaMQz+kMUOmjJnk1Wy0bnYdwuGvhC4G63aYTGlKLkETkWgFXLTWow+2On1w7nrJA4 MC5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=yp64phMb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d33si10612655pla.315.2019.03.18.16.02.18; Mon, 18 Mar 2019 16:02:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=yp64phMb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727146AbfCRXAI (ORCPT + 99 others); Mon, 18 Mar 2019 19:00:08 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:35802 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726927AbfCRXAH (ORCPT ); Mon, 18 Mar 2019 19:00:07 -0400 Received: by mail-lf1-f66.google.com with SMTP id u21so2993966lfu.2 for ; Mon, 18 Mar 2019 16:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Z8VlcdzkPP9rEjYJUrCvcc+8S2RS2ZCPdchVlGZyIoM=; b=yp64phMbso1C4LUyfbEJXP5hjcsRxs7TjL6R3sA8DLSLIhkgVDGC4MVGQ+nCfLLeNg bITHUNNfILrq4ggA9fh8j/WcElpUwzWYCnqBD8zeOjPjqZjjjfDfynFlN/ouTZya3qs6 dAw6H1Ch46E5NOhCipj4NRtr5AThfamoD69D2mDmDZIK2eVuapaUZnnEqfjKRKt84RcP W1s3DkolLsUvK55OKQBV4xtwnBBUzZ8WpUDuzMoNFZk/4vPkK2QKqH9JskBm6D/mx3d1 ZN9jcFV6rY6/tYybATbdYSL8axqdSp1usUnqc1qbGR3ynIQOSzQ5sqsyBuwg0zJmUnmS 33Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Z8VlcdzkPP9rEjYJUrCvcc+8S2RS2ZCPdchVlGZyIoM=; b=uYoIIW4dtgyomgg04Q/wfNIClUMlb6GQBZjwX3ft4FKkMD7CIShcx1DAYyBhCptcWS q9asRQNn2rIQgMqjmrFft2EMAgiXU+vWmJIo5Aq2w0SWJNJ+OX2YmWKekYLGfKQZzwNu J90/kcZWJromcrhyFpiBIqWbU1zOO6WW+3616KdhpHsEMhjREoLepqo3ppVtEY4KtAPm SW/eJupqOxFFrQBriDL6PlJDc9i7IvDnLyIlTeDtvo3i98p8Yu/hA5/6ZewoBJv69VcM npRrCYFXCpNwJEWQn2VLeUNoIP+mEm3NZkZ8VoyOLfWmKKtngAC2azj+ivy1Z3W8zgRu M5lg== X-Gm-Message-State: APjAAAW5bmDP5U/VML9OSjjuh7FDsbI7x2GBwEfZ2n6wJJ4TwUJ5u6sp MBZzEXhgq3oBCTLKVLFb1CmY2djdRKeaNf6sutNm X-Received: by 2002:a19:ee11:: with SMTP id g17mr2483718lfb.117.1552950002818; Mon, 18 Mar 2019 16:00:02 -0700 (PDT) MIME-Version: 1.0 References: <20190312194758.6f411a8b@t440s.fritz.box> <30b42bae-2aef-071f-6d59-fda40d2e4ff2@tycho.nsa.gov> In-Reply-To: <30b42bae-2aef-071f-6d59-fda40d2e4ff2@tycho.nsa.gov> From: Paul Moore Date: Mon, 18 Mar 2019 18:59:51 -0400 Message-ID: Subject: Re: [PATCH] selinux: use kernel definition of PF_MAX in scripts To: Johannes Brechtmann Cc: Eric Paris , selinux@vger.kernel.org, Stephen Smalley , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 12, 2019 at 4:21 PM Stephen Smalley wrote: > On 3/12/19 2:47 PM, Johannes Brechtmann wrote: > > From 1892b9ff8045bac6fe166802b2d8a8a3111c1e0c Mon Sep 17 00:00:00 2001 > > From: Johannes Brechtmann > > Date: Tue, 12 Mar 2019 17:50:12 +0100 > > Subject: [PATCH] selinux: use kernel definition of PF_MAX in scripts > > > > Building selinux scripts of old releases on a current host fails with: > > > > In file included from scripts/selinux/genheaders/genheaders.c:19: > > ./security/selinux/include/classmap.h:245:2: error: #error New > > address family defined, please update secclass_map. > > > > Fix the issue by including linux/socket.h from kernel instead of > > sys/socket.h from host. > > > > Signed-off-by: Johannes Brechtmann > > Thanks, but already covered by > https://lore.kernel.org/selinux/20190225005528.28371-1-paulo@paulo.ac/ ... and as of right now, the fix has been merged into selinux/next. -- paul moore www.paul-moore.com