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>] [day] [month] [year] [list]
Message-ID: <send-serie.davidel@xmailserver.org.27063.1175631673.5>
Date:	Tue, 03 Apr 2007 13:21:11 -0700
From:	Davide Libenzi <davidel@...ilserver.org>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc:	Andrew Morton <akpm@...ux-foundation.org>
Subject: [patch 5/5] new fds fixes for 2.6.21-rc5.mm4 - eventfd include files diet ...

Removes a few unneeded include files from the eventfd code.



Signed-off-by: Davide Libenzi <davidel@...ilserver.org>


- Davide



Index: linux-2.6.21-rc5.mm4/fs/eventfd.c
===================================================================
--- linux-2.6.21-rc5.mm4.orig/fs/eventfd.c	2007-04-03 13:17:25.000000000 -0700
+++ linux-2.6.21-rc5.mm4/fs/eventfd.c	2007-04-03 13:17:39.000000000 -0700
@@ -7,20 +7,15 @@
 
 #include <linux/file.h>
 #include <linux/poll.h>
-#include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/fs.h>
-#include <linux/mount.h>
-#include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/spinlock.h>
-#include <linux/jiffies.h>
 #include <linux/anon_inodes.h>
 #include <linux/eventfd.h>
 
-#include <asm/uaccess.h>
-
 struct eventfd_ctx {
 	spinlock_t lock;
 	wait_queue_head_t wqh;

-
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