From patchwork Sun Aug 13 14:46:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jann Horn via Selinux X-Patchwork-Id: 9898771 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 F12A4602D9 for ; Mon, 14 Aug 2017 12:52:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E694C204BA for ; Mon, 14 Aug 2017 12:52:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAF28285E3; Mon, 14 Aug 2017 12:52:32 +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=unavailable version=3.3.1 Received: from ucol19pa13.eemsg.mail.mil (ucol19pa13.eemsg.mail.mil [214.24.24.86]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E96E204BA for ; Mon, 14 Aug 2017 12:52:32 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.41,373,1498521600"; d="scan'208";a="507928073" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by ucol19pa13.eemsg.mail.mil with ESMTP; 14 Aug 2017 12:52:32 +0000 X-IronPort-AV: E=Sophos;i="5.41,373,1498521600"; d="scan'208";a="1150885" IronPort-PHdr: =?us-ascii?q?9a23=3AUY1e9RfEMGZrKIV0FaPFJaojlGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcq+bRyN2/xhgRfzUJnB7Loc0qyN4vCmATRIyK3CmUhKSIZLWR4BhJ?= =?us-ascii?q?detC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+?= =?us-ascii?q?KPjrFY7OlcS30P2594HObwlSijewZbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf?= =?us-ascii?q?5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbD?= =?us-ascii?q?VwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0li?= =?us-ascii?q?gIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNwUX2pBWttaWTJHDI2y?= =?us-ascii?q?coADC/MNMftEo4X4oVYFsBmwChS2BO731DFIiHz406M03OsuEw7JwAMuEc8WsH?= =?us-ascii?q?nWsdn4OqccUfqrw6nT1jjDc/Fb1C3h5ITUfB0so/eBVq9wf8rLzkkvEhvIgEiQ?= =?us-ascii?q?p4f4OD2azP4Ns2uG7+p7SOmhhGonqw9rojiuwMcshZTChpwUyl/e6C533Zg6Jd?= =?us-ascii?q?m5SE59fN6lH4ZbuiaBN4RoRsMiQmdouDs1y7AdpZ66fDQFyJQgxxLFbfyHaJKH?= =?us-ascii?q?7gjsVOaWPzd1nXRoc6+8iRaq6UWs1+LxW8au3FtKsyZJiMfAu38T2xDJ98SLUv?= =?us-ascii?q?9w8lm71TqRyQze6ftILE4qmabBNpIswLg9nYcJv0vZBC/5gkD2gbeTdkUj5+en?= =?us-ascii?q?9fzqYq7jpp+AL490jRz+Mrg2lsy/H+s4Ng8OUnCH+eumzr3j/FD5QK5Qgv0qkq?= =?us-ascii?q?jWrJDaJcMBqq6/HwBVyZos5wy6Dzen1NQUhXgHLFRbdxKbl4XlJl7DLf/iAfq/?= =?us-ascii?q?nligiilnyv/YMrH7H5nBNn3Dn63gfbZ55U5c0g0zzdVH6pJPFL4BJPPzWknstN?= =?us-ascii?q?3XFxM2KAu0w/vhCNphyIweQnmCArOZMazOsV+I4fgjI++XZIAPojr9JP8l5+D2?= =?us-ascii?q?gX8jhVAdZbWp3YcQaH2gHPRmJEOZbmDwgtcBC2gKuBEzTO7tiF2EVD5cfW2yX7?= =?us-ascii?q?4i6TEhE4KqF4DDRpqigLaZxie0AoVWZnxaClCLCXrodYeEVO0QZyKROc9hlToE?= =?us-ascii?q?Vbm/S4I62xGusBL6yrV8IerJ/C0YqY/j2MJy5+3JmhE47SZ0ANiF02GRU2F0mX?= =?us-ascii?q?sFRjE33KB7pExy1E2D3LN2g/NGCNNT4OlJXR0iNZ7GyOx6Cc79VR7dftuTT1am?= =?us-ascii?q?WNqmCykrTt0t298Of1p9G9K6gx/ewyWqBrgVl7qXBJAp6a/cwWb+J9x8y3fH06?= =?us-ascii?q?khiUMqQs1ROm26nqR/7RTcB5bVk0WFkKanbbkT3DLX+2eZ1meBoEZYUAtsXqrf?= =?us-ascii?q?RnAfelHardLn6UPeV7WuE6goMhNdyc6eLatHct3ojFRBRPflI9neZmaxl36xBR?= =?us-ascii?q?aO3L+MapDle38e3CXcFkgLjRof/XCYOggiHi2huX7RDCRyFVLzZEPh6ed+qGmh?= =?us-ascii?q?QU8y0w6KblZh2qGw+h4NhPyQUugT37wfuCs7rDV0Blm91crMC9WcvwphYLlcYd?= =?us-ascii?q?Ql7VdEz23ZtAt9PoG7IqBhnFEecAN3v1702xVwEIVAntAgrGk2wwpqNaKYzFRB?= =?us-ascii?q?eiuC0p/tIL3XK3f9/Aq0ZqHMxl7e1cya+qAV6PQ3s1/jph2mFlI+83V71NlYy2?= =?us-ascii?q?Gc6YjXAwcJXpLxV0k2+wJ8p77Efik3/5nU2mF0Mamorj/C3MokBPAryha6eNdf?= =?us-ascii?q?K7+EGRTpE80cAMivJukqlEKvbh4eOuBd6rI0Ndu8d/SawK6rIPpgnDW+gGVJ+o?= =?us-ascii?q?991l6M+DRmSu7TxJsF3e+X3hGcWDfhiVetqMf3mZpLZTsKBGqw1TDkBJJNZq11?= =?us-ascii?q?ZYsLFXqhLNC2xtpkg57gQGJX9FmmB1wawsCpYgaSY0b73QJOyUQduWanlj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=?us-ascii?q?yJptH7amUMCk2UolrWwGRiqxFNpBE/9psFTSWDJ/YpCrrI7qO5JdQ2NK/52dsV?= =?us-ascii?q?hZml13MyGl0ZpcN91N4jkUUThAuzWSpt2ySNFY1M93CJ8NLNF/u2v9GKxaOZiR?= =?us-ascii?q?pWE2taL1ynPD/TAzrku6zi2pG6CkV+JZ43EeGgIxKmSCrUkvCvAh8nvO/lDIqV?= =?us-ascii?q?945eFbCaaTjU9pujZyAohOBipV1XCiN1lzTGNJs/9AJ6TRbsNRWOQ9agG3Oxwm?= =?us-ascii?q?C/Em21KG/VtukXf+eSxyuRNQ+zrBUAksSSkVnrDtlCUcqsGgJzAXUI9HYis6by?= =?us-ascii?q?jbMQKbhT5YswtFZ0FsRZ8ZHs5P+6sH0otM4srCVUGsJDkeUxxsKg00zfhSmVNN?= =?us-ascii?q?vUiDZS/dCg+oeurVvR1sYcedtsipI+rl/A1fkIPorPg497kfR32hgQCtW87RoJ?= =?us-ascii?q?L8ttKQqkuDb6P4M+qiYXDfUjTDkRewiqo6AJXQ+SjcLhZbIYFgyXU4eZjhFXLL?= =?us-ascii?q?PRNeKqIDPEpbSbp1Zshaou1BfM9kf7sJ+bVxCR2ZQBPvBJavo+NCLlrJQjTeNS?= =?us-ascii?q?qB+PSloY3P9bzdVfTgZsuUynbbWaJ4IIl15iTgFrf31Y9e5lD21e1z9kN7TljG?= =?us-ascii?q?Nz6OrMj7KgMM/smieVPovoc1EjPOHJdwjH3ty1lCd8UNWS2q948YyJdD53buUu?= =?us-ascii?q?9411XzsOlO97ll9YY34qpmycGvJavILvRaq0BnCACOBgp27pUtHHR/R2dJb+8T?= =?us-ascii?q?MvjRe6oZjdrpq+/qCaMa8wGV9PZfadvcIEHNgM+/BS+ASRZchgcOtSYaLheA1/?= =?us-ascii?q?6Cg6J0T8KlqPP42kIr5liyNB8GzLZj5Yee4KWIv/PXbwHMzbcYRqjqW9nzoao2?= =?us-ascii?q?t0OV//0km6YEenZpbA2/DOgdSskdy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9tfzgI4idEKXXnGxmaMFsqBQEe?= =?us-ascii?q?5PlCr2xT1eFoHviPKTrdWs9GVWtlpdEIZw9h3JAqNfMYtnOR7gjMmkWlB8Bjfj?= =?us-ascii?q?eMHTbhcut/aZxvwX4+lnKkXwaokVIhMCy7Ln5ntYVQRuSLvssVafQ+0dftxmSO?= =?us-ascii?q?nLrnpN84JvN7cPPESBpJzttjpIqlc2AA8vaLMqsjNadk3OnBBIVKf1ub4AjBAc?= =?us-ascii?q?Ud14uUJXB2KwOXw+6CDDVatIjamdEvoV/SuPTqYWSUVnLjt+Qw+p2JVpY7apnO?= =?us-ascii?q?5HvXlAni5mpPgqziFpRBq7uS33va4N3igg+L6gvjUbpXNFVvmekzvPCVhbzvQF?= =?us-ascii?q?k6kcC3jm6VGnbngMdo3y76d7Jcj684ku/Wg/aw05fyIaReSgFz3wj6SQD4yAtN?= =?us-ascii?q?JcgxCMt9vKbb+3NiUSLbM9yRTiR3dhyATemghn8HcTSDW68NAkPJm9Odoixiew?= =?us-ascii?q?G2jbdFYN4rtOsMv1tF4LUPU5ZEhkwGVizsiHXDMCSNbIG2YvgQgucX9Ef45b6R?= =?us-ascii?q?8GC6kohS6FvrVH/gERezrUDoWl9ZXTncjW3XkxV9FqyXzKpqednJMlzGVlm89o?= =?us-ascii?q?7i6JoHkScu3YU8xvAnj0zYpfy/bxZ/aqsuABVoRmzq6tUPkcPcm/4WG2wollWl?= =?us-ascii?q?e5xrQCGFq0KPQMyandUye5UmCYQuCLc2+QnzYlLE79+wSnIkcwaMdQoE83KvHC?= =?us-ascii?q?iYJElw39TbN0QT2dpUfczGwnK+wabQw3uICjewwEV+MRYu+cJe81wPIgFFQMdX?= =?us-ascii?q?jJHTBtC++3t16tk5J3O3J64UX1ee7t6BzpMMOOGhkYFo7XtpBx9uK+RmKAIX9v?= =?us-ascii?q?0gZ/PUh19+faElQ+qPVcc5KPktTKgNR7y+EFfe93MSIhot4Thp5j6Y6M3caEaR?= =?us-ascii?q?HR1Jf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nkWK+bLxJBzHsziPlGwxYWeR9rVnRl3ztRhvnr?= =?us-ascii?q?XoV7QFsZlyuLR+ccbUs/WDE5+EKRpAm0ZNsao8HIb2hE/7AIRMwWK/x+rMH1Ja?= =?us-ascii?q?0RxL4N0T8u9C4ntSSZVwME0kSB/qf4GK1xgLZF4D98t8l/Q0XHZjTYaGWPnpKv?= =?us-ascii?q?FsZn3S5zpTXh0M3Os6ZmM74M48kzO1oQDi8+C5aV3TlFVXDykkPmpBuhEzm2ID?= =?us-ascii?q?sd5CcNYycCc7Axh9RnvQ7Ie9CJ0kaZs6YsuQP/EgqQIqal05xMTMfy3EO3bjcd?= =?us-ascii?q?NX2UFpRyq/9I3OwVa649eZP2V0/AKgz/BwfesGYW8xLnuKiwJctM3mga1K4rLY?= =?us-ascii?q?e6ZYQSCcjl22RD7T5tzYAM0HbZL9fRfJz/5IQsCHUALJi7RlH2e5/TJHPps+0Z?= =?us-ascii?q?2ZogEFydZaMcMX4N4LAskWK/VH3g3I7q/TKWZoy8eya4Ps5GLpWhw1JDhqfHK5?= =?us-ascii?q?Oms+dPDXsB4LgUldLLtXeYrC+VJ9mwYCmtkV0SKhSwZJHLqtlGOZk2YuYvSII4?= =?us-ascii?q?Vg=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2AOBADgm5FZ/wHyM5BdGQEBAQEBAQEBAQEBBwEBAQEBFAE?= =?us-ascii?q?BAQEBAQEBAQEBBwEBAQEBgwQrZ4ERjwSPGzgBAQEBAQEGgQgiljCBcyiKGlcBA?= =?us-ascii?q?QEBAQEBAQIBaiiCMyQBgkEDAwECIARSAwMJAQEXBwEFAiIEAgIDAVMGAQwGAgE?= =?us-ascii?q?BAYgJghQNAwGsVIFsOiICg3ABAVmGcAEBAQEGAQEBAQEBIoELgh2CAoEFglULi?= =?us-ascii?q?neCYQEEiXmWOJQ8izIMBReGe0iVTVeBCigMHyoPgWgYg2AcgSwBPHSKTQEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 14 Aug 2017 12:52:31 +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 v7ECqTDU023936; Mon, 14 Aug 2017 08:52:30 -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 v7DElJtA094469 for ; Sun, 13 Aug 2017 10:47: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 v7DElI75028151; Sun, 13 Aug 2017 10:47:18 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1AHAgC1ZZBZl3QbGNZcGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBg1dqgRGeHIFMIpgqhUcChHZXAQIBAQEBAQITAQEBAQEGGAaFcAMDIwR?= =?us-ascii?q?SEB8BBQImAgJXBgEMBgIBAYouAawogWw6hBQBAYdFAQEBAQEBBAEBAQEBI4ELg?= =?us-ascii?q?h2CAoNaC4p3gmEBBIl5ljiUPIsyDAWHEkiVTYFhUy8KhWAQDIEsATx0iWEBAQE?= X-IPAS-Result: =?us-ascii?q?A1AHAgC1ZZBZl3QbGNZcGgEBAQECAQEBAQgBAQEBg1dqgRG?= =?us-ascii?q?eHIFMIpgqhUcChHZXAQIBAQEBAQITAQEBAQEGGAaFcAMDIwRSEB8BBQImAgJXB?= =?us-ascii?q?gEMBgIBAYouAawogWw6hBQBAYdFAQEBAQEBBAEBAQEBI4ELgh2CAoNaC4p3gmE?= =?us-ascii?q?BBIl5ljiUPIsyDAWHEkiVTYFhUy8KhWAQDIEsATx0iWEBAQE?= X-IronPort-AV: E=Sophos;i="5.41,368,1498536000"; d="scan'208";a="19205" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 13 Aug 2017 10:47:15 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AjL3Tbx/OojSaSv9uRHKM819IXTAuvvDOBiVQ1KB+?= =?us-ascii?q?0ewSIJqq85mqBkHD//Il1AaPBtSLraocw8Pt8InYEVQa5piAtH1QOLdtbDQizf?= =?us-ascii?q?ssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1?= =?us-ascii?q?JuPoEYLOksi7ze6/9pnQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeu?= =?us-ascii?q?BWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbO?= =?us-ascii?q?SxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiS?= =?us-ascii?q?cIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CWGRPXthfVyJCDI2y?= =?us-ascii?q?YYQAAOgOMvpXoYTmu1sDrwGzCRWwCO7hyDJFgGL9060g0+QmFAHLxBEuEdITu3?= =?us-ascii?q?rTttr1LqQSUf2uzKLVwjvDa/1W2S386IjOfRAqvPaBUqx0ccrf00kvFgXFjlqL?= =?us-ascii?q?pIz4JDOayP4Ns3OB4+p7UuKvlnQnpB1vrTihwccskIbJiZwPxlDC6yp53J84KN?= =?us-ascii?q?ulQ0B4ed6pCIVcuzyVOodsXM8vTHtktDg4x7EcpJK3YSkHxIwjyhLBcfCLbZaE?= =?us-ascii?q?7xH5WOufPzt0nm9pdbC5ih2v60av0Pf8WdOx0FtSripKjN3MtncV2hzO8siIUe?= =?us-ascii?q?Zy8lql1DaXzQ/f9/9ILVoqmqXFLp4h2bEwmoAWsUvZHy/2nF/6jKqXdkUg4uSo?= =?us-ascii?q?6uLnbav6ppKEKYN4lw7zPr4wlsGwG+g0LAoDU3KG9eih1bDv5Uj5T69Ljv0ynK?= =?us-ascii?q?nZqpfaJcEDq6GnBw9V3Jwj6xe5Dzepy9kYgGIHI0xfeBKclYTpIFbOIO3iDfij?= =?us-ascii?q?nVusnjBrx+rJPrL/GJnNKGbMkKv5cbZn90Fc0BYzzcxY559MEbEOPenzV1TttN?= =?us-ascii?q?3YEhA5Mwu0z/zhCNVmzIwSQ22PAqiHMKnKq1+H+vovI/WQZI8SoDv9MOYq5/rv?= =?us-ascii?q?jX8/hF8ccrKk3YcXaX+kHvRmJF+VYXz3gtgbC2sKsQ0+TPK5wGGFBDpSYWuiGr?= =?us-ascii?q?kx7SwhCZ63SILESp2pjZSf0yqhWJ5bfGZLDhaLC3isP56JX/YKdTK6Pt5qkjtC?= =?us-ascii?q?U6OoDYAmy1XmnQv327d2ZsbT8DcZpJvlnIx86+rZjxAj/DpcAMGU0mXLRGZxyC?= =?us-ascii?q?dAazYw3a176W5g0FiO17Mw1/BRE91e4/FhVwo+MZfayPw8ANf3DEaJU82IQx6e?= =?us-ascii?q?S8+nGnllQ8o42d4VS150AdS5lhTK1CfsBKUawfjDJpUx/7mU+n/rPcdmgyLE3a?= =?us-ascii?q?wslB8iBM5IL3ennYZ47QHYA4OPmEKcweLiV7ka3SqF0GqOhT6MoUdZVFYgCPmD?= =?us-ascii?q?WX0STk/ZoJLy4UaUC/eWAKkjei5GztSPYv9SY8DtpU1PWfOmPdPZeW/3kGC1U1?= =?us-ascii?q?LAjIiBdoXnM0hblAXUDEwVlUpbqW2LLwczLieop2bPCnplEle5JwvX7eRmqH69?= =?us-ascii?q?BnQxxgWOYlwpg6G54TYJlPecTLUVxbtCtyA//XE8I1e529PfDpK6oABsZrlHKY?= =?us-ascii?q?ci4VND1Gvc8Qc7JJuqIrp+nXYfdRh6uwXl0BAhWatals1/l11i6QNoKr+DmH5F?= =?us-ascii?q?eSmZ25+4brDTJHPz+h+HdrXbwEqYy9GL4KwC5vMipFilugy1QBlxu0572sVYhi?= =?us-ascii?q?PPrq7BCxAfBNeoCh46?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CYAQC1ZZBZl3QbGNZcGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBFQEBAQECAQEBAQgBAQEBgyxqgRGeHIFMIpgqhUcChHZXAQEBAQEBAQE?= =?us-ascii?q?CARIBAQEBAQYYBleCMyQBgkEDAyMEUhAfAQUCJgICVwYBDAYCAQGKLgGsKIFsO?= =?us-ascii?q?oQUAQGHRQEBAQEBAQQBAQEBASOBC4IdggKDWguKd4JhAQSJeZY4lDyLMgwFhxJ?= =?us-ascii?q?IlU2BYVMvCoVgEAyBLAE8dIlhAQEB?= X-IPAS-Result: =?us-ascii?q?A0CYAQC1ZZBZl3QbGNZcGgEBAQECAQEBAQgBAQEBFQEBAQE?= =?us-ascii?q?CAQEBAQgBAQEBgyxqgRGeHIFMIpgqhUcChHZXAQEBAQEBAQECARIBAQEBAQYYB?= =?us-ascii?q?leCMyQBgkEDAyMEUhAfAQUCJgICVwYBDAYCAQGKLgGsKIFsOoQUAQGHRQEBAQE?= =?us-ascii?q?BAQQBAQEBASOBC4IdggKDWguKd4JhAQSJeZY4lDyLMgwFhxJIlU2BYVMvCoVgE?= =?us-ascii?q?AyBLAE8dIlhAQEB?= X-IronPort-AV: E=Sophos;i="5.41,368,1498521600"; d="scan'208";a="1136526" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from upbd19pa12.eemsg.mail.mil ([214.24.27.116]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 13 Aug 2017 14:47:13 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;7f858c4d-ca3c-4ade-b3b2-5e2bdede0842 X-EEMSG-check-008: 100727278|UPBD19PA14_EEMSG_MP14.csd.disa.mil X-EEMSG-SBRS: 3.5 X-EEMSG-ORIG-IP: 212.227.15.14 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AHAgAgY5BZhw4P49RcGgEBAQECAQEBAQgBAQEBhEGBEZ4cgUwilhiCEoVHAoR2QRYBAgEBAQEBAQETAQEBCA0JCCgvhRkDAyMEUhAfAQUCJgICVwYBDAYCAQGKL6wtgWw6hBQBAYdFAQEBAQEBBAEBAQEBI4ELgh2CAoNaC4p3gmEBBIl5ljiUPIsyDAWHEkiVTSYOgS1TLwqFYBAMgSwBPHSJYQEBAQ X-IPAS-Result: A0AHAgAgY5BZhw4P49RcGgEBAQECAQEBAQgBAQEBhEGBEZ4cgUwilhiCEoVHAoR2QRYBAgEBAQEBAQETAQEBCA0JCCgvhRkDAyMEUhAfAQUCJgICVwYBDAYCAQGKL6wtgWw6hBQBAYdFAQEBAQEBBAEBAQEBI4ELgh2CAoNaC4p3gmEBBIl5ljiUPIsyDAWHEkiVTSYOgS1TLwqFYBAMgSwBPHSJYQEBAQ Received: from mout.web.de ([212.227.15.14]) by UPBD19PA14.eemsg.mail.mil with ESMTP; 13 Aug 2017 14:47:13 +0000 Received: from [192.168.1.2] ([92.228.32.17]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MZlNu-1e2Hq20pMk-00LTCd; Sun, 13 Aug 2017 16:46:56 +0200 To: linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov, Alexey Dobriyan , Daniel Jurgens , Eric Paris , James Morris , Junil Lee , Paul Moore , "Serge E. Hallyn" , Stephen Smalley , William Roberts References: Message-ID: <2c4582c9-efc1-4b8c-1095-84e00062c7de@users.sourceforge.net> Date: Sun, 13 Aug 2017 16:46:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Provags-ID: V03:K0:O2544z3KnxrYEwqOKpajpSthAf+ij3faTbCy7o+4wonLDUcPgcl hCjW827/+WPFByW7RQV9mnH8SkmbRr6lnV7JKRUn8MqeNdTJxW81e6r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H 2/4] selinux: Adjust jump targets in ebitmap_read() X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: From: SF Markus Elfring via Selinux Reply-To: SF Markus Elfring Cc: kernel-janitors@vger.kernel.org, LKML Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sun, 13 Aug 2017 15:21:43 +0200 Adjust jump targets so that the function implementation becomes smaller. * Move an error message so that it is present only once here. * Avoid another check for the local variable "rc" at the end. Signed-off-by: Markus Elfring --- security/selinux/ss/ebitmap.c | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/security/selinux/ss/ebitmap.c b/security/selinux/ss/ebitmap.c index ccf372db689c..03581d7ef817 100644 --- a/security/selinux/ss/ebitmap.c +++ b/security/selinux/ss/ebitmap.c @@ -350,21 +350,20 @@ int ebitmap_read(struct ebitmap *e, void *fp) __le32 buf[3]; int rc, i; - ebitmap_init(e); - rc = next_entry(buf, fp, sizeof buf); if (rc < 0) goto out; - mapunit = le32_to_cpu(buf[0]); + ebitmap_init(e); e->highbit = le32_to_cpu(buf[1]); count = le32_to_cpu(buf[2]); + mapunit = le32_to_cpu(buf[0]); if (mapunit != BITS_PER_U64) { printk(KERN_ERR "SELinux: ebitmap: map size %u does not " "match my size %zd (high bit was %d)\n", mapunit, BITS_PER_U64, e->highbit); - goto bad; + goto destroy_bitmap; } /* round up e->highbit */ @@ -377,27 +376,26 @@ int ebitmap_read(struct ebitmap *e, void *fp) } if (e->highbit && !count) - goto bad; + goto destroy_bitmap; for (i = 0; i < count; i++) { rc = next_entry(&startbit, fp, sizeof(u32)); - if (rc < 0) { - printk(KERN_ERR "SELinux: ebitmap: truncated map\n"); - goto bad; - } + if (rc) + goto report_truncated_map; + startbit = le32_to_cpu(startbit); if (startbit & (mapunit - 1)) { printk(KERN_ERR "SELinux: ebitmap start bit (%d) is " "not a multiple of the map unit size (%u)\n", startbit, mapunit); - goto bad; + goto destroy_bitmap; } if (startbit > e->highbit - mapunit) { printk(KERN_ERR "SELinux: ebitmap start bit (%d) is " "beyond the end of the bitmap (%u)\n", startbit, (e->highbit - mapunit)); - goto bad; + goto destroy_bitmap; } if (!n || startbit >= n->startbit + EBITMAP_SIZE) { @@ -407,7 +405,7 @@ int ebitmap_read(struct ebitmap *e, void *fp) printk(KERN_ERR "SELinux: ebitmap: out of memory\n"); rc = -ENOMEM; - goto bad; + goto destroy_bitmap; } /* round down */ tmp->startbit = startbit - (startbit % EBITMAP_SIZE); @@ -420,14 +418,13 @@ int ebitmap_read(struct ebitmap *e, void *fp) printk(KERN_ERR "SELinux: ebitmap: start bit %d" " comes after start bit %d\n", startbit, n->startbit); - goto bad; + goto destroy_bitmap; } rc = next_entry(&map, fp, sizeof(u64)); - if (rc < 0) { - printk(KERN_ERR "SELinux: ebitmap: truncated map\n"); - goto bad; - } + if (rc) + goto report_truncated_map; + map = le64_to_cpu(map); index = (startbit - n->startbit) / EBITMAP_UNIT_SIZE; @@ -438,9 +435,10 @@ int ebitmap_read(struct ebitmap *e, void *fp) } out: return rc; -bad: - if (!rc) - rc = -EINVAL; +report_truncated_map: + printk(KERN_ERR "SELinux: ebitmap: truncated map\n"); + rc = -EINVAL; +destroy_bitmap: ebitmap_destroy(e); goto out; }