lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 17 Aug 2008 22:43:33 +1000 (EST)
From:	James Morris <jmorris@...ei.org>
To:	Alexander Beregalov <a.beregalov@...il.com>
cc:	David Howells <dhowells@...hat.com>,
	"Serge E. Hallyn" <serue@...ibm.com>,
	Casey Schaufler <casey@...aufler-ca.com>, morgan@...nel.org,
	viro@...iv.linux.org.uk, linux-kernel@...r.kernel.org,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH] security.h: fix build failure 

On Sun, 17 Aug 2008, Alexander Beregalov wrote:

> From: Alexander Beregalov <a.beregalov@...il.com>
> 
> 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 <a.beregalov@...il.com>

Acked-by: James Morris <jmorris@...ei.org>


> ---
> 
>  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
<jmorris@...ei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ