From patchwork Wed Apr 12 09:06:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastien Buisson X-Patchwork-Id: 9677261 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 A8726601C3 for ; Wed, 12 Apr 2017 11:49:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E77F26CFF for ; Wed, 12 Apr 2017 11:49:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 800E52864F; Wed, 12 Apr 2017 11:49:59 +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=-3.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (smtp.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 1EFA326CFF for ; Wed, 12 Apr 2017 11:49:57 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.37,190,1488844800"; d="scan'208";a="4818601" IronPort-PHdr: =?us-ascii?q?9a23=3AT/FTeBIR2zyP5PCh79mcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgQK/X5rarrMEGX3/hxlliBBdydsKMazbOI+Py4EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPg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sL2cGzdhqWc1zywxdQ1V8MrHy5hyS41S?= =?us-ascii?q?d7kywsrqaF2yzO2evifgIdOmFXXGlikUvsIY+sgtAGQUencgkpmwGh5Uvh26db?= =?us-ascii?q?o6F/IHXJTkdTYyj6NWdiXbWstrCaec5A9IsosTlLUOS7eV2aTL/9ox8e0yz9BG?= =?us-ascii?q?tT3yo0eC+wupX+hRB6j3idLHlrpnrDZc5w3Qvf5MDbRfNJwDoGRTV3iSXQBlim?= =?us-ascii?q?JdWm4dWUl5DFsuCxTG+hUpxTcS/xwoOasyu3/2pqAQewn/qrgN3oDRA60TPn19?= =?us-ascii?q?ltTSjIqBf8YpL316ijKuJoYE1oBF7668pnFYBziZAwhIkR2Xgch5Wa4WEHnX31?= =?us-ascii?q?MdpFxaL0dGANSiITw97J/Ajl31VuLmiOx4L9UnWS3NFhaMW9YmIYwS899N1KB7?= =?us-ascii?q?uP7LBemit1uFW4pxrLYfdhhjcd1ecu6HkCjuERogUt0yGdDqoIEkVCJiPskBCI?= =?us-ascii?q?78y5rKVRf2uvdKS81Ex5nd+9Fr2CpB9TWGrhcJc4ASBw9tl/ME7L0HDr6YHrZt?= =?us-ascii?q?/QbckIux2XjRjAifNVKJQvmfoWnyZnPnj9vXI9we4hkRNuxY26vJSAK2h15KK2?= =?us-ascii?q?GANYNjnraMML4D7ti7pekdiM3420A5VhASsEXIHzTf6yCzISsunnNxySHzIipH?= =?us-ascii?q?ebHqDfHQCB50t8qXLADYyrPWmNJHYF1dViWAWdJEtHjQAKWjU1g4U0Fh6sxMP8?= =?us-ascii?q?cEd1/DYR6UDkqhFU0OJnKwH/UnvDpAevcjo0UIKQLAdS7gxZ+0jVMNCe7+JqEy?= =?us-ascii?q?FW5JKhqhaBKmuBZwRHFWsJQFCLB0j/Prmy4tnN6+uYB+q6L/TQeriOrOteV/mG?= =?us-ascii?q?xZ2xzotm4zaMNsKKPnZ8FfE73FRMXWxhEcTDhzoPUzAXlz7Kb8ODqhez4Ct3rt?= =?us-ascii?q?y48PTuQw/v65WABKZVMdV14R+2mb2DN+mShClnNTlYyokAxXjSyLgQxFQSkT1h?= =?us-ascii?q?dyGxEbQcsi7AVL/fmqlNABMAdixzMtFH47g73glXNs7Rksn12aJgjv4pF1dFUk?= =?us-ascii?q?Tsmtuzac0EOW29MUnIBEKMNLWGPjDE2d34YaamRb1XluVUuAW6uSyHHE/7IjSD?= =?us-ascii?q?iz7pWgihMeFWki6UIQdet5u7chZxDmjjV8nrZQenP99ylzE2xqc0hnzSP24GLT?= =?us-ascii?q?d8a19NrqGX7S5AhPV/AXZO7mJ9LeSflSaZ7vPYKo0KsftlAyR0kfhV4HImxLtU?= =?us-ascii?q?9i5EQOZ5mCzIrt5hu1umiPWAyiJ7UBpSrTZGnJmEsl5lNaXd95lAQmrE/AkX4W?= =?us-ascii?q?WLFRsFu8FpCsbxtKBUy9jPkr/zKThZ/t3I/cocHdXUKNmdPHsvKxXpBCXUDAwD?= =?us-ascii?q?TTKxMmHfnUNdmumI9nKJtpg6toTsmJ0WR7BAVVw1GfQaCkJ+EdMfPph4RTIknq?= =?us-ascii?q?SdjMIS4nq+thbRTt1Avp/bTvKSHenvKDGBgLZeaBsH2634IpoIO438w0xtdF96?= =?us-ascii?q?nIHQFErRWdBCuSphbwAurEVK6nh+QXU521j5ZQO1/H8TCfm0kwYqigt5ZOQh7i?= =?us-ascii?q?3s41A2J1XUois/i1MxmdL7jjCSazP+MKCwXYRKBCXurEgxLon3QwBrYg2uhUZk?= =?us-ascii?q?LivLR6pNj7t8cmBmkAnctoVVFv5YVqBEYxgQxeqLZ/oy11RcsSanxU5d6evDF5?= =?us-ascii?q?RiiBMgcYSwoHJYxwJjcNk1KLTKJKVX1VhfmLiBvjW02eAx2wIRPEcN8HmPdy4P?= =?us-ascii?q?tkwILqMmKDSo/+B27wyNhSdDcnAWV/U2uvJq6l89O+OYwi39ybFDNEGxOPGEL6?= =?us-ascii?q?6CoWfAj9SIQlQ+10MTiUZK4aV20d0ic0qIV0Ej1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= =?us-ascii?q?3YhmA7m4VcGux1Ykt3kGRDynE9tfBO54rl3bQjplY4qkqJ/9IZVdXndQ+IGBq1?= =?us-ascii?q?deiEhtKym5yZ5GJMFX7D8MWzxPoTuGsdu3T81D3tR2AIEQLddlvHf9A7hEOJmX?= =?us-ascii?q?o305oLDvzWXZ+z8kuleg2DqzA7O4T/5e/2AGAAopPXmeqk81A+sv6WrS81HNsl?= =?us-ascii?q?Fo/+hAHLSPi1t+oCplFJBUGjlJzWylL0h0THRer+VaL6HVftdAQ/UuYB+gIAYy?= =?us-ascii?q?Ffg40EyV5Ut0h2v2YzRutgtG/CDQRwk0WjMPgrj3nT0Rt9qqNiIERJJQdTUucS?= =?us-ascii?q?PFJByBmSxNuxZfcU5qUYgDAtlZ47EbwZdU/s3aREauLiEKQgdvOR8m3vpEi0FD?= =?us-ascii?q?qlmYdj7AAgayc/bArAF3d9+LrMG1NPT54BtHioT/ve8j+aUMW2GqlA+wTd3QtI?= =?us-ascii?q?LzqtqKtk6Se6jiKO28fWXNTD7SghCsnb0kFYXF/zDPMApHLJl30WAkbob8Bm7L?= =?us-ascii?q?JxtGO7kWJ05cVaBkd9pKvPxVZ8h5d6kX46NtAAyIRg/3Eoy1sPZGNkrTRSjZLy?= =?us-ascii?q?iZ6uy/up7T4qbARuj8fcGM3HHHQ79tPphm9zb7Havq0ZVE9UrywPtt8Vl6SVfe?= =?us-ascii?q?OSCbsNvhPh8L5NWldkb6op0pBy3ZD4ltn3f220FAc9YXQzew/5QGyZNZ73LwRv?= =?us-ascii?q?xk0kTpt+1S7bZk45Et47910ce0ObvSKfNCvE9iGBeUAgFq+YsxAGhjXW9eePQc?= =?us-ascii?q?KPHPcqQFlsDht/r4F7QJ5xGP/exWd8fHLVnbmsajEjGcVQBEnAAZpD4YNASczf?= =?us-ascii?q?mFm7RwScm/u+j0wUct40W6Lh4azbBi+YaE9bCOpO/MdRfRyqIEWqfyTMPpsrss?= =?us-ascii?q?o1+S5eEjlLMWeGx6eQunE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?q?3Nzpb1PdzVrOaXA/nez0QyZG5XSbsYYQLw54U/INE5QbnTEqVDsRQbH6g6T4Qr?= =?us-ascii?q?N33t+6FsMANzbgnRaay6g8nyvOKLZ4dbqGHN41I1LSfcpwcDxeKuQQx8dZCqiG?= =?us-ascii?q?34IIosSTJZs91tFhxmEZNIG8MEsQWqGIaUmKWhhN+q50N6uvMFsbbqCv/Uytu1?= =?us-ascii?q?xYNxUIZG5UaTJjbeGLFrglh5juS1mvrA1pjxCcX/edILTeR7Rm/FaqTaHoWkMT?= =?us-ascii?q?+OO9jze0hB87KG17J5SBqRbjjjX6WarC2kKOlk4UIjx4xjYuXTyD0t77fG2Nr9?= =?us-ascii?q?YG1VqTujrX6XO5tF8lPKHfbRUglXSfWb6mZlG7MYbY/v++cTPtwu2t+c4xN87D?= =?us-ascii?q?5aysuKP7ChrlPQ2kJ8bZ/bKVHm1Do5WYkLJhS/NlAhgXHYqnTbH3tcKsmkKc9w?= =?us-ascii?q?gNeaFBDt4FNxmW41bG5bBmXoXcuROXQc28+mZg2F7gFLD9EYkOOsZE44sLGySe?= =?us-ascii?q?lvOpVYluWqtKkHncxvKy7RWMhQJzvQI6NuPjpNEuXPo0AlYhEevLcuQIc1ZIaB?= =?us-ascii?q?IEccPUeezSP91xDC0Uzpd9C20qaGPjoW+G1dz73ZyThMuxW5ufGBj83hVbDZa4?= =?us-ascii?q?v2XOTTMCo+TTyaQy49EUO39lelofYEu+CYIWgHqFAOfi2SEBITprxordXIFW/T?= =?us-ascii?q?l+hjc4ELif2ZQC3wVjN3lLAzBidKskCMReAPFQ/IYH/9mGBcohCtJudQ/XL5aL?= =?us-ascii?q?2V3qhVW+sQAotIafCZRsXXdu1QJzcvjDUWJPizc8far7knzlKbBVceRq3J8kCO?= =?us-ascii?q?CVWbSeGGxi76GIASs5UwtwI29d/K2Cx6CaLFO/CYvTHquoq5ijuI/O7TTG8gZ2?= =?us-ascii?q?Qrj+8YRmqM2h9NLCcDEd5R8FrgRq+GelZkyGMiieUo3QQFPgt0TC5AyHpTyc2w?= =?us-ascii?q?EMRCVV8ZiiuEXfwdd1dxRGcr91KL+Rb1Z5oMtcb7SGpX979KQo0Yeqp7oLLLMb?= =?us-ascii?q?cdla56lAltpzY35mDEV14=3D?= X-IPAS-Result: =?us-ascii?q?A2ERAwAjE+5Y/wHyM5BcGwEBAQMBAQEJAQEBFgEBAQMBAQE?= =?us-ascii?q?JAQEBgyiBbI5smWWHdYYoOiqJelcBAQEBAQEBAQIBAmgogjMiDUYpLwEBAQEBA?= =?us-ascii?q?QEBAQEfAislAQEgAjcGAQ0OEgsBAgECCQIFEikICAMBHw4DAQUBCxgHCwUYBIl?= =?us-ascii?q?cAQMUAZw+P44IBQEcJgKCYQWDVAoZJw1WgmgBCwEdAgYShC+LLBEBhgEBBJBxj?= =?us-ascii?q?BmSY4pVJ4ZEAkiRcjOBFVh9CCUWIFaETA8cgXJmhnSCLgEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 12 Apr 2017 11:49:55 +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 v3CBnIaS030100; Wed, 12 Apr 2017 07:49:25 -0400 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 v3C98oMo112804 for ; Wed, 12 Apr 2017 05:08:51 -0400 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 v3C98lH6015588; Wed, 12 Apr 2017 05:08:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AIAgDY7e1YdMLAVdFcHAEBBAEBCgEBhT+ObJllh3WGaw6GFoN0VwECAQEBAQECEwEKCwwHJoYNARsdAQMSbhEBBQEjEol9AQMUAZw5P44IBQEcgwkFg1YKGScNVoJoAQEIIAIGCQEIhC+RPwWQcYwZkmOKVYZrAkiRcjOBFYFcJRYghSIPHIFyZokiAQEB X-IPAS-Result: A1AIAgDY7e1YdMLAVdFcHAEBBAEBCgEBhT+ObJllh3WGaw6GFoN0VwECAQEBAQECEwEKCwwHJoYNARsdAQMSbhEBBQEjEol9AQMUAZw5P44IBQEcgwkFg1YKGScNVoJoAQEIIAIGCQEIhC+RPwWQcYwZkmOKVYZrAkiRcjOBFYFcJRYghSIPHIFyZokiAQEB X-IronPort-AV: E=Sophos;i="5.37,189,1488862800"; d="scan'208";a="6013891" 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; 12 Apr 2017 05:08:47 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3A5BTAFRShbTBxOuXBpl+0pW3Qb9psv+yvbD5Q0YIu?= =?us-ascii?q?jvd0So/mwa6yYxCN2/xhgRfzUJnB7Loc0qyN4v6mADJLucfJmUtBWaQEbwUCh8?= =?us-ascii?q?QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6?= =?us-ascii?q?OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBS7oR/MusQXjoduNqI8wQbVr3VVfO?= =?us-ascii?q?hb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnY?= =?us-ascii?q?UAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhS?= =?us-ascii?q?waMTMy7WPZhdFqjK9DoByvuQFxzYDXbo+SL/dyYr/RcMkGSWdbQspdSypMCZ68?= =?us-ascii?q?YYsVCOoBOP5VoZTjqFQVtxS+HhWsBOLxxT9Om3T7wLA60+U6EQHd2wwgGc8FvX?= =?us-ascii?q?PPrNruKacSUPu1zLLPzTXFdf9ZxCry6I7TfxAupPGDR7Nwcc7LxUYzEAPFi0yd?= =?us-ascii?q?pIr4ND2WzuQAq3aX4/ZkWO61iGMqqxt9riWry8sykIXFm4YYx1/c+Sh3xIs5P8?= =?us-ascii?q?C0RFNnbdK+Dpdcqz2WO5FrTs4tRWxjpTw0xaccuZGheSgH0JQnyADba/yAa4WI?= =?us-ascii?q?5wjsVOeVITthnHJldq6ziw+88US9zuDxWdO40FlNripCndnMsm4C2wbP5ciAT/?= =?us-ascii?q?tx5kah2TCR2ADP8uxIP1w4mK7BJ5MiwrM8jIcfvEDdEiPshUn7iKCbel0h+uey?= =?us-ascii?q?6uTnZrvmpoWbN49xkgz+Kb8hmtG+AeQjKQgOWG6b9f6h27L++030W7pKjvgsna?= =?us-ascii?q?nYtJDWP9gUpqm8AwNNyIYs9w6/Dyu60NQfhXQHN0xKeBaGj4jvJlHPL+v1Deu/?= =?us-ascii?q?gluwkDdrwOrKPrv6AprXNHTDn7Dhfahl4U5G1AUz1cxf545TCrwZO/L8R1Txuc?= =?us-ascii?q?fEDh45LwO0w+HnBM971oMFQ22DGKCZMKTMsQzA2uV6J+iKeZ9Qozv2NuIk+++r?= =?us-ascii?q?iHg1hFsQVbem0IFRa32iGPliZUKDbj6khtYHDHdPvQckSuHuoEONXCQVZHuoWa?= =?us-ascii?q?84oDYhB8buForHR4awkJSdzSy7GdtQfWkABVeSQlnycIDRYPoGYTmOI8Jn2hYZ?= =?us-ascii?q?VKO6TIlpgQqkqQ7h0L1haObY/AUXsJvi0J5+4OiFxkJ6ziB9E8nIizLFdGpzhG?= =?us-ascii?q?5dHzI=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GBAAB/7e1YdMLAVdFcHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBhRSObJllh3WGKEMOhhaDdFcBAQEBAQEBAQIBAhABCgsMByYxgjM?= =?us-ascii?q?gD0YpLwEBAQEBAQEBAQEfAislAWABGx0BAxJuEQEFASMSiX0BAxQBnDk/jggFA?= =?us-ascii?q?RyDCQWDVgoZJw1WgmgBAQggAgYJAQiEL5E/BZBxjBmSY4pVhmsCSJFyM4EVgV0?= =?us-ascii?q?lFiCFIg8cgXJmiSIBAQE?= X-IPAS-Result: =?us-ascii?q?A0GBAAB/7e1YdMLAVdFcHAEBBAEBCgEBFwEBBAEBCgEBhRS?= =?us-ascii?q?ObJllh3WGKEMOhhaDdFcBAQEBAQEBAQIBAhABCgsMByYxgjMgD0YpLwEBAQEBA?= =?us-ascii?q?QEBAQEfAislAWABGx0BAxJuEQEFASMSiX0BAxQBnDk/jggFARyDCQWDVgoZJw1?= =?us-ascii?q?WgmgBAQggAgYJAQiEL5E/BZBxjBmSY4pVhmsCSJFyM4EVgV0lFiCFIg8cgXJmi?= =?us-ascii?q?SIBAQE?= X-IronPort-AV: E=Sophos;i="5.37,189,1488844800"; d="scan'208";a="5862676" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mail-pf0-f194.google.com ([209.85.192.194]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/AES128-GCM-SHA256; 12 Apr 2017 09:08:46 +0000 Received: by mail-pf0-f194.google.com with SMTP id i5so3802061pfc.3; Wed, 12 Apr 2017 02:08:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=mBDgGm5lRUIZ24AA5pwXh2pSs5K/JluuEKd0rivi0KI=; b=oMBEKsJhcbyZ/0+xpvmd4eeSbdCskgI3N+7dxJfnr/CzBTBn91X2YYhmQIyQnsomyl B17IXxCoKtNiiEXe64C0NJYJwJmQiN1ugT3oLQInOTR887WFGtEbkvjZNEd6M/PcrkQO oozMR4YLISJhRNqOpvKAIJqVR59qA4jTRI0inMQpLAxdhUcNaIhmmoYfcvupHWjhPTIQ KSjrvxdJbG7qx0vtYwKMLqN19PmjfL4NjL4vvHVcTb8FGQXp+XBI8SMCl/Brv5sEIZPm p4favPAgGaguE+016zi3ET/yuaQIVXgSEgUqNc0kl24DRIY70RuykG7qXgQJRjxo9M+S XdUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mBDgGm5lRUIZ24AA5pwXh2pSs5K/JluuEKd0rivi0KI=; b=fQ8g+WnPQpRQ05cc6l8HtIlMfwZoVnLnnIavcGrLxNUIEXRV17TCO2YADfv5IXPMZ+ kMlS5+Tj8B2lQ4+EdG1GgXoIyuhrv9of3QPq4MlVSxV6cDoPiMaOb0LBQYViXMIscMlu CFkcAgjZy6dO3vriHqh9JhdF9UpHIDZCnhzAUgugCStJykG8VPKceaSgSKxEt8lxWsUh DEbSDi7CdBwBYzrLENgfL84zCatycc2pu7Qo5f9qzxFcrFkV/oW5zptq9P9fj4FoPISx 2zNebj9QHxK5XB6cipQ5bAjedFdElUduXpOz4MxRzYEZoCRS/EAHUGUKsP3kBqtdQay+ h6dw== X-Gm-Message-State: AFeK/H29nOchei7s5aklZBlkEDjdz6QyTuxqui+aUUeiADyhtrPoPt10zaTjAIJW7xAWJw== X-Received: by 10.84.214.129 with SMTP id j1mr80630828pli.23.1491988125698; Wed, 12 Apr 2017 02:08:45 -0700 (PDT) Received: from ltest-vm7.localdomain (fs276ec80e.tkyc203.ap.nuro.jp. [39.110.200.14]) by smtp.gmail.com with ESMTPSA id 70sm14814591pfk.49.2017.04.12.02.08.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Apr 2017 02:08:45 -0700 (PDT) From: Sebastien Buisson X-Google-Original-From: Sebastien Buisson To: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, selinux@tycho.nsa.gov Subject: [PATCH] selinux: add selinux_is_enforced() function Date: Wed, 12 Apr 2017 18:06:58 +0900 Message-Id: <1491988018-4120-1-git-send-email-sbuisson@ddn.com> X-Mailer: git-send-email 1.8.3.1 X-Mailman-Approved-At: Wed, 12 Apr 2017 07:49:17 -0400 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: Cc: william.c.roberts@intel.com, Sebastien Buisson , james.l.morris@oracle.com, sds@tycho.nsa.gov MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP Add selinux_is_enforced() function to give access to SELinux enforcement to the rest of the kernel. Signed-off-by: Sebastien Buisson --- include/linux/selinux.h | 5 +++++ security/selinux/exports.c | 6 ++++++ security/selinux/hooks.c | 2 ++ security/selinux/include/avc.h | 6 ------ security/selinux/include/security.h | 1 + 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/include/linux/selinux.h b/include/linux/selinux.h index 44f4596..1007321 100644 --- a/include/linux/selinux.h +++ b/include/linux/selinux.h @@ -24,12 +24,17 @@ * selinux_is_enabled - is SELinux enabled? */ bool selinux_is_enabled(void); +bool selinux_is_enforced(void); #else static inline bool selinux_is_enabled(void) { return false; } +static inline bool selinux_is_enforced(void) +{ + return false; +} #endif /* CONFIG_SECURITY_SELINUX */ #endif /* _LINUX_SELINUX_H */ diff --git a/security/selinux/exports.c b/security/selinux/exports.c index e75dd94..016f1e2 100644 --- a/security/selinux/exports.c +++ b/security/selinux/exports.c @@ -21,3 +21,9 @@ bool selinux_is_enabled(void) return selinux_enabled; } EXPORT_SYMBOL_GPL(selinux_is_enabled); + +bool selinux_is_enforced(void) +{ + return selinux_enforcing; +} +EXPORT_SYMBOL_GPL(selinux_is_enforced); diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index e67a526..da2baeb 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -109,6 +109,8 @@ static int __init enforcing_setup(char *str) return 1; } __setup("enforcing=", enforcing_setup); +#else +int selinux_enforcing; #endif #ifdef CONFIG_SECURITY_SELINUX_BOOTPARAM diff --git a/security/selinux/include/avc.h b/security/selinux/include/avc.h index 0999df0..ff98351 100644 --- a/security/selinux/include/avc.h +++ b/security/selinux/include/avc.h @@ -19,12 +19,6 @@ #include "av_permissions.h" #include "security.h" -#ifdef CONFIG_SECURITY_SELINUX_DEVELOP -extern int selinux_enforcing; -#else -#define selinux_enforcing 1 -#endif - /* * An entry in the AVC. */ diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index f979c35..1e67e268 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h @@ -64,6 +64,7 @@ struct netlbl_lsm_secattr; extern int selinux_enabled; +extern int selinux_enforcing; /* Policy capabilities */ enum {