summaryrefslogtreecommitdiffstats
path: root/security/selinux/include/netif.h
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2014-10-01 00:45:26 +1000
committerJames Morris <james.l.morris@oracle.com>2014-10-01 00:45:26 +1000
commit858f61c4298d858376ca7b9fc2e05677faabd2d5 (patch)
tree6f5fdef7f8d129a76a49674eb42dfca83b672099 /security/selinux/include/netif.h
parent6c8ff877cdf13cd5287ed9d700cfb6cb70e2bfa1 (diff)
parent4093a8443941d7021c7f747474a87a56cf666270 (diff)
downloadlinux-858f61c4298d858376ca7b9fc2e05677faabd2d5.tar.bz2
Merge branch 'next' of git://git.infradead.org/users/pcmoore/selinux into next
Diffstat (limited to 'security/selinux/include/netif.h')
-rw-r--r--security/selinux/include/netif.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/selinux/include/netif.h b/security/selinux/include/netif.h
index 57c6eae81eac..c72145444090 100644
--- a/security/selinux/include/netif.h
+++ b/security/selinux/include/netif.h
@@ -17,9 +17,11 @@
#ifndef _SELINUX_NETIF_H_
#define _SELINUX_NETIF_H_
+#include <net/net_namespace.h>
+
void sel_netif_flush(void);
-int sel_netif_sid(int ifindex, u32 *sid);
+int sel_netif_sid(struct net *ns, int ifindex, u32 *sid);
#endif /* _SELINUX_NETIF_H_ */