From patchwork Wed Apr 12 09:12:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastien Buisson X-Patchwork-Id: 9676899 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 2184760383 for ; Wed, 12 Apr 2017 09:13:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1269F28553 for ; Wed, 12 Apr 2017 09:13:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06F512858A; Wed, 12 Apr 2017 09:13:24 +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=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 25B5228553 for ; Wed, 12 Apr 2017 09:13:22 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.37,189,1488844800"; d="scan'208";a="4815463" IronPort-PHdr: =?us-ascii?q?9a23=3AMAAUBhxPGL4uR97XCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?1esfKPad9pjvdHbS+e9qxAeQG96KtbQd1aGP6ejJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMhTexe65+IRS5oQnMqMUdnJdvJLs2xhbVuHVDZv?= =?us-ascii?q?5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnM?= =?us-ascii?q?URGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LplRx/yjC?= =?us-ascii?q?cMKiA3/mfZhMdtiK5XuQ+tqwB6z4PSfYqbNudxfrnFcN0aW2RPQ8hfWS9GDIOk?= =?us-ascii?q?bYYDEuQMMulEoIfyuVQOtgCzBRWuCe711jNFnGP60bM83u88EQ/GxgsgH9cWvX?= =?us-ascii?q?rJstr6L70dUfupzKnJ0zrDae5d1Crg6IjJaRAhuvaMXbRtesfW0kkgDB7FjlSL?= =?us-ascii?q?qYz+ODOV0P4BvHWG4OpmTu+vhGsnpBtwojir3Msjlo7JhocMx13C6C53w541KM?= =?us-ascii?q?WlREN0btOoCptduzyAO4doTc4uXXtktDsixrAIvZO3ZjUGxIk7yxLFdfCLb5SE?= =?us-ascii?q?7gj+WOueJzpzmWhrd6ilhxmo9Eit0uj8Vs6p31lUtidFidzMtmwV1xzU98iHVu?= =?us-ascii?q?Nx/ke/1jaL0ADe8v1ELloularaNp4h2aQ8loYTsEvfHi/2n1/6jKmKeUU/5uek?= =?us-ascii?q?8eHnYrTippOENo90jB/xMrg2l8CiDuk1PRICUmiG9eimyrHu8lP1TK9XgvEul6?= =?us-ascii?q?nWqpHaJcAVpq6jBA9V154u6w2hADei0dQYm2QHLV1cdB2ciIjpJlfOL+zmAvek?= =?us-ascii?q?mFmsjDdqyOzGPr3mGJnNKGPDn637cbZy7E5c1hI/zcpD6JJMFrEBPPXzV1fztN?= =?us-ascii?q?zfCB82KRC0w+b9B9V7zY4eW2WPAqmcMKzIql+I+vwgI/OXZIMPvzb9Mfcl7eb0?= =?us-ascii?q?jXAlgV8dYbWp3ZwPZXC6HPRpO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MyUQXpmSqmS25zz?= =?us-ascii?q?xwlzEmsLGf0TfUzOv8bhoHPXRHRG54jVfjOYK0lcwVXFC0bwg1kxuo/Vj6x6lH?= =?us-ascii?q?q6RjKGnTW11EcDT2L2FlVKuwuaGPY8pO6JMuqypXSuO8bUqdSr7nrBsQyznjEH?= =?us-ascii?q?dGxDAnazGqvY30nxh7iGKGMHZ/tWHZdt90xRfe4tzcWPFQ0yEdRClgiDnXAFm8?= =?us-ascii?q?MMWy/dmOkZfMrPy+XXq7VpJPaSnr0Z+AtCyj6G1wBh2/m/SzlcP9EQcm1i/62c?= =?us-ascii?q?JnVT7VrBngeYnnzaO6MfhofkNwHl/z99J6Gp1ikos3nJwQwWIVhoiR/XYdi2j/?= =?us-ascii?q?K85U2aX6bHoRQj4LxcXY4A351E1lKXKG25j1VnODzct9f9O6eH8Z2joh78BWD6?= =?us-ascii?q?eZ9L9EkjVzolqjtg/RYuZynjEGyfso9nEan/sFuA03ziWSGroSB1VXPTTwlxSU?= =?us-ascii?q?6NCztLtXZGCyfrWrykp+m82uDLGYrgFaRnn5Zo8oHTVs4cVnLFLMzHrz55n8eN?= =?us-ascii?q?bKcNITsgaZnAvBj+hJKJM9j/QKijBhOW7nun0l0eE7hwR03Z6mpIiHN3lt/KWh?= =?us-ascii?q?Dx5CKzL6etge+j7ojadRhMqW2Z6gHol5EDURQJToVe6oEC4Vtfn/LwaBCiA8qn?= =?us-ascii?q?OFFrrHBwCf7ltmoGzVE52wKnGXP2cWzc95RBWHP0xfhx0UXC8mkZEnGACqw9bh?= =?us-ascii?q?cEhn6TwL4F73tAdMwPpyNxbjSmffuBuoajAsRZiRNhVW6B1C50DQMcGF4OJ8AT?= =?us-ascii?q?xX/pq7rAOXMmybfQNIDWMXVUOYG1DvJL6u5cPP8+KAHOqxM+POYamSqexZT/qI?= =?us-ascii?q?wIig0o9i/zmSKsWPImNtAOcg10pFQ395B9/ZlCkVRCwPiS3Bdcibqwmg+idvtM?= =?us-ascii?q?Cw7O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q09PII29e0bx+SIr?= =?us-ascii?q?yJpzE7m/T8CryE4vrWwaSCeyD9pBF+ZmvUrNVz1/fpCrro/pO5ZJT29R+Z2dqk?= =?us-ascii?q?tZn153Py6/15VcN9lH4iQQUzhXvTWdoNyyRdVC2c9wE58DPNN/tGn4GKxaJJiR?= =?us-ascii?q?uX03t6foyn/B5T88tlK6yy+yG6+8VO1Z+GIfFh8uJ2SEpUklF/Es/XvK8lDRrl?= =?us-ascii?q?B0+P9WBreVjUprpjZ9AotDBjdO1XGrKVRzUHlGvPtbKKTTb8xTXeMyaQWpOxMg?= =?us-ascii?q?Cf4sx1aJ8l1snXflfyxysRNX+zzaXwkxTiQVnqvhmTgFpc29Pz8VVY5IZy07by?= =?us-ascii?q?jZMwKbhTxXvBFHZkFqQZ8ZGMxK+7UG0oZP48XNV16sKTkbUxxmKA04y+BTlUlZ?= =?us-ascii?q?sEWXYSrdFxande7Tsh1resectMypLPPn8wpcl4zorvs4+LsZR326hwKiXMrSr4?= =?us-ascii?q?niud2WrkGObrv3M/WgYX/dSzjBlQu/hbk4AJXW/SXfLQRWJoJmxnojZJjuFXTE?= =?us-ascii?q?PQ9aJ64BIUpUS7x6Y81cou9Gf89kZLoJ+ah1CxKdWBzgBYyvo+NaLlvIQTTeKD?= =?us-ascii?q?uB/fKhrY3P6rzSVPbvataKx3nZX6J9Jo165iXjG7f2zY9e/VL72u929kNmU1fJ?= =?us-ascii?q?LjyBoc/6JgMM+cmibFftsYMvHTPKGpd/in7tyltHd8oNTC2g6I4Yx49B6HbsVe?= =?us-ascii?q?J41VD+sPFI97Z694Y4/qtkydqwJafOM/RVq1FnAhmTBgVu6JotHHJzR2dLYu8e?= =?us-ascii?q?MP3RZ7gWjdjyq+DrEKwa8ACa++pDZtbcOk7BnNOwBiubSRxekwcLsSQaIReE1/?= =?us-ascii?q?6Zh690Tt6operj1UI35Fi+NRoGw6pz5Yqf/6qIuevXbwfQzbcYW6jlXMXzrq82?= =?us-ascii?q?t0OV//0km6YEenZpbA2/DOgdSskdy3/iza8wyyIsHdnDH7X99/FdTH85gijvm5?= =?us-ascii?q?ZmH1URAP8UG6SE/ZhGlGcih+PZLsEWcrxFmmuXEx6kFqQPyX+t6yuSOmVlgxfO?= =?us-ascii?q?0x/qQWyp91/2sTV4QTbQwNf/j0pVTKe4CV1VXyqzNk9yqCmPMxbwtNrrpaQ161?= =?us-ascii?q?k7MmrltN2Rk2uhPKlYH9blKNydJik0o0kXjIYqS9yq1o0aFsCxINAL8HFxdvHe?= =?us-ascii?q?8X+kkzddo6dbgIrT+t2a9e/THXa+lK2at7WMxDdDx3gjoV4/686vNvfS592LWf?= =?us-ascii?q?ukzWARQDljuwHZRR66tqTbr0wIOUyMyErLnJcKPtRZ0HQj2EHp+vUsQNUp9ApE?= =?us-ascii?q?DobAffQCpTLtNzTo3VaTedU3VjOR0zFPBFL6DUF4GLQg2GL3pM/Jl3bQ+1gzS4?= =?us-ascii?q?l1aUPmhQJ4D585KUIr51gb2CwDHhYRaRqDFrGnGVzlLZcYVUgEcRmH3bm7db0t?= =?us-ascii?q?0kJv2b6v//HcbfBiCKURLPpdiRSOnFdDEJIMraIeWK58e0Na9KPPvQfiCpPnXv?= =?us-ascii?q?b8mnoyNP21Xtha/toEt3sm+QuwWx2g5opd4LkBlZCIbKlEYYLWs8xm6Edn/zEP?= =?us-ascii?q?fDRXgBdjlxO5TfwcpOf779jDqpWo9vqhVKYjRuUQ7Rg0BH1yj4Duj1AnoNHX0f?= =?us-ascii?q?pcS4LOhITn6g9NP2KFuIbU0hl7M+oOKJinfLV++HUdISgROXYOMcCRa/km7C9n?= =?us-ascii?q?KC/T6EBaAsMQedMYO9LAmRxOikL3XLFc7MzbFUGDBohudsAo4Gv3yCwv/psnSO?= =?us-ascii?q?ng8iK2KYrZ715TI/NJlD9sm87apOgJ3frSDzAa4XaDZBhv3CyC15mNBu30/eWN?= =?us-ascii?q?1NHbSVMGETQrU4dGPjaC/xKoRvatnpXzTgyU8tPzgI45dE+ISXy+gqIFsrpLEe?= =?us-ascii?q?5HjSn7xSZRFoT0h/KTrtqt53BatllZH4Zp7RzKAr9TPpNlNhTkjsOrXFRzBjPj?= =?us-ascii?q?eMHIcRojoO+WxuAK4+ViOEvxe5QWIhcFy73g73paUBduSbDxvlaDXuIRf8FqSP?= =?us-ascii?q?XaoXBJ8YhgMbMAPECBpJz2qTdFsF82DxMyaL8rtzBUa0bAkgtUW6bypb4BhRAR?= =?us-ascii?q?UdF8uUBWH2K/Jngy5z3dVaRalKOREuAa8i2PTqwSVEVlKiF+QxS12JVoYbemgf?= =?us-ascii?q?BHsmdbnixgofkq0jpmRAC/uS3tvK8NxzMg+K+iuzUFpHNFT/+SkyHWBlVf1P4K?= =?us-ascii?q?l7sTC27+6VygZ3kOdIry4Kd9KsTm7oQh52k/bggify0BRuSsESbwj7mHAoaXqt?= =?us-ascii?q?JTmAaNuNnSbb+0NSUSNKoyyRztR3h5yQXfkgxn8G0VTTW89tMkIpuyOdo9zCqy?= =?us-ascii?q?BWfbbEoM4r9OsMbpul4LSOw2aF1/z2Vn1siKXTYNRMvJG2Y0kgcoc2NEf4xf6R?= =?us-ascii?q?UCDaknni6IvrVa/gETeDrUEISl+4nIncfP3Xk9TMtqyXzNq62Ah5MqzGdllM1u?= =?us-ascii?q?4i6JonQSePTSU9VwDXjryodf1ev+au2xsuAGTYtr06ihUP4ePcmg52S23I9mWk?= =?us-ascii?q?m7ybQCB1C5KvMMxq/HUye5Tm2VQeGLc2mPnzY6NU7//huoIUc0aMdNqU8yLO3C?= =?us-ascii?q?ioRalwL/TbN+Xj+QqkPDzGw/LeMacBo7t5y5dAwMUO4cfPOcJewpwP0iFFsMcW?= =?us-ascii?q?HGEjZsB++xq16tk5BxO2987kXifeTt7gfmPcOKGhkDFY7VtIRx+PK9RmKFN39t?= =?us-ascii?q?1xhyPE5z9+fECVs+qvVcc5GKndjLhtR71+EFe+1qMS0ntd4Zgphj5pWM0MeWbR?= =?us-ascii?q?HRyY7/Jd/Lr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33Iuz+R10lkDfxogfGdp1yhtkfy0?= =?us-ascii?q?AdFYRFhcpn6vW+YBahgjFzkt/FSR5Qu0bdAGkc/WTm5asLALTNxOf7ET9IDLNf?= =?us-ascii?q?5Ik74S1zV8rXl/6n2Q?= X-IPAS-Result: =?us-ascii?q?A2G+AwDr7u1Y/wHyM5BcHAEBBAEBCgEBFwEBBAEBCgEBgyi?= =?us-ascii?q?BbI5smWWHdYYoNy2Jd1cBAQEBAQEBAQIBAmgogjMiDUYpLwEBAQEBAQEBAQEfA?= =?us-ascii?q?islAQEgAiQTBgENDhILAQIBAgkCBRIpCAgDAR8OAwEFAQsYBwsFGASJXAEDFAG?= =?us-ascii?q?cOj+NcBgFARwmAoJhBYNWChknDVaCaAwBHQIGEoQviywRAYYBAQSQcYwZkmOKV?= =?us-ascii?q?SeGRAJIkXIzgRVYfQglFiBWhEwPHIFyZoZ0gi4BAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 12 Apr 2017 09:13:19 +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 v3C9Cjav016902; Wed, 12 Apr 2017 05:12:52 -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 v3C9ChNc112831 for ; Wed, 12 Apr 2017 05:12:43 -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 v3C9Cgse016896; Wed, 12 Apr 2017 05:12:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AIAgAa7+1YdMLAVdFcHAEBBAEBCgEBhT+ObJllh3WGaw6GFoN0VwECAQEBAQECEwEKCwwHJoV0GQEbHQEDEm4RAQUBIxKJfQEDFAGcOj+NcBgFARyDCQWDVgoZJw1WgmgBKQIGCQEIhC+RPwEEkHGMGZJjilWGawJIkXIzgRWBXCUWIIUiDxyBcmaJIgEBAQ X-IPAS-Result: A1AIAgAa7+1YdMLAVdFcHAEBBAEBCgEBhT+ObJllh3WGaw6GFoN0VwECAQEBAQECEwEKCwwHJoV0GQEbHQEDEm4RAQUBIxKJfQEDFAGcOj+NcBgFARyDCQWDVgoZJw1WgmgBKQIGCQEIhC+RPwEEkHGMGZJjilWGawJIkXIzgRWBXCUWIIUiDxyBcmaJIgEBAQ X-IronPort-AV: E=Sophos;i="5.37,189,1488862800"; d="scan'208";a="6013899" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 12 Apr 2017 05:12:42 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AN+pwbhbbbUxtzgpmv5fx8TD/LSx+4OfEezUN459i?= =?us-ascii?q?sYplN5qZr8u+bnLW6fgltlLVR4KTs6sC0LuI9fm+EjVaqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLdzIRmssAnct8YajZZ8Jq0s1hbHv3xEdv?= =?us-ascii?q?hMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTD?= =?us-ascii?q?QhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlS?= =?us-ascii?q?EKPCM7/m7KkMx9lKJVrgy8qRJxwIDaZ5qYOOZicq7HYd8XX3ZNUtpXWidcAo28?= =?us-ascii?q?dYwPD+8ZMOhFsYbyvEEBrQCiBQmtGuzvzCJDi2Lr3a07yOQhCgbG3Ao9FN8Jq3?= =?us-ascii?q?Tbt8j1NKYJUeCuy6nIyy/PYO5L1jf784XIfRUhruuNXbJ0a8be1U4vFwbcg1iW?= =?us-ascii?q?tIfrPCuV2/wTv2SH6+dsT+Gihm49pw1spjWj2N0ghpTNi48a0lzJ+yF0zJwoKd?= =?us-ascii?q?GlVEJ3e8CoHIdMuy2AKod7TcUvSHxytikg0L0Jo5u7cTAKyJs5wx7fbOSKc42S?= =?us-ascii?q?7RLiUOadOC94hHx5dL6miRa+7Eytx+LmWsm711ZKqSVFkt3SuXwXyxPT7c2HRu?= =?us-ascii?q?N8/kenxzmPyxje5v9YLU0wj6bWKJ4szqQtmpcXr0jPBDL6lUH5gaOOc0Ur4Omo?= =?us-ascii?q?6+DpYrX8oZ+cMpd5ihrlPaQzm8y/Gv84Mg8IX2SB5Ouzybvj8Fb2QLVPlPI2k6?= =?us-ascii?q?3ZvIrGKsQco661GxVV3Zo76xajEzem18wVnWIZI1JBeRKHiZXpOl7VLfDkDfaw?= =?us-ascii?q?n1SskDBxy/DAJb3uGI/BLnfEkLf/Zbx98VJTyBIvzdBD4JJZEqoBL+/oWkLqqN?= =?us-ascii?q?zZDgM2Mwyzw+r9DtV9zZkRVXiAAq+eLqOB+WOPs+YuJfScIZQYsyvnKuQ0ovvp?= =?us-ascii?q?gWI9lHcDcqSzm5gacna1GrJhOUrdKX7thMoRVGQHpAwzSMT0h1CYFz1efXC/W+?= =?us-ascii?q?Q7/D5/QJmrCYbFW5CFnK2K3CD9GIZfIG9BFAOiC3DtIr6JUf4XdCOfJIdLjz0f?= =?us-ascii?q?Tr+nA9s63wyvrxT9zfxrIuz89SgRtJal399wsb6A3Sou/CB5WpzOm1qGSHt5yz?= =?us-ascii?q?sF?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GBAADr7u1YdMLAVdFcHAEBBAEBCgEBG?= =?us-ascii?q?AEFAQsBhRSObJllh3WGKEMOhhaDdFcBAQEBAQEBAQIBAhABCgsMByYxgjMgD0Y?= =?us-ascii?q?pLwEBAQEBAQEBAQEfAislAUcZARsdAQMSbhEBBQEjEol9AQMUAZw6P41wGAUBH?= =?us-ascii?q?IMJBYNWChknDVaCaAEpAgYJAQiEL5E/BZBxjBmSY4pVhmsCSJFyM4EVgV0lFiC?= =?us-ascii?q?FIg8cgXJmiSIBAQE?= X-IPAS-Result: =?us-ascii?q?A0GBAADr7u1YdMLAVdFcHAEBBAEBCgEBGAEFAQsBhRSObJl?= =?us-ascii?q?lh3WGKEMOhhaDdFcBAQEBAQEBAQIBAhABCgsMByYxgjMgD0YpLwEBAQEBAQEBA?= =?us-ascii?q?QEfAislAUcZARsdAQMSbhEBBQEjEol9AQMUAZw6P41wGAUBHIMJBYNWChknDVa?= =?us-ascii?q?CaAEpAgYJAQiEL5E/BZBxjBmSY4pVhmsCSJFyM4EVgV0lFiCFIg8cgXJmiSIBA?= =?us-ascii?q?QE?= X-IronPort-AV: E=Sophos;i="5.37,189,1488844800"; d="scan'208";a="4815458" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mail-pf0-f194.google.com ([209.85.192.194]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/AES128-GCM-SHA256; 12 Apr 2017 09:12:41 +0000 Received: by mail-pf0-f194.google.com with SMTP id c198so3858784pfc.0; Wed, 12 Apr 2017 02:12:41 -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=AZLXgQUbywGiexPiblABoLwsZN4aGtAB0DhSdXjMWHA=; b=fxLNVvCIfy90bitrzmub9T5UHDkubbRgXjtfrwhS4Ri/spekecS3+etIRcHEVgpG6I LkIYYaACHIbE4UIveyRwa0IKvQGhKBJgpEtBKmLoGGmMv7sd/UFgyK0f4GII+RFz4dyQ eHpcvAW92iF6d88gxFMbvA3fMvnFds+lnshxlGJbHMQXiTB3XJqc6M86/d3mkZfikMX6 P+EWIZ7Qs9Sp+WxdZaTMX8Cw958jYFPgHfhK6MrAa4wgGmc+EUeti8LKXy3+8G37K8B4 jghnUa03bV3TOENszc/H9Pk+cEd0L2BNi5GTfHQfxpyCcKg8KtcIyI0ziwfgSEEvedZC W6Rw== 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=AZLXgQUbywGiexPiblABoLwsZN4aGtAB0DhSdXjMWHA=; b=pg8c0/aF9IrKWSRMQgf/GVS7xUDjZgS+z8H9gIAChctIwW4hNen+2yULYiNwK7UPWk DSI0HFbfsFQkmcVusNYcRVnKjB5cYzFxLqz9YxD52WyaQbRACkqxbHBoxIgNT8PLfpE8 /D3gjwB6mPCR6f5Mairs/o2ELrsZ8bbiK09aRvO4w13fr4R8115dBZBZolwAl8DFq4Lr xfarUJh/39CSwMItpG+ZOUPwFZ5bmTYcn5yK3aE/+xFRFhErUd1wXEiGasW+o9Uv2/YM v/xGzV6AMPNmOFSCt23w7wTl6ka0QzNsgGO5RCptyTiTV6Ful9hkxSleAyd6z2/gGSmL tnRA== X-Gm-Message-State: AFeK/H2cfieLwhWMIWTFpvdokZcjU71Fm90/76MHdcM4tioncydZWjbrVUnsFpEcp2ol0A== X-Received: by 10.84.199.170 with SMTP id r39mr80899360pld.144.1491988361148; Wed, 12 Apr 2017 02:12:41 -0700 (PDT) Received: from ltest-vm7.localdomain (fs276ec80e.tkyc203.ap.nuro.jp. [39.110.200.14]) by smtp.gmail.com with ESMTPSA id c28sm17344970pfe.112.2017.04.12.02.12.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Apr 2017 02:12:40 -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_status_get_seq() function Date: Wed, 12 Apr 2017 18:12:15 +0900 Message-Id: <1491988335-4181-1-git-send-email-sbuisson@ddn.com> X-Mailer: git-send-email 1.8.3.1 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: 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_status_get_seq() function to give access to sequence number of current SELinux policy loaded to the rest of the kernel. Signed-off-by: Sebastien Buisson --- include/linux/selinux.h | 7 +++++++ security/selinux/ss/status.c | 21 +++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/include/linux/selinux.h b/include/linux/selinux.h index 44f4596..926f9f0 100644 --- a/include/linux/selinux.h +++ b/include/linux/selinux.h @@ -24,12 +24,19 @@ * selinux_is_enabled - is SELinux enabled? */ bool selinux_is_enabled(void); +u32 selinux_status_get_seq(void); #else static inline bool selinux_is_enabled(void) { return false; } + +static inline u32 selinux_status_get_seq(void) +{ + return 0; +} + #endif /* CONFIG_SECURITY_SELINUX */ #endif /* _LINUX_SELINUX_H */ diff --git a/security/selinux/ss/status.c b/security/selinux/ss/status.c index d982365..a0670d3 100644 --- a/security/selinux/ss/status.c +++ b/security/selinux/ss/status.c @@ -124,3 +124,24 @@ void selinux_status_update_policyload(int seqno) } mutex_unlock(&selinux_status_lock); } + +/* + * selinux_status_get_seq + * + * It gets current sequence of policy loaded. + */ +u32 selinux_status_get_seq(void) +{ + struct selinux_kernel_status *status; + u32 seq = 0; + + mutex_lock(&selinux_status_lock); + if (selinux_status_page) { + status = page_address(selinux_status_page); + seq = status->sequence; + } + mutex_unlock(&selinux_status_lock); + + return seq; +} +EXPORT_SYMBOL_GPL(selinux_status_get_seq);