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] [day] [month] [year] [list]
Date:	Mon, 29 Dec 2014 14:16:40 +0100
From:	Oleg Nesterov <oleg@...hat.com>
To:	Fabian Frederick <fabf@...net.be>
Cc:	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	Roland McGrath <roland@...k.frob.com>
Subject: Re: [PATCH 1/1 RESEND] ptrace: remove linux/compat.h inclusion
	under CONFIG_COMPAT

On 12/29, Fabian Frederick wrote:
> Commit 84c751bd4aeb
> ("ptrace: add ability to retrieve signals without removing from a queue (v4)")
> includes <linux/compat.h> globally in ptrace.c
> 
> This patch removes inclusion under if defined CONFIG_COMPAT.
> 
> Signed-off-by: Fabian Frederick <fabf@...net.be>

Acked-by: Oleg Nesterov <oleg@...hat.com>



> ---
>  kernel/ptrace.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/kernel/ptrace.c b/kernel/ptrace.c
> index 1eb9d90..227fec3 100644
> --- a/kernel/ptrace.c
> +++ b/kernel/ptrace.c
> @@ -1077,7 +1077,6 @@ int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr,
>  }
>  
>  #if defined CONFIG_COMPAT
> -#include <linux/compat.h>
>  
>  int compat_ptrace_request(struct task_struct *child, compat_long_t request,
>  			  compat_ulong_t addr, compat_ulong_t data)
> -- 
> 2.1.0
> 

--
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