From patchwork Thu Jun 22 09:45:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 9803871 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 9827860329 for ; Thu, 22 Jun 2017 09:48:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88980285CF for ; Thu, 22 Jun 2017 09:48:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D615285E8; Thu, 22 Jun 2017 09:48:20 +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=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from emsm-gh1-uea10.nsa.gov (emsm-gh1-uea10.nsa.gov [8.44.101.8]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C47AD285E3 for ; Thu, 22 Jun 2017 09:48:19 +0000 (UTC) IronPort-PHdr: =?us-ascii?q?9a23=3AEgaqaxxKQdUHbZzXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?1esWI/ad9pjvdHbS+e9qxAeQG96KtLQV0aGP7+jJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMhjexe7d/IAu5oQnMucQdnJdvJLs2xhbVuHVDZv?= =?us-ascii?q?5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnM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Wl?= =?us-ascii?q?zlgM2pYtYKI26lPlPdGEmLLKiGJSHMw8zveaOzV6Zfg/tStx2xpTabFFTuPjWd?= =?us-ascii?q?mDb3SR+jK+ZMjDuUPBZGooGybg5tCXT/TNLhchC0K8R4gToywb01nXPKKXUcPS?= =?us-ascii?q?Jnc0xTsrKc9zhYjet7G2xA6HplMOaFlj2F4OjYMJYWrOBrDj56lu1A/HQ60LxV?= =?us-ascii?q?7CdeSPxygivSocZko0u6nemX1jpnTB1Opy5QhI2Ro0VtI6rZ+YdbWXvf5xIC93?= =?us-ascii?q?uQBA4Fp9R7Ed3joaZQxcbTlKjrMjdN78rU/dcAB8jTMM+IK3shMRXuGD7SFwYK?= =?us-ascii?q?UCCkOnreh0NHlvGe7HqVroI1qpL0gpoBVqdbVEApFvMdEklqBtMCL41pXjw6ir?= =?us-ascii?q?Obi9YI6mS4rBnUXspav5THWemVAfTgMjqZiqNEZxQQy7PiMYsTLpH721BlalRi?= =?us-ascii?q?gITKHE/QUcpXoi1mbw47vkNN/2NkTm00xU3laRig72MUFf6xghE5kBB+Yfg3+D?= =?us-ascii?q?fq/Vg3OkLApDEsn0kphdXlnTeRfSbyLKawWYFZFTH5t002MpP1TQZ6cxGynVBk?= =?us-ascii?q?NDfDQrJekaFsdWZ1hw/AoZFPA+JTTbVYYB8MwvGaf/Mo3kpGpSWj3kJH5uzFCY?= =?us-ascii?q?B+lAQwd56stHFA2wN5YN4zO6PQOLJDzkJMiaKWoi+oyucxzRcEJ0kT62OdZjQH?= =?us-ascii?q?uFYUObkmPCen5e1s6RaflDtEdmgMT+Aqrexq908nPeSP0T7g2aZZKk+tL+yfM7?= =?us-ascii?q?+Zu2/YmMGVRVMw0EUImFRb8rhy0McuaFCbWF41zLuWDRgJMtDCKQ5NZcpI6HfT?= =?us-ascii?q?ZTqOsfnKwZ9tIoqyDP7oTe6Tu6YPmU+rBhwpH54L7sUPBZmjzl3XLdr9LL4E1R?= =?us-ascii?q?Us5B7nJFObA/RVYBiL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AONF/tGnhGKlcIpie?= =?us-ascii?q?v2U2uqDzyn/e4z08sVG6xCmtFK+8Ue1Z+nMRGhkzJ2WesUQvCPMs/XnU8lDIqF?= =?us-ascii?q?90/uNbCaOIjUR+ujp9GYpOBjlR33C/M1tzVGVGs/ldKKnNfMxcWeM9ZRmzOxEl?= =?us-ascii?q?FP4m2EKI/UdonXf5fSNytw1a+zzDUAkuTyUVhKnimSEGoMG9JTAaU45IbSkmby?= =?us-ascii?q?rdNwKbniVXsQ1Da012XpAWGcxJ+7cF0otI5sDCU1qjKTkZXBx+MQI1yfpfmlRZ?= =?us-ascii?q?sEqCfSDSEBGleuvRvR1vZceessqpI+rj/AtdjYPnqu84/b0ZR3K6gQ2tXczer4?= =?us-ascii?q?jku92IsUuBarz1PPCibn/aUjfMlwywiqk5AJXQ+SjcLhZbIYFgyXU4eZjhFXLL?= =?us-ascii?q?PRNeKq0AKUpUSbx2ZNdbru1UfMJrZKEJ+apxCR2dXRPvBJajrP9YIVbPXT7eNT?= =?us-ascii?q?mO8vSjoYLP6rzQUfLgadKRyHbHWa13Iox36T38G7f0z4BS5Fb52vBw+UxkU1TG?= =?us-ascii?q?NT6OrMj5LAMR+MaiblfivoEuHT7OGJdwi2btyVtdeMoLWCCq65MYyI5D6HnsV+?= =?us-ascii?q?141FTzsPdI+Llg84U35KppycisL6fINftaqVNnAgSTBghy6pUtGnZwSH5MbeIK?= =?us-ascii?q?NffRebgZjdr0pODpFqwX7xmV9PJFadfdIEHBgMa/ACmGSRNYhAcBtSIaLgyE2v?= =?us-ascii?q?6HgaB0U8GlpfP92k03/VizNRsGzK1p5YeY+6qHuO7XYAHXzbgfQKTqQdnzrrs0?= =?us-ascii?q?sUOI+fIkjKIOenByYwC/EugSTMgdxmn6zaAt0C0jDdjOH6769/5FTHI5mSjsm5?= =?us-ascii?q?ZjEFUKAvkUB6aE/ZxCnmcknOzULtsWcqRZl2aOEx6kF6UOyX+t6yuZOmlqmArO?= =?us-ascii?q?0w3qQWOu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FiSLnsvlaWRegRfsdpSO?= =?us-ascii?q?vYrnBJ7oJtM6oPPF+bpJz2oTdHtks7AAooaLAqqDxVaFXOnQNSW6buu74AkREQ?= =?us-ascii?q?Udhntk9QAWiwIn4x5yLbVaRJi6mcEPMV/SmITqwVSklmLyxwTRW02JVoZruoku?= =?us-ascii?q?tKsmxDnixnpvglzSZqRBymuS3jv6gNwy4v+KmktDUdvnxIVueekyDICVVF1vgF?= =?us-ascii?q?kaccC3L/6VOhYXgDbY3y4KJkJcTh7oQh/XU/YQs5cC0CQOugCjv8j6WWDYyTqN?= =?us-ascii?q?hcngKCuN3Sbb+vKigfLrU9yQz5SHh7yQXemAto/3YKQjWn998oPoK9OdwqxiCw?= =?us-ascii?q?A2jUaE4M4r9VsMv2rVMLTvU5aV1vwGVnycWGSDcCRMrRFGYplAQkb3tLcI5b4x?= =?us-ascii?q?8AC6YomiqIvrVB/gwMbzfUFoOl+4fOksfM3XkwVsxqxmXQpq2EmpwmyntllM1o?= =?us-ascii?q?7iSWonQda/TYU9NwAnj0zopfy+z+ZvW1suAATItmyaihX+EZP8mm+Gu2xI9qVV?= =?us-ascii?q?G/yrQZBVq5P/cJxq3HXCe9VW2YReOLfnCQnzY4N07//gWoLlwrZ8dJsUA9NvHO?= =?us-ascii?q?hphCmA39Sbl0XDmfpUfHzGw/NuMXbwc2uIakewwJS+4cfOqcKvItwP05DlsDcX?= =?us-ascii?q?nJETFwC+CorV6nhJJ7NGl44UXmfeTt9RjrP8CMFRkCDY7XtYVx+fi9RmKdJX9g?= =?us-ascii?q?0gN9M1Ru++fYDVQxufdWc4yNktjIm9R7zekFeu91MS06vt4cgJhj6IeT0MeOfx?= =?us-ascii?q?Hc1ZPyJdbSoviDHfLQ014qemZBUroCYAP14Yo6MsQ+W73JErtTpQ4cCrQiQJw9?= =?us-ascii?q?K2fx87l5LA1tfQ7VZbS0mtflq/mKZ5tVon/W60w/LD3YuxId0PC0ShZ7b5+yjX?= =?us-ascii?q?XoPJ8wXi5Br8FqChZ+EopPA9kArwu7DJGKg6y7jt6x+19gu+AUq6bwDerK1Nuh?= =?us-ascii?q?1YVrQ5da/VCLPCrWBKRzhURlivq9j+zY0pn1E8ziYs8EVOlnTW7ZcL/JAJuwJi?= =?us-ascii?q?iIOs3iZ05M66Sc365hUhWNeCD5WLKLtCmlNPVi/EU6xZV0fO7SzDw287Hbw8D/?= =?us-ascii?q?Z2BBqSelqn6FLpxf7EbFBebGRRJbVeKF8Hp5Ha0QdYb07/kBMdgjwNia/gly4z?= =?us-ascii?q?NO3sSZI6ihsEDMwFx0dYrBI0by2CY2R5MKIBKhPksommDZt3vdDW5bLsi+Jsln?= =?us-ascii?q?mMyVAQD150lthWEtYXZMGm/yStiNOWgb2sS+ZAqR+QJVDtYDmfC4eUo5tq20VO?= =?us-ascii?q?lpNY9JmeKwtLUIidxpMT3ARNBGPyHMK797JjhRAf/MpFgveREJqKU1WoEpZZiO?= =?us-ascii?q?J0MHLUiAySPuzQfY1037acCs3r6TICkK6nVH067F0T9Uqgm2o/mWmdfjULHHY5?= =?us-ascii?q?HyR/PSLi4lWSuBRTQzDEal41GktOQYvPCAO2cQvkgUYj6OCA4Uvq1vr93QDmjJ?= =?us-ascii?q?me15fZ0Kn+uXWybqRy19iqUyBzxHtUeWQ/oMDQPWdWPugHJAuAy+If9B5Wnlb7?= =?us-ascii?q?OdxqVJWuEbAZBBcuOHTNvCePBfJjAoljMDNOa6YdLcs+Vx7lWdVmYdEq/V5HWC?= =?us-ascii?q?XUWWRbqa3DutUoIL7KYuvS99wtvMhC58EOzzI7ueoT6n6IKkxHKAosXGVXJrYk?= =?us-ascii?q?lj07FKO3WI3BQVcDJMMNoSoky4B/fYag=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2EdAgARkUtZ/wHyM5BdHAEBBAEBCgEBFwEBBAEBCgEBgwI?= =?us-ascii?q?rgW+OeLIWVwEBAQEBAQEBAgECaCiCMySBKywISAEBGQYBAiQZAQE3AQIDCQEBF?= =?us-ascii?q?zEIAwFTHohVgVIEqyWCVzolAoJhAQEFiFUBAQgCAR0Ihm2BYI4CAYlWlRGebA0?= =?us-ascii?q?chlyVFlg/S4EJSYR+ghN0iV0BAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 22 Jun 2017 09:48:18 +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 v5M9laWB018634; Thu, 22 Jun 2017 05:47:37 -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 v5M9kClk204271 for ; Thu, 22 Jun 2017 05:46:12 -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 v5M9k9e2018374; Thu, 22 Jun 2017 05:46:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1C+AABDkUtZhxsEb0JdHQEFAQsBgy2CGo54qHSGJAKCfFcBAgEBAQEBAhMBAQEIDQkIKIVIAwMnGQEBNwEPUVeIc4FSBKspglc6gwgBAQWIVQEBAQEGAh4Ihm2BYI4CiVeVEZ5sDYZ4lRaBFkuBCUmEfh+BdHSJXQEBAQ X-IPAS-Result: A1C+AABDkUtZhxsEb0JdHQEFAQsBgy2CGo54qHSGJAKCfFcBAgEBAQEBAhMBAQEIDQkIKIVIAwMnGQEBNwEPUVeIc4FSBKspglc6gwgBAQWIVQEBAQEGAh4Ihm2BYI4CiVeVEZ5sDYZ4lRaBFkuBCUmEfh+BdHSJXQEBAQ X-IronPort-AV: E=Sophos;i="5.39,372,1493697600"; d="scan'208";a="6100679" 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; 22 Jun 2017 05:46:11 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AGnrsRxQg1GviNCLiOdmi/AiL1Npsv+yvbD5Q0YIu?= =?us-ascii?q?jvd0So/mwa69bBCN2/xhgRfzUJnB7Loc0qyN4v+mCDZLuMrJmUtBWaQEbwUCh8?= =?us-ascii?q?QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6?= =?us-ascii?q?OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBe7oR/Vu8UIjoduN6k8wQbVr3VVfO?= =?us-ascii?q?hb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnY?= =?us-ascii?q?UAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhS?= =?us-ascii?q?waLDMy7n3ZhdJsg6JauBKhpgJww4jIYIGOKfFyerrRcc4GSWZdW8pcUTFKDIGh?= =?us-ascii?q?YIsVF+cPPfhWoZTzqVUNqhWxBwesCfjzxjNUnHL6wbc33/g9HQzAwQcuH8gOsH?= =?us-ascii?q?PRrNjtLqkdS/y1zLPJzTrfbPNdxCrz6JTWfRAgp/GMXah/cdDMxkkzCgjIiU2Q?= =?us-ascii?q?qZf+MjON1eQNqHKX7+tlVe+2jWMstgJ/oiC3y8oti4TFnJ8Zxk3Z+Sljz4s5P8?= =?us-ascii?q?O0RUxjbdOmE5ZcrSGXO5VsTs8/TWxkpTw2x7IJtJO9YSME0o4oxwTFZPyCa4WI?= =?us-ascii?q?4gzsVOKWITpgg3JlZa6/ihir/Ui7z+38StG03ExPriVbidnMrWoC1xPS6siBRf?= =?us-ascii?q?ty4EGh2TmO1wDV9O5IO1w7la3eK5I5w74wkIQcsVjbEyL3mUj6lrKaelg59uSy?= =?us-ascii?q?5OnreKvqq52EO49xkA7+M6AumsKlAeQ/NwgDR3Cb+f+n2b37/k35W69Gjvwzkq?= =?us-ascii?q?XBqpDVOdwbprKlAw9Syosj8AuwDyy93dQEnXgIMFJFeBWdg4jvIFHBOur0Dfi4?= =?us-ascii?q?g1SyiD1r3ezJPqX9ApXRKXjOiKzhcqh5605dzgoz0N9e6olICrABPP3zWkjxuM?= =?us-ascii?q?beDh8iKQO42ennCNJj1tBWZWXaGaKdMaXPoXeU9+kvJK+Kf4ZTtzHjeNY/4Pu7?= =?us-ascii?q?tXYlg14WfuGSwZYWbnCxBPh6axGBelL0gcxHEGJc7Vl2d/DjlFDXCW0bXH21Ra?= =?us-ascii?q?9po2hjUI8=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0FdAADfkEtZhxsEb0JdHQEFAQsBGAEFA?= =?us-ascii?q?QsBgwKCGo54qHSGJAKCfFcBAQEBAQEBAQIBAhABAQEIDQkIKC+CMyQBgSosCEg?= =?us-ascii?q?BARkDAycZAQE3AQ9RV4hzgVIEqyWCVzqDCAEBBYhVAQEBAQYCAR0Ihm2BYI4Ci?= =?us-ascii?q?VeVEZ5sDYZ4lRaBF0uBCUmEfh+BdHSJXQEBAQ?= X-IPAS-Result: =?us-ascii?q?A0FdAADfkEtZhxsEb0JdHQEFAQsBGAEFAQsBgwKCGo54qHS?= =?us-ascii?q?GJAKCfFcBAQEBAQEBAQIBAhABAQEIDQkIKC+CMyQBgSosCEgBARkDAycZAQE3A?= =?us-ascii?q?Q9RV4hzgVIEqyWCVzqDCAEBBYhVAQEBAQYCAR0Ihm2BYI4CiVeVEZ5sDYZ4lRa?= =?us-ascii?q?BF0uBCUmEfh+BdHSJXQEBAQ?= X-IronPort-AV: E=Sophos;i="5.39,372,1493683200"; d="scan'208";a="6953431" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jun 2017 09:46:10 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AEE8920738; Thu, 22 Jun 2017 05:46:09 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 22 Jun 2017 05:46:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=GtHintBK6eBGBXabvaTrSAftlQNHYMFYgDdlTWcNv mQ=; b=kt914VNTGacXDKJveH6ZMOM3V+BlrVCcalbC5ZucLu3Z4wOakUBembgoV dBbZc9mZZjtCg5xnwrmCBDOHagiMv60NxVWnJkRwuZFuk1VK6obCp78HYF2RmFMn ehhrz/+vttj74YwEdrsTs6vbu27XV50t3hUbLYVAvpe6C7ULZd2TNPKdYmBQ5EOk bzzKF8xGCctlsqpM1ZHtIzcgCNcPvmBVRIt5MB5TEJ69nRfRXXU8Cj8aNKHctjnw xVw5P3YfBlEOreqb96leyXvsRnM03IjDSQhwOOgdJ94SjVH9pM7Sn60qxVpQ3jDI 1ZcAjIeNXLga4NJQoQyzmU6DB9+FQ== X-ME-Sender: X-Sasl-enc: RL9Ef8TnqLb8EacAaO8u52l3TKl3oBpZkvITM+lHcMkI 1498124769 Received: from localhost (x4e34832c.dyn.telefonica.de [78.52.131.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 472FF245EF; Thu, 22 Jun 2017 05:46:09 -0400 (EDT) From: Patrick Steinhardt To: selinux@tycho.nsa.gov Subject: [PATCH v2 0/2] Portability improvements Date: Thu, 22 Jun 2017 11:45:56 +0200 Message-Id: X-Mailer: git-send-email 2.13.1 In-Reply-To: References: 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: Cc: Stephen Smalley Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP Hi, this is the second version of my portability fixes. Changes include applying proposed changes (thanks Stephen and Jason) as well as improved commit messages. The interdiff is attached below. I've dropped the first patch as it's already been applied. Patrick Patrick Steinhardt (2): libselinux: avoid redefining _FORTIFY_SOURCE genhomedircon: avoid use of non-standard `getpwent_r` libselinux/src/Makefile | 2 +- libselinux/utils/Makefile | 2 +- libsemanage/src/genhomedircon.c | 34 +++++++--------------------------- 3 files changed, 9 insertions(+), 29 deletions(-) diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index 010b7ffe..ea912609 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -59,8 +59,7 @@ ifeq ($(COMPILER), gcc) EXTRA_CFLAGS = -fipa-pure-const -Wlogical-op -Wpacked-bitfield-compat -Wsync-nand \ -Wcoverage-mismatch -Wcpp -Wformat-contains-nul -Wnormalized=nfc -Wsuggest-attribute=const \ -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wtrampolines -Wjump-misses-init \ - -Wno-suggest-attribute=pure -Wno-suggest-attribute=const \ - -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 + -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Wp,-D_FORTIFY_SOURCE else EXTRA_CFLAGS = -Wunused-command-line-argument endif diff --git a/libselinux/utils/Makefile b/libselinux/utils/Makefile index eb28120d..eb4851a9 100644 --- a/libselinux/utils/Makefile +++ b/libselinux/utils/Makefile @@ -32,8 +32,7 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi -Wformat-extra-args -Wformat-zero-length -Wformat=2 -Wmultichar \ -Woverflow -Wpointer-to-int-cast -Wpragmas \ -Wno-missing-field-initializers -Wno-sign-compare \ - -Wno-format-nonliteral -Wframe-larger-than=$(MAX_STACK_SIZE) \ - -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 \ + -Wno-format-nonliteral -Wframe-larger-than=$(MAX_STACK_SIZE) -Wp,-D_FORTIFY_SOURCE \ -fstack-protector-all --param=ssp-buffer-size=4 -fexceptions \ -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time \ -Werror -Wno-aggregate-return -Wno-redundant-decls \ diff --git a/libsemanage/src/genhomedircon.c b/libsemanage/src/genhomedircon.c index f58c17ce..b9a74b73 100644 --- a/libsemanage/src/genhomedircon.c +++ b/libsemanage/src/genhomedircon.c @@ -290,9 +290,7 @@ static semanage_list_t *get_home_dirs(genhomedircon_settings_t * s) semanage_list_t *homedir_list = NULL; semanage_list_t *shells = NULL; fc_match_handle_t hand; - char *rbuf = NULL; char *path = NULL; - long rbuflen; uid_t temp, minuid = 500, maxuid = 60000; int minuid_set = 0; struct passwd *pwbuf; @@ -361,12 +359,7 @@ static semanage_list_t *get_home_dirs(genhomedircon_settings_t * s) free(path); path = NULL; - rbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); - if (rbuflen <= 0) - goto fail; - rbuf = malloc(rbuflen); - if (rbuf == NULL) - goto fail; + errno = 0; setpwent(); while ((pwbuf = getpwent()) != NULL) { if (pwbuf->pw_uid < minuid || pwbuf->pw_uid > maxuid) @@ -410,9 +403,10 @@ static semanage_list_t *get_home_dirs(genhomedircon_settings_t * s) } free(path); path = NULL; + errno = 0; } - if (errno && errno != ENOENT) { + if (errno) { WARN(s->h_semanage, "Error while fetching users. " "Returning list so far."); } @@ -421,14 +415,12 @@ static semanage_list_t *get_home_dirs(genhomedircon_settings_t * s) goto fail; endpwent(); - free(rbuf); semanage_list_destroy(&shells); return homedir_list; fail: endpwent(); - free(rbuf); free(path); semanage_list_destroy(&homedir_list); semanage_list_destroy(&shells);