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:	Tue, 5 Oct 2010 20:19:11 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	jovi zhang <bookjovi@...il.com>
Cc:	andre.goddard@...il.com, hedi@....com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pid: remove unused include

On Tue, Oct 05, 2010 at 07:20:26PM +0800, jovi zhang wrote:
> remove unused include of pid.c

> --- a/kernel/pid.c
> +++ b/kernel/pid.c
> @@ -27,15 +27,12 @@
>  */
> 
> #include <linux/mm.h>
> -#include <linux/module.h>

This one is needed for EXPORT_SYMBOL_GPL.

> -#include <linux/slab.h>


This one is for kzalloc()

> #include <linux/init.h>
> #include <linux/rculist.h>
> #include <linux/bootmem.h>
> #include <linux/hash.h>
> #include <linux/pid_namespace.h>
> #include <linux/init_task.h>
> -#include <linux/syscalls.h>

This one can go, sys_wait4() usage was removed.
Have you checked compilation?
--
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