Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755280AbYHQMp0 (ORCPT ); Sun, 17 Aug 2008 08:45:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752699AbYHQMpK (ORCPT ); Sun, 17 Aug 2008 08:45:10 -0400 Received: from tundra.namei.org ([65.99.196.166]:52173 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752683AbYHQMpJ (ORCPT ); Sun, 17 Aug 2008 08:45:09 -0400 Date: Sun, 17 Aug 2008 22:43:33 +1000 (EST) From: James Morris To: Alexander Beregalov cc: David Howells , "Serge E. Hallyn" , Casey Schaufler , morgan@kernel.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, Linus Torvalds Subject: Re: [PATCH] security.h: fix build failure In-Reply-To: <20080817013420.GA7622@orion> Message-ID: References: <20080817013420.GA7622@orion> User-Agent: Alpine 1.10 (LRH 962 2008-03-14) 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: 1307 Lines: 43 On Sun, 17 Aug 2008, Alexander Beregalov wrote: > From: Alexander Beregalov > > security.h: fix build failure > > include/linux/security.h: In function 'security_ptrace_traceme': > include/linux/security.h:1760: error: 'parent' undeclared (first use in this function) > > > Signed-off-by: Alexander Beregalov Acked-by: James Morris > --- > > include/linux/security.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/linux/security.h b/include/linux/security.h > index 2ee5ecf..80c4d00 100644 > --- a/include/linux/security.h > +++ b/include/linux/security.h > @@ -1755,7 +1755,7 @@ static inline int security_ptrace_may_access(struct task_struct *child, > return cap_ptrace_may_access(child, mode); > } > > -static inline int security_ptrace_traceme(struct task_struct *child) > +static inline int security_ptrace_traceme(struct task_struct *parent) > { > return cap_ptrace_traceme(parent); > } > -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/