From mboxrd@z Thu Jan 1 00:00:00 1970 From: paul.moore@hp.com Subject: [PATCH 6/6] NetLabel: add some missing #includes to various header files Date: Tue, 29 Aug 2006 10:42:57 -0400 Message-ID: <20060829144447.363702000@hp.com> References: <20060829144251.452774000@hp.com> Cc: jmorris@namei.org, sds@tycho.nsa.gov, akpm@osdl.org, Paul Moore Return-path: Received: from atlrel8.hp.com ([156.153.255.206]:46470 "EHLO atlrel8.hp.com") by vger.kernel.org with ESMTP id S965013AbWH2Oot (ORCPT ); Tue, 29 Aug 2006 10:44:49 -0400 To: netdev@vger.kernel.org, selinux@tycho.nsa.gov Content-Disposition: inline; filename=netlabel-header_includes Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Add some missing include files to the NetLabel related header files. Signed-off-by: Paul Moore --- include/net/cipso_ipv4.h | 2 ++ include/net/netlabel.h | 1 + net/netlabel/netlabel_domainhash.h | 4 ++++ net/netlabel/netlabel_user.h | 5 +++-- security/selinux/include/selinux_netlabel.h | 9 +++++++++ 5 files changed, 19 insertions(+), 2 deletions(-) Index: net-2.6.19/include/net/cipso_ipv4.h =================================================================== --- net-2.6.19.orig/include/net/cipso_ipv4.h +++ net-2.6.19/include/net/cipso_ipv4.h @@ -37,6 +37,8 @@ #include #include #include +#include +#include #include /* known doi values */ Index: net-2.6.19/include/net/netlabel.h =================================================================== --- net-2.6.19.orig/include/net/netlabel.h +++ net-2.6.19/include/net/netlabel.h @@ -31,6 +31,7 @@ #define _NETLABEL_H #include +#include #include #include Index: net-2.6.19/net/netlabel/netlabel_domainhash.h =================================================================== --- net-2.6.19.orig/net/netlabel/netlabel_domainhash.h +++ net-2.6.19/net/netlabel/netlabel_domainhash.h @@ -32,6 +32,10 @@ #ifndef _NETLABEL_DOMAINHASH_H #define _NETLABEL_DOMAINHASH_H +#include +#include +#include + /* Domain hash table size */ /* XXX - currently this number is an uneducated guess */ #define NETLBL_DOMHSH_BITSIZE 7 Index: net-2.6.19/net/netlabel/netlabel_user.h =================================================================== --- net-2.6.19.orig/net/netlabel/netlabel_user.h +++ net-2.6.19/net/netlabel/netlabel_user.h @@ -31,11 +31,12 @@ #ifndef _NETLABEL_USER_H #define _NETLABEL_USER_H +#include #include #include -#include -#include +#include #include +#include /* NetLabel NETLINK helper functions */ Index: net-2.6.19/security/selinux/include/selinux_netlabel.h =================================================================== --- net-2.6.19.orig/security/selinux/include/selinux_netlabel.h +++ net-2.6.19/security/selinux/include/selinux_netlabel.h @@ -27,6 +27,15 @@ #ifndef _SELINUX_NETLABEL_H_ #define _SELINUX_NETLABEL_H_ +#include +#include +#include +#include +#include + +#include "avc.h" +#include "objsec.h" + #ifdef CONFIG_NETLABEL void selinux_netlbl_cache_invalidate(void); int selinux_netlbl_socket_post_create(struct socket *sock, -- paul moore linux security @ hp From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <20060829144447.363702000@hp.com> References: <20060829144251.452774000@hp.com> Date: Tue, 29 Aug 2006 10:42:57 -0400 From: paul.moore@hp.com To: netdev@vger.kernel.org, selinux@tycho.nsa.gov Cc: jmorris@namei.org, sds@tycho.nsa.gov, akpm@osdl.org, Paul Moore Subject: [PATCH 6/6] NetLabel: add some missing #includes to various header files Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov Add some missing include files to the NetLabel related header files. Signed-off-by: Paul Moore --- include/net/cipso_ipv4.h | 2 ++ include/net/netlabel.h | 1 + net/netlabel/netlabel_domainhash.h | 4 ++++ net/netlabel/netlabel_user.h | 5 +++-- security/selinux/include/selinux_netlabel.h | 9 +++++++++ 5 files changed, 19 insertions(+), 2 deletions(-) Index: net-2.6.19/include/net/cipso_ipv4.h =================================================================== --- net-2.6.19.orig/include/net/cipso_ipv4.h +++ net-2.6.19/include/net/cipso_ipv4.h @@ -37,6 +37,8 @@ #include #include #include +#include +#include #include /* known doi values */ Index: net-2.6.19/include/net/netlabel.h =================================================================== --- net-2.6.19.orig/include/net/netlabel.h +++ net-2.6.19/include/net/netlabel.h @@ -31,6 +31,7 @@ #define _NETLABEL_H #include +#include #include #include Index: net-2.6.19/net/netlabel/netlabel_domainhash.h =================================================================== --- net-2.6.19.orig/net/netlabel/netlabel_domainhash.h +++ net-2.6.19/net/netlabel/netlabel_domainhash.h @@ -32,6 +32,10 @@ #ifndef _NETLABEL_DOMAINHASH_H #define _NETLABEL_DOMAINHASH_H +#include +#include +#include + /* Domain hash table size */ /* XXX - currently this number is an uneducated guess */ #define NETLBL_DOMHSH_BITSIZE 7 Index: net-2.6.19/net/netlabel/netlabel_user.h =================================================================== --- net-2.6.19.orig/net/netlabel/netlabel_user.h +++ net-2.6.19/net/netlabel/netlabel_user.h @@ -31,11 +31,12 @@ #ifndef _NETLABEL_USER_H #define _NETLABEL_USER_H +#include #include #include -#include -#include +#include #include +#include /* NetLabel NETLINK helper functions */ Index: net-2.6.19/security/selinux/include/selinux_netlabel.h =================================================================== --- net-2.6.19.orig/security/selinux/include/selinux_netlabel.h +++ net-2.6.19/security/selinux/include/selinux_netlabel.h @@ -27,6 +27,15 @@ #ifndef _SELINUX_NETLABEL_H_ #define _SELINUX_NETLABEL_H_ +#include +#include +#include +#include +#include + +#include "avc.h" +#include "objsec.h" + #ifdef CONFIG_NETLABEL void selinux_netlbl_cache_invalidate(void); int selinux_netlbl_socket_post_create(struct socket *sock, -- paul moore linux security @ hp -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.