From patchwork Wed May 3 10:30:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Lautrbach X-Patchwork-Id: 9709207 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 4BE5360387 for ; Wed, 3 May 2017 10:35:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37264284E5 for ; Wed, 3 May 2017 10:35:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BC9E285EB; Wed, 3 May 2017 10:35:04 +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 (smtp.nsa.gov [8.44.101.9]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5C4B284E5 for ; Wed, 3 May 2017 10:35:03 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.38,283,1491264000"; d="scan'208";a="5425720" IronPort-PHdr: =?us-ascii?q?9a23=3AyPqMXBfh4TGA1GYU2GFuJl23lGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcq4ZheN2/xhgRfzUJnB7Loc0qyN4v6mBD1Lu8jJmUtBWaQEbwUCh8?= =?us-ascii?q?QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6?= =?us-ascii?q?OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBS7oR/Ru8QSjoduNKc8wQbVr3VVfO?= =?us-ascii?q?hb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnY?= =?us-ascii?q?UAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhS?= =?us-ascii?q?waOTE56mXXgdFugqxdrhyquhhzz5fJbI2JMfZzeL7Wc9EHSmpbRstfVzJPDJ6y?= =?us-ascii?q?YYUMDeUBM/5Yoovgq1YAsxS+HhKhCP/zxjJSmnP6wbE23/gnHArb3AIgBdUOsH?= =?us-ascii?q?HModvvKqgSTfq1x7TOwzrZcvNWxS3955PSfR89ofGHQLV9cdLVyUY1CgPFkk+Q?= =?us-ascii?q?ppf/MD6OzOQCrXWU7+p6WuKzkWIotwZxoj22y8oql4LHiIUVylXe+iV4xoY4Pd?= =?us-ascii?q?O5SFR6Yd64DpRcrTqaN4twT8g/QG9ooD43xqAJtJO0ZiQHyIkrywTBZ/GIbYSE?= =?us-ascii?q?+A/vWP6PLTtkgH9pYq+zihis/US61+HxVce53ExUoidGlNTHq2oD2AbJ6sedT/?= =?us-ascii?q?tw5kKh2TGS2A/N8uxEOkU0lbbDK54m374wioIfsUTdES/yn0X7lLOWeV8++uip?= =?us-ascii?q?9uTnea/qpoOcNoBoigH+Nb4imsqjDuQjLgcCRW2b+eW41LH7/E35RqtFjuEun6?= =?us-ascii?q?XEv53XKt4Xq66kDwNPzIou5AizAy273NgAmHkINlNFeBaJj4jzPFHOJej1Deyh?= =?us-ascii?q?jFSokTdrwe3GP7L4DprWKXjDjbHhcqpj5E5H0wcz0dBe6I5UCrEGOv7zXFTxu8?= =?us-ascii?q?bCAh82NAy03f7rCM9h2YMGRWKPHqiZPbvQsV+P4OIgOfWMZI8Ptzb7MPUl5fnu?= =?us-ascii?q?jXk8mVAHZqmpwYUYaGqjHvh8JEWZe3XsiM8bEWgWpgo+UPDqiFqaXD5RZXa9Rb?= =?us-ascii?q?4z5jIgCIKhC4fDR56tjaeP3Ce/A51XaXtJCk2KEXf0aoWIQfAMaDidIsV5iDwL?= =?us-ascii?q?SaChS5M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6Is0sSVLV+SxeVaaSr/5oxsezSzjBH?= =?us-ascii?q?BTyyoleDGwvZX1hRt6iHiSLHxrtnrWZdlwxQvD5NzbXfNRwDsGSzVkiTnQHFiw?= =?us-ascii?q?JcWm/dWTl5fFveCzTGahVpxVcSbx14OAszG35WpwAR2wh/qzgMHoERAm0S/n0N?= =?us-ascii?q?lnTSHIrBfnYon3zqi6Kvxofk1pBF/69sp7FZpzkpAohJER33gah4ma/WEdnWf1?= =?us-ascii?q?L9pbxbr0bGARSj4T397V/A/l1VV5LnKOw4L5UmuSwtF9aNm9bGIbwTk9791WB6?= =?us-ascii?q?eP9rBEmjF1olWgpwLLffd9hisdyecp6HMCm+EGohctziGHDr8IB0VXJivslxCU?= =?us-ascii?q?79C5qqVaf2OvfaS21Ep5gd+tFreCrR9AWHzhYJctATdw7tljMFLLyHDz6Z/reN?= =?us-ascii?q?/Lbd8ItR2bjRHAj/NTKJ0vivoGny1nOXjyvXc90e40kQRu3Y2mvIiAM2ht4qS5?= =?us-ascii?q?DQNDOz3rYcMc5zHtgbxYnsmIw4ClBo9hFSkTXJv0UfKoFyoftez9OAaTFD0xsW?= =?us-ascii?q?uUGbvDHQ6f8UtmoWjAE5axO3GQPnkZws1oRAOBK0xHnAAUQDI6k4YhFg+w2czh?= =?us-ascii?q?dFl25igL6V7+thtD1PhoOgLiUmfEugiocCw0RIKELBpR8wFC/VvaPtKQ7uJ0BS?= =?us-ascii?q?FY8YOuoBaLKmOFewRCFXsJVVCcB1D/Irmu4sHN8+aCCeq4M/vOZrCOpPdQV/iW?= =?us-ascii?q?2J2v1ZFm8CyUNsWVOXliDeM01VZfXXxjHMTZgToPQTQNly3Rd86buAu8+ipvo8?= =?us-ascii?q?C66vvrXAbv6pWTC7tOK9pg4Qu7gaGdOO6MnyZ2NSxX1osSynPSzrgQwkISgTl0?= =?us-ascii?q?dzaxCbQAqTLNTKXIl69NFRIaZTl/NM5S4KI42QlMOdXWhcnp2b59lPI1DE1FVV?= =?us-ascii?q?P5kMGzecMKO329NE/ABEuTOrSGPyPEzNzsYaymT71QkOJUtwartDmBD0DjOy6P?= =?us-ascii?q?lz7zVxCgKetMlj2UPARCuIGhdRZgEW7jTMj8ZR2jKN96ljM2wbwuhnPRKW4cPz?= =?us-ascii?q?l8c0VXob2W8SxYg+9wG2hb4npiN+mElD6T7/PEJZYOrftrHiN0mvpC4Hsk0LRa?= =?us-ascii?q?8idERP1pmCvVtdNuok+pnfeRxTZ9VxpOsDlLjpqRvUp+IaXZ6oVAWXHc8R0Q9m?= =?us-ascii?q?WfFQ4Fp9R/CtL1paBd0cPPm7jwKDdf6dLb59EQB8zJKMKBKnUhKwPlGCLTDAsG?= =?us-ascii?q?TT+rMnvTh0pDn/GO7neVtIQ1qoDwmJoSTb9WTEc1GekECkt/E9wNPox3Uyg/kb?= =?us-ascii?q?GBks4H/3W+owfKRMlAuJDISO6SC+31KDmFlblEewcIwbTgIIsIN4371Etial9h?= =?us-ascii?q?kYvXBUXfRtFNrTdnbgMup0VN6nd+RHUp2035cgOt/GMTFfmskxEshQtxe/ot+y?= =?us-ascii?q?n37lcwPlrFui0wkEwrltXkhTCeaznxLaiqUYFRESr0uFA7MonnTAZtcQ2ygUtk?= =?us-ascii?q?OS/YR7JWirtsb3priAjduJRRH/5TVrdEYBgOyvGUfPgnzVNcqiC7ykBd/uvFFY?= =?us-ascii?q?FulA00fp6wt3hAwR5sbMYpJazMI6pE1ltQh6KKviC2ze0xxQgeJ0gD8GyMZC4I?= =?us-ascii?q?pEwINr4jJyW25OBs7xKNmydbcmgWS/Uquu5q9l86O+mYySLvzaRMKkSqOuycKK?= =?us-ascii?q?OZoHTAmtSOQlMr1UMIllNJ/b5o3sc/a0CUTVwgzKONFxQVMsrPMRtVYNRJ9HfN?= =?us-ascii?q?ZymOq/nCwZJuMoqmF+DoV/KBtKEagkK8BgYmAYQN4t4HHpayzEHSNd3nI6IdyR?= =?us-ascii?q?Ux+ATrI02IA+lOeBKNljcIvt+wzJt23YRGPD4SH399MSKt6rbQvA8qj+KJXM0q?= =?us-ascii?q?bXcCQosEKnU2VdWnlCFDoXRADSS40vkCxQeY9T/8vCPQDTfnb9V9ePiUeAlsCN?= =?us-ascii?q?Cq+TQ/6aS2j0DY8onGLWHgKdtiosPP6f8dp5ufD/NUSqN9vFnam4hZQHynSGHP?= =?us-ascii?q?EdioJ5TqbIksd9P0AG6gUlOjkzI1U9vxPNG1I6iTnw7oQYdUsI+G3DEsLsKyCj?= =?us-ascii?q?YeGxJsqO4Z/6J8eRcPY5wlbh70rw4+LbCwIB+E0tWyRGagMThWT+NfzOqgYbxX?= =?us-ascii?q?0yosY/S1yHsnVpE10/O78UgTS5EWlhve3+qsZ5FCUSjvHXxQYxnPpSs8l2hmKu?= =?us-ascii?q?Yywuc+zQjVvlkdMzGEbvdmZHZCv94iGVOYOW92BXYgR1+AkYrD5Rah0KoW/ytc?= =?us-ascii?q?g9lbz/VKsH3+v5/ZZzKsXrakpI7OvCohd9cmpbR9MYL+IsecspPRgCDfRoHKsg?= =?us-ascii?q?KZSC66C+Zamt9ILS1DXvZIn3ooNtYbtopf90UxTNw+KKZVCKgsvLyqbiBkDSEK?= =?us-ascii?q?xy8DS4yAxCACgvu727bCmReQbZUiMBgAsJpch9sQSDN5bT0Fq6+iTYrWkXWISm?= =?us-ascii?q?8RIAcc9Q5M/h4PlpdsfuD554rFVIVMyzhXo/1oUivLEZ1o90DjRG+PnFb2Uums?= =?us-ascii?q?neuy0A1Oy/Ls18UUVwRkCUhB3epWkFUnKK1vIakKooHKqiOIdV/9vG/10uupOU?= =?us-ascii?q?RexNbbd139A4vJr2z8XTMA+XcMX49A1GnfFYgOkwp+cKsrvk9DIJqheknl/DEk?= =?us-ascii?q?255pEKOmVc+1w1YlrHAGRyiuE9pABOFmsE7XWDN/bJCxrZXpIZNSTXFM+JeFsV?= =?us-ascii?q?dWjF1tMzKlyZpbM8xM7CQAUyRPoTWcuduySddM2cxtAp8NPNhwpWnyFLlDOJiL?= =?us-ascii?q?rH08oqbvxWPB+zAgrFe6wy2+FLWiT+JE+W0SAAYpKn+fqkkuDuss7nzd/krLsl?= =?us-ascii?q?9q4+dRHqKPgllpoDZhApBOAS5E1XGjL1RvUnZGt/tVKKHLfMxAWfkzZQSiOxsm?= =?us-ascii?q?FfE42UyJ+Ft7nXb9YyNpsQtb9DrRXw4uVSkamr3tgyERqtm7OT8GTJJFdTohbz?= =?us-ascii?q?3fJAKdhSBapxdfa0ZkWpAfHtZF+68U3YpS/sreV0msMzsJXBp8OQIkyfBfj1JM?= =?us-ascii?q?sF2EeSDBCgqlberPshpyfcqKsM6lMPH58xxdhoPhru84670JR2e6lg21XdDes4?= =?us-ascii?q?j8u8WKtkSUbqf3Kem8bmLaQTfRkx+wna8kAIfO/yfNKgpXMZ56yWArYZL5E27E?= =?us-ascii?q?IQxGJ74HJ0pcTa16a9JGrf5BasB5ZqkJ4rFiBgibRhzxBYOjtv9GIUjPRT7GNS?= =?us-ascii?q?WO7vS/oZ7P7bzaUeXvfcKMyGrbT691I5t35yL2FKvt0Y9b5kX5wOxt9l9gRVjA?= =?us-ascii?q?LS+BsMzrJhkX68m6akviopopECvMAJhujXXtxltPd9YMTi2u95QY1o1W5GjsRu?= =?us-ascii?q?J/z0f8rvde97965okr+7pp09u7Jb/OKfRGtk9qGgCUBh529po3HWd/W3tcYvQW?= =?us-ascii?q?KPfMZ6QWkd7hq+brF6wN8hKV//ZVadzdJ0HOgsO/EC2TSQRYnAcdrj4XNhec1+?= =?us-ascii?q?SblKBqVMmovvX52kYx41ikNBEG0rFt5YCA+qWWuO/bdRzRzaILWqLyXMP8sqws?= =?us-ascii?q?u1+O5f0jjLMOeHZ6YxegEOgGUs4S3HngwLsvzSIxF8PDA7Pg9+JCV30jmDLggI?= =?us-ascii?q?pxH1IMGvMbBbCL55hRnn8km+zFMd0baqJClXyJFR6qCL8CzmOk5DWMLWl5mB7O?= =?us-ascii?q?1QrwQWSp4F/wsyB4XTPGz83/nUpNSrm3GUBSUjKvOU98qz6PPQzotN/ttaQ06k?= =?us-ascii?q?E2PHbku8iWlGu9IrNXAtHwJMCBISkuul0blpoxRsag2YoDA9qyPM8R8G1ibvvZ?= =?us-ascii?q?826rlS5BrLtAh4ra+M6V4e/bHXinj62dsLWN3ytVyn03sFAw8NygMevO59KSSf?= =?us-ascii?q?Syy2kRVzt/uxfGXxOttrPUtVQUNlKQ0EfXmI0KOcpU3WIk2UHn+ucjRs4z9ARE?= =?us-ascii?q?GYraYfMNuyzzMiPuwVmDe9I3SjWe0zxPE1LxCll4Hagx1Xn+vM3XiHjQ/EcoSZ?= =?us-ascii?q?Nod0z9ghx3DZs3Jl4x6FQNxSoDCwcNYwiBDL60HUTlMZcEVU8bZBSF3bi6f7w6?= =?us-ascii?q?3UhtzbKv+uDTd+18B6wCNvpHiA6BgkRbEIoMsaICWLJ8Z0Nd9KnPqwjjConoRe?= =?us-ascii?q?LpmmYrOP2uXM9a7d4WuGc47ga4XRqg5o9J76wHh5CQaq5EfZ/Msdhn4Edm/j4O?= =?us-ascii?q?eDZCgBp+jxOlSeATvv3j4tzAvZW07eahSbgiSP8K9xguAGR+lYH/jEokodHN2O?= =?us-ascii?q?dWUpfVhpjn8ABRP36Kv57X0wFmJuoSN42rfLhh93IdJygdPn4OJsSZa/094y9r?= =?us-ascii?q?LTXS6EdPAtsWatMEIMXNmQ5VikrzWLFQ7MbbGUGXC511d88262r70jc18YEzUu?= =?us-ascii?q?z48j+5OYjf701RP/NElChsiMjCq/YRwfXIDigY/2KUZAV0wiONypmNF+z//f6W?= =?us-ascii?q?x9HOSlMKBCg2XJlBJDCa4wyoWvK1lIn1UgOT8sLzj4gxdFiOSXytnKQIqaJMEe?= =?us-ascii?q?9ciirl3jhRDJ31h+mPv9qq9mRXqkVNEJxv4h3dBKVfIpJ7NAz3lsa1QEh8Giz/?= =?us-ascii?q?eMbTeho1puWWwuYM4+NjN0rxfoIbJgwLy6j66HVPVAduTqD5vkqBV+ILeNRmUO?= =?us-ascii?q?/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FmuMOlPMzZCr?= =?us-ascii?q?XocWnSo=3D?= X-IPAS-Result: =?us-ascii?q?A2HdCwDnsQlZ/wHyM5BcHAEBBAEBCgEBFwEBBAEBCgEBgwE?= =?us-ascii?q?mA2KBDI5zkmoBlWgqA4F3iG1XAQEBAQEBAQECAQJoKIIzIoEqWzwGAQJ5AwkBA?= =?us-ascii?q?RcxCAMBORoZBYhRgT4NslYmAop8hl+ERYVjhRkBBJ1bhxuLbA2CV4gUJ4ZMlDR?= =?us-ascii?q?YgQpOIRWHN3SIXgEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 03 May 2017 10:35:01 +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 v43AZ0r2031074; Wed, 3 May 2017 06:35:01 -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 v43AVJBA015806 for ; Wed, 3 May 2017 06:31:19 -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 v43AUrfW029545 for ; Wed, 3 May 2017 06:31:18 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1CAAQC6sAlZhxy3hNFcHAEBBAEBCgEBgywmZYEMjnOoXCSGAAKEYlcBAgEBAQEBAhMBAQEKCwkIKIVFAwN5EFE9GhmIVoE+DbJWinMBMYZfhEWFY4UZBZ1bhxuLbA2CV4gUhnOUNIFhTiEVhUaBcT42iF4BAQE X-IPAS-Result: A1CAAQC6sAlZhxy3hNFcHAEBBAEBCgEBgywmZYEMjnOoXCSGAAKEYlcBAgEBAQEBAhMBAQEKCwkIKIVFAwN5EFE9GhmIVoE+DbJWinMBMYZfhEWFY4UZBZ1bhxuLbA2CV4gUhnOUNIFhTiEVhUaBcT42iF4BAQE X-IronPort-AV: E=Sophos;i="5.38,283,1491278400"; d="scan'208";a="6038190" 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; 03 May 2017 06:31:18 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3Ay91qKBwoVQYOtMLXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?1OsfIJqq85mqBkHD//Il1AaPBtSFra8VwLCI+4nbGkU4qa6bt34DdJEeHzQksu?= =?us-ascii?q?4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1?= =?us-ascii?q?Ov71GonPhMiryuy+4ZPebgFJiTanYb5/KBq6oRvQu8ILnYZsN6E9xwfTrHBVYe?= =?us-ascii?q?pW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbf?= =?us-ascii?q?VwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qFmQwLqhi?= =?us-ascii?q?gaLT406GHZhNJtgqxVoxyupRJ/zpXIbI2JLvdyYr/Rcc8GSWdHQ81fVzZBAoS5?= =?us-ascii?q?b4YXFeQOI/pYr5PgrFUItxS+GBWsBPn0xTBSmnD23bAx3uM5EQHCxgMgAs4OsG?= =?us-ascii?q?7Po9rvL6oSS/66w7TIzTrZc/Nawyvy6I/Nch04p/yHQLx+cc3UyUY1FgPFiE2d?= =?us-ascii?q?qIL/PzOUyuQCrXKX7/FgVe+plmUpqBlxryCxysswjoTFnJ8Zx17a+Slj3Yo4Jt?= =?us-ascii?q?O1RFRlbdOnFpZbqjuUOJFsQsw4RmFloCY6xaMCuZ68ZCUKzZsmywPFZ/ydbYeH?= =?us-ascii?q?/xLjW/yNITtimH1lf7e/iw6z8Uim1OL8StG53EhWoidBiNXAq34A2wLJ5sSaSf?= =?us-ascii?q?Zw8F2t1SiM2gzL7+FLO0E0la7VK547xb4wk4IesVzHHiDshUX2kLWWeV4+9eWz?= =?us-ascii?q?8eTofKjppp+GOI9okA3xLqMumsmnDeQiLgcOR3Sb+fi71LD75k32XrFKjvwwkq?= =?us-ascii?q?nEv5HXPtgbp66lDA9V1YYv8RC/Dyy839gCknkHK0xFK1q7iN3yNlXPJu3oJeuu?= =?us-ascii?q?iFSr1jFwzrbJOaOyLI/KKy37nav7NZJ09lJGwgM4zZgL/5ZdF60bKvvbQEL9tN?= =?us-ascii?q?XESBQ+NlrnkK7cFNxh29ZGCiq0CaiDPfaKvA=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GYAwDQsAlZhxy3hNFcHAEBBAEBCgEBG?= =?us-ascii?q?AEFAQsBgwEmZYEMjnOSa5VxJIF3hAkChGJXAQEBAQEBAQECAQIQAQEBCgsJCCg?= =?us-ascii?q?vgjMggSxbPAMDeRBRPRoZiFaBPg2yVopyATGGX4RFhWOFGQWdW4cbi2wNgleIF?= =?us-ascii?q?IZzlDSBYk4hFYVGgXE+NoheAQEB?= X-IPAS-Result: =?us-ascii?q?A0GYAwDQsAlZhxy3hNFcHAEBBAEBCgEBGAEFAQsBgwEmZYE?= =?us-ascii?q?MjnOSa5VxJIF3hAkChGJXAQEBAQEBAQECAQIQAQEBCgsJCCgvgjMggSxbPAMDe?= =?us-ascii?q?RBRPRoZiFaBPg2yVopyATGGX4RFhWOFGQWdW4cbi2wNgleIFIZzlDSBYk4hFYV?= =?us-ascii?q?GgXE+NoheAQEB?= X-IronPort-AV: E=Sophos;i="5.38,283,1491264000"; d="scan'208";a="6590103" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mx1.redhat.com ([209.132.183.28]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 May 2017 10:31:17 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E095180C09 for ; Wed, 3 May 2017 10:31:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E095180C09 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=plautrba@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E095180C09 Received: from hulk.com (unknown [10.40.2.172]) by smtp.corp.redhat.com (Postfix) with ESMTP id 01B0E19E30; Wed, 3 May 2017 10:31:15 +0000 (UTC) From: Petr Lautrbach To: selinux@tycho.nsa.gov Subject: [PATCH 17/19] sepolicy: Fix several issues in 'sepolicy manpage -a' Date: Wed, 3 May 2017 12:30:34 +0200 Message-Id: <20170503103036.17514-18-plautrba@redhat.com> In-Reply-To: <20170503103036.17514-1-plautrba@redhat.com> References: <20170503103036.17514-1-plautrba@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 03 May 2017 10:31:17 +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 Fixes: $ sepolicy manpage -a Traceback (most recent call last): File "/usr/bin/sepolicy", line 699, in args.func(args) File "/usr/bin/sepolicy", line 359, in manpage m = ManPage(domain, path, args.root, args.source_files, args.web) File "/usr/lib/python3.6/site-packages/sepolicy/manpage.py", line 408, in __init__ self.__gen_man_page() File "/usr/lib/python3.6/site-packages/sepolicy/manpage.py", line 495, in __gen_man_page self._entrypoints() File "/usr/lib/python3.6/site-packages/sepolicy/manpage.py", line 903, in _entrypoints if len(entrypoints) > 1: TypeError: object of type 'map' has no len() $ sepolicy manpage -a Traceback (most recent call last): File "/usr/bin/sepolicy", line 699, in args.func(args) File "/usr/bin/sepolicy", line 359, in manpage m = ManPage(domain, path, args.root, args.source_files, args.web) File "/usr/lib/python3.6/site-packages/sepolicy/manpage.py", line 408, in __init__ self.__gen_man_page() File "/usr/lib/python3.6/site-packages/sepolicy/manpage.py", line 497, in __gen_man_page self._mcs_types() File "/usr/lib/python3.6/site-packages/sepolicy/manpage.py", line 927, in _mcs_types attributes = sepolicy.info(sepolicy.TYPE, (self.type))[0]["attributes"] TypeError: 'generator' object is not subscriptable Signed-off-by: Petr Lautrbach --- python/sepolicy/sepolicy/manpage.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/python/sepolicy/sepolicy/manpage.py b/python/sepolicy/sepolicy/manpage.py index 4cebb299..a4dc717a 100755 --- a/python/sepolicy/sepolicy/manpage.py +++ b/python/sepolicy/sepolicy/manpage.py @@ -94,11 +94,10 @@ def get_all_users_info(): all_entrypoints = None - def get_entrypoints(): global all_entrypoints if not all_entrypoints: - all_entrypoints = sepolicy.info(sepolicy.ATTRIBUTE, "entry_type")[0]["types"] + all_entrypoints = next(sepolicy.info(sepolicy.ATTRIBUTE, "entry_type"))["types"] return all_entrypoints domains = None @@ -939,9 +938,8 @@ selinux(8), %s(8), semanage(8), restorecon(8), chcon(1), sepolicy(8) return True def _entrypoints(self): - try: - entrypoints = map(lambda x: x['target'], sepolicy.search([sepolicy.ALLOW], {'source': self.type, 'permlist': ['entrypoint'], 'class': 'file'})) - except: + entrypoints = [x['target'] for x in sepolicy.search([sepolicy.ALLOW], {'source': self.type, 'permlist': ['entrypoint'], 'class': 'file'})] + if len(entrypoints) == 0: return self.fd.write(""" @@ -971,8 +969,8 @@ All executeables with the default executable label, usually stored in /usr/bin a %s""" % ", ".join(paths)) def _mcs_types(self): - attributes = sepolicy.info(sepolicy.TYPE, (self.type))[0]["attributes"] - if "mcs_constrained_type" not in attributes: + mcs_constrained_type = next(sepolicy.info(sepolicy.ATTRIBUTE, "mcs_constrained_type")) + if self.type not in mcs_constrained_type['types']: return self.fd.write (""" .SH "MCS Constrained"