Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751857AbdHAAut (ORCPT ); Mon, 31 Jul 2017 20:50:49 -0400 Received: from namei.org ([65.99.196.166]:40631 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751623AbdHAAur (ORCPT ); Mon, 31 Jul 2017 20:50:47 -0400 Date: Tue, 1 Aug 2017 10:50:29 +1000 (AEST) From: James Morris To: Kees Cook cc: Andrew Morton , Casey Schaufler , David Howells , "Eric W. Biederman" , John Johansen , "Serge E. Hallyn" , Paul Moore , Stephen Smalley , Tetsuo Handa , James Morris , Andy Lutomirski , Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 12/15] smack: Remove redundant pdeath_signal clearing In-Reply-To: <1501545093-56634-13-git-send-email-keescook@chromium.org> Message-ID: References: <1501545093-56634-1-git-send-email-keescook@chromium.org> <1501545093-56634-13-git-send-email-keescook@chromium.org> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 707 Lines: 22 On Mon, 31 Jul 2017, Kees Cook wrote: > This removes the redundant pdeath_signal clearing in Smack: the check in > smack_bprm_committing_creds() matches the check in smack_bprm_set_creds() > (which used to be in the now-removed smack_bprm_securexec() hook) and > since secureexec is now being checked for clearing pdeath_signal, this > is redundant to the common exec code. > > Cc: Casey Schaufler > Signed-off-by: Kees Cook > Acked-by: Serge Hallyn > --- > security/smack/smack_lsm.c | 15 --------------- > 1 file changed, 15 deletions(-) Reviewed-by: James Morris -- James Morris