Message ID | 20170903121928.24024-5-nicolas.iooss@m4x.org (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 288A9601D7 for <patchwork-selinux@patchwork.kernel.org>; Sun, 3 Sep 2017 12:21:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A6E7286B0 for <patchwork-selinux@patchwork.kernel.org>; Sun, 3 Sep 2017 12:21:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F147286B1; Sun, 3 Sep 2017 12:21:13 +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 USFB19PA16.eemsg.mail.mil (uphb19pa13.eemsg.mail.mil [214.24.26.87]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E250286B4 for <patchwork-selinux@patchwork.kernel.org>; Sun, 3 Sep 2017 12:21:10 +0000 (UTC) Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by USFB19PA16.eemsg.mail.mil with ESMTP/TLS/AES256-SHA; 03 Sep 2017 12:21:10 +0000 X-IronPort-AV: E=Sophos;i="5.41,469,1498521600"; d="scan'208";a="1873275" IronPort-PHdr: =?us-ascii?q?9a23=3A1lQxrBy57PGChDfXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?1uIVL/ad9pjvdHbS+e9qxAeQG96Ku7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuro?= =?us-ascii?q?EopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXK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ascii?q?j382g0MSfaqy3ZsQbnC4H+pmLl6XYXron9cAHnwFvhc4TOz2lV2OSzlTZ2y9X6?= =?us-ascii?q?gk/DE0FJqmDZvfRoCqmLGA0ia7HplTZm9YEFCBCnnoeJuZVPcLciKdONdhkiYD?= =?us-ascii?q?VbijVYAuyQ2uuBX9y7p9Iere4jcYuo771Nhp++3Tkgk/+iFoAMSY1GGNSX10kn?= =?us-ascii?q?4TSj8owq9/u019y1aE0ah+mfBYE8Jc5+9RWAcgKZHc1/B6C8z1Wg/ZY9iJVEyp?= =?us-ascii?q?Qs+9DD4tSdIxxsMBbFxmG9W+lBzD2TSlA6MNnbyRGJM06r7c32T2J8tly3fH1a?= =?us-ascii?q?4hj189T8tKMW2qn69/9w7JC47PiUqZjaWqdaUC3CHT7muDy3SBvF1AWg5qTarF?= =?us-ascii?q?RWwfZlfRrdnh+EzCV6WhCa4mMgta0sOCMrFFasfojVVdXPfjPM7RbH6vlGuqAh?= =?us-ascii?q?aI3LyMZpLwe2oBxCXdFFQEkwcL8HaILwgxHCGhrH7fDDx1Dl/vZlvs8ehnpHOg?= =?us-ascii?q?QE401BuGb0p717q64hQVn+CTS+sP3rIYvycsszZ0E0y+39LRFtqNvAlhc79fYd?= =?us-ascii?q?M6/VdLz2XZtxZyPpa4NaBtmkYecxhrv0Ppzxh4EJhPkdIrrHw01gp/MriX309E?= =?us-ascii?q?dz+C2pDwILLXIHHo/B+zc67Wxk3e0NGO96cV9fs3tk7uvA6sFkst6Xln1cda02?= =?us-ascii?q?eE7JXQEAUSSY7xUlow9xVivLHabDM954TP1X1wKqS0qTnC29UnBesg0Bmgec1T?= =?us-ascii?q?MKWaGw/uC8caHdShKPQ2m1i1aRIJJO5T+7QwP8O6afSGwrWrMf1+nD24l2RI+5?= =?us-ascii?q?190keW+yp7UO7I0I4Pw+uE0QufSzf8kFChv9jrmY9ZeD4SH3CwySz/CYFNYa1y?= =?us-ascii?q?eJoEBn21I82r3Nl+gYDiW2JA/l65G1wGwNOpeQaVb1Hl2w1Q1EAXoXi5liuj1D?= =?us-ascii?q?F7iS8mrrCY3CDUxOTibhUHMHZRRGZ+lVfsPZS0j9cCUUi2bggmiAel5UHgx6RB?= =?us-ascii?q?uKt/L27TQUFHfyXtK2FiU62wuaCYY85I8p8otj9XUOuka1CAVrH9uwca0z/kH2?= =?us-ascii?q?ZGwDA7diqquongkxxhlm2dKHdzrHzEecB/3hrf/8TcRf9X3joHWCZ4kiPbBl6i?= =?us-ascii?q?MNm15d+UjYvMsviiV2K9UZ1eaTPrzYSEtCu/+2JqGwGwn/e9m9D8Cgg6zDP018?= =?us-ascii?q?JwWSXPthb8bZHh176mPuJ/YkloGFj85tJ5Go5glIswn4od2XsEiZWT5noHl3n8?= =?us-ascii?q?MclB1aL5dnoNSiYBw8TJ7wj9xE1jMnWJyprhVnqH38thY8e1YnsM1SI788BFFr?= =?us-ascii?q?2U4adZnStuvFW4txnRbeJmnjca1Psu8mIVjP8HuAoq1CWdDa4dEVNePSPyixSC?= =?us-ascii?q?98q+o7lPZGazbbiw01Jznc6nDL6fuQxcRnD5dYoiHSNq6MVwLk7M2mXp6o74YN?= =?us-ascii?q?nQcc4TthqMnhfYledVNZYxm+EWiipmJWL8vWQpy+Ahghxox526u5KHK2p19qKj?= =?us-ascii?q?HhFYLiH1Z98U+jz1g6ZRhMCW35yoHpVkATgLUoXnQu+vEDIIr/vnLxyOEDo+qn?= =?us-ascii?q?iFBbXfARWT6EB8r3LAC5qrLW2YJGEFzdV+QxmQPElfjxoQXDU+gJE5Chyqy9b7?= =?us-ascii?q?f0pi4DAe+EL4qgBQxe1yLxnwTH3TpAG2ZTcoUJKfNgZZ7hle50fJNsyT9vhzEz?= =?us-ascii?q?tW/5G7qQyCMGibZwNIDGwSQEOLG1XjMqOp5dna/OiSHvC+IOfWYbWStexeUO+F?= =?us-ascii?q?xZy10oR44jmMLd+APn9+D/08wUpORmp2FNjcmzkVTCwXjS3NZdaBpBig4i13st?= =?us-ascii?q?y/8PPzVQLp/4uAEaNSMc109hC4gKeDLfWQhDp3KTZZ0JMD33nIx6Qe3FEIjyFi?= =?us-ascii?q?bT6tEa4PtSTVVqLfhrdXDwIHayN0LMZI97wz0RJTNs7di9P1yrl4g+U0C1hbS1?= =?us-ascii?q?PuhNulZcsQI2GyLFnHHlqENKyaJT3XxMH6ebizRqZXgOVQth2woiqbE1T5MjSY?= =?us-ascii?q?iTbmSwqjMfpSgyGfPRxevpy9cxl2BGf/TNPmcAC7MMRtgTw427I0mmjKNWkaMT?= =?us-ascii?q?RmdENNtLKQ5ztCgvpjA2xB8mZlLe6climC7unYJZEWsf1wDytpie1V+3U6xKFT?= =?us-ascii?q?7C1eQ/x1giTSpMZ0o166iumP1iZnUB1WpzlRi4KEp1tiNrvC+5lHQXbL4hQN7W?= =?us-ascii?q?CKBBQLo9tqEdrvuq9KxtjIjqLzJy9I88jI8ssEG8jUNMWHPWI9MRruHT7YFhEF?= =?us-ascii?q?TTmqNG7BgUxSi+uS9nqLoZg5sZXjhJ0OSrpHW1MvDfMaFl5pHNocL5drRjkki6?= =?us-ascii?q?KUjNYU5XqiqxncXMZav5DDVv2MGvjvLTGZjbdKZxQW3bP4MYQTNor+20N8cFV6?= =?us-ascii?q?mprFG1bIV9BXviJhdhM0oFlK8HVmSG08xVjqage27X8QEv60hQI2hRF4YeQ29z?= =?us-ascii?q?fs4k07JlzUqyssiEMxg8nqgSiNcD7tK6e9RZtWBDTvt0cvKJz7WRp6bQ2pkEN/?= =?us-ascii?q?NTfEXa9ej7xudWBzkg/Tp5tOFeRaTaJafB8a3euXaOkw0VRAtiWnwldK6vbCCZ?= =?us-ascii?q?tkkgslbICjr3ZB2w94dtE6O7bQJK1TwlhXnKKOsTei1votzw8GO0YN7GSSdTYV?= =?us-ascii?q?t0MSKLkmJjen/vd35AOYgTtDYm8MVvQxov106kw9Jv6AzyP8079DMEyxMfKQL7?= =?us-ascii?q?+BsWjaicGIWk8w1l8Pl0Rd+bh21t0jfFSSV0Euy7ucDB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ascii?q?x4RuB7S4Scerx1M+oHYaWyuqFsFOB/tgsF3JRD1ve4qrp4n9O5VOXm9Q/4WQq1?= =?us-ascii?q?dDn0V3KSG5zYdTJtpQ7TESRDhPuSuSvN+sR81Zw8N2CIUMIthnsXfnBKxEIISR?= =?us-ascii?q?o2ExurH3yH/Z/C4zvUynyzqtAK+3UfhZ/3EAFQo0PWierFcgD/c0+GfI7l/Nqk?= =?us-ascii?q?x0//tcBrWXlkpxripyEoxMCzpU232oNEh8TH5Ds+pGMqvVaNBcT+M0ZRCxJxw0?= =?us-ascii?q?DeQm0FCR/UFogXf5ZDR/thFE9C/AXwk7TzUVj6zpmT0ZtMGoJyEWRI5PbTo8cS?= =?us-ascii?q?jJMQSblj5LvBxHcUFlR4gZAspZ+7EcxYZU5tHCSVq2Ji4YQBxvLRk40f1ClU5Z?= =?us-ascii?q?rEqXZybdDRaydfnVth17Z8CRrNSmLP7h5gdIlpvnsPwk96UEX3CmhRetTs7AoI?= =?us-ascii?q?DhrdCKq0+OdLviM+Kmf3/BTT/MjRSuirc4FZXK+DLTMAVDIZlg1XUkeYThCXLM?= =?us-ascii?q?PRleJaIUPVBbVadhadVCuO9aedRpeKMU+a9pGhKHRw/gGI21o/lANVbfXzPeLz?= =?us-ascii?q?+O8uanu4Lc8aTdSfT8ZsyL33vHQbh4PpF06TnhHLflzJFR91Hq2vh38EN6Ul/G?= =?us-ascii?q?PzqHrNv/OgMB/NOieVf6vp01ATPWB499kHzpxkxbdsoXRSiq/I4ZyJNf5nbwU/?= =?us-ascii?q?h30lPvsO1I6rlr9ZU3461zyciqP6vSLu5asUB/CBiOGgpq7oktAHR4R21JZO8R?= =?us-ascii?q?KevefaMdjc/0sOD7Da0X6BqS++xCctvKPETBl8awCz2GThxEhggBoyYALgSAz/?= =?us-ascii?q?6Fh7N0ScG9qOflwE0t50axLgUazLFt4oeJ4bGIq/PWbxTPy7gERqnqSdnporQq?= =?us-ascii?q?pUyS+eUulKQSdWxtfw2nDO8dW9YZ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CsqZMF+?= =?us-ascii?q?5MkDn03jhaFoDomv2Ustus6G1Mtl1EEYZ+9gPFGKRBPpphPRT3i8irSlJ6BiTh?= =?us-ascii?q?ZMHebgAut/aOxucQ/+V+MFPzZY4FIh0ezbL38n5VThZzR773uVaZRvgdZNx8SP?= =?us-ascii?q?PLtnpV855vK7cTPFiBo5zntjVIp044AA8nbL89tTJbeVPInAJLR6b4orgAhRUA?= =?us-ascii?q?UdRho09DBXqwOH4i5zrATalVg62RCPsb8zqNSqwOV15lMjh5QxOz2ZVhZ6Glnf?= =?us-ascii?q?ZZvWNahil9uuQl0yR6RBugvi3hv6AN2TIg+bGgszUBvX1FTvmAnCrTDFVDzegK?= =?us-ascii?q?jb0CBHr47ly8enYDZpPo4LZ7PcTg6ZUh43MnbBU/fi0GWP+tCz3xj6yUAYyArt?= =?us-ascii?q?ZciASLuMrQcb+5NTISOaglyRL/W3h91RDTnBNp8GsIQTWg68QpJIenNsYmwSqo?= =?us-ascii?q?H3bUdFAW7qNPrsTxqUYBTPEqZlN53GVjzs+HSzUWS8PRHWY1khMpaX5AcJJE9R?= =?us-ascii?q?8aC7cojSiVsaVc+QEUejjUGJy/+obMhcfIxWU9TdByy2LOoa2Fgokl0GdrmtNz?= =?us-ascii?q?6i6Otm8fd+nfU89rGXj8yJtQyfb5Z/W2qeAHSY1myLu7XP8FKMmj9nO82I92VU?= =?us-ascii?q?+92rQeA125PfcNxrjFVyelSHWYVvqQfmmNnjY5N0vy6geyLl0zdshGtUg9MvHN?= =?us-ascii?q?hpREjQ3uTat0RjmMpV/c1GEiP/sadxg3uIi7ZQMHV+sRZ+mAJeg03vIyElwMb2?= =?us-ascii?q?XGHSFuEe+5rUatnJRnO3Vn+Uj6ZuDt/R79PduKHhkLC5XaroJw+fOmWmKBI2Fv?= =?us-ascii?q?wwNoMEly6ejfC0w7tvVAfJaJgdjQm9N73PYBd/dsNy09p9ESlptn6YmVy8eKbQ?= =?us-ascii?q?rRw43zJd7PpPiYBOfTz0MwemFVSrAZex/6550mPt4lXL3eBaBZsgoYBag7Rpwh?= =?us-ascii?q?Kmjw+KZ7IgNvcg7eeq60jdfypu2RfZZUpGHZ7kg2LCjCvx0M0eG0TQNhY5CtnX?= =?us-ascii?q?XyL4g6RihdoN11FhtmAIxPFtsFrwW9H5GUmKC7i9m2+05hpe8KsKzwBe7O1NS4?= =?us-ascii?q?2YVxQpdb6VaMPDbLC6lhml5lgfiqgvfczpnxDtvvedEeW+h4RW7KcaTLHpi5Kj?= =?us-ascii?q?KSOsL8fFNG87Gc0LJlSBmRYj72X7aevi2+KPpk+Vk7ypB/fOfLzjwt6rbb2MHo?= =?us-ascii?q?Z2FavSeutniJO4Fa7FPUBOzSRRVUSeCK8Gx9B60YcZP09PsSMdwl2NWc+Adz7D?= =?us-ascii?q?Fe38aEIKWstVHM1VxhdZLaLUrp3CA5VZMMIBuhLUt/yVPe/2/QBXVaM9iMNdhm?= =?us-ascii?q?gNHTCAfkoUZ2hzIDfGlET0zpTtCVMHNT+sW5fxbCoARKBNEHlvXxeEk/rbaaTL?= =?us-ascii?q?V4fJJflrP55/08jd91JnSXF4BhNCbKIeozZ2Jc?= X-IPAS-Result: =?us-ascii?q?A2A0BwCE8qtZ/wHyM5BdHAEBBAEBCgEBFwEBBAEBCgEBgwQ?= =?us-ascii?q?oA4F5g3eLFI8qmh8WGIk9VwEBAQEBAQEBAgFqKIIzJIJCAwMBAiAPAUkDCQEBF?= =?us-ascii?q?w0CIgQCAgMBUxkFiFqBUgMBAbUzgiciAoNth26BDYIdggKBToRWhXaCR4JhAQS?= =?us-ascii?q?gdIIuiQeJD4t4hwaUfgIFBAUCGYE5V4ENMiExhWkcgWl0ik4BAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 03 Sep 2017 12:21:06 +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 v83CKSkv026035; Sun, 3 Sep 2017 08:20:35 -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 v83CKP0r126849 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Sun, 3 Sep 2017 08:20:25 -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 v83CKOX6026033 for <selinux@tycho.nsa.gov>; Sun, 3 Sep 2017 08:20:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1AsBgBI8qtZZCYbGNZdHQEFAQsBgy8oA?= =?us-ascii?q?yGBWIN3ixSPKpo1E4lCVwECAQEBAQECBBwUhXgGI2YlAiYCAlcZiF+BUgMBAbU?= =?us-ascii?q?9gieEEYdugQ2CHYICgU6EVoV2gkeCYQEEoHSCLokHiQ+SfpR+AgUEBQIZgTmBZ?= =?us-ascii?q?DIhMYUZDEQcgWl0ik4BAQE?= X-IPAS-Result: =?us-ascii?q?A1AsBgBI8qtZZCYbGNZdHQEFAQsBgy8oAyGBWIN3ixSPKpo?= =?us-ascii?q?1E4lCVwECAQEBAQECBBwUhXgGI2YlAiYCAlcZiF+BUgMBAbU9gieEEYdugQ2CH?= =?us-ascii?q?YICgU6EVoV2gkeCYQEEoHSCLokHiQ+SfpR+AgUEBQIZgTmBZDIhMYUZDEQcgWl?= =?us-ascii?q?0ik4BAQE?= X-IronPort-AV: E=Sophos;i="5.41,469,1498536000"; d="scan'208";a="40167" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 03 Sep 2017 08:20:21 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3ArQPDlROTZRlGON89cl0l6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0LfTyrarrMEGX3/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BJ/L/QEnxtM?= =?us-ascii?q?fCARMjPAy0xPjnW51B0dYFVGaOBLKJGL/Dul+PoOQ0Kq+DY5FGliz6Lq0D5vXp?= =?us-ascii?q?iXYi0X4aerKylc8RaXu/Gv19ZUSeZmH3qtJdASENpAVoH7+is0GLTTMGPyX6ZK?= =?us-ascii?q?k7/DxuUI8=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AtBgCE8qtZZCYbGNZdHQEFAQsBGAEFA?= =?us-ascii?q?QsBgwQoAyGBWIN3ixSPKpo1E4lCVwEBAQEBAQEBAgEDHBRfgjMigkQGI2YlAiY?= =?us-ascii?q?CAlcZiF+BUgMBAbUzgieEEYdugQ2CHYICgU6EVoV2gkeCYQEEoHSCLokHiQ+Sf?= =?us-ascii?q?pR+AgUEBQIZgTmBZDIhMYUZDEQcgWl0ik4BAQE?= X-IPAS-Result: =?us-ascii?q?A0AtBgCE8qtZZCYbGNZdHQEFAQsBGAEFAQsBgwQoAyGBWIN?= =?us-ascii?q?3ixSPKpo1E4lCVwEBAQEBAQEBAgEDHBRfgjMigkQGI2YlAiYCAlcZiF+BUgMBA?= =?us-ascii?q?bUzgieEEYdugQ2CHYICgU6EVoV2gkeCYQEEoHSCLokHiQ+SfpR+AgUEBQIZgTm?= =?us-ascii?q?BZDIhMYUZDEQcgWl0ik4BAQE?= X-IronPort-AV: E=Sophos;i="5.41,469,1498521600"; d="scan'208";a="1873268" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from upbd19pa05.eemsg.mail.mil ([214.24.27.38]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 03 Sep 2017 12:20:20 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;7ae896c1-e908-48e3-a6f7-7fe9d8916ecd Authentication-Results: upbd19pa13.eemsg.mail.mil; dkim=neutral (message not signed) header.i=none X-EEMSG-check-008: 85176960|UPBD19PA13_EEMSG_MP13.csd.disa.mil X-EEMSG-SBRS: 2.5 X-EEMSG-ORIG-IP: 129.104.30.34 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AoBACE8qtZfSIeaIFdHAEBBAEBCgEBgy+CJIN3ixSPKpgZghwTiUJBFgECAQEBAQEBARMBAQsUCFeFGQYjDwFWJQImAgJXGYhfgVIEAbUzgieEEYdugQ2CHYICgU6EVoV2gkeCYQEEoHSCLokHiQ+SfpR+AgUEBQIZgTkmA4E7MiExhRkMRByBaXSKTgEBAQ X-IPAS-Result: A0AoBACE8qtZfSIeaIFdHAEBBAEBCgEBgy+CJIN3ixSPKpgZghwTiUJBFgECAQEBAQEBARMBAQsUCFeFGQYjDwFWJQImAgJXGYhfgVIEAbUzgieEEYdugQ2CHYICgU6EVoV2gkeCYQEEoHSCLokHiQ+SfpR+AgUEBQIZgTkmA4E7MiExhRkMRByBaXSKTgEBAQ Received: from mx1.polytechnique.org ([129.104.30.34]) by upbd19pa13.eemsg.mail.mil with ESMTP; 03 Sep 2017 12:20:17 +0000 Received: from localhost.localdomain (abo-140-56-69.avi.modulonet.fr [85.69.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id A5DBB5646D2 for <selinux@tycho.nsa.gov>; Sun, 3 Sep 2017 14:20:07 +0200 (CEST) From: Nicolas Iooss <nicolas.iooss@m4x.org> To: selinux@tycho.nsa.gov Date: Sun, 3 Sep 2017 14:19:27 +0200 Message-Id: <20170903121928.24024-5-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170903121928.24024-1-nicolas.iooss@m4x.org> References: <20170903121928.24024-1-nicolas.iooss@m4x.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sun Sep 3 14:20:07 2017 +0200 (CEST)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by prometheus.infosec.tycho.ncsc.mil id v83CKP0r126849 Subject: [PATCH 5/6] restorecond: check write() and daemon() results 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/restorecond/restorecond.c b/restorecond/restorecond.c index f379db1e7f8d..6fbbd35dc1b3 100644 --- a/restorecond/restorecond.c +++ b/restorecond/restorecond.c @@ -103,7 +103,10 @@ static int write_pid_file(void) pidfile = 0; return 1; } - (void)write(pidfd, val, (unsigned int)len); + if (write(pidfd, val, (unsigned int)len) != len) { + syslog(LOG_ERR, "Unable to write to pidfile (%s)", strerror(errno)); + return 1; + } close(pidfd); return 0; } @@ -204,8 +207,10 @@ int main(int argc, char **argv) watch_file = server_watch_file; read_config(master_fd, watch_file); - if (!debug_mode) - daemon(0, 0); + if (!debug_mode) { + if (daemon(0, 0) < 0) + exitApp("daemon"); + } write_pid_file();
When compiling restorecond with -Wunused, gcc 4.8.4 (from Ubuntu 14.04) reports the following warnings: restorecond.c: In function ‘main’: restorecond.c:208:9: error: ignoring return value of ‘daemon’, declared with attribute warn_unused_result [-Werror=unused-result] daemon(0, 0); ^ restorecond.c: In function ‘write_pid_file’: restorecond.c:106:2: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result] (void)write(pidfd, val, (unsigned int)len); ^ If any of these calls returns an error, it is currently silently discarded. Add a message in order to warn about such an error. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- restorecond/restorecond.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)