Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753819AbdGSJ3v (ORCPT ); Wed, 19 Jul 2017 05:29:51 -0400 Received: from namei.org ([65.99.196.166]:39686 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753786AbdGSJ3q (ORCPT ); Wed, 19 Jul 2017 05:29:46 -0400 Date: Wed, 19 Jul 2017 19:29:26 +1000 (AEST) From: James Morris To: Kees Cook cc: Andrew Morton , James Morris , "Eric W . Biederman" , David Howells , John Johansen , "Serge E. Hallyn" , Paul Moore , Stephen Smalley , Casey Schaufler , Tetsuo Handa , Andy Lutomirski , Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 08/15] LSM: drop bprm_secureexec hook In-Reply-To: <1500416736-49829-9-git-send-email-keescook@chromium.org> Message-ID: References: <1500416736-49829-1-git-send-email-keescook@chromium.org> <1500416736-49829-9-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: 662 Lines: 22 On Tue, 18 Jul 2017, Kees Cook wrote: > This removes the bprm_secureexec hook since the logic has been folded into > the bprm_set_creds hook for all LSMs now. > > Cc: James Morris > Cc: Eric W. Biederman > Signed-off-by: Kees Cook > --- > fs/binfmt_elf.c | 1 - > fs/binfmt_elf_fdpic.c | 1 - > include/linux/lsm_hooks.h | 14 +++++--------- > include/linux/security.h | 7 ------- > security/security.c | 5 ----- > 5 files changed, 5 insertions(+), 23 deletions(-) Acked-by: James Morris -- James Morris