diff options
author | Paul Moore <paul.moore@hp.com> | 2006-08-29 17:56:04 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 15:18:39 -0700 |
commit | 7a0e1d602288370801c353221c6a938eab925053 (patch) | |
tree | f11ef396a27549513a91fcaf7d06dafb2b84509a | |
parent | e448e931309e703f51d71a557973c620ff12fbda (diff) | |
download | kernel_samsung_tuna-7a0e1d602288370801c353221c6a938eab925053.zip kernel_samsung_tuna-7a0e1d602288370801c353221c6a938eab925053.tar.gz kernel_samsung_tuna-7a0e1d602288370801c353221c6a938eab925053.tar.bz2 |
[NetLabel]: add some missing #includes to various header files
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>
-rw-r--r-- | include/net/cipso_ipv4.h | 2 | ||||
-rw-r--r-- | include/net/netlabel.h | 1 | ||||
-rw-r--r-- | net/netlabel/netlabel_domainhash.h | 4 | ||||
-rw-r--r-- | net/netlabel/netlabel_user.h | 5 | ||||
-rw-r--r-- | security/selinux/include/selinux_netlabel.h | 9 |
5 files changed, 19 insertions, 2 deletions
diff --git a/include/net/cipso_ipv4.h b/include/net/cipso_ipv4.h index 5aed72a..59406e0 100644 --- a/include/net/cipso_ipv4.h +++ b/include/net/cipso_ipv4.h @@ -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 */ diff --git a/include/net/netlabel.h b/include/net/netlabel.h index 7cae730..fc2b72f 100644 --- a/include/net/netlabel.h +++ b/include/net/netlabel.h @@ -31,6 +31,7 @@ #define _NETLABEL_H #include <linux/types.h> +#include <linux/net.h> #include <linux/skbuff.h> #include <net/netlink.h> diff --git a/net/netlabel/netlabel_domainhash.h b/net/netlabel/netlabel_domainhash.h index 9217863..99a2287 100644 --- a/net/netlabel/netlabel_domainhash.h +++ b/net/netlabel/netlabel_domainhash.h @@ -32,6 +32,10 @@ #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 diff --git a/net/netlabel/netlabel_user.h b/net/netlabel/netlabel_user.h index ccf237b..385a6c7 100644 --- a/net/netlabel/netlabel_user.h +++ b/net/netlabel/netlabel_user.h @@ -31,11 +31,12 @@ #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 */ diff --git a/security/selinux/include/selinux_netlabel.h b/security/selinux/include/selinux_netlabel.h index d69ec65..ecab4bd 100644 --- a/security/selinux/include/selinux_netlabel.h +++ b/security/selinux/include/selinux_netlabel.h @@ -27,6 +27,15 @@ #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, |