From patchwork Wed Dec 21 16:14:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Moore X-Patchwork-Id: 9483237 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B5D3A600C6 for ; Wed, 21 Dec 2016 16:14:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D1EF283FD for ; Wed, 21 Dec 2016 16:14:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91CBC28422; Wed, 21 Dec 2016 16:14:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 000F4283FD for ; Wed, 21 Dec 2016 16:14:50 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.33,384,1477958400"; d="scan'208";a="1761446" IronPort-PHdr: =?us-ascii?q?9a23=3An5wHSxGl0WAlVhs+YQcDg51GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ79pMi9bnLW6fgltlLVR4KTs6sC0LuN9fC6EjNbqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmsrgjdqMYajIlsJ60s1hbHv3xEdv?= =?us-ascii?q?hMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTD?= =?us-ascii?q?QhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlS?= =?us-ascii?q?kINyQ98GrKlMJ+iqxVqw+lqxBm3oLYfISZOfxjda3fYNwaX3JMUNtRWSJfDI2y?= =?us-ascii?q?bIUAAOUZPetasoXwqUcBoxSgCgm3H+7v1j1Fi2Xq0aEmyektDwfL1xEgEdIUt3?= =?us-ascii?q?TUqc34Or0IXuCoyKnD0DLNb/RR2Tfn9ofDbxcsoemJXbJ3dsrR01cgGhjfjlqO?= =?us-ascii?q?tIPlPyma1vgXv2eH6OpgUPuihmg6oA9yujii3togh4bGi44Pyl3I6D91zJg6KN?= =?us-ascii?q?GmUkJ3fMaoHIVMuyyeLYd6X80vT39ytConybALt4S3cDYJxZkh2hXRceaIc5KS?= =?us-ascii?q?7RLmTOuRJDB4i297d7+nnBay9FSgyvX7VsmpzFZGtipFncfItnAKzxHT9tKISu?= =?us-ascii?q?F8/ke8wjaDzRzT6+FYLkA0kqrXMZghzaIrlpUPq0jDGy72mEHugK+XcEUr5PSo?= =?us-ascii?q?5vz6brjpqZKQLY95hhzkPqgwlcGzH/40PhUWU2ie4+u81bnj/UPjQLVNi/07ir?= =?us-ascii?q?LZv47eJcQaoK65HgBU3p845Ba4Ejem1sgXkmccLF9eZBKGj5TmO1HJIPziC/e/?= =?us-ascii?q?mE6jnC1kx/DBIL3tGo/NIWTbkLf9YbZ97FZRyQoyzNBY4ZJZEbQBIPbqVk/wst?= =?us-ascii?q?zUFBk5PBauw+bkCdV9yJ0RVXiJAqCHLKPYqUWI6f43I+mQeI8Vvy7wJOM+6PLp?= =?us-ascii?q?iX85mEQdfbWy3ZcNc3C3AOhpL1+CYXXyhtcBEGEKvhcxTeHxlFKDUSRTZ2upX6?= =?us-ascii?q?4m6DA0Ep6mDZzERoCrmrCB2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VvmyKhA?= =?us-ascii?q?vqh/KHPTQUhQdSjsM25iSrewtqaFY8NX8JMnqzhXUOCmbV+AULLyuBwa0yf/H2?= =?us-ascii?q?tZwjA2bDSqton/nxx9lG2RNnBzo2TFecto3xfQ+MTcReJN3joBXCR4jD3XCkGi?= =?us-ascii?q?MNmv5tiUiYnMsuS6V22/TJ1fay/rwp2ctCGj/21lHQW/n+yvmt3gCQU60jH019?= =?us-ascii?q?9xVSjTrxbzfI/r17+8Me15YklkHlj869B1GotmiIs/mIkQ2WQGhpWS5XcHj2Hz?= =?us-ascii?q?PshA1KLganoCWD4Lz8TT4Af7xE1pNmiJyJ7hVnWB3sthYMG3YnsM1SIg68BHE7?= =?us-ascii?q?ub7L1YnSp1u1a4oxjeYf5nkjca0/su52YQg/sVtwo10iWdHrcSEFFCPSPxihuF?= =?us-ascii?q?9N++rKBYZWq1d7i/ylZ+l8i7DL6eugFcRGr5epA6EC9o9Mp/LVbM32Pr6o7+ft?= =?us-ascii?q?nQccwctgePnhfdlOhaNogxluEQiSp8PmL9oGclxPIlghxg2pG6poeHJHt38KK/?= =?us-ascii?q?HBFYKiX/Z9kP9TH1kaZegsGW0pihHpp7HDULQJzoTfezHTIcq/voKgGOECcmpX?= =?us-ascii?q?eDA7rfGg2f51l6oHLTCZyrMGuXJHYBx9V4WBadPFBfgBwTXDgikZ45FhylxNbh?= =?us-ascii?q?cUdh+jAR4UX1qh1SxeJ0LBnwTn3QpB+2ZTsuTpiQMgZW5BlY50jJKcye8v5zHy?= =?us-ascii?q?ZA852ktgONLmibaBpUDWEVQEOLHUvuPr+w6tnc6OiXGvCxL+PQbrmUr+xRSeuI?= =?us-ascii?q?z4q10oR65zaMKtmPPn56Av0hwEZCU2p1G8HDlDULTCwWlznAYNSHqxe54CF3qd?= =?us-ascii?q?q/8PvzUgL1+YSPE6dSMclo+x2uh6eDLfSfhD5hKTtD2JMMxGXIyKMD3F4ciiFu?= =?us-ascii?q?cSOiEbIcui7MVq3QnrVbDxkBayN8LMFI9b4z3hFROc7HjdP4zqZ4geAuBFhbU1?= =?us-ascii?q?zhm92pZcsRLmG8KlzIGliEOK6BJT3RzMH9ebm8RqFIjOVIqx2wvi6WHFL4Pjud?= =?us-ascii?q?jTbpWAqvPvtSjCyAJxxRooK9cgt3CWf5Vt7mbgC7MNltgj0s2LE0mnTKNW0cMD?= =?us-ascii?q?h7aU9NqKOf7T9AiPVlB2NB9mZlLfWDmyuB9OnXMIgWvuFkAitqjOJX+286xKFL?= =?us-ascii?q?7C5eS/x6hjDSosRoo164jumF0iBnXwZWqjZXmIKLul1vNr7Y9plPXnbE+gkA4n?= =?us-ascii?q?iOBBsRpttqENvvt7pXytjVm6L5MC1C/M7M/csAG8jUL9qKP2AuMRXzBj7bEhAI?= =?us-ascii?q?TTmzNW7BgUxdleud9nyRrpchrZjtl4ACSrhBVFw6DvkaEFhqHMQeIJdrWTMpia?= =?us-ascii?q?KbjMkN5XakthnRQ8RbsY7BVv2JG/XvLyiWjbpfahQUxrP4KJgcOZfg20x+cFV6?= =?us-ascii?q?mprFG1bIV9BXviJhdhM0oFlK8HVmTW0y20blZR227X8WEv60kBA2hRViYeQx9D?= =?us-ascii?q?fs5FI3KUTQqCs2jkYxhc3vgSqNfz7pMKewQYZWBjL1t0g3LpP0XQJ1YhO3nUN6?= =?us-ascii?q?KDfEXbJQgqBndWBzlgDcv55PFuRdTa1AexAQwv6Wa+8v0VRGpSWt3VVH6vfdCZ?= =?us-ascii?q?t+iAsqdoahr3Re1A15aN44Pq/QJK1SzlhMnK2OuDSo1uMwwAMEIUYC7n+ScjYS?= =?us-ascii?q?uEMULrkmOzao/ut05AyYhTRDY3YDWOAwov129kMwIP+PzyP607FeLUCxOfSfL7?= =?us-ascii?q?mHtGnAj8KIRE0/1l8QnUlf4bd2ydsjc1aTV0030bSREBIJNczfJg5La8pS9WPe?= =?us-ascii?q?cjyQvuXXxpJ5JYK9FvrnTeWWrqYbnlqkHBo1H4QL9skOA4Oj0F/ZLcj6N74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SVV9Bivw?= =?us-ascii?q?ecHUagAhuPGMyecW/uVyLU3+apEHIhgc0bL19WJVThdySL7xpluZUvgeZMF4R/?= =?us-ascii?q?PYrnBY8oZgK64TPFeDpJzltCpIqEssDA8vdrAwsiRQdlPSkw1NR6b0pLkAhxMT?= =?us-ascii?q?UdFnv09MBWWwOGU56zrcS6tViKiRCPoI8jScVaEOV1tnMjl+QhyvwplufaWmne?= =?us-ascii?q?xfuGNcgix9uOQq0yBhRBakvC3soKQN2S4v+L6mrzgBvH1FQf+YkyjWFVVCwvMK?= =?us-ascii?q?jb0fC3b581C8ZmcMbJfq6rl9Ocvg7ZUh42g4YRg7cC0JQf+gCzrpg62VDYKBtt?= =?us-ascii?q?NchBiQuMTBdrKzIi0SOa47yR39XXR91RLenBlw+msRXjqg9MMkJJm6Ocs9xCqo?= =?us-ascii?q?HmjbdFAW7qxVsMvxsUMLQ/Y3aFNgxmVjycuHRiwWSczRGmY1kBIraWFZf5JC8x?= =?us-ascii?q?MaEbcngiqQtKlc4g4UeCvUEpii+oTInMfIx2MyTdFxy2LSu62Km5Iq0Hp+m99u?= =?us-ascii?q?6S6OonsSffTCU8BwGnjzyptfyevmavWvrO8HRoVmyLC6Xf4MKMaj/3W52IlwVk?= =?us-ascii?q?+j2LseA0KzMPUfybfDTyelVWqYVPyEc2iImDY4PFD95R2sLlAsc8dKqEk9Mure?= =?us-ascii?q?iZJGkQ3uT690TD2KpVDH1GwjLf8adwUutYelewwLTPYRZ++YJegv3P0xFkABb3?= =?us-ascii?q?rIHStqEe+5r0ShnI9hO3Vv+U/6e/ji8hj6MNuOHRkJCZLarp90+fGhWmKBOGNv?= =?us-ascii?q?zB5sM0lw7evfEUo+tvNEeZaLgdfQn8h70fICd/p1NC09u90TmoFk6YSP0seFax?= =?us-ascii?q?LRzpH0Jd7LpPiUGfvfwFo2emtCSLoWfRv155kmPt4+Q7DcBqVWvRIABaUhW5wh?= =?us-ascii?q?M2Dx9L1oLANtbAHeea64gs7wpuKEf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XJK?= =?us-ascii?q?wQze4y3DJopSw1rySQAlBGgwKb7aXQBqN8x7xF5Wk+5f12WF+AQy/HeGjd1oWm?= =?us-ascii?q?E95PxTtpoX381crUueZtNL9BqoF8HlgFHCx2JtfH/T9dT274wg2ysAinHGfWHD?= =?us-ascii?q?VM+zsPJCoYZs5p3uR7t1DObd+H5kSO5Iw7r07+MQ+WDvKR35tRB4m9zQC/bjNG?= =?us-ascii?q?WS+mG5B/trBGk9NEMvBvXpS3H12Udlu2NQmfoS1ZsUGyrw=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2FiBwCFqVpY/wHyM5BdHAEBBAEBCgEBFwEBBAEBCgEBgwo?= =?us-ascii?q?BAQEBAR+BYYpAhAOiFopgJoV+A4FiUwEBAQEBAQEBAgECXyiCMxqCIwI3FCAOA?= =?us-ascii?q?wkCFwghCAgDAS0VHwsFGASISqsSKgKKZyaGNoIFhmYRAYV9BZABinaTLogtFwy?= =?us-ascii?q?GDId5ijpXaB8WDS6FfFSGKoIuAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 21 Dec 2016 16:14:49 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uBLGEInC014509; Wed, 21 Dec 2016 11:14:22 -0500 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id uBLGEG1H033572 for ; Wed, 21 Dec 2016 11:14:16 -0500 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uBLGEGAR014507 for ; Wed, 21 Dec 2016 11:14:16 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1DYAACFqVpYhxy3hNFdGwEBAQMBAQEJAQEBgzUBAQEBAYIAikCmGYZOhBkah2hTAQIBAQEBAQITAQEBCgsJCR2FQoEGBQImAkkpiGuYapAAgiiLOYELhSuCBYoYgl0FkAGKdpMuiC0jhgyHeYo6gV0WDYNBDFeCBiA0iFgBAQE X-IPAS-Result: A1DYAACFqVpYhxy3hNFdGwEBAQMBAQEJAQEBgzUBAQEBAYIAikCmGYZOhBkah2hTAQIBAQEBAQITAQEBCgsJCR2FQoEGBQImAkkpiGuYapAAgiiLOYELhSuCBYoYgl0FkAGKdpMuiC0jhgyHeYo6gV0WDYNBDFeCBiA0iFgBAQE X-IronPort-AV: E=Sophos;i="5.33,384,1477972800"; d="scan'208";a="5886880" Received: from emsm-gh1-uea10.corp.nsa.gov (HELO emsm-gh1-uea10.nsa.gov) ([10.208.41.36]) by goalie.tycho.ncsc.mil with ESMTP; 21 Dec 2016 11:14:15 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3A0jJsSx/FZOsezf9uRHKM819IXTAuvvDOBiVQ1KB5?= =?us-ascii?q?1e0cTK2v8tzYMVDF4r011RmSDN6du6gP1LGempujcFRI2YyGvnEGfc4EfD4+ou?= =?us-ascii?q?JSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgpp?= =?us-ascii?q?POT1HZPZg9iq2+yo9ZDeZwtFiCC+bL9sIxm7rwvcvdQKjIV/Lao81gHHqWZSde?= =?us-ascii?q?RMwmNoK1OTnxLi6cq14ZVu7Sdete8/+sBZSan1cLg2QrJeDDQ9LmA6/9brugXZ?= =?us-ascii?q?TQuO/XQTTGMbmQdVDgff7RH6WpDxsjbmtud4xSKXM9H6QawyVD+/6apgVR3mhz?= =?us-ascii?q?odNzMh7W/ZitJ+gqxYrh2vqBNw34HabZqJNPd8ZK7RYc8WSHBDU8tXSidPApm8?= =?us-ascii?q?b4wKD+cZJ+hXtZT9p18TphW5AgmsA/nvxSFVjXLxxa061uMhEQbc3AM+BN8Oqm?= =?us-ascii?q?rbo8j1NKgITeC51rXHzTLGb/5P3zr29YvGcgg5rP2SQb59ddDdxVQhGg/blFmc?= =?us-ascii?q?tI/oMj2P2ugTsGWW6fdrW/i1hG49sQ5xpyCixscyhYnNgYIY0lXE9CpkzIovP9?= =?us-ascii?q?23VlN0Yd6+H5tMrS2VK4x2QsY6T2FpviY11KEGtIalcCQWzJkr3QPTZvKZf4SS?= =?us-ascii?q?/x7uV+icLS1miH9mYL6/ggy98Umkyu3yTMm011NKozJdktnJsXAN0AbT5dacR/?= =?us-ascii?q?tn4EiuxDaP2BrP6u1ePU80kq/bJ4Y7wrEsjpoTrVjDHijulUXtkqCWckQk+u61?= =?us-ascii?q?6+Xoebjmup+dOJN0igH5KKgunNe/Dv4iPggBWGib57f06Lq25kD9QbNXntUqg6?= =?us-ascii?q?LZt9bcPs1dqamnUCFP1YN20x+iC3+D19MCkDFTNFdCfwiKp5LkN1HHPLbzCvLp?= =?us-ascii?q?0Afkqyti2/2TZu6pOZ7KNHWWyLo=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GiAgCFqVpYhxy3hNFdGwEBAQMBAQEJA?= =?us-ascii?q?QEBFgEBAQMBAQEJAQEBgwoBAQEBAYIAikCmGYZOhBkah2hTAQEBAQEBAQECAQI?= =?us-ascii?q?QAQEBCgsJCR0wgjMYgkeBBgUCJgJJKYhrmGqQAIIoizmBC4UrggWKGIJdBZABi?= =?us-ascii?q?naTLogtI4YMh3mKOoFeFg2DTVeCBiA0iFgBAQE?= X-IPAS-Result: =?us-ascii?q?A0GiAgCFqVpYhxy3hNFdGwEBAQMBAQEJAQEBFgEBAQMBAQE?= =?us-ascii?q?JAQEBgwoBAQEBAYIAikCmGYZOhBkah2hTAQEBAQEBAQECAQIQAQEBCgsJCR0wg?= =?us-ascii?q?jMYgkeBBgUCJgJJKYhrmGqQAIIoizmBC4UrggWKGIJdBZABinaTLogtI4YMh3m?= =?us-ascii?q?KOoFeFg2DTVeCBiA0iFgBAQE?= X-IronPort-AV: E=Sophos;i="5.33,384,1477958400"; d="scan'208";a="2179852" Received: from mx1.redhat.com ([209.132.183.28]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Dec 2016 16:14:15 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8544190227 for ; Wed, 21 Dec 2016 16:14:14 +0000 (UTC) Received: from [127.0.0.1] (vpn-49-53.rdu2.redhat.com [10.10.49.53]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uBLGEDEh004526; Wed, 21 Dec 2016 11:14:14 -0500 Subject: [PATCH v2] selinux: use the kernel headers when building scripts/selinux From: Paul Moore To: selinux@tycho.nsa.gov Date: Wed, 21 Dec 2016 11:14:13 -0500 Message-ID: <148233685348.23556.6766505841733321185.stgit@sifl> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 21 Dec 2016 16:14:14 +0000 (UTC) X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP From: Paul Moore Commit 3322d0d64f4e ("selinux: keep SELinux in sync with new capability definitions") added a check on the defined capabilities without explicitly including the capability header file which caused problems when building genheaders for users of clang/llvm. Resolve this by using the kernel headers when building genheaders, which is arguably the right thing to do regardless, and explicitly including the kernel's capability.h header file in classmap.h. We also update the mdp build, even though it wasn't causing an error we really should be using the headers from the kernel we are building. Reported-by: Nicolas Iooss Signed-off-by: Paul Moore --- scripts/selinux/genheaders/Makefile | 4 +++- scripts/selinux/genheaders/genheaders.c | 4 ++++ scripts/selinux/mdp/Makefile | 4 +++- scripts/selinux/mdp/mdp.c | 4 ++++ security/selinux/include/classmap.h | 2 ++ 5 files changed, 16 insertions(+), 2 deletions(-) diff --git a/scripts/selinux/genheaders/Makefile b/scripts/selinux/genheaders/Makefile index 1d1ac51359e3..6fc2b8789a0b 100644 --- a/scripts/selinux/genheaders/Makefile +++ b/scripts/selinux/genheaders/Makefile @@ -1,4 +1,6 @@ hostprogs-y := genheaders -HOST_EXTRACFLAGS += -Isecurity/selinux/include +HOST_EXTRACFLAGS += \ + -I$(srctree)/include/uapi -I$(srctree)/include \ + -I$(srctree)/security/selinux/include always := $(hostprogs-y) diff --git a/scripts/selinux/genheaders/genheaders.c b/scripts/selinux/genheaders/genheaders.c index 539855ff31f9..f4dd41f900d5 100644 --- a/scripts/selinux/genheaders/genheaders.c +++ b/scripts/selinux/genheaders/genheaders.c @@ -1,3 +1,7 @@ + +/* NOTE: we really do want to use the kernel headers here */ +#define __EXPORTED_HEADERS__ + #include #include #include diff --git a/scripts/selinux/mdp/Makefile b/scripts/selinux/mdp/Makefile index dba7eff69a00..d6a83cafe59f 100644 --- a/scripts/selinux/mdp/Makefile +++ b/scripts/selinux/mdp/Makefile @@ -1,5 +1,7 @@ hostprogs-y := mdp -HOST_EXTRACFLAGS += -Isecurity/selinux/include +HOST_EXTRACFLAGS += \ + -I$(srctree)/include/uapi -I$(srctree)/include \ + -I$(srctree)/security/selinux/include always := $(hostprogs-y) clean-files := policy.* file_contexts diff --git a/scripts/selinux/mdp/mdp.c b/scripts/selinux/mdp/mdp.c index e10beb11b696..c29fa4a6228d 100644 --- a/scripts/selinux/mdp/mdp.c +++ b/scripts/selinux/mdp/mdp.c @@ -24,6 +24,10 @@ * Authors: Serge E. Hallyn */ + +/* NOTE: we really do want to use the kernel headers here */ +#define __EXPORTED_HEADERS__ + #include #include #include diff --git a/security/selinux/include/classmap.h b/security/selinux/include/classmap.h index e2d4ad3a4b4c..13ae49b0baa0 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h @@ -1,3 +1,5 @@ +#include + #define COMMON_FILE_SOCK_PERMS "ioctl", "read", "write", "create", \ "getattr", "setattr", "lock", "relabelfrom", "relabelto", "append"