Message ID | 20180517051117.48454-6-jason@perfinion.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <selinux-bounces@tycho.nsa.gov> 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 296DF60353 for <patchwork-selinux@patchwork.kernel.org>; Thu, 17 May 2018 05:14:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1955E288CB for <patchwork-selinux@patchwork.kernel.org>; Thu, 17 May 2018 05:14:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D24A288E2; Thu, 17 May 2018 05:14:00 +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=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from ucol19pa09.eemsg.mail.mil (ucol19pa09.eemsg.mail.mil [214.24.24.82]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89A8E288CB for <patchwork-selinux@patchwork.kernel.org>; Thu, 17 May 2018 05:13:58 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.49,409,1520899200"; d="scan'208";a="698999885" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by ucol19pa09.eemsg.mail.mil with ESMTP/TLS/AES256-SHA; 17 May 2018 05:13:58 +0000 X-IronPort-AV: E=Sophos;i="5.49,409,1520899200"; d="scan'208";a="13412637" IronPort-PHdr: =?us-ascii?q?9a23=3AMwF5gBwDRMJNpurXCy+O+j09IxM/srCxBDY+r6?= =?us-ascii?q?Qd1uwVI/ad9pjvdHbS+e9qxAeQG9mDsLQc06L/iOPJYSQ4+5GPsXQPItRnd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zYEAc1MxaozOb/FNV9yoQeVHqNAq?= =?us-ascii?q?+eNqPdq0OI5uI1LOmKf4IVujH9K/4g5/H0ln85hUESfbOy3ZcNb3C4BPtmKV?= =?us-ascii?q?2DYXXwmtcBDXsKvg0mQezoil2NSyJcZ3WpX6I74DE7CZymAJzNRoCpnbyA0z?= =?us-ascii?q?y0HoBQZmBaF1CAC3Dod5+LW/0UciKdPtdhkiAYVbimU4IhzQ+huxTkxLphL+?= =?us-ascii?q?rU5ioYuIni1Ndr+eLciws+9TtuD8SSy2uNVX17nnsURz8q26ByuVFyylCF0a?= =?us-ascii?q?h+nvNXC9hT5/JSXwggK5Hc1et6B8r1WgLbcdeDUEymTcm+ATEtUtIxxMcDbF?= =?us-ascii?q?thG9q4lBDOxDalA7gQl7OXHpM06b7c02L3J8lj13bMzLMhgEU+QstTKW2mgb?= =?us-ascii?q?Zy9wnVB47VjUqZk7ildaEC0y7R7meCzXGDvEZAUAFuV6XFWGoQZkrSrdvi4U?= =?us-ascii?q?PDQKWiCbM9MgtO0cSCMLdFasX1jVVaQ/fuINTfYmO2m2e2HhuIw7eMYJPre2?= =?us-ascii?q?UbxindDlILkxoQ/XaHKwgxGD2to2TAAzxyDVjveV/j8fFiqHOnSU851x+Fb1?= =?us-ascii?q?V72Lqv+x4VnueRS+sJ0bIeuSchsC10HFKn0N3KFdWMvQ1hfL9TYdkl+ldIyX?= =?us-ascii?q?rZtxBhPpynN61jiF8ecwByv0zwzRV6EYtAntY3o3Mt1gp9M7qY0ElGdzOaw5?= =?us-ascii?q?//JqHXJnP1/BC1ZK7cwkve38qO+qcT9PQ4rE3uvA+zFkU49XVoz9hV02CH65?= =?us-ascii?q?XPFAoSUIv9Ul059hhhvb3aZTM954zM3312Laa0qiPC284uBOY9yRavZdRfMK?= =?us-ascii?q?SZFALpEM0VHcuuKOs3m1SzaRIEJu9S/rYuP8y6b/uGxLKrPOF4kT28kGtH+o?= =?us-ascii?q?F93VyW9ydnUOHHw5MFz+uf3gudWDf2lE2hvdzvmYBYeTESGXKyxjT+C45VeK?= =?us-ascii?q?JyZpoLCGepI8Cs3dVxm5/tVGBe9F6/BlMJwtWleRyMYFzhxQdQz1gYoWS7mS?= =?us-ascii?q?ukyDx5iyspobeC0yHVzOTicRUGNnRNRGZ8kVfmOZK0gMwCXEi0cwgpkwOo5V?= =?us-ascii?q?30x6hBo6R/NHXTTFxTfyjwKGFjXK6wuaCEY8JV7pMnrzlXWvymYV+GUr79vw?= =?us-ascii?q?ca0yT7EmpQ3j87cy2qtYvjnxxhk2+dMmh8rGDCdsFtwBfT/tvcReRe3jAeXi?= =?us-ascii?q?l3lSHXBkSgP9mu5diUiZbDvfyiV2KmTJ1fazXkzYOHtCu96m1nGhm/n/G1mt?= =?us-ascii?q?L9Cwg61jX3195wVSXHtBz8eJXk17ymMeJ7eUllHFv868thGoFii4cwn48f2X?= =?us-ascii?q?wbhpWT4HoGnnz+Mc5D2aL/anoNRCIEw8XP7AjjxkJjMmqDx5jlWXWF3sthe9?= =?us-ascii?q?66b3sM2iI668BKDLmb7KZYkityrFu1thnRYeVhkTcG0/cu72Qag+4Rsgo30i?= =?us-ascii?q?qdGqwSHVVfPSH0lBSH8da+rL5MaWasb7ew0lF+nda/A7GeuA1cX2z5epg6Fy?= =?us-ascii?q?9q8sp/KE7M0GH06oz8YNnfd88TthmKnBfYledVLo4xmeQQhSd8JGL9pmMqy/?= =?us-ascii?q?QgjRB0xpG6u5WHK39x862nDB5YMSf1Z8wN9T33i6ZRgNqW1Zi1Hpp9AjULQI?= =?us-ascii?q?foTfWwHTIMs/ToKh2DECM6qniGGbrTBwmf51l6r3jXCZCkK2mXJGUFzdVlXB?= =?us-ascii?q?SdPFZQgB0QXDghgpE5Fxyqxcz4fEd3/D8R4ET0qhxWyuJnLxP/SHvQpB+0aj?= =?us-ascii?q?coT5iSNBlW7wFG50jLKsGe6+VzHy9W/pK/sAyNNmybZwNNDW4XQECEAU7sPq?= =?us-ascii?q?W279na7+eYHva+L+fJYb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dy/xQlkQ2NL?= =?us-ascii?q?F9M7MQsZLSsj+UaUP6u3rgyPOhJFlV08LUbVP5DI3BtWrySSAc/HoURYhUyH?= =?us-ascii?q?7BCZsSiQ15aL0wpFVNJoCmdVzy5zs+x4RmB7O4T9ykx045rXYaQCenC8BOC/?= =?us-ascii?q?t7sFLRQjFlYIumqJTkO5VTXm9f44eRq1FHn0VxKyS504ZTK9lR4j4QWzhCuS?= =?us-ascii?q?mdvNy3SMBYxc96E5oMLcxlt3f7BqxEJICbo2cqtbz31n/Z5zc8vU+6xDqpAa?= =?us-ascii?q?+3VeZZ8HAFFwo0OWueslEvAPUo8mjM6FDBqFd0//1UBrKXl0V+vC59HoxSBj?= =?us-ascii?q?ZOzX2lLVNzQ2ddvupHNqvVaNJTQ+MuZRCxJhMyD/gm0FKV/Utsh3f2fzRyth?= =?us-ascii?q?dG+yDaRwQ0STQajarsmTIErsGqIiMVS5VNbTo9dSjFMB6blTpRvBlBd0FgQ4?= =?us-ascii?q?oZDcpd+7EHwYtU+dLPRl2iKS4ZQBBvNB803PREmEFft0WYfDzSAhCzdfbTqB?= =?us-ascii?q?F3e9merNKxJvTj4AhHkp/nsPw/96gbXX2phxCiQdDEoI/grdCKskyOdLnmPO?= =?us-ascii?q?GifXDBSyXDgg6qibciEZbK4zDZMBBHJJli1XokfZ/hBHbTPRRdO6IUPVdUVb?= =?us-ascii?q?xhZNVdpeBaetVkd7oX9q9rGhKHXAngGIi1oPlBNFbTSizULz+d/eynvYLT8b?= =?us-ascii?q?vdRPD8ZsyW2XnIXb94M4xn6Tn/B7fqy5VR+lT32vdq8kN1V0TGPzqGrNT7KQ?= =?us-ascii?q?MB/NOieVf6vp01ATPWB499kH/3yUFEc8oYXTGq8IgCx5xD83vwT/x30lTosO?= =?us-ascii?q?JO7bZk8Zc476pvyciqOafYMe5avlN/AhiIGgVq8Y0gAGplSGBLZe8RM/PRcr?= =?us-ascii?q?4Hjc31ruD3CqgX6AGU++NFaNvIPUfBmtKlBjGbUxxEkx8LqSQGIQuEy/6Fh6?= =?us-ascii?q?h0RN6npefj3EIt7UK+Lhkbw79z/oqE5rCHpOnMbxvW17QEXLblRt/rpLQ2p0?= =?us-ascii?q?yS/eEklKIJemFtbA2nDekdVsoZxmj+yKAn1j8jHN3YELLh4vFDUWg1njX6m5?= =?us-ascii?q?ByB18WAO8bHaKX/YRCmWc1g+7ZNtwTcq1Zn2aACx6lHaEYyX6q7SuXL3Npgh?= =?us-ascii?q?fQ3BHsWWmz9kP5rTdkQSvQyNfuikxVVr2sCEdTWSqpPFV0sDKJPArmrtr4o7?= =?us-ascii?q?817F0sMmz5qN2NiHahOKlJEMHlI9ycOyY0rkoNjJItXtyvxZwbGd2lLdcU93?= =?us-ascii?q?F+aOfe62y1nCJapqdHhpDR4seL9fXLE3igiLeaq7aWxDxCzHg3o00/4Mi6Nv?= =?us-ascii?q?7S/92KX+io12EJQid7oAvBWh64p6fVr18KJEOL113Ll5YSPtFD2nk41F/p6/?= =?us-ascii?q?Q/QN4p8wVeDInAbesYpT/vIDv03UqfY9UvWymf0jpYBEj6HkVjFagnxm3woN?= =?us-ascii?q?zGmmvK910vXIlweFTthQZrAIUgNUIt9F8XzzIYHggMchCaAqunBUbkLYsYTU?= =?us-ascii?q?gMcwmH3Lyhd6gr2k18362g6/XObexmAKoNLOxSghSJnFhBFZIcqbceT65ke1?= =?us-ascii?q?9B6K7XoRDvC5D9UPj6iXUwNfO0QsdA8cAarnci+RiwRx6h6ZdF8rYah4uFdr?= =?us-ascii?q?ZebpjQoM9870lm5TkVdixOmhR/jA22UfoapO/95tjXqp2o6vyhVKw1XeUY6w?= =?us-ascii?q?A0B3hij5v3mF0jrsvY1/1CRY3JiYTy6wRNI3+WuInE0xlzM/cOK5mxcLZm6X?= =?us-ascii?q?oHOzAUJ2gSMtqOd/k8/yhtPS3c51NcBMMMedQYPM3KlQBPlELpXLBT9szGGl?= =?us-ascii?q?6XEIpzc94n73D3yT8v65c8VPjv6COuL5DF815NJ+9DjDlrlN/aougVwObdCC?= =?us-ascii?q?8T4XaDcBh52CKCy56KC/br5uWB09TUWlwJHyIsVIddPjWC8xS9RuWpjJXpTh?= =?us-ascii?q?+U6sjrjZIxaE2QXWexkL0YvKhDF+BAiyP73iVRF43uiPKVtsCj6G1JuVFdF4?= =?us-ascii?q?Zz9xLFEr1FPppnIRT4itWrRk9kCyv9f8HUdhwutPCKyecM5+V+KlbxZI4aIh?= =?us-ascii?q?IC0LL66ntVQxBwSL73oFaWR+YRa8ZnSP/eqHBa955gIbcVPFeBvJzqsitIqF?= =?us-ascii?q?cuDQ8odr8/tDpae1LKnA1IRqn0ubkAihAGXd5+o09MFnq6OHgi6DrfSaRVkK?= =?us-ascii?q?6RBeQX8jqNQKwOXUFoPzhwQhyv3pVhZaepkepBsmxYgiN3uOIq3CB+RBugpS?= =?us-ascii?q?3soLoA2T0k+LG/ujQOp3hFTuGFnifTDlVDyvUKgrsGB3bk91O8fGEJbJHu77?= =?us-ascii?q?l/OcTg6Y4h7mw6YRUifC0GXuOgBjryj6ySAYyPt9RciwCLuMnUa7+8MzQSPK?= =?us-ascii?q?wnyR3/X3h9zhTenBFw/WQQXDqg6sMkKZ6mOcYhwSqoBXTbdEgS7axUqsfxsk?= =?us-ascii?q?QLTOQuY1N73GpjytSHRjEKRMHXFWY6kAwkaWRccJ1d8hIbFqgogjONvqZY5A?= =?us-ascii?q?EUZCnbHp6i+onKksfCwWM9QstyxmLKuq2FgYsn0XN9m9Nu7y6BpGodevfdU8?= =?us-ascii?q?9tHnjzzJlQxfb5Z/W3veANUJFmx6i5UP8eLsmj/nO72JJuWkC73bkeB165P/?= =?us-ascii?q?UYxrfHUieqVXGYWf6VfGeShTo5NFD95QWwJF0tdMhKt1M9MvfFhpNEkw3hUL?= =?us-ascii?q?V0RjifpFPCyGwjMPgadx4tuIq8egwFVugRZ++GKegp2v0+B0MGb2XVEituF+?= =?us-ascii?q?+2rVmtkZB+O3p6/Ur6YeXt8gbhMNaJBBkEEIjaoYB1+fy7QGKBJHBhwAd1PE?= =?us-ascii?q?lu+OfVD04xufNEc5aNgdjQgMx20ewfePduNi0yocUemp9l6YmI0MeKdgzRzp?= =?us-ascii?q?nyJdHJuPSYBePQz1gycGFATrUZeR/155k9PtMhWb3TGLxZvQ4GBag7W5wsLG?= =?us-ascii?q?Hx+7txLAxtcw7dfrO0gtPlpuiTfJtbu2fW7k4sLCfboxAD0fK0TQlnYJ2rhH?= =?us-ascii?q?j/O44wSSxbr91sCxpmG41PF9kGrwW5H57H0J283sS8/0J8pv8irbv7CveM0s?= =?us-ascii?q?+wmYp2Qct0/0uOaRTYH65tynZsi+20yqPC24L2D+v6dMkKVe56RWiDYbjDSN?= =?us-ascii?q?bsYgmSM97xLhYVu4WX16h0B1DIPHqjDaObqC2pMull6kwny4t+OfDe1yEp86?= =?us-ascii?q?qCgIugWlpymnyIlVfRaN1S4VnRCqrbVhNQD/+E9DUAf+Ubborxof8HKsdqgM?= =?us-ascii?q?Od7A968ClY3YObLrKgoE7B1gMeF9rbIULl1jx/WNwiOBmlP0oqgGjf73/aBD?= =?us-ascii?q?IGdpH5cZc325CaBwT1/FJ0hXlrbWlEFw=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2AtCgC3Dv1a/wHyM5BcHQIFDIJwKSgDgQNbKIxWjBeCb?= =?us-ascii?q?hqTNYEiA0cXGBMBh2EhNhYBAgEBAQEBAQIBaxwMgjUkglADAwECPQEBOAIDC?= =?us-ascii?q?QEBSAgDATABBQEcGQWDHiqBVwECm2U8ihiDCYJvAQEFgWKDdoIfCBKHGnyCE?= =?us-ascii?q?4EPgleFdIUIjQCLQwmOSGmGcYUokEcCBAIEBQIFDyGBBCIBMYFSMxoIGxWCf?= =?us-ascii?q?oIgF4NFil9iAXYDAQEZDY16AQE?= Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 17 May 2018 05:13:55 +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 w4H5DsF9005803; Thu, 17 May 2018 01:13:54 -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 w4H5DDaN015646 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Thu, 17 May 2018 01:13:13 -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 w4H5DH7f005762 for <selinux@tycho.nsa.gov>; Thu, 17 May 2018 01:13:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1CUAwDyDf1alywWGNZcHQEBBQELAYJvK?= =?us-ascii?q?SiBYSiYbYJuGpM1gSIDUwsshEACgx8hNhYBAgEBAQEBAQIUAQEBAQEGGAZLhTU?= =?us-ascii?q?DA0ABATcBD1E0AQUBHBmDIyqBVwECm2U8ihiDCYJvAQEFgWKDdoIfCBKHGnyCE?= =?us-ascii?q?4EPgleFdIUIjQCLQwmOSGmGcYUokEcCBAIEBQIFDyGBBCIBggMzGggbFYJ+ghQ?= =?us-ascii?q?MDgkRgzSKX2IBdh4NjXoBAQ?= X-IPAS-Result: =?us-ascii?q?A1CUAwDyDf1alywWGNZcHQEBBQELAYJvKSiBYSiYbYJuGpM?= =?us-ascii?q?1gSIDUwsshEACgx8hNhYBAgEBAQEBAQIUAQEBAQEGGAZLhTUDA0ABATcBD1E0A?= =?us-ascii?q?QUBHBmDIyqBVwECm2U8ihiDCYJvAQEFgWKDdoIfCBKHGnyCE4EPgleFdIUIjQC?= =?us-ascii?q?LQwmOSGmGcYUokEcCBAIEBQIFDyGBBCIBggMzGggbFYJ+ghQMDgkRgzSKX2IBd?= =?us-ascii?q?h4NjXoBAQ?= X-IronPort-AV: E=Sophos;i="5.49,409,1520913600"; d="scan'208";a="279093" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.34]) by goalie.tycho.ncsc.mil with ESMTP; 17 May 2018 01:13:14 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3Ak3sqNRMx1UFAtRDjtwYl6mtUPXoX/o7sNwtQ0K?= =?us-ascii?q?IMzox0Lfr6rarrMEGX3/hxlliBBdydt6ofzbKO+4nbGkU4qa6bt34DdJEeHz?= =?us-ascii?q?Qksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPER?= =?us-ascii?q?vjKwV1Ov71GonPhMiryuy+4ZLebxlGiTanfb9+MAi9oBnMuMURnYZsMLs6xA?= =?us-ascii?q?HTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKH?= =?us-ascii?q?w65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD?= =?us-ascii?q?+s7bpkSAXwhSkaNzA37m/ZhM93gq1ZrhKsvABzz5LObY2JLvdyYr/RcNUHTm?= =?us-ascii?q?RBRMZRUClBD5u4YYQVFOoBOuBYpJT+qFQUqBuxHw+sD/7oxz9KnHD2xqo60+?= =?us-ascii?q?I6HAHewgMgBdwOsHXSrNX0M6cSV/q5w7XPzTXGdv5b3yr25ovQch05v/2AQL?= =?us-ascii?q?19fdDPxUQgDQ/JkEucpZbqMj6azugBrWeW4/ZvWO+qlWEqqB19riSqy8gyi4?= =?us-ascii?q?TFmp4Zx1XL+Cll3oo4IMe3RFJ0bNOqFZZfqj+VOJVyT84nQGxotjg1xqADtJ?= =?us-ascii?q?O7fiUHyZUqyhjCYPKdaYeI+AjsVOOJLDd4mn1lfLW/ig68/ka91uDySMe53U?= =?us-ascii?q?hQoCdZjtXBt2oB2ALN5ciCUft98V2t2TOV2ADS7uFIO0U0lavfK5I5w74wkI?= =?us-ascii?q?QcsVjbEyPohUn7g7Waelsr9+Sy9ejrfK/qq5CTOoNsjwHxKKUumsixAeQiNQ?= =?us-ascii?q?gOWnCW+eam2734+k35Rq5HjuUonanDvpDaJMIbpq++Aw9TyIos9xG/DzK+3N?= =?us-ascii?q?QCgXYHNE5FeA6Aj4XxIFHBPvT4Dfa5g1SxnzZm3OzGP739DZXNKXjPirHhfa?= =?us-ascii?q?1n5EJGxwozys5ftNpoDeQaLfbyXFLhnMDJBR8+dQqvyqDoD8su+JkZXDetC7?= =?us-ascii?q?SeNuvguFqB4Kp7IeCXY4k9oDvnJfkj5vnoy3Q+nAlOLuGSwZILZSXgTbxdKE?= =?us-ascii?q?KDbC+02I1TGHoWvgc4UO3hgUGDVjgWfXupQqYg/WhjVNCbNq7/HauVqeTdmi?= =?us-ascii?q?q2G4ZZIGVPC1TKFHbsJM2IWPYJPTqbOdQp0icFWr6oV5I72FmwuRX7xbtqIq?= =?us-ascii?q?uc+iARuZ/5ktkgz/Xejx8z8z1zCYGW1GTLFTktwztWHWRw06lnuVdmz0ubl6?= =?us-ascii?q?N/hvE=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DhAwC3Df1alywWGNZcHgEGDIJvKSi?= =?us-ascii?q?BYSiYbYJuGpM1gSIDUwsshEACgx8hNhYBAgEBAQEBAQIBEwEBAQEBBhgGSwy?= =?us-ascii?q?CNSKCUgMDQAEBNwEPUTQBBQEcGYMjKoFXAQKbZjyKGIMJgm8BAQWBYoN2gh8?= =?us-ascii?q?IEocafIITgQ+CV4V0hQiNAItDCY5IaYZxhSiQRwIEAgQFAgUPIYEEIgGCAzM?= =?us-ascii?q?aCBsVgn6CFAwOCRGDNIpfYgF2Hg2NegEB?= X-IPAS-Result: =?us-ascii?q?A0DhAwC3Df1alywWGNZcHgEGDIJvKSiBYSiYbYJuGpM1g?= =?us-ascii?q?SIDUwsshEACgx8hNhYBAgEBAQEBAQIBEwEBAQEBBhgGSwyCNSKCUgMDQAEBN?= =?us-ascii?q?wEPUTQBBQEcGYMjKoFXAQKbZjyKGIMJgm8BAQWBYoN2gh8IEocafIITgQ+CV?= =?us-ascii?q?4V0hQiNAItDCY5IaYZxhSiQRwIEAgQFAgUPIYEEIgGCAzMaCBsVgn6CFAwOC?= =?us-ascii?q?RGDNIpfYgF2Hg2NegEB?= X-IronPort-AV: E=Sophos;i="5.49,409,1520899200"; d="scan'208";a="11880271" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from usat3cpa06.eemsg.mail.mil ([214.24.22.44]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 17 May 2018 05:13:13 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;5f8df37a-dc84-4a37-8463-bddfda64b2d5 Authentication-Results: USAT3CPA04.eemsg.mail.mil; dkim=pass (signature verified) header.i=@perfinion-com.20150623.gappssmtp.com X-EEMSG-check-008: 311152029|USAT3CPA04_EEMSG_MP20.csd.disa.mil X-EEMSG-SBRS: 0.0 X-EEMSG-ORIG-IP: 209.85.160.66 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CEBQD7DP1aZEKgVdFcHQEBBQELAYJvKSuCBphtgm4akzWBIgNTCxMZhEACgx8hNhYBAgEBAQEBAQIFGgwKCCgjDIUpBkABATcBD1E0AQUBHBmDIyqBVwGbaDyKGIMJgm8BAQWBYoN2gh8ICQEIhxp8ghOBD4JXhXSFCI0Ai0MJjkhphnGFKJBHAgQCBAUCBQ8hgQQjCIF7MxoIGxWCfoIUDBeDRYpfYgF2Hg2NegEB X-IPAS-Result: A0CEBQD7DP1aZEKgVdFcHQEBBQELAYJvKSuCBphtgm4akzWBIgNTCxMZhEACgx8hNhYBAgEBAQEBAQIFGgwKCCgjDIUpBkABATcBD1E0AQUBHBmDIyqBVwGbaDyKGIMJgm8BAQWBYoN2gh8ICQEIhxp8ghOBD4JXhXSFCI0Ai0MJjkhphnGFKJBHAgQCBAUCBQ8hgQQjCIF7MxoIGxWCfoIUDBeDRYpfYgF2Hg2NegEB Received: from mail-pl0-f66.google.com ([209.85.160.66]) by USAT3CPA04.eemsg.mail.mil with ESMTP; 17 May 2018 05:12:29 +0000 Received: by mail-pl0-f66.google.com with SMTP id i5-v6so1781687plt.2 for <selinux@tycho.nsa.gov>; Wed, 16 May 2018 22:12:24 -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:in-reply-to:references; bh=K0HIcpiURR0NTHpm92Uxq6GU2dcT3sI8QKLNihS8hns=; b=Gy5MhzXRnt0FNdxS7t04VuJ7rwLmr759DSW7ydW38LNqjI0pZmXg/zy3usTxuo9Q1u CRgSTjfnfsihR35PnAvjREywmfo430AQucZwqZXNuBm2zrbNVedf5TNeZn5KnHnWeVrH xSpSTdkVAd3Ei9SDkHAaoCy9mjg0T0Lh9ZzjdinOEIF/cFrQXhDnJEu0HzoRlY/OEdV8 85KNP40J2k55z57zTfQmKdn8hhWjfBUY0ldisEfte8vgAzMwDJgusfdGcm1Sdv36xHCb hRNDb/+JEd77V7RMXjvw4/h1a1Pf/QTgHwYa7qdyYGn0+px5pmXQsOp8TVdj8T6MfvaG 7p5g== 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:in-reply-to :references; bh=K0HIcpiURR0NTHpm92Uxq6GU2dcT3sI8QKLNihS8hns=; b=Iy+pXjpwHeLxk1EH2sZLIPiKgnljqi9/TyJYI5JzauQEBNMtEWkvDwWbuefXGYOKzq +RkCSC3whVQAHP8VFrrRsA5ToqCQcCs3Dcz2+OroaJ2DXx6DGS5V9JXxrvuj+mYJ7QpP r/RuqyNucTTNNh9BMCH7vgyD/ZlIktXr4BjvGXEH8ja+zjwnRQRoEufDqCvJHZFOHLTs jRILfljmxBLAE1OfwROMqr566xLciAWFWQZdxQT09UjNzAqg80iwMnSxXhyU2o2YvuPe mOtSYGmhwrh9qnUHlYtVTyvS0RyDYl5l2Nhus97SytOByp7dMRmC7AtqmXsMq/cqAJSb JKbQ== X-Gm-Message-State: ALKqPwfxa3rb36T6nSxX6SY5w0C+oOBiMn2OgvFfLFEhTsSDY3XEGRMz hNVSUEe8/20bX9U75FNuaPA0FW8m X-Google-Smtp-Source: AB8JxZomuv4/pjutBlIWf00Feqp1gRs3g89gYtILZCMMiP55VVOhmT5KcQiS25xxoBbWL7gisxKseA== X-Received: by 2002:a17:902:2006:: with SMTP id n6-v6mr3852506pla.125.1526533928359; Wed, 16 May 2018 22:12:08 -0700 (PDT) Received: from localhost ([2404:e800:e600:402:a043:dee9:8fe1:5766]) by smtp.gmail.com with ESMTPSA id l14-v6sm5739048pgu.1.2018.05.16.22.12.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 May 2018 22:12:07 -0700 (PDT) X-EEMSG-check-009: 444-444 From: Jason Zaman <jason@perfinion.com> To: selinux@tycho.nsa.gov Date: Thu, 17 May 2018 13:11:17 +0800 Message-Id: <20180517051117.48454-6-jason@perfinion.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180517051117.48454-1-jason@perfinion.com> References: <20180517051117.48454-1-jason@perfinion.com> Subject: [PATCH 5/5] genhomedircon: sysconf can return -1 without failure X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" <selinux.tycho.nsa.gov> List-Post: <mailto:selinux@tycho.nsa.gov> List-Help: <mailto:selinux-request@tycho.nsa.gov?subject=help> Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/libsemanage/src/genhomedircon.c b/libsemanage/src/genhomedircon.c index d09d82ff..3e61b510 100644 --- a/libsemanage/src/genhomedircon.c +++ b/libsemanage/src/genhomedircon.c @@ -972,9 +972,13 @@ static int add_user(genhomedircon_settings_t * s, char uid[11]; char gid[11]; + errno = 0; /* Allocate space for the getpwnam_r buffer */ rbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); - if (rbuflen <= 0) + if (rbuflen == -1 && errno == 0) + /* sysconf returning -1 with no errno means indeterminate size */ + rbuflen = 1024; + else if (rbuflen <= 0) goto cleanup; rbuf = malloc(rbuflen); if (rbuf == NULL) @@ -1057,8 +1061,12 @@ static int get_group_users(genhomedircon_settings_t * s, struct group grstorage, *group = NULL; struct passwd *pw = NULL; + errno = 0; grbuflen = sysconf(_SC_GETGR_R_SIZE_MAX); - if (grbuflen <= 0) + if (grbuflen == -1 && errno == 0) + /* sysconf returning -1 with no errno means indeterminate size */ + grbuflen = 1024; + else if (grbuflen <= 0) goto cleanup; grbuf = malloc(grbuflen); if (grbuf == NULL)
from getpwnam_r(3): "The call sysconf(_SC_GETPW_R_SIZE_MAX) returns either -1, without changing errno, or an initial suggested size for buf. (If this size is too small, the call fails with ERANGE, in which case the caller can retry with a larger buffer.)" The same can happen for _SC_GETGR_R_SIZE_MAX. 1024 appears to be a good fallback but may need revisiting in the future. This triggered an error on musl libc but could happen other places too. Signed-off-by: Jason Zaman <jason@perfinion.com> --- libsemanage/src/genhomedircon.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)