[NetLabel]: add some missing #includes to various header files
authorPaul Moore <paul.moore@hp.com>
Wed, 30 Aug 2006 00:56:04 +0000 (17:56 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:39 +0000 (15:18 -0700)
Add some missing include files to the NetLabel related header files.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/cipso_ipv4.h
include/net/netlabel.h
net/netlabel/netlabel_domainhash.h
net/netlabel/netlabel_user.h
security/selinux/include/selinux_netlabel.h

index 5aed72ab652b46d2ca1ddc8d9f4461644679280f..59406e0dc5b28195fdfafdb9b1c46179da3f61f6 100644 (file)
@@ -37,6 +37,8 @@
 #include <linux/types.h>
 #include <linux/rcupdate.h>
 #include <linux/list.h>
+#include <linux/net.h>
+#include <linux/skbuff.h>
 #include <net/netlabel.h>
 
 /* known doi values */
index 7cae730832c7f6bcf3f577c0b110a35ab1304089..fc2b72fc7e0774abe3fe8ced1db40cf2f59492f5 100644 (file)
@@ -31,6 +31,7 @@
 #define _NETLABEL_H
 
 #include <linux/types.h>
+#include <linux/net.h>
 #include <linux/skbuff.h>
 #include <net/netlink.h>
 
index 9217863ce0d3a389c77f4ed7580c4c4127ee9f78..99a2287de2460daa14b49c48f5aea96711e1f080 100644 (file)
 #ifndef _NETLABEL_DOMAINHASH_H
 #define _NETLABEL_DOMAINHASH_H
 
+#include <linux/types.h>
+#include <linux/rcupdate.h>
+#include <linux/list.h>
+
 /* Domain hash table size */
 /* XXX - currently this number is an uneducated guess */
 #define NETLBL_DOMHSH_BITSIZE       7
index ccf237b3a12821f311afcb8008ec621d4b8ee8b8..385a6c7488c604c9bc2f6b82fd632d99e86e6bd4 100644 (file)
 #ifndef _NETLABEL_USER_H
 #define _NETLABEL_USER_H
 
+#include <linux/types.h>
 #include <linux/skbuff.h>
 #include <linux/capability.h>
-#include <linux/genetlink.h>
-#include <net/netlabel.h>
+#include <net/netlink.h>
 #include <net/genetlink.h>
+#include <net/netlabel.h>
 
 /* NetLabel NETLINK helper functions */
 
index d69ec650cdbeb1701cd419bb097326ad874fddee..ecab4bddaaf4a4225d00e6990b53b8bdebe041b7 100644 (file)
 #ifndef _SELINUX_NETLABEL_H_
 #define _SELINUX_NETLABEL_H_
 
+#include <linux/types.h>
+#include <linux/fs.h>
+#include <linux/net.h>
+#include <linux/skbuff.h>
+#include <net/sock.h>
+
+#include "avc.h"
+#include "objsec.h"
+
 #ifdef CONFIG_NETLABEL
 void selinux_netlbl_cache_invalidate(void);
 int selinux_netlbl_socket_post_create(struct socket *sock,