From patchwork Tue Jun 20 15:16:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Zaman X-Patchwork-Id: 9799771 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 8036960329 for ; Tue, 20 Jun 2017 15:20:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58A021FF87 for ; Tue, 20 Jun 2017 15:20:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AECA223B2; Tue, 20 Jun 2017 15:20:47 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,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 427C31FF87 for ; Tue, 20 Jun 2017 15:20:44 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.39,364,1493683200"; d="scan'208";a="6884521" IronPort-PHdr: =?us-ascii?q?9a23=3Ax33l+hzPSlXS8/rXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?1esQLvad9pjvdHbS+e9qxAeQG96KtLQU26GJ6+jJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMhjexe7B/IRa5oQjTqsUdnJdvJLs2xhbVuHVDZv?= =?us-ascii?q?5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnM?= =?us-ascii?q?URGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LplRx/yjC?= =?us-ascii?q?cMKiA3/mfZhMdtiK5XuQ+tqwB6z4PSfYqbNudxfrnFcN0aW2RPQ8hfWS9GDIOk?= =?us-ascii?q?bYYDEuQMMvhDr4Tmu1cCsQGzCRW2Ce/z1jNFgGL9060g0+QmFAHLxAguEMgVsH?= =?us-ascii?q?TTqtX+KaQdXvqwzKbSyzXIcvRb2TXn54jTdRAhp+qBXapufsrLx0kvFgXFjlSX?= =?us-ascii?q?qYzjJT+ayuMNs22C4udmSOmhiHYnphlsrjWgycogkInEip8Pxlza+ih13pw5Kc?= =?us-ascii?q?CgREJlbtOoDJRduiSEOIZ1Xs8uX2Rltzg7x7EapZK2eSwHxZYiyhPfa/GIboeF?= =?us-ascii?q?7xftVOufOzh4indodbahiBmu9UWtz+7xW8iq31ZEqCdOj8PCuWoX1xPJ78iKUv?= =?us-ascii?q?59/kC81jmRzw3T8eREIVwslarcNp4h3qY8lpoNvkTHGS/7gFn2g7WMdkUl5+io?= =?us-ascii?q?8P7rYqnmp5CAN490jRvyMqIylcykHes0KA0OX2mf+eik1b3j+1P2QKlSg/Erna?= =?us-ascii?q?TUv4rWKMQGqqKjHQNY3Zgv5wyiAzu+1dQXh3gHLFZLeBKdiIjpPknDIOvmAve7?= =?us-ascii?q?glSsliprxv/fMrL6BZXNM37Dn6v/crZm8ENc1Aoywsxf55JTEL0BJunzVVXruN?= =?us-ascii?q?zXCR85LRS4w/z7B9VlyoMeRWWPD7ebMKPVt1+H/P4vI+mWa48Tozv9Kf8l5/jr?= =?us-ascii?q?jXAjgl8dYbem3YEMaHyiGfRmOUqZa2L2gtgdCWcKohY+TOvyhV2AUz5cfWq9X6?= =?us-ascii?q?En5jE8DoKmDJnDS5ujgLyFwSe6EYZZZn1AClCQDHfkbYKEW+0DaCiKOM9ujiQE?= =?us-ascii?q?VaS9S48mzRyurBH1xKF5IerS+y0YqZXj2cN05+LNix496yZ4D8OH02GCV2t0hH?= =?us-ascii?q?8HRycq3KBjpkxw0kqM0a9+g/xeCNNc+fdJUgYhOJHG0eN6EdfyVhjGfteTR1as?= =?us-ascii?q?Ws+mDi0pTtIt398OZF5wFMi+jh/ZxSqnGKMal7uOBJMo6K3cxGTxK9x7y3nYyK?= =?us-ascii?q?krl0MmTddXNW26mq5/8BDeB4/Pk0WFiamqcboT3CvT+2ef12qPvFpVUAloUarb?= =?us-ascii?q?W3AfY1HZrdX95kzZSL+vBq4rMgxbyc6NMqFKcMHmjU1aRPf/P9TTe2Kwmma3BR?= =?us-ascii?q?aO3b6MaY7qd3wc3CXbEkQElRoc/WyFNQg/GCeuvXjSDDpwGlLze0ns6/VxqGun?= =?us-ascii?q?Tk8oyAGHd1Nu16Kv9R4PhPycUOge3qoetyc7qjV0B06939bMBNWcuQVtZqJcYc?= =?us-ascii?q?ky4F1fz2LWqxR9PoC8L6BlnlMffQV3v0fr1xppEIVNisYqo203wwp1M6KXyktB?= =?us-ascii?q?dymf3ZDyJLLYNnXy8Aqoa67M1VHUyMyW9bsX6PQkt1XjuxmkFkQ483p91dlaz3?= =?us-ascii?q?qc5o7RAQoXSZLxU1879wN0prHBeCU94JnU1XJ0O6murjDCw84pBPciyhu4fNdQ?= =?us-ascii?q?KqCEFAjvE8ABBMihMu8qm1+0bh4eO+BS7qE0Ndu8d/SawK6rIPpgnDW+gGtd/Y?= =?us-ascii?q?99yEOM+DRmSuPTxZkK3/SY0hGAVzfmg1erqtr3lpxcZTEOAmq/zjDpC5JLaa12?= =?us-ascii?q?Y4kLEnuuIs2wxthlnJ7iR39Y+0ClB1Ma2c+mYwCeb1rj0g1MzU4Xu2ComTOkzz?= =?us-ascii?q?xolDEktrCf0zHTzOn5exoHP2FKSHNkjVjyPYi+l8oaU1Swbwg1iBul4l73x7NV?= =?us-ascii?q?pKRlKGnTWltIcjPtL2FkVauxuL+CbNRJ6J8ytyVYTvi8a0iASrHhuxsazz/jH2?= =?us-ascii?q?xGyTE1bT6qvon5kAJgiGKGN3tzsmTWedtryhfC4dzQX/lR3iAJRCNgkznYGkC8?= =?us-ascii?q?P8W1/dWTj5rDrv2xWH+gVpJJdSnm1p+PtCy+5WJ2GxK/hOyzlsfhEQckzS/xz8?= =?us-ascii?q?NqWjnQrBbgfonr0Ly3MfxmfkZ0GF/87NB6FptinYswg5EQ33cai46R/XoGl2f8?= =?us-ascii?q?K89b2aXkYHoKXz4LzMbf4BL51017MnKJ24X5W22ZwstgfNm6fnoa2jkj4MBOCa?= =?us-ascii?q?eU6qFEnCRur1qjtQLRYP59njYBxvs18nIahf8GuBY1xCWHHr8SBVVYPTDrlxmQ?= =?us-ascii?q?9dC+q6FXZGKxfriqyEV+mt6gAaqZogFBRHn5YY0uHShq7sVwKFjMymH86pn4eN?= =?us-ascii?q?nMatIergWUnA3dj+hRMp4+jOAGijFgOWL5oX0lzOg7gAdr3Z2muoiHLHli8Li/?= =?us-ascii?q?AhFGKj3/f9kT9S31jaZCgsaW2JiiHpZ/FTUNR5vlVvGoHywUtfT8MQaBDiE8pm?= =?us-ascii?q?2cGbrFEg+V8F1moG7XE5C3K3GXI2EUzc14SxmAIExQnhgUUy88np4lCA+q3tfs?= =?us-ascii?q?cFpi5j8P/F74sQFAyvlvNxniSGfQuBmnajkzSJiFIxpZ8BtO50HLPsyC9uhzBT?= =?us-ascii?q?1X/oW9rAyRLWyWfxpIDWcUVUGfGVDjOKSh5dna/+ieGOW+M+PEYa+SpuxGS/eI?= =?us-ascii?q?2ZWv35N+/zmWK8WPOmJvAOE62kpfXXF1AsrZlC8JSyANkCLNdcGbrg+m+iJrts?= =?us-ascii?q?C/7OjrWAX36IuMC7pSNctg9guzgaeEOe6Qijh2KSpE1pMMwn/IzaYQ0EQUiy5w?= =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oTfOJtKsMn02rBhgpH4UR4cQaBZSjylvYLd3gLL8L0h?= =?us-ascii?q?Ui+hjkJEifDPRIZBKKkC0Lo8ehw59rxYNdPC0SAX1hMSWr4bbavhIlgOGdU9gs?= =?us-ascii?q?bXcaRJELNmwtVc2hgSFZvGlADCOt3e4DzAiC8jn8qT7KDDXlc9pjY/SUZBNrCN?= =?us-ascii?q?2s/zUw7bS2g0bN8prCP2H6KchiutjX5OMeoJaHEe1bTb98skfbgIRYSHqqU3PV?= =?us-ascii?q?Hd6yPZjwZJEmbcboBXaiTly/lzU1Qt/qPNmzKqiIgAfoRZtbsYSAwD8jMsq9GS?= =?us-ascii?q?0EFBdru+EP/qR8ahMfY5Ajex7nqxw+N7CjIAefytihXnqiKT5RT/lZ0eW2eqda?= =?us-ascii?q?zzQyYe+gyXshT5Y6z++t/U4LWp4KkgnUxey/aIlGTSjzBntddh3MpSojl2luLO?= =?us-ascii?q?Aywvs/wB7TvlkcNCiLe/BzZGxCod48GUuYIW9qBWogW1+ckY3D7xaw37AT+itd?= =?us-ascii?q?mMpU0e1FsXXlo5DfYTKtV7awppnPtSovc8QmqbVrMYP/OsuGqI/enjvHQZnfqA?= =?us-ascii?q?2KSii6F+ZBl9hRJyJZTv9ImX0lOcMYuIpB71YxWdkkJ7BVDqkjuKyqYyJ+DSEO?= =?us-ascii?q?1S8ZS5+A3Dsaj+im37valwuff4o6PxwBsJRChNwdUyhsbS4Fv6CjVp/Zl2mdRm?= =?us-ascii?q?gFPQcf9wJM6xwcloVoZODq/JLITINQyz5Ru/97STXEFp9z+lThV26Wn0b3SO+6?= =?us-ascii?q?k+OzxwJTzOjg0t4BWB5wEUJd3fpZllM0KLFrLKkdppTKsjmJdUzmvGLtz++mJE?= =?us-ascii?q?JJx8PNalP2FpbIu23nXyIA/n0UQJNAx2vEFZQOiQZ5brgkpElUKoC8Zkn+/yAk?= =?us-ascii?q?x5huH7SgSc+rxUwqomodSii2FNpBD+VmsFPJVz1/f5CktonqO5VITm9X4p2dpE?= =?us-ascii?q?9TkF9xPC6h1ZpcN8ZN7yYWXDdVuzWdu8C9RdZf2c9sFZAMPMlwu3P8GKNCN5iR?= =?us-ascii?q?p3w2urPvyn/F9TAzqk26xDCpF6++Ue1Z43UUGh81KGSGtkkvE+ws/3/c81zXrl?= =?us-ascii?q?90/+ZbBr2OjUprozZwBZFOCShX2n+7NVhzS2NGs+pCIqTPb8NcW+UyZQOoOxEm?= =?us-ascii?q?Df4m2EiJ8ltunXb3ZCxysgVa9jvYXwkzUikVmaniliEEqsGgIj8aUJNIbTMuby?= =?us-ascii?q?vfLAKbgy9Xtg5Fa052Q5AZHspF+7YD0IRO5MrCVECsJTsGXBF5NwI40PtflVJY?= =?us-ascii?q?v0mCfyDSExaof+7VshJrZceRsNKpLPPh8QdbjYPntfs197kfS32jggKhW9beoJ?= =?us-ascii?q?HgtteSrEuBaL/4M/GgYX/GVDXMjQq/ha0+AJnO4ifeKxdUJIdiyXo8f5fhDXDE?= =?us-ascii?q?PQ5cK6IcPUpbWrhwac9areBCe89kZKEJ9LdvBhKAWBziA5Ggo+ddLlnNXzTeMz?= =?us-ascii?q?uO/fGlrYLV87PdVfDqZtaQyHbfX6J3IpB65CHgFLfkzYBS5kj71upj+05hVVfG?= =?us-ascii?q?NCWBo8j7KQMQ+MmubE3isYM1HTnOGpd/jGLtxl1cd8oQWyCq6ooXx45Z6HnqVe?= =?us-ascii?q?J1yUzzsOpM97Z694U4/7dpxtqqKqvIL/RVr1NnCACOBgp27pUtHHR/R2dJb+8J?= =?us-ascii?q?M/fRYb4Wgt3yq+3sDKwX7wCV+/ZFZtTZIUHBhtO/BSuYSRBemwcBszEaJBOG1/?= =?us-ascii?q?GZg690Vdqlpe/h10Ix+VixMAAJw6126IeZ/qqIuPXXYAHPzbgFXajqQt38rqg2?= =?us-ascii?q?t0OV//0km6YEenZpbA2/DOgdSskdy3/lza8wySIsF93MH678+PFZTX00hTTglI?= =?us-ascii?q?5hH1UNBvwbB6KL8ppEkmc+hePZKsUccrpelWaXCR6kDrgCxGap6ySNOmllhQrO?= =?us-ascii?q?0xXqTmOt91L2qDJ4QS/Qz9fijkVVV6O4BUFJXyazPk94qjyPNhLytNXroaQ18F?= =?us-ascii?q?02Mmv8udKPjmShPr1XH9f4JNOBPyY5v04Xg4c3Rty03oAXA9y9L8kN8HtmdPvR?= =?us-ascii?q?93urkzNdo6dAn4fe7dyV+vTTHXmkkaKarq6Ayy1GxXcjvFEw8NagOuvJ592QTP?= =?us-ascii?q?Siz3wRQDtnuwvdQx61raTWr1YQOUGQ0UfLnokKMstY3Xk+2EHm/vIsQMkv9AVE?= =?us-ascii?q?C4bPe+8CpS3pODTq21qfZMg3ViaG2TtNAl31CUV4GLQ72G/oucLJknHQ+0EnRo?= =?us-ascii?q?ZubEHngB13AJ8+KU0z9FgWzC0DERIOaRCAFr2oA1rqLZccX0gZdRuHxKS6ersw?= =?us-ascii?q?3UBrxrOv/+rTYOxnCqoDKPlSkwmOnEJBFZIOq60eR7B8dEFB+67LvATiDJLnX/?= =?us-ascii?q?f+n3oqKfK1Wtxa8dwet3Y6+QawXQSg5o1M77kFk5CFbbVEboLSvM9m4Edo+yUP?= =?us-ascii?q?ejZLgBdhkxOzSfocq/z74tjHrJqo7f6jVKQsR+US7BU0Anpxjpvuj1A5oNHX0e?= =?us-ascii?q?hcRpfTiYvh7ABHO2SKt5rC0xlgNeoOLJqmfLdh9nodPScRO2kDPcGIZPkg/SBi?= =?us-ascii?q?LC/f51tYAsMDfdkYJtbCmRhIik31X7Fe7tHUGl6DC4Z9bc8o7Wv3yCwt8ZQmT+?= =?us-ascii?q?bg7CS7KozY715QIfxMljhslMjFpOgP2/XeEi8X4WOWaxJt2CON14GNC+rs/eWL?= =?us-ascii?q?0NzUT0kJHjIqXIddKjuC/hanRumsmJXyTAyU7s7zgJQjdEOfXXGxhL4KsrpQHu?= =?us-ascii?q?5AhCT72SJeFoPvi/KWrdWs8m1XuUNDEIpp6h3FAqpfNI1hORvkjsmr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qjb5ZsYN7IWKH2I=3D?= X-IPAS-Result: =?us-ascii?q?A2GlCgDGO0lZ/wHyM5BdHQEFAQsBGAEFAQsBgmUdK2KBDY5?= =?us-ascii?q?3kxoBlRsDWCUHgXOGbFcBAQEBAQEBAQIBAmgogjMkgStbQwI9AQE4AgMJAhcxC?= =?us-ascii?q?AMBMAEFATUFiFWBUgEPnzg/ix2DESUCgmEBAQWIdQgShEaDdI1hH5FOjRiHM4w?= =?us-ascii?q?ieYFyiC0nhloCk0UzgRVYgQowIQgbFYUGQYIeaQGJWAEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 20 Jun 2017 15:18:53 +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 v5KFH8fu003370; Tue, 20 Jun 2017 11:17:39 -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 v5KFH52c169433 for ; Tue, 20 Jun 2017 11:17:05 -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 v5KFH5bi003366 for ; Tue, 20 Jun 2017 11:17:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1CtAQCPO0lZesPAVdFdHgYMgxAdgQ2BDbctA1wcDIV8gmNXAQIBAQEBAQITAQEJCwwHKIYOAQE3AYEUAQUBNYhagVIBD58/P4sdgxGDCAEBBYhLASkICQEIhEaDdIpiDIJzH5FOjRiHM4wieYFyiC2HAQKTRTOBFYFhMCEIGxWFBkGCHmkBiVgBAQE X-IPAS-Result: A1CtAQCPO0lZesPAVdFdHgYMgxAdgQ2BDbctA1wcDIV8gmNXAQIBAQEBAQITAQEJCwwHKIYOAQE3AYEUAQUBNYhagVIBD58/P4sdgxGDCAEBBYhLASkICQEIhEaDdIpiDIJzH5FOjRiHM4wieYFyiC2HAQKTRTOBFYFhMCEIGxWFBkGCHmkBiVgBAQE X-IronPort-AV: E=Sophos;i="5.39,364,1493697600"; d="scan'208";a="6097890" 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; 20 Jun 2017 11:16:57 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AVATVMxGHou+uJ52hNnhXHJ1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ78oMywAkXT6L1XgUPTWs2DsrQf2rWQ4/CrBjRIyK3CmUhKSIZLWR4BhJ?= =?us-ascii?q?detC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+?= =?us-ascii?q?KPjrFY7OlcS30P2594HObwlSijewZbF/IA+1oAjSucUbg5duIbstxxXUpXdFZ/?= =?us-ascii?q?5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnM?= =?us-ascii?q?VhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1ji?= =?us-ascii?q?oMKjw3/3zNisFojKxVvg+vqRJ8zYDTe4yZKOZyc7nBcd4AWWZNQsBcXDFBDIOm?= =?us-ascii?q?aIsPCvIMM+JCoInmoFsOqwa1Cgq2C+Pq0DBIgGL90Ko40+s7CgHG2wogEskWsH?= =?us-ascii?q?vKttX1OqYSUea0zKnPyzXPde9Z2TD46IXRdB0qvPKCXapofMbP1UUiExnJg1aQ?= =?us-ascii?q?pID/Ij+Y0voBv3KG4+dkVe+jk3Arpg5trjWgw8ojlIrEip4Jxl3B6yp0wZo5Kc?= =?us-ascii?q?G9RUN/Y9OpFZtduiGHOIZ5R84iTW9ltzw0yrADvZO0YjQFxZAiyhPcavGIbYaI?= =?us-ascii?q?7xT+X+iLOzh4nmhqeLenihay70egzur8W9Gx0FlQrypFlsDAtmgD1xDP88SHRO?= =?us-ascii?q?Zx80Oh1DqV2ADT7eZEIU8wlaXFMZIu3rkwlp8LvUTCGC/5hln2gbeIekk4/uWk?= =?us-ascii?q?8efqb7X8qpOBM4J4lBvyPrkql8G/Geg4NxIBX2mf+eSyzr3j+kj5Ta1IjvIsia?= =?us-ascii?q?nZt5baKN8DpqGnGQ9V3Icj6xC+Dzeh1tQUh2UILFVAeB6flYjmJ0nOIOzkDfe4?= =?us-ascii?q?m1msiylkx/THPr3nH5XMIWPOkKvhfLlh605czxA/zdZE551OEL0BL/XzWlGi/O?= =?us-ascii?q?DfWwQ0Nw2y3vbPFMR21oRYX3mGRKCeLvD8q1iNs8AmOO6KLL0cvT/7Y6wn7uXp?= =?us-ascii?q?i1chlEUTfK+o2p1RY3e9SKc1a36FaGbh149SWVwBuRAzGbTn?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0EIBADGO0lZesPAVdFdHgYMGQYMgmUdg?= =?us-ascii?q?Q2BDaISlRsDXBwMgXOECYJjVwEBAQEBAQEBAgECEAEBCQsMBygvgjMigS1bgQI?= =?us-ascii?q?BATcBgRQBBQE1iFqBUgEPnzg/ix2DEYMIAQEFiEsBKQgJAQiERoN0imIMgnMfk?= =?us-ascii?q?U6NGIczjCJ5gXKILYcBApNFM4EVgWIwIQgbFYUGQYIeaQGJWAEBAQ?= X-IPAS-Result: =?us-ascii?q?A0EIBADGO0lZesPAVdFdHgYMGQYMgmUdgQ2BDaISlRsDXBw?= =?us-ascii?q?MgXOECYJjVwEBAQEBAQEBAgECEAEBCQsMBygvgjMigS1bgQIBATcBgRQBBQE1i?= =?us-ascii?q?FqBUgEPnzg/ix2DEYMIAQEFiEsBKQgJAQiERoN0imIMgnMfkU6NGIczjCJ5gXK?= =?us-ascii?q?ILYcBApNFM4EVgWIwIQgbFYUGQYIeaQGJWAEBAQ?= X-IronPort-AV: E=Sophos;i="5.39,364,1493683200"; d="scan'208";a="6884395" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mail-pf0-f195.google.com ([209.85.192.195]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/AES128-GCM-SHA256; 20 Jun 2017 15:16:50 +0000 Received: by mail-pf0-f195.google.com with SMTP id s66so23786184pfs.2 for ; Tue, 20 Jun 2017 08:16:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perfinion-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=i3CHV9NE2UHv6t2qTAzTw9X4ZvTrW7r+HLb+9i+pk4M=; b=kFsumGJCSR0mfeJAoAYuS7a2OrakgCi6yvNzWkLRYGH6EsXlnBbojgULuTOyLzCsmu pyRhKCt8Pe9Pby4TkGoRTCHqH40O/yJVS7EXSLNQnZ90iZgKftQg9Zvvy76MCKc7AgeC vHX/EqXr/nTu70ejSBcNF3y2n27dnnIXMsdQv9nkyNqbtaEDUjV3CqnesE7cDe8NVLLZ 6diDRN3VfMqIN4P+ikybqz6V7Ij7YaNiUxlxaY7i8LS0k7ugz6vuA+EjyovqRHCEBJiV S1J47onE52SzQAUGNyJ4pT4gIvX4x5nbQBmYt6yFJCYavOK0CXK32WXLoltyP+nsFyzQ 5vIg== 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=i3CHV9NE2UHv6t2qTAzTw9X4ZvTrW7r+HLb+9i+pk4M=; b=kqRnV+TqzLdq37fOnn4GKdQF1+SGTv9KAqc7dTE66B8i2TN6tV+FBu7HXQvFg8hTXm Xdhlk/A04yuzYDb9WnkN/7j6mb9osFTVKUp+BS8XQhgt5gW0CUqAHeaS9m87du8UWf1G tNr0KzZqNOsYR1vYyGCaQf55eKrkMYggy20e83vcFOBE1ToYbz+VKGFUWWcnskg81MSQ k8w03WUELeiZFo3bWj+lp1PsIOQyBhV2ePUcrIX4Khlbknh+l4+a0NNJQJtjyT+VkypV DMcA4TESDRBHRGRGuLdg5dp0qCZPxiRjT11tm1SUkJF70uOa3urEDbmMOuLXgCRiUjzH CPWw== X-Gm-Message-State: AKS2vOyuQnxsJNOCOcJmWxp0NVAnILqzVplQPGCzhMLyWsKywWWYk6zL 8qSarZ+5RdZJoDi7kVA= X-Received: by 10.101.91.197 with SMTP id o5mr32622651pgr.206.1497971807449; Tue, 20 Jun 2017 08:16:47 -0700 (PDT) Received: from localhost ([2404:e800:e600:97:55d4:f3af:9ec9:86ef]) by smtp.gmail.com with ESMTPSA id t9sm28371532pfj.77.2017.06.20.08.16.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Jun 2017 08:16:46 -0700 (PDT) From: Jason Zaman To: selinux@tycho.nsa.gov Subject: [PATCH] Makefiles: override *FLAGS and *LIBS Date: Tue, 20 Jun 2017 23:16:41 +0800 Message-Id: <20170620151641.19421-1-jason@perfinion.com> X-Mailer: git-send-email 2.13.0 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 There were several places in the makefiles where LDLIBS or CFLAGS were supposed to include options to build. They were missing the override keyword so would be skipped if these vars were set on the make cmdline. Add the override directive to fix this. Signed-off-by: Jason Zaman --- libsemanage/tests/Makefile | 13 ++++--------- libsepol/utils/Makefile | 2 +- mcstrans/utils/Makefile | 2 +- policycoreutils/hll/pp/Makefile | 2 +- policycoreutils/load_policy/Makefile | 2 +- policycoreutils/newrole/Makefile | 10 +++++----- policycoreutils/run_init/Makefile | 8 ++++---- policycoreutils/secon/Makefile | 2 +- policycoreutils/semodule/Makefile | 3 +-- policycoreutils/sestatus/Makefile | 6 +++--- policycoreutils/setfiles/Makefile | 8 ++++---- policycoreutils/setsebool/Makefile | 2 +- restorecond/Makefile | 2 +- sandbox/Makefile | 2 +- secilc/Makefile | 3 +-- semodule-utils/semodule_expand/Makefile | 2 +- semodule-utils/semodule_link/Makefile | 2 +- semodule-utils/semodule_package/Makefile | 2 +- 18 files changed, 33 insertions(+), 40 deletions(-) diff --git a/libsemanage/tests/Makefile b/libsemanage/tests/Makefile index 9ccb5b23..fcd616fa 100644 --- a/libsemanage/tests/Makefile +++ b/libsemanage/tests/Makefile @@ -4,24 +4,19 @@ LIBDIR ?= $(PREFIX)/lib # Add your test source files here: SOURCES = $(sort $(wildcard *.c)) -# Add the required external object files here: -LIBS = ../src/libsemanage.a -lselinux -lsepol - ########################################################################### EXECUTABLE = libsemanage-tests CFLAGS += -g -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter -INCLUDE = -I../src -I../include -LDLIBS += -lcunit -lbz2 -laudit +override CFLAGS += -I../src -I../include +override LDLIBS += -lcunit -lbz2 -laudit ../src/libsemanage.a -lselinux -lsepol + OBJECTS = $(SOURCES:.c=.o) all: $(EXECUTABLE) $(EXECUTABLE): $(OBJECTS) ../src/libsemanage.a - $(CC) $(OBJECTS) $(LIBS) $(LDFLAGS) -o $@ $(LDLIBS) - -%.o: %.c - $(CC) $(CFLAGS) $(INCLUDE) -c $*.c -o $*.o + $(CC) $(OBJECTS) $(LDFLAGS) -o $@ $(LDLIBS) clean distclean: rm -rf $(OBJECTS) $(EXECUTABLE) diff --git a/libsepol/utils/Makefile b/libsepol/utils/Makefile index 467aff27..fba1d8a0 100644 --- a/libsepol/utils/Makefile +++ b/libsepol/utils/Makefile @@ -5,7 +5,7 @@ BINDIR ?= $(PREFIX)/bin CFLAGS ?= -Wall -Werror override CFLAGS += -I../include override LDFLAGS += -L../src -LDLIBS += -lsepol +override LDLIBS += -lsepol TARGETS=$(patsubst %.c,%,$(sort $(wildcard *.c))) diff --git a/mcstrans/utils/Makefile b/mcstrans/utils/Makefile index 7e596413..e35cfc2f 100644 --- a/mcstrans/utils/Makefile +++ b/mcstrans/utils/Makefile @@ -6,7 +6,7 @@ LIBSEPOLA ?= $(LIBDIR)/libsepol.a CFLAGS ?= -Wall override CFLAGS += -I../src -D_GNU_SOURCE -LDLIBS += -lselinux -lpcre +override LDLIBS += -lselinux -lpcre TARGETS=$(patsubst %.c,%,$(sort $(wildcard *.c))) diff --git a/policycoreutils/hll/pp/Makefile b/policycoreutils/hll/pp/Makefile index 813c9c6c..82813498 100644 --- a/policycoreutils/hll/pp/Makefile +++ b/policycoreutils/hll/pp/Makefile @@ -8,7 +8,7 @@ LIBEXECDIR ?= $(PREFIX)/libexec HLLDIR ?= $(LIBEXECDIR)/selinux/hll CFLAGS ?= -Werror -Wall -W -LDLIBS = -lsepol +override LDLIBS += -lsepol PP_SRCS = $(sort $(wildcard *.c)) PP_OBJS = $(patsubst %.c,%.o,$(PP_SRCS)) diff --git a/policycoreutils/load_policy/Makefile b/policycoreutils/load_policy/Makefile index 256d95af..8ee1fb16 100644 --- a/policycoreutils/load_policy/Makefile +++ b/policycoreutils/load_policy/Makefile @@ -7,7 +7,7 @@ LOCALEDIR ?= /usr/share/locale CFLAGS ?= -Werror -Wall -W override CFLAGS += $(LDFLAGS) -DUSE_NLS -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" -LDLIBS += -lsepol -lselinux +override LDLIBS += -lsepol -lselinux TARGETS=$(patsubst %.c,%,$(sort $(wildcard *.c))) diff --git a/policycoreutils/newrole/Makefile b/policycoreutils/newrole/Makefile index bdefbb83..196af926 100644 --- a/policycoreutils/newrole/Makefile +++ b/policycoreutils/newrole/Makefile @@ -23,18 +23,18 @@ VERSION = $(shell cat ../VERSION) CFLAGS ?= -Werror -Wall -W EXTRA_OBJS = override CFLAGS += -DVERSION=\"$(VERSION)\" -DUSE_NLS -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" -LDLIBS += -lselinux +override LDLIBS += -lselinux ifeq ($(PAMH), y) override CFLAGS += -DUSE_PAM EXTRA_OBJS += hashtab.o - LDLIBS += -lpam -lpam_misc + override LDLIBS += -lpam -lpam_misc else override CFLAGS += -D_XOPEN_SOURCE=500 - LDLIBS += -lcrypt + override LDLIBS += -lcrypt endif ifeq ($(AUDITH), y) override CFLAGS += -DUSE_AUDIT - LDLIBS += -laudit + override LDLIBS += -laudit endif ifeq ($(LSPP_PRIV),y) override AUDIT_LOG_PRIV=y @@ -50,7 +50,7 @@ ifeq ($(NAMESPACE_PRIV),y) endif ifeq ($(IS_SUID),y) MODE := 4555 - LDLIBS += -lcap-ng + override LDLIBS += -lcap-ng else MODE := 0555 endif diff --git a/policycoreutils/run_init/Makefile b/policycoreutils/run_init/Makefile index 7b259525..921f0b07 100644 --- a/policycoreutils/run_init/Makefile +++ b/policycoreutils/run_init/Makefile @@ -10,17 +10,17 @@ AUDITH ?= $(shell test -f /usr/include/libaudit.h && echo y) CFLAGS ?= -Werror -Wall -W override CFLAGS += -DUSE_NLS -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" -LDLIBS += -lselinux +override LDLIBS += -lselinux ifeq ($(PAMH), y) override CFLAGS += -DUSE_PAM - LDLIBS += -lpam -lpam_misc + override LDLIBS += -lpam -lpam_misc else override CFLAGS += -D_XOPEN_SOURCE=500 - LDLIBS += -lcrypt + override LDLIBS += -lcrypt endif ifeq ($(AUDITH), y) override CFLAGS += -DUSE_AUDIT - LDLIBS += -laudit + override LDLIBS += -laudit endif TARGETS=$(patsubst %.c,%,$(sort $(wildcard *.c))) diff --git a/policycoreutils/secon/Makefile b/policycoreutils/secon/Makefile index 1f074ff1..8e491d74 100644 --- a/policycoreutils/secon/Makefile +++ b/policycoreutils/secon/Makefile @@ -9,7 +9,7 @@ WARNS=-Werror -W -Wall -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wca VERSION = $(shell cat ../VERSION) CFLAGS ?= $(WARNS) -O1 override CFLAGS += -DVERSION=\"$(VERSION)\" -LDLIBS = -lselinux +override LDLIBS += -lselinux all: secon diff --git a/policycoreutils/semodule/Makefile b/policycoreutils/semodule/Makefile index 39ff6a93..fffb43ac 100644 --- a/policycoreutils/semodule/Makefile +++ b/policycoreutils/semodule/Makefile @@ -6,13 +6,12 @@ MANDIR = $(PREFIX)/share/man LIBDIR ?= $(PREFIX)/lib CFLAGS ?= -Werror -Wall -W -LDLIBS = -lsepol -lselinux -lsemanage +override LDLIBS += -lsepol -lselinux -lsemanage SEMODULE_OBJS = semodule.o all: semodule genhomedircon semodule: $(SEMODULE_OBJS) - $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) genhomedircon: ln -sf semodule genhomedircon diff --git a/policycoreutils/sestatus/Makefile b/policycoreutils/sestatus/Makefile index 8dbbc011..41ca6832 100644 --- a/policycoreutils/sestatus/Makefile +++ b/policycoreutils/sestatus/Makefile @@ -7,11 +7,11 @@ LIBDIR ?= $(PREFIX)/lib CFLAGS ?= -Werror -Wall -W override CFLAGS += -D_FILE_OFFSET_BITS=64 -LDLIBS = -lselinux +override LDLIBS += -lselinux all: sestatus -sestatus: sestatus.o +sestatus: sestatus.o install: all [ -d $(MANDIR)/man8 ] || mkdir -p $(MANDIR)/man8 @@ -24,7 +24,7 @@ install: all install -m 644 sestatus.conf $(ETCDIR) clean: - rm -f sestatus *.o + rm -f sestatus *.o indent: ../../scripts/Lindent $(wildcard *.[ch]) diff --git a/policycoreutils/setfiles/Makefile b/policycoreutils/setfiles/Makefile index 4b8cd815..c08e2dd1 100644 --- a/policycoreutils/setfiles/Makefile +++ b/policycoreutils/setfiles/Makefile @@ -8,21 +8,21 @@ AUDITH ?= $(shell test -f /usr/include/libaudit.h && echo y) ABORT_ON_ERRORS=$(shell grep "^\#define ABORT_ON_ERRORS" setfiles.c | awk -S '{ print $$3 }') CFLAGS ?= -g -Werror -Wall -W -LDLIBS = -lselinux -lsepol +override LDLIBS += -lselinux -lsepol ifeq ($(AUDITH), y) override CFLAGS += -DUSE_AUDIT - LDLIBS += -laudit + override LDLIBS += -laudit endif all: setfiles restorecon restorecon_xattr man -setfiles: setfiles.o restore.o +setfiles: setfiles.o restore.o restorecon: setfiles ln -sf setfiles restorecon -restorecon_xattr: restorecon_xattr.o restore.o +restorecon_xattr: restorecon_xattr.o restore.o man: @cp -af setfiles.8 setfiles.8.man diff --git a/policycoreutils/setsebool/Makefile b/policycoreutils/setsebool/Makefile index 32959635..bc254dab 100644 --- a/policycoreutils/setsebool/Makefile +++ b/policycoreutils/setsebool/Makefile @@ -7,7 +7,7 @@ LIBDIR ?= $(PREFIX)/lib BASHCOMPLETIONDIR ?= $(DESTDIR)/usr/share/bash-completion/completions CFLAGS ?= -Werror -Wall -W -LDLIBS = -lsepol -lselinux -lsemanage +override LDLIBS += -lsepol -lselinux -lsemanage SETSEBOOL_OBJS = setsebool.o BASHCOMPLETIONS=setsebool-bash-completion.sh diff --git a/restorecond/Makefile b/restorecond/Makefile index b1df89f7..ada94aeb 100644 --- a/restorecond/Makefile +++ b/restorecond/Makefile @@ -29,7 +29,7 @@ else endif export PCRE_CFLAGS PCRE_LDLIBS -LDLIBS += -lselinux $(PCRE_LDLIBS) $(DBUSLIB) +override LDLIBS += -lselinux $(PCRE_LDLIBS) $(DBUSLIB) all: restorecond diff --git a/sandbox/Makefile b/sandbox/Makefile index b12fb774..05c3d658 100644 --- a/sandbox/Makefile +++ b/sandbox/Makefile @@ -10,7 +10,7 @@ MANDIR ?= $(PREFIX)/share/man LOCALEDIR ?= /usr/share/locale SHAREDIR ?= $(PREFIX)/share/sandbox override CFLAGS += -DPACKAGE="\"policycoreutils\"" -Wall -Werror -Wextra -W -LDLIBS += -lselinux -lcap-ng +override LDLIBS += -lselinux -lcap-ng SEUNSHARE_OBJS = seunshare.o all: sandbox seunshare sandboxX.sh start diff --git a/secilc/Makefile b/secilc/Makefile index 1e36c6e0..1cac53e4 100644 --- a/secilc/Makefile +++ b/secilc/Makefile @@ -4,8 +4,6 @@ MANDIR ?= $(PREFIX)/share/man LIBDIR ?= $(PREFIX)/lib INCLUDEDIR ?= $(PREFIX)/include -LDLIBS = -lsepol - SECILC = secilc SECILC_SRCS := secilc.c SECILC_OBJS := $(patsubst %.c,%.o,$(SECILC_SRCS)) @@ -21,6 +19,7 @@ XMLTO = xmlto CFLAGS ?= -Wall -Wshadow -Wextra -Wundef -Wmissing-format-attribute -Wcast-align -Wstrict-prototypes -Wpointer-arith -Wunused override CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 +override LDLIBS += -lsepol all: $(SECILC) $(SECIL2CONF) man diff --git a/semodule-utils/semodule_expand/Makefile b/semodule-utils/semodule_expand/Makefile index 22e3579c..072f2137 100644 --- a/semodule-utils/semodule_expand/Makefile +++ b/semodule-utils/semodule_expand/Makefile @@ -6,7 +6,7 @@ LIBDIR ?= $(PREFIX)/lib MANDIR ?= $(PREFIX)/share/man CFLAGS ?= -Werror -Wall -W -LDLIBS = -lsepol +override LDLIBS += -lsepol all: semodule_expand diff --git a/semodule-utils/semodule_link/Makefile b/semodule-utils/semodule_link/Makefile index 1e4e2788..cc4687bd 100644 --- a/semodule-utils/semodule_link/Makefile +++ b/semodule-utils/semodule_link/Makefile @@ -6,7 +6,7 @@ MANDIR ?= $(PREFIX)/share/man LIBDIR ?= $(PREFIX)/lib CFLAGS ?= -Werror -Wall -W -LDLIBS = -lsepol +override LDLIBS += -lsepol all: semodule_link diff --git a/semodule-utils/semodule_package/Makefile b/semodule-utils/semodule_package/Makefile index 5b0d2cc9..96dd7c4f 100644 --- a/semodule-utils/semodule_package/Makefile +++ b/semodule-utils/semodule_package/Makefile @@ -6,7 +6,7 @@ LIBDIR ?= $(PREFIX)/lib MANDIR ?= $(PREFIX)/share/man CFLAGS ?= -Werror -Wall -W -LDLIBS = -lsepol +override LDLIBS += -lsepol all: semodule_package semodule_unpackage