From patchwork Mon Jul 16 18:23:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Casey Schaufler X-Patchwork-Id: 10527581 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 04CA3600D0 for ; Mon, 16 Jul 2018 18:43:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB5A328DDD for ; Mon, 16 Jul 2018 18:43:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DEDCE28F42; Mon, 16 Jul 2018 18:43:02 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, NO_RDNS_DOTCOM_HELO, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from upbd19pa08.eemsg.mail.mil (upbd19pa08.eemsg.mail.mil [214.24.27.83]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C37FD28DDD for ; Mon, 16 Jul 2018 18:42:59 +0000 (UTC) Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by upbd19pa08.eemsg.mail.mil with ESMTP; 16 Jul 2018 18:42:57 +0000 X-IronPort-AV: E=Sophos;i="5.51,362,1526342400"; d="scan'208";a="15798860" IronPort-PHdr: =?us-ascii?q?9a23=3AEiNEbhK06RQLxTqGf9mcpTZWNBhigK39O0sv0r?= =?us-ascii?q?FitYgTIvr9rarrMEGX3/hxlliBBdydt6oazbKO+4nbGkU4qa6bt34DdJEeHz?= =?us-ascii?q?Qksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPER?= =?us-ascii?q?vjKwV1Ov71GonPhMiryuy+4ZLebxlJiTanfb9+MAi9oBnMuMURnYZsMLs6xA?= =?us-ascii?q?HTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKH?= =?us-ascii?q?w65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz?= =?us-ascii?q?+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvdxcLndfdcHTm?= =?us-ascii?q?RfWMhfWTFKDoelY4cSE+YNOOBVoI7/qFQUrRu+Ag6sCPr2xjJUiHL73LA23/?= =?us-ascii?q?09HQ3bwQcsG8wCvGjRoNjzKawcU/26zLPQwDvdYfNY2TTz5obGfR8uo/6CQK?= =?us-ascii?q?pwfMjMxUQhCwzLgUufqZf+MjOJ1OkAqXSX4/ZuWO6xjWMstgF/oiKoxscpko?= =?us-ascii?q?TEmJgaykva+iR53Y07OMG3SE5hbt65HptQsz+VN5FrSc4lX25noj06xaMGuJ?= =?us-ascii?q?OgZygF1JQnyATCa/yJd4iH/AjjWP+NLjhinn5qZLW/hxOr/EWm1+byVdG03U?= =?us-ascii?q?5XoidKndTArHAA2wHJ5sSZRfZx4F2t1SuX2w3S6OxIO104mKvfJpI7w7M9lo?= =?us-ascii?q?AfvVrdEiL5nkj9kbWYeV8++uey7uTqerDmppiBOIBqkgz+KaEumtCnAeQ/Lw?= =?us-ascii?q?gOQ3CX+eSi273n+k30WKlKgecskqnYrZDaPt4Xpq+/Aw9b1YYj8AiwACu83N?= =?us-ascii?q?QEnXgIMFJFeBWdg4jvJ17OO+z3Ae26g1StlDdn3/HGPrv/DZXRNnXPjbjscL?= =?us-ascii?q?ln50Nc1QY/185T6p1KBr0bPf7/Qkrxu8bZDh89PQy02eHnCNBl24MFR22PBq?= =?us-ascii?q?6ZMKXPsV6H/+4gOO6MZJITuDnhNfcl/OXjjWM5mFABfamp2oEbaHajHvt8OU?= =?us-ascii?q?mZbn3sgskZHWcQogU+VPDqiEGFUTNLZXayWKQ86SsnCIKmF4jDQJuggL6G3C?= =?us-ascii?q?e9G51ZfHtGCkySHnfybIWIQfAMaDidIsV5iDwLSaChS5M91RGprAL6ybhnIf?= =?us-ascii?q?DI9S0brpLj09515+zNlRwp+zx0C9md0m6WQGFpmGMIWyI20Lp4oUxnxVeJyb?= =?us-ascii?q?J4jOBAFdxP+/NJVR83NJ7Bz+xgF9/yWgXBfs2SRVa7QdWmGys9TtQvzN8Se0?= =?us-ascii?q?x9Acmtjgjf3yq2BL8Yj6SLC4Iv/a3C2XjxJtp9y3Hd2akgkVYpXNVAOXehhq?= =?us-ascii?q?5l+AjZH5TJnFmBl6a2aaQc2zbA+3qEzWqIukFXTRB/UaHEXX0EfETZs8755k?= =?us-ascii?q?TYQ7+pE7QnPRNLydSeJatSdt3pkVJGSe/+N9TCeW2xgXy9CgqPxrOJcIXlYX?= =?us-ascii?q?4d3DnHBEgCjQ8T4W6MNRIiCSe5v2LeEDtuGErxbEP06+Z+snK7TlQvwgGSdU?= =?us-ascii?q?Jhzbu1+gUNhfyYUfwcwqwLtD0mqzVuE1a3x8jWBMaYpwp9YKVcZssw4FZB1W?= =?us-ascii?q?LFqQN9OoKvL6V8iV4CaQR2v1jj1xJvCopel8gqqWklzAt2Ka2D11NAeCmU3Z?= =?us-ascii?q?fqOr3YMmPy5gyga7bK2lHC19ab4qkO6PU8q1Xmog6pDFEv83t53NZI1Huc/I?= =?us-ascii?q?/FDBIIUZL2UEY46QR1p63Abik6/YPU2mVmMbOovT/ax9IpGOwlxw6jf9hFM6?= =?us-ascii?q?OEExLyHtYZB8e0K+wqnEWpYggDPOBI+64+J9mmeOee2K63IOZgmyqrgn5a74?= =?us-ascii?q?Bn00KD6TB8R/XS0JkZxvGUxAyHVy3zjF25qMD4hZhEZS0OHmq40SXrGJReZq?= =?us-ascii?q?lscoYQFWevI8q3y85lh5HxWn5X6lijB08H2MCzYxaSaULy3RFI30QNvXOngT?= =?us-ascii?q?e4zyBzkzwxtKqQwTHBzv/tdBoCNW9HXm9igknwIYKsldAVQFCobxQ1lBui/U?= =?us-ascii?q?v63KZbpL54L2nIXUdFZDP2L2dlUqq+s7qNechP5IkusSpJTOS2eUqaRaLlox?= =?us-ascii?q?sGzyPjGHNTxT4heDGuppX2gQZ6iHmGIXZtsnXZY9p/xQra5NDGQv5RxDUGTj?= =?us-ascii?q?FiiTbLHli8I8Wp/dKMmpfFs+C+U2ahWYNIcSTw14yPqjG75WpwDR24hfCzlc?= =?us-ascii?q?XtERIm3i/jy9lqSSLIoQ7iYonqy6u6LeVnflNyCFDg68p6HYd+koQriZEU2H?= =?us-ascii?q?gagI+a/WAAkWvpNtVbw63+ZmIXRTEX297V/BTl2Ep7I3KNxoL5TWmdztJ6Z9?= =?us-ascii?q?akZmMW2yQ9791FCaqP97xEhSp1oly5rQ3NevhxhDEdxuUy6HQCmeEGpBItzj?= =?us-ascii?q?mBArAVBURYJyvslxCM79+gtqVYeGGvcLar2UplgNCuEKqCrhtbWHbjdZcoBT?= =?us-ascii?q?Vw4dlnMFLQzH3z7ZnpeNrOYtIVrR2ZiBTAgPZTKJIqkPoFmzZnNXj6vX0/xO?= =?us-ascii?q?4xlQZu0o2ivIibN2Vt+7q0AgZCOT3oY8Mc5CntgrxYnsaKwY+vBI5sGigQXJ?= =?us-ascii?q?T2V/KoCygete/gNwaTCj0ztmmUGbTYHQ+F50dpsWjDE5a1OHGLPHMZ18ltRA?= =?us-ascii?q?GBJExDhwAZRCs6npgkGQ2x2szhdlp25jAL6l7+tBRM1vpiNwPjXWfHuAeodj?= =?us-ascii?q?A0RYCHLBVM8wFC41zYPtCf7uJvHyBU55OhoxaLKmCBYARIF24JUFSeB1//Jr?= =?us-ascii?q?mu+cXA8++AC+q9L/rOZauBpPdbV/ePy5Kv3JVp/yqQNsWPOXliCuM01lBFXX?= =?us-ascii?q?9nB8TTgy8PRDAPlyLRc86bow+x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yWsPzsrMstl?= =?us-ascii?q?uQ5f0lkb4DYWl1bBOnEecDTM4dx2Hgza8wwSIqDczDA6rq+ORfWHIhgjLgh5?= =?us-ascii?q?d9Ek0QGvMQBreL/IJenmIil+zYMN0WfLpClXyUFR64CL8C1GKk6zeKIGl/nB?= =?us-ascii?q?7CyRbwQXm87FXuty93XTPMz8v/kkpSTrS3AEBSXyy1OU93rjyCJw/otNvttq?= =?us-ascii?q?Qz8k42LmLltNWXlGuiI7NbBcv/K8KAISMsvlIYkIUxRsCz2YAcAde9JMwR8H?= =?us-ascii?q?R+Y/bF5WOkjTJOo6Bdh4XE+sGV4PLXHXu+gKKGt7WB3jdYymI3vVsn8NCvKu?= =?us-ascii?q?nO58GWQ/Svz2sRTiZ+tBHbUBGpsbHbtE4bOVCV30jXgoAKOctZ3XYg3EH8+O?= =?us-ascii?q?cjWM4z9BlZFovYfPwCpCvzOTXuzladYtI3SjGe3CFKHlLxClR3BK8813/us8?= =?us-ascii?q?3TiHfQ4VooRpNqeED9ghx3FYo4I1o36FcL2ioDDRQNaReDAbGwH0vlMZcLVU?= =?us-ascii?q?gNaBSAxri6eb473VZtzbOr5e/Ta/F8BqUWO/ZFlAGOgERUGpIYsK0ZWrJ8eE?= =?us-ascii?q?VR9K3JqQj4DYjoQfzmmWA3Nf2vTcBQ6doZuGc64gajWxqg7o9O77kFh5COaq?= =?us-ascii?q?5EZp/MsMdn70h54T4PdypNgAVwjh6iVeATuvrj49jBv5ay7OahSrotTf0N9x?= =?us-ascii?q?coH2R+k4fwgFc7rNHR1udTVorViYDl/wBWOXKKuYHa0x5nKeoVMI+reblt9n?= =?us-ascii?q?odKygZPXIOMsKca+Mg7C91LDXT+1tCD9sDZdwEJ8rNghlYhFDmVr9V98rbHE?= =?us-ascii?q?KYCohoesAn6mr40jY1/oUmXubn8j+2KojV70tRMPNbkCVsiNXCqfAXwfrVCC?= =?us-ascii?q?gX52OVZAR1wiOG1pmCFvfx/eSKyNHPVFMGHzU7U5lcJDqc4wOnQve6lJTzXg?= =?us-ascii?q?OS9MDznIo0dFiMSXypgKQFrqFMHPZBiiXlxDdeEJv4h/aIs9Wx6WtXsUZHHJ?= =?us-ascii?q?x07R3fF6VVJo97Ngjglsm3Wkh8ATPyeMPKeRogtuqWwvwB4utkOEv4e4AbPg?= =?us-ascii?q?gIy7Tk5npJVgFuUqL5vk6FXeINY9trUPzErnRS6YNuNaAPOFydqYfxrjdPrl?= =?us-ascii?q?A2ARMmZKU2rjNEaknEhBdVVLrsuL4clgscVsZ0uUpNGWKzO2I+4CHKVaZPg6?= =?us-ascii?q?mSD/wV9CucTqoUX0VuLCx+Xwu/2I9ydLuxgfBHrmRGkztmr/c01TxmWACxuT?= =?us-ascii?q?bop6IKxTIg5K+4uysctnBfSeWeiSjIA01ZzPsWlaccF2ri6VukbXkNcoTy5L?= =?us-ascii?q?hnJdz++oQ64nU/YBAjfygYUuS6DyH/kbmEAouVsNJTnBSNotnBbaevLSgOMb?= =?us-ascii?q?Qw0RziR2Bn0gjfgBln7nAGQjCh7N84PoWyJ9wpxi2yGWjUbFwM+L9GsNPttV?= =?us-ascii?q?4XS+s7cVRhwGF93cWcXi0NQNbAG30pjggldWpEbIhD5gEEGKUyhDaHoLVG9B?= =?us-ascii?q?kOYDjICoSl5pXQncDQ1Hk5TNdqwH/Wp6KcipMu0X1lgM907jWVtXQTbePYVc?= =?us-ascii?q?hsDmL01odFxuz0f++tvfwfSIt61LShV+cPMsy59mSq2JVqW0mlxrMFElqnMe?= =?us-ascii?q?8DwKnUUyOkSW2eROSKfHKAnzEjMk79/ROoNEE4aN9Wr08hNevPnpxcmBfiUb?= =?us-ascii?q?NzXSqdvkLbzGo/MeMacAI2pYinewwWTOILYeiTO/QuyuUkCFQQd3/JATd2C+?= =?us-ascii?q?iuvF62koh7Pmlv7ET5bOn27ADpLsGSGhgFEI7dqJ594/q6SXydOSwo8BonGH?= =?us-ascii?q?JRv7PbFlIspqpHfp2Mh9nMlpF+1uIYc/pFLyIwo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Q4qoOA2iElQFJM3pMS8oUt0fkXrOaag5S2W?= =?us-ascii?q?goh+Nj115EeAl6XnB0lHwDtOe0GspeD1UTiW4=3D?= X-IPAS-Result: =?us-ascii?q?A2C/BwBw5kxb/wHyM5BcGwEBAgMBAQoBAYNHgQlKEiiMX?= =?us-ascii?q?409CIEZgV+SeYFiJxSFBIJAOBQBAgEBAQEBAQIBbBwMgjUkgl4DAwECJBMGA?= =?us-ascii?q?QEMIAsBAgMJAQFACAgDAS0UAREGAQcFBgIBAQEYBIJ/gWgDFQOeP4obgWkzg?= =?us-ascii?q?nEBAQWBAgEBX4I1A4MnCBeHVIMtgREnDIIpggmCdAESAYV1h2eFLy6MGgmPI?= =?us-ascii?q?WqHVYUsjD+HLSFhcU0jFTuCaYIlF4NFihwBVU98imCCOQEB?= Received: from tarius.tycho.ncsc.mil (HELO tarius.infosec.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 16 Jul 2018 18:42:55 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus.infosec.tycho.ncsc.mil [192.168.25.40]) by tarius.infosec.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w6GIgsQb023863; Mon, 16 Jul 2018 14:42:55 -0400 Received: from tarius.infosec.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 w6GIaUGB024456 for ; Mon, 16 Jul 2018 14:36:30 -0400 Received: from goalie.tycho.ncsc.mil (goalie.infosec.tycho.ncsc.mil [144.51.242.250]) by tarius.infosec.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w6GIad3a023502 for ; Mon, 16 Jul 2018 14:36:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1CqBgAE5Uxbly0VGNZcHAEBAQQBAQoBA?= =?us-ascii?q?YNGgWUog3yIY4tdgWAIgRmBX5RfhHcCQoIfITgUAQIBAQEBAQECFAEBAQEBBhg?= =?us-ascii?q?GTIVDAwMjBBkBATcBDyUCJgICRRIGAQwGAgEBgxyBaAMVA55EihtuezOCcQEBB?= =?us-ascii?q?YECAQFfgjUDgycIF3SGYIEXghaBEScMgimCCYYoglWHZ4UvLowaCY8haodVhSy?= =?us-ascii?q?MP4ctgXNNIxWDJIIZDA4JEYM0ihwBVU+OFQEB?= X-IPAS-Result: =?us-ascii?q?A1CqBgAE5Uxbly0VGNZcHAEBAQQBAQoBAYNGgWUog3yIY4t?= =?us-ascii?q?dgWAIgRmBX5RfhHcCQoIfITgUAQIBAQEBAQECFAEBAQEBBhgGTIVDAwMjBBkBA?= =?us-ascii?q?TcBDyUCJgICRRIGAQwGAgEBgxyBaAMVA55EihtuezOCcQEBBYECAQFfgjUDgyc?= =?us-ascii?q?IF3SGYIEXghaBEScMgimCCYYoglWHZ4UvLowaCY8haodVhSyMP4ctgXNNIxWDJ?= =?us-ascii?q?IIZDA4JEYM0ihwBVU+OFQEB?= X-IronPort-AV: E=Sophos;i="5.51,362,1526356800"; d="scan'208";a="324770" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.34]) by goalie.tycho.ncsc.mil with ESMTP; 16 Jul 2018 14:36:36 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3ApE0oMx1Krquh2aWMsmDT+DRfVm0co7zxezQtwd?= =?us-ascii?q?8ZsesUK/jxwZ3uMQTl6Ol3ixeRBMOHs6wC07KempujcFRI2YyGvnEGfc4EfD?= =?us-ascii?q?4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFA?= =?us-ascii?q?nhOgppPOT1HZPZg9iq2+yo9JDffwRFiCChbb9uMR67sRjfus4KjIV4N60/0A?= =?us-ascii?q?HJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L2?= =?us-ascii?q?81/szrugLdQgaJ+3ART38ZkhtMAw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YyNVt5+DV3So3/DhwAtXVh3qBVEloj2gIQHkwx6k5rktjnBPL6o?= =?us-ascii?q?Uwp/1eCMwbs+hEVgY8KI700/1xC9e0XBnIONiOVgDiCp+dJBgabZc9wsQFfl?= =?us-ascii?q?1mM9GjlQzYmXLzRbgPmPbDUKcR24n/mnTwPM1g0G3u0Kg6k0JgGpIJMnep0O?= =?us-ascii?q?o31Q/TAcbrlEWQkb2nc+xI3inN8iGBymqHulpVViZ7WKPCW3EUb0+QptP8sA?= =?us-ascii?q?eKbLKjEvwMNQxCgZqBJ6ZRYdrujn1NRO3kPdXDZiS2gWjmQV60y6+XcY2iW2?= =?us-ascii?q?wb0CyVXFAJlQ8O/HDDNgUkACqli2ObCDtwGBT0akDx6+A4rn79TFdii0moZk?= =?us-ascii?q?hszPKQ/QQPhOfUH/EW2ageuTwJrTxxEVf72MjZXYmuvQ1kKY5Vet4sqGxM1W?= =?us-ascii?q?vEuQhwJNT0JKl5i082aA93tl7g0xhtT45J18MtqSV5n0JJNauE3QYZJHuj1p?= =?us-ascii?q?fqN+iSejGopkKmdrLW11fC0d2f5qYI7rEipk7+uB2yTBF/oUhH8v0O+EO1vs?= =?us-ascii?q?yMAQcXSp23V082815/prWJKjIl6dby0nthebKxrieEw8ggUeAs0RuxV8xUMK?= =?us-ascii?q?qZGgv/CYgRDo6lL+l500OxYEciO+ZfvLUxI9vgcvKH3KCxO+M1lzu9gHVv+4?= =?us-ascii?q?t921+C8ydmD+XBmZ0CxqLQxROJAhH7ilrpqcXrgcZEaDUVS3K40jThDZVNa7?= =?us-ascii?q?daZoENCGz1e53yn4g4jJnrQHtCsluqBldA19bwPwubb1v6mwZX0BdfrX+mnH?= =?us-ascii?q?6gxidv23Eyr6WZ1TDT2emqahcdO2BKSWUjxVfhKIS5lZYbCWC5Zgguk12u4k?= =?us-ascii?q?P3?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ArBgDS5Exbly0VGNZcHAEBAQQBAQo?= =?us-ascii?q?BAYNGgWUog3yIY4tdgWAIgRmBX5RfhHcCQoIfITgUAQIBAQEBAQECARMBAQE?= =?us-ascii?q?BAQYYBkwMgjUkgl4DAyMEGQEBNwEPJQImAgJFEgYBDAYCAQGDHIFoAxUDnkS?= =?us-ascii?q?KG257M4JxAQEFgQIBAV+CNQODJwgXdIZggReCFoERJwyCKYIJhiiCVYdnhS8?= =?us-ascii?q?ujBoJjyFqh1WFLIw/hy2Bc00jFYMkghkMDgkRgzSKHAFVT44VAQE?= X-IPAS-Result: =?us-ascii?q?A0ArBgDS5Exbly0VGNZcHAEBAQQBAQoBAYNGgWUog3yIY?= =?us-ascii?q?4tdgWAIgRmBX5RfhHcCQoIfITgUAQIBAQEBAQECARMBAQEBAQYYBkwMgjUkg?= =?us-ascii?q?l4DAyMEGQEBNwEPJQImAgJFEgYBDAYCAQGDHIFoAxUDnkSKG257M4JxAQEFg?= =?us-ascii?q?QIBAV+CNQODJwgXdIZggReCFoERJwyCKYIJhiiCVYdnhS8ujBoJjyFqh1WFL?= =?us-ascii?q?Iw/hy2Bc00jFYMkghkMDgkRgzSKHAFVT44VAQE?= X-IronPort-AV: E=Sophos;i="5.51,362,1526342400"; d="scan'208";a="13851721" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from uhil3cpa06.eemsg.mail.mil ([214.24.21.45]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 16 Jul 2018 18:36:35 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;370d9402-38ed-4847-870f-c0e09fce7d81 Authentication-Results: UHIL3CPA01.eemsg.mail.mil; spf=None smtp.pra=casey@schaufler-ca.com; spf=None smtp.mailfrom=casey@schaufler-ca.com; spf=None smtp.helo=postmaster@sonic308-15.consmr.mail.gq1.yahoo.com; dkim=pass (signature verified) header.i=@yahoo.com X-EEMSG-check-008: 711311201|UHIL3CPA01_EEMSG_MP17.csd.disa.mil X-EEMSG-SBRS: 3.4 X-EEMSG-ORIG-IP: 98.137.68.39 X-EEMSG-check-002: true IronPort-PHdr: =?us-ascii?q?9a23=3ASjmWORKGZ8Qyxup90tmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgXKP/zrarrMEGX3/hxlliBBdydt6oazbKO+4nbGkU4qa6bt34DdJEeHzQksu?= =?us-ascii?q?4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1?= =?us-ascii?q?Ov71GonPhMiryuy+4ZLebxlJiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPde?= =?us-ascii?q?RWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbY?= =?us-ascii?q?UwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiC?= =?us-ascii?q?cfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvdxeaHScskaRWpGWcZdTjVND5+y?= =?us-ascii?q?YoYOEuYNJPpUo5TgrFcKsxeyGQygCeXywTFKm3D2x7U33fk/HwHI3AIuHNwAv3?= =?us-ascii?q?rbo9r3KKgcXvu4zLXKwDjZc/9axTnw5YrOfxs8of+MR7Vwcc/JxEQxDQzFlUuf?= =?us-ascii?q?qIz4ND2IyusNs3KU7/duVeKrlWEnsRx6rz+zycg2kYnGmIIUx0vf9SplwIY6P8?= =?us-ascii?q?C4SEB/YdG6Cptcrj2VOJFsTsw+RGFovT83x7sbspC4ZCgH0JAqyh3FZ/CafYWF?= =?us-ascii?q?4AjvWeeSLDtiin9ofKqzihew/ES61+HxV8253ExLoydFiNXAqG4B2hPV58OaUP?= =?us-ascii?q?Vy5F2h1iyK1w3L6uFLP0Q0la3DJp46xb4wkJsTvljNEyPqm0j6lbKae0U+9ue0?= =?us-ascii?q?7OTnZK7mppqGN4NujwHxKKUumsilDeQ3KwgCQnKX+OSm273j+k35R69GgeExkq?= =?us-ascii?q?ncqJzaJMIb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zm6maeieJsP/Msz1ObR/ka?= =?us-ascii?q?KLmNTV+gCMYaDtWgLOEw3lOgKBkDObIKrfNmD4adb/KDnZWTEqNgkTah1jUV+4?= =?us-ascii?q?d700nXr3o5E7OO1JED2PSCmA6OVjO6g0749NH+mYdDIzoVGzjnxA=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0COBQAE5UxbhidEiWJcHQEBBQELAYUrK?= =?us-ascii?q?IN8iGONPQiBGYFflF+EdwJCgh8ZBgY0FAECAQEBAQEBAQEBEwEBAQgLCwgpIwy?= =?us-ascii?q?CNSSCXgMDIwQZAQE3AQ8lAiYCAkUSBgEMBgIBAYMcgWgDFZ5HihtuezOCcQEBB?= =?us-ascii?q?YECAQFfgjUDgycIF3SGYIMtgREnDIIpB4IChiiCVYdnhS8ujBoJjyFqh1WFLIw?= =?us-ascii?q?/hy2Bc00jFYMkghkMDgmDRYocAVUfMI4VAQE?= X-IPAS-Result: =?us-ascii?q?A0COBQAE5UxbhidEiWJcHQEBBQELAYUrKIN8iGONPQiBGYF?= =?us-ascii?q?flF+EdwJCgh8ZBgY0FAECAQEBAQEBAQEBEwEBAQgLCwgpIwyCNSSCXgMDIwQZA?= =?us-ascii?q?QE3AQ8lAiYCAkUSBgEMBgIBAYMcgWgDFZ5HihtuezOCcQEBBYECAQFfgjUDgyc?= =?us-ascii?q?IF3SGYIMtgREnDIIpB4IChiiCVYdnhS8ujBoJjyFqh1WFLIw/hy2Bc00jFYMkg?= =?us-ascii?q?hkMDgmDRYocAVUfMI4VAQE?= Received: from sonic308-15.consmr.mail.gq1.yahoo.com ([98.137.68.39]) by UHIL3CPA01.eemsg.mail.mil with ESMTP; 16 Jul 2018 18:35:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1531766119; bh=K3faEMpjoT0yIT+hjTC+Hc8UfBnvQ/CmJCHPkG00jeI=; h=Subject:To:Cc:References:From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1Fr2XePlqqH9il2s8RMNB27G fFhc1b8vwKmlWjJU3WkhapmEN1poHXroswaEKLvf4XRwhrsIHZK1Q8uAF952Z4LCwR03Jbntr6fk 2ma8awbyb9L07Lc_kYSJEU0otgomsbDfdAooZYgEui0zgoVHHG7x.3A7BC03XgFN6CABoI2vvNVS a49Un2kaDtnbLMuKKAc3l_F7ZReSpFh7QhZZk5Nnm.qIUGVbviXrETg2aCMjJHNzj7XoAljk.1qj YMj6udHykjIgymJR5TJC3lhW9K7o.pGlSsATj_3H13.6luBt5OGQMvlbhDMAR3B.hndSr3UP9WmX lL_UY1KEIw3TXzATkB09KU2hywWjcNeM- Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Mon, 16 Jul 2018 18:35:19 +0000 Received: from c-67-169-65-224.hsd1.ca.comcast.net (EHLO [192.168.0.100]) ([67.169.65.224]) by smtp428.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 1e0f0a8cbf320a1753bef11666eff08e; Mon, 16 Jul 2018 18:24:02 +0000 (UTC) To: LSM , LKLM , Paul Moore , Stephen Smalley , SE Linux , "SMACK-discuss@lists.01.org" , John Johansen , Kees Cook , Tetsuo Handa , James Morris References: <8a325db8-e7eb-9581-2b77-fc987a165df7@schaufler-ca.com> X-EEMSG-check-009: 444-444 From: Casey Schaufler Message-ID: <73337db4-af36-0007-63a0-9e5a6fb7a43e@schaufler-ca.com> Date: Mon, 16 Jul 2018 11:23:59 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <8a325db8-e7eb-9581-2b77-fc987a165df7@schaufler-ca.com> Content-Language: en-US X-Mailman-Approved-At: Mon, 16 Jul 2018 14:38:37 -0400 Subject: [PATCH v1 14/22] LSM: Infrastructure management of the key security blob 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: Cc: "Schaufler, Casey" Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP [PATCH 14/22] LSM: Infrastructure management of the key security blob Move management of the key->security blob out of the individual security modules and into the security infrastructure. Instead of allocating the blobs from within the modules the modules tell the infrastructure how much space is required, and the space is allocated there. Signed-off-by: Casey Schaufler --- include/linux/lsm_hooks.h | 1 + security/security.c | 40 ++++++++++++++++++++++++++++++- security/selinux/hooks.c | 23 +++++------------- security/selinux/include/objsec.h | 7 ++++++ security/smack/smack.h | 7 ++++++ security/smack/smack_lsm.c | 33 ++++++++++++------------- 6 files changed, 75 insertions(+), 36 deletions(-) diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 6e6967abc5b7..fe14a86c6df0 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -2026,6 +2026,7 @@ struct lsm_blob_sizes { int lbs_file; int lbs_inode; int lbs_ipc; + int lbs_key; int lbs_msg_msg; int lbs_sock; int lbs_superblock; diff --git a/security/security.c b/security/security.c index 500fb19d5aea..b95a151f7347 100644 --- a/security/security.c +++ b/security/security.c @@ -117,6 +117,9 @@ int __init security_init(void) pr_info("LSM: file blob size = %d\n", blob_sizes.lbs_file); pr_info("LSM: inode blob size = %d\n", blob_sizes.lbs_inode); pr_info("LSM: ipc blob size = %d\n", blob_sizes.lbs_ipc); +#ifdef CONFIG_KEYS + pr_info("LSM: key blob size = %d\n", blob_sizes.lbs_key); +#endif /* CONFIG_KEYS */ pr_info("LSM: msg_msg blob size = %d\n", blob_sizes.lbs_msg_msg); pr_info("LSM: sock blob size = %d\n", blob_sizes.lbs_sock); pr_info("LSM: superblock blob size = %d\n", blob_sizes.lbs_superblock); @@ -297,6 +300,9 @@ void __init security_add_blobs(struct lsm_blob_sizes *needed) lsm_set_size(&needed->lbs_cred, &blob_sizes.lbs_cred); lsm_set_size(&needed->lbs_file, &blob_sizes.lbs_file); lsm_set_size(&needed->lbs_ipc, &blob_sizes.lbs_ipc); +#ifdef CONFIG_KEYS + lsm_set_size(&needed->lbs_key, &blob_sizes.lbs_key); +#endif lsm_set_size(&needed->lbs_msg_msg, &blob_sizes.lbs_msg_msg); lsm_set_size(&needed->lbs_sock, &blob_sizes.lbs_sock); lsm_set_size(&needed->lbs_superblock, &blob_sizes.lbs_superblock); @@ -432,6 +438,29 @@ int lsm_ipc_alloc(struct kern_ipc_perm *kip) return 0; } +#ifdef CONFIG_KEYS +/** + * lsm_key_alloc - allocate a composite key blob + * @key: the key that needs a blob + * + * Allocate the key blob for all the modules + * + * Returns 0, or -ENOMEM if memory can't be allocated. + */ +int lsm_key_alloc(struct key *key) +{ + if (blob_sizes.lbs_key == 0) { + key->security = NULL; + return 0; + } + + key->security = kzalloc(blob_sizes.lbs_key, GFP_KERNEL); + if (key->security == NULL) + return -ENOMEM; + return 0; +} +#endif /* CONFIG_KEYS */ + /** * lsm_msg_msg_alloc - allocate a composite msg_msg blob * @mp: the msg_msg that needs a blob @@ -2143,12 +2172,21 @@ EXPORT_SYMBOL(security_skb_classify_flow); int security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags) { - return call_int_hook(key_alloc, 0, key, cred, flags); + int rc = lsm_key_alloc(key); + + if (unlikely(rc)) + return rc; + rc = call_int_hook(key_alloc, 0, key, cred, flags); + if (unlikely(rc)) + security_key_free(key); + return rc; } void security_key_free(struct key *key) { call_void_hook(key_free, key); + kfree(key->security); + key->security = NULL; } int security_key_permission(key_ref_t key_ref, diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index ede12c1720a4..452d0c774c75 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -6441,11 +6441,7 @@ static int selinux_key_alloc(struct key *k, const struct cred *cred, unsigned long flags) { const struct task_security_struct *tsec; - struct key_security_struct *ksec; - - ksec = kzalloc(sizeof(struct key_security_struct), GFP_KERNEL); - if (!ksec) - return -ENOMEM; + struct key_security_struct *ksec = selinux_key(k); tsec = selinux_cred(cred); if (tsec->keycreate_sid) @@ -6453,18 +6449,9 @@ static int selinux_key_alloc(struct key *k, const struct cred *cred, else ksec->sid = tsec->sid; - k->security = ksec; return 0; } -static void selinux_key_free(struct key *k) -{ - struct key_security_struct *ksec = k->security; - - k->security = NULL; - kfree(ksec); -} - static int selinux_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) @@ -6482,7 +6469,7 @@ static int selinux_key_permission(key_ref_t key_ref, sid = cred_sid(cred); key = key_ref_to_ptr(key_ref); - ksec = key->security; + ksec = selinux_key(key); return avc_has_perm(&selinux_state, sid, ksec->sid, SECCLASS_KEY, perm, NULL); @@ -6490,7 +6477,7 @@ static int selinux_key_permission(key_ref_t key_ref, static int selinux_key_getsecurity(struct key *key, char **_buffer) { - struct key_security_struct *ksec = key->security; + struct key_security_struct *ksec = selinux_key(key); char *context = NULL; unsigned len; int rc; @@ -6715,6 +6702,9 @@ struct lsm_blob_sizes selinux_blob_sizes = { .lbs_file = sizeof(struct file_security_struct), .lbs_inode = sizeof(struct inode_security_struct), .lbs_ipc = sizeof(struct ipc_security_struct), +#ifdef CONFIG_KEYS + .lbs_key = sizeof(struct key_security_struct), +#endif /* CONFIG_KEYS */ .lbs_msg_msg = sizeof(struct msg_security_struct), .lbs_sock = sizeof(struct sk_security_struct), .lbs_superblock = sizeof(struct superblock_security_struct), @@ -6925,7 +6915,6 @@ static struct security_hook_list selinux_hooks[] __lsm_ro_after_init = { #ifdef CONFIG_KEYS LSM_HOOK_INIT(key_alloc, selinux_key_alloc), - LSM_HOOK_INIT(key_free, selinux_key_free), LSM_HOOK_INIT(key_permission, selinux_key_permission), LSM_HOOK_INIT(key_getsecurity, selinux_key_getsecurity), #endif diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index 848ba24921c9..96cecdbcd3fb 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h @@ -193,6 +193,13 @@ static inline struct ipc_security_struct *selinux_ipc( return ipc->security; } +#ifdef CONFIG_KEYS +static inline struct key_security_struct *selinux_key(const struct key *key) +{ + return key->security; +} +#endif /* CONFIG_KEYS */ + static inline struct sk_security_struct *selinux_sock(const struct sock *sock) { return sock->sk_security; diff --git a/security/smack/smack.h b/security/smack/smack.h index 42c36e37b0bd..e50ed4945a40 100644 --- a/security/smack/smack.h +++ b/security/smack/smack.h @@ -393,6 +393,13 @@ static inline struct smack_known **smack_ipc(const struct kern_ipc_perm *ipc) return ipc->security; } +#ifdef CONFIG_KEYS +static inline struct smack_known **smack_key(const struct key *key) +{ + return key->security; +} +#endif /* CONFIG_KEYS */ + /* * Is the directory transmuting? */ diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index f8c4b3e95e67..319450174c17 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -4153,23 +4153,13 @@ static void smack_inet_csk_clone(struct sock *sk, static int smack_key_alloc(struct key *key, const struct cred *cred, unsigned long flags) { + struct smack_known **blob = smack_key(key); struct smack_known *skp = smk_of_task(smack_cred(cred)); - key->security = skp; + *blob = skp; return 0; } -/** - * smack_key_free - Clear the key security blob - * @key: the object - * - * Clear the blob pointer - */ -static void smack_key_free(struct key *key) -{ - key->security = NULL; -} - /** * smack_key_permission - Smack access on a key * @key_ref: gets to the object @@ -4182,6 +4172,8 @@ static void smack_key_free(struct key *key) static int smack_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) { + struct smack_known **blob; + struct smack_known *skp; struct key *keyp; struct smk_audit_info ad; struct smack_known *tkp = smk_of_task(smack_cred(cred)); @@ -4195,7 +4187,9 @@ static int smack_key_permission(key_ref_t key_ref, * If the key hasn't been initialized give it access so that * it may do so. */ - if (keyp->security == NULL) + blob = smack_key(keyp); + skp = *blob; + if (skp == NULL) return 0; /* * This should not occur @@ -4215,8 +4209,8 @@ static int smack_key_permission(key_ref_t key_ref, request = MAY_READ; if (perm & (KEY_NEED_WRITE | KEY_NEED_LINK | KEY_NEED_SETATTR)) request = MAY_WRITE; - rc = smk_access(tkp, keyp->security, request, &ad); - rc = smk_bu_note("key access", tkp, keyp->security, request, rc); + rc = smk_access(tkp, skp, request, &ad); + rc = smk_bu_note("key access", tkp, skp, request, rc); return rc; } @@ -4231,11 +4225,12 @@ static int smack_key_permission(key_ref_t key_ref, */ static int smack_key_getsecurity(struct key *key, char **_buffer) { - struct smack_known *skp = key->security; + struct smack_known **blob = smack_key(key); + struct smack_known *skp = *blob; size_t length; char *copy; - if (key->security == NULL) { + if (skp == NULL) { *_buffer = NULL; return 0; } @@ -4520,6 +4515,9 @@ struct lsm_blob_sizes smack_blob_sizes = { .lbs_file = sizeof(struct smack_known *), .lbs_inode = sizeof(struct inode_smack), .lbs_ipc = sizeof(struct smack_known *), +#ifdef CONFIG_KEYS + .lbs_key = sizeof(struct smack_known *), +#endif /* CONFIG_KEYS */ .lbs_msg_msg = sizeof(struct smack_known *), .lbs_sock = sizeof(struct socket_smack), .lbs_superblock = sizeof(struct superblock_smack), @@ -4639,7 +4637,6 @@ static struct security_hook_list smack_hooks[] __lsm_ro_after_init = { /* key management security hooks */ #ifdef CONFIG_KEYS LSM_HOOK_INIT(key_alloc, smack_key_alloc), - LSM_HOOK_INIT(key_free, smack_key_free), LSM_HOOK_INIT(key_permission, smack_key_permission), LSM_HOOK_INIT(key_getsecurity, smack_key_getsecurity), #endif /* CONFIG_KEYS */