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: <20071110093440.GA24410@linux.vnet.ibm.com>
Date:	Sat, 10 Nov 2007 15:04:40 +0530
From:	Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
To:	linux-kernel@...r.kernel.org
Cc:	torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
	dada1@...mosbay.com, davem@...emloft.net, apw@...dowen.org
Subject: [PATCH] 2.6.24-rc2-git1 Build fails in selinux/hooks.

Hi,

The 2.6.24-rc2-git1 kernel build fails, with following error

  CC      security/selinux/hooks.o
In file included from include/net/tcp.h:35,
                 from security/selinux/hooks.c:52:
include/net/inet_hashtables.h: In function 'inet_ehash_locks_alloc':
include/net/inet_hashtables.h:165: error: implicit declaration of function 'vmalloc'
include/net/inet_hashtables.h:165: warning: assignment makes pointer from integer without a cast
include/net/inet_hashtables.h: In function 'inet_ehash_locks_free':
include/net/inet_hashtables.h:186: error: implicit declaration of function 'vfree'
make[2]: *** [security/selinux/hooks.o] Error 1
make[1]: *** [security/selinux] Error 2
make: *** [security] Error 2

The commit 230140cffa7feae90ad50bf259db1fa07674f3a7 ([INET]: Remove per
bucket rwlock in tcp/dccp ehash table.) caused this build
failure.

Signed-off-by: Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
--
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h
index 8461cda..624ddbf 100644
--- a/include/net/inet_hashtables.h
+++ b/include/net/inet_hashtables.h
@@ -23,6 +23,7 @@
 #include <linux/spinlock.h>
 #include <linux/types.h>
 #include <linux/wait.h>
+#include <linux/vmalloc>
 
 #include <net/inet_connection_sock.h>
 #include <net/inet_sock.h>

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
-
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