From patchwork Mon Jul 10 07:57:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 9832847 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 7529560363 for ; Mon, 10 Jul 2017 12:23:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67E732624A for ; Mon, 10 Jul 2017 12:23:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C43926E4A; Mon, 10 Jul 2017 12:23:49 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2BB12624A for ; Mon, 10 Jul 2017 12:23:48 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.40,340,1496102400"; d="scan'208";a="7430979" IronPort-PHdr: =?us-ascii?q?9a23=3AyO7R4h3eNcLYrm0asmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?sewXI/zxwZ3uMQTl6Ol3ixeRBMOAuqIC0bSd7viocFdDyK7JiGoFfp1IWk1Nou?= =?us-ascii?q?QttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZr?= =?us-ascii?q?KeTpAI7SiNm82/yv95HJbQhFgDmwbalsIBi3ogncttUaipZ+J6gszRfEvmFGcP?= =?us-ascii?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GNQ/4edq1?= =?us-ascii?q?hBmkV3LyG50YZcK91K4jMURjhAuy+dvNypR8BYxc92FYUDIslhtHf5GaNEPpeR?= =?us-ascii?q?o3k3urzgyn/Z5z48v02gxDW2AaO4SfxW/3EGEAUzO2ueslUvD/cr8mrK/FHBqE?= =?us-ascii?q?x7/+daBriKjEV+ujV9E4tPBjlXy3+qMU5/TH5cs+VVMK7VadBTQ+EuZR+zPBwz?= =?us-ascii?q?DeYm30uN/U5uh3f4bStytg9U+y3GWgk0Ui4VgqzzljICsMGnPiQaS4lJbTUnYC?= =?us-ascii?q?fJMQWbmTpYvBxHcUFlR4gZAspZ+7EcxYZb5NDCSVuqKS0fXxxvLQM40ftelU5f?= =?us-ascii?q?q0qUYybdAhS0dfzXqB14Yd+RrNK1LPT+5ApHloTnsOUj+qUfW3GmnBaiTcrYr4?= =?us-ascii?q?Diqt2ArlGOe7vgM+2gfX/BSyDBjRCqirc+FZbK+zXcPRFGJJZk0XokeYbuCWrV?= =?us-ascii?q?MhRcPa4bIFBbVa9iY9Vcvu9af9NkeLoO+aJ1BBKHQQ3gFZeyo/ZYNVbcWy7eLz?= =?us-ascii?q?mf/eOiu47T66LSSfT4bMyW23nHW753Pot96TTjALjq35NR9lb01/tw+E53UkTJ?= =?us-ascii?q?MyeErNv9PAwL/9WielHkvpI3ATPcGI1wn2b1xkFca8oXRDWn8I4Gx5xE6Hb/U/?= =?us-ascii?q?5431P3sO1V6blr95c77KxuycipO6jeM/JavlF7AhKMHAVl6o0tAHRjR2BWeuIR?= =?us-ascii?q?MOzRfbgDgs/zt+D6DLcX6BqI++xDddTIOUfBmtWlCj6GTRxIhgABqSQVLgGEzf?= =?us-ascii?q?6Kh7d0Sdq5pej+wk8t/0K+IQAYw79w/oqE566IpPPNbxTL07gEW6/qRsftobQw?= =?us-ascii?q?oU+S4ucklLEWcGxvfwKnCPQdVtIaxmr4yKAl1yYsE8fdELL85P5MTWg2kynmm5?= =?us-ascii?q?9jA1UWAe8bEqCT/Y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GL9QPp9jIxT3itGrRlRgBiv4?= =?us-ascii?q?YMzUagAut/SSxugW5eVxKVDzapIaIhILyrL69WBaThB0R77so1aVR+QRa8V6SP?= =?us-ascii?q?nctHBa9ZpgK7MTPFiavJHqoS1HqEooDw81aL89tThadkjSnAJLW6b7oqMAihAG?= =?us-ascii?q?Xd5/p0BMBXq6OHgi6DrfSaRVkK6RBeQa8jqNSKwOT0JoMiR5TxOuxppuf7qpnf?= =?us-ascii?q?ZasmJJhS59pOYl0yZmRRSmoyHsobwC2S448rGiqDoBoWBFTvmZkyrQD1VDzegF?= =?us-ascii?q?jaAYC3n48lywengDbIz14Ll8PsTt7owh7nswYBk5eC0GR+ugATnqj6yUGoyPrM?= =?us-ascii?q?5chBmVtcXBcbCzNjMSOq0gxxzsQXZ90w7enAtn8WYQTTWg6cUrJIOjNso/wSqo?= =?us-ascii?q?A2fbfk4W4qxVqMvxqUILTOwuZFNjx2Vj0s6HSjcRS8zPH2Y1kxUraGRFcJJF8h?= =?us-ascii?q?8aFKgojy2WvqlH4AEbejPUHZmk+oXKm8fHx2U9R89wxm3Kvq2Fmo8q0Hp9ltN1?= =?us-ascii?q?8C6BonISevfcU89xH3fz14Bfyffka/WqqOAHR5NsyK69X/8aLsmj5Wy21Y1oWk?= =?us-ascii?q?C7yLQeEV65PfQNx7jBVSeqV3GYVf6Nc2eSgzYzKlTy6gWwLl0rdMdKqFcwMuTG?= =?us-ascii?q?hp5bmQzuT7d0RiGLqF/Ay2wjN+IaeB4stIehZQMKUPYbZ/KAKug23P0+FFwMYm?= =?us-ascii?q?fLHSt2C+62qVmtnIx6O3V8/0r3euHt8gH6MNuIBBYIC4naroR++faiXGKOJWdg?= =?us-ascii?q?zAFuPElz7+rfC1UxtupHfpaNnNjfm9d73vABd/t3Ny0ypMITkJp56YaIyMeKbQ?= =?us-ascii?q?3RzpHqKNHQo/iYAP7fz0Mxd2FYSLUZYgT154MkMd4/QbHTG6VWvQgED6ggXJMh?= =?us-ascii?q?L3vx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5YcYHvMHOQilZ7LRaGtlVF+Uh9ISCYP?= =?us-ascii?q?hY+/0uxj8z5XVj6yg=3D?= X-IPAS-Result: =?us-ascii?q?A2EpAwAzcWNZ/wHyM5BdHAEBBAEBCgEBFwEBBAEBCgEBgy+?= =?us-ascii?q?BeI58qQAtiSBXAQEBAQEBAQECAQJoKIIzJAENRlgBAQEBAQEjAg1eAwMBAiQZA?= =?us-ascii?q?QE3AQIDCQEBFycKCAMBMAEFARwGEwWKKp4XP4sfglc6JAKCYQEBBYgxASkIEoM?= =?us-ascii?q?WgTKCGo9jiWCHfY1GlAyLEyiGZUiTMDOBFViBCjEhCCgIhU0PHIIHVohmAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 10 Jul 2017 12:23:48 +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 v6ACNkOM019760; Mon, 10 Jul 2017 08:23:47 -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 v6A7vl8I291343 for ; Mon, 10 Jul 2017 03:57:47 -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 v6A7vlEa011247 for ; Mon, 10 Jul 2017 03:57:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1BQAQBGMmNZhi1TfUpdHQEFAQsBhVKOf?= =?us-ascii?q?KZ7ghGGHAKDUEAXAQIBAQEBAQEBEwEBAQgLCwgohUgDAycZAQE3AQ8/EjQBBQE?= =?us-ascii?q?cBhOKL54YP4sfglc6gwcBAQWILwEBAQEBAQEDAgEdCAkBCIMWgTKCGo9jiWCHf?= =?us-ascii?q?Y1GlAyLE4cNSJMwM4EVIQOBPTEhCCgIhU0PEAyCB1aIZgEBAQ?= X-IPAS-Result: =?us-ascii?q?A1BQAQBGMmNZhi1TfUpdHQEFAQsBhVKOfKZ7ghGGHAKDUEA?= =?us-ascii?q?XAQIBAQEBAQEBEwEBAQgLCwgohUgDAycZAQE3AQ8/EjQBBQEcBhOKL54YP4sfg?= =?us-ascii?q?lc6gwcBAQWILwEBAQEBAQEDAgEdCAkBCIMWgTKCGo9jiWCHfY1GlAyLE4cNSJM?= =?us-ascii?q?wM4EVIQOBPTEhCCgIhU0PEAyCB1aIZgEBAQ?= X-IronPort-AV: E=Sophos;i="5.40,339,1496116800"; d="scan'208";a="14724" 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; 10 Jul 2017 03:57:47 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AEK+WERfePMeXaqj/LN90apB0lGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcuzZB7h7PlgxGXEQZ/co6odzbGH4+a6BCdQvt6oizMrSNR0TRgLiM?= =?us-ascii?q?EbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVr?= =?us-ascii?q?O+/7BpDdj9it1+C15pbffxhEiCCzbL52Lxi6txvdu8kZjYZhKKs61wfErGZPd+?= =?us-ascii?q?lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLe?= =?us-ascii?q?TQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgz?= =?us-ascii?q?ocOjUn7G/YlNB/jKNDoBKguRN/xZLUYJqIP/Z6Z6/RYM8WSXZEUstXSidPAJ6z?= =?us-ascii?q?b5EXAuQBI+hWsofzqVgJoxS8CwmhH//jxiNSi3Pqx6A2z/gtHAfb1wIgBdIOt3?= =?us-ascii?q?HUoc3wOqgMT++117TDwCvEb/NR2jf29Y/FchM/rv6SRrJ/bc3RyU4sFw7eklqQ?= =?us-ascii?q?qZblPzSQ1uQMrmib6vBsVeW1i24osgx8pCWkyMQ0ioTRhI8YxUrI+ThnzIs1P9?= =?us-ascii?q?G1S0B2bcSrHZZQry2WKol7T804T211uSs3xacKtYOmcCQU0pgr2hDSZvKBfoOV?= =?us-ascii?q?+BzsTvyRLi19hH99eLKwmRKy8U+4x+35TMa00VJKojNdktnDqnwBzhLT58eHR/?= =?us-ascii?q?dn8Ueh3jGP1w/X6u5aO0w7ia3bK5s5zr4xkJocr1jDEzf0lUj5lqOaa1so9+iy?= =?us-ascii?q?5+nkbLjqvJCROo9shgH7KKsum8i/AeoiMggJWmiW4ee826P98k3iXLpKifo2kq?= =?us-ascii?q?rCvZ/GJcQbvKm5AwpU0oY+7hazFTCm0M4XnXUfNlJKZAqHj5T1O1HJOP34Fumw?= =?us-ascii?q?g1CtkDdt2vDHMabsAonNL3ffkLfheqxx60hHyAUp19xf6JVUCq9SaM70D2vwss?= =?us-ascii?q?HDRiM+KRK9x+r8QIFh0ZkAUGaDGYedMaXPoRqG4f8pL+CQZYgT/jHnJK52yeTp?= =?us-ascii?q?iCoalFIGNYKu2phfPHO1E+9tJEKaSXHsmNAEEHoP+A0kQ7q52xW5TTdPaiPqDO?= =?us-ascii?q?oH7TYhBdfjVN+bSw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0FhAQAIM2NZhi1TfUpdHQEFAQsBGQYMh?= =?us-ascii?q?SeOfKkMhhwCg1FXAQEBAQEBAQECAQIQAQEBCAsLCCgvgjMkAQ1GWAEBAQEBASM?= =?us-ascii?q?CDV4DAycZAQE3AQ8/EjQBBQEcBhOKL54aP4sfglc6gwcBAQWILwEBAQEBAQEDA?= =?us-ascii?q?gEdCAkBCIMWgTKCGoxFDIMSiWCHfY1GlAyLE4cNSJMwM4EVgWIxIQgoCIVNDxA?= =?us-ascii?q?MggdWiGYBAQE?= X-IPAS-Result: =?us-ascii?q?A0FhAQAIM2NZhi1TfUpdHQEFAQsBGQYMhSeOfKkMhhwCg1F?= =?us-ascii?q?XAQEBAQEBAQECAQIQAQEBCAsLCCgvgjMkAQ1GWAEBAQEBASMCDV4DAycZAQE3A?= =?us-ascii?q?Q8/EjQBBQEcBhOKL54aP4sfglc6gwcBAQWILwEBAQEBAQEDAgEdCAkBCIMWgTK?= =?us-ascii?q?CGoxFDIMSiWCHfY1GlAyLE4cNSJMwM4EVgWIxIQgoCIVNDxAMggdWiGYBAQE?= X-IronPort-AV: E=Sophos;i="5.40,339,1496102400"; d="scan'208";a="7425001" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mail-pg0-f45.google.com ([74.125.83.45]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/AES128-GCM-SHA256; 10 Jul 2017 07:57:44 +0000 Received: by mail-pg0-f45.google.com with SMTP id j186so45439969pge.2 for ; Mon, 10 Jul 2017 00:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Nl8CN4XKcpUihPeGFG3BIyQ5/o5DOAD6NBUuWBsQBOo=; b=GuopYxcMqdt4+aVgdYd05Tr7tFelEX4xKo3M79ZwTfkjRiaAj3diSapdqOxuJRl9// FO7ZyTdTFKCTldfmzqiRGesW0rCTAL7ZmdkNVwMgJcq2132mAEnzld8snwtziy5pqWW0 TzaM7jboGbTespnv8SHTxm9O8Q79Oa3R1DLc8= 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=Nl8CN4XKcpUihPeGFG3BIyQ5/o5DOAD6NBUuWBsQBOo=; b=igaAhoaZlBvBy+1pvtgJ+uBJxTOaUvmPG+LKGjXl9n2EdyeL3AwSFkhqxo83cNuI4N 9OtG7Yd62raek57TIjLDDcOB+AdWkKFE7IYeKjVwCNoYd7Z3dR5Fzo5CtgaZorMLu5zu KwWuSXc+a849ziYlS1Eoz7mWV+WmxzSsOc0M73w2Pbh7bh6HB2aqflzZKaShMolp8Kp1 DUdmCiwhtVCKqXAxPLYmPwlDwWjfOAAmnyq4hyX3ncfVvQ59bai/yiUCpw5S2y0ggfSX TezVslieyQhHLY8ewgTX1c2twyYZWhrVpBOnYlC1T9tI14rYN9hhEgHfkPziCG6LKBze FDAg== X-Gm-Message-State: AIVw1138Q2DmRUTOHHmkcmXfTJ/NJ6OZoPwczA6Rn9iNx6ZJPZFtsEJR fKe91aOpSrIJEeC3 X-Received: by 10.84.135.129 with SMTP id 1mr17107218plj.12.1499673463740; Mon, 10 Jul 2017 00:57:43 -0700 (PDT) Received: from www.outflux.net (173-164-112-133-Oregon.hfc.comcastbusiness.net. [173.164.112.133]) by smtp.gmail.com with ESMTPSA id u9sm23590952pfg.127.2017.07.10.00.57.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 00:57:42 -0700 (PDT) From: Kees Cook To: Linus Torvalds Subject: [PATCH v2 5/8] smack: Remove redundant pdeath_signal clearing Date: Mon, 10 Jul 2017 00:57:28 -0700 Message-Id: <1499673451-66160-6-git-send-email-keescook@chromium.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499673451-66160-1-git-send-email-keescook@chromium.org> References: <1499673451-66160-1-git-send-email-keescook@chromium.org> X-Mailman-Approved-At: Mon, 10 Jul 2017 08:20:01 -0400 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: Nicolas Pitre , "Jason A. Donenfeld" , Andy Lutomirski , Tetsuo Handa , Michal Hocko , David Howells , selinux@tycho.nsa.gov, Ingo Molnar , Hugh Dickins , Greg Ungerer , Stephen Smalley , Vivek Goyal , Rik van Riel , Kees Cook , linux-fsdevel@vger.kernel.org, Alexander Viro , James Morris , =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , John Johansen , Ben Hutchings , Oleg Nesterov , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP This removes the redundant pdeath_signal clearing in Smack: the check in smack_bprm_committing_creds() matches the check in smack_bprm_secureexec(), and since secureexec is now being checked for clearing pdeath_signal, this is redundant to the common exec code. Signed-off-by: Kees Cook --- security/smack/smack_lsm.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 13cf9e66d5fe..4b10b782aecc 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -954,20 +954,6 @@ static int smack_bprm_set_creds(struct linux_binprm *bprm) } /** - * smack_bprm_committing_creds - Prepare to install the new credentials - * from bprm. - * - * @bprm: binprm for exec - */ -static void smack_bprm_committing_creds(struct linux_binprm *bprm) -{ - struct task_smack *bsp = bprm->cred->security; - - if (bsp->smk_task != bsp->smk_forked) - current->pdeath_signal = 0; -} - -/** * smack_bprm_secureexec - Return the decision to use secureexec. * @bprm: binprm for exec * @@ -4645,7 +4631,6 @@ static struct security_hook_list smack_hooks[] __lsm_ro_after_init = { LSM_HOOK_INIT(sb_parse_opts_str, smack_parse_opts_str), LSM_HOOK_INIT(bprm_set_creds, smack_bprm_set_creds), - LSM_HOOK_INIT(bprm_committing_creds, smack_bprm_committing_creds), LSM_HOOK_INIT(bprm_secureexec, smack_bprm_secureexec), LSM_HOOK_INIT(inode_alloc_security, smack_inode_alloc_security),