aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include/netnode.h
diff options
context:
space:
mode:
authorChristian Göttsche <[email protected]>2022-05-02 14:15:20 +0000
committerPaul Moore <[email protected]>2022-05-03 18:11:13 +0000
commit4ad37de496425b1d2bc4cd923cf94f3e582d5dea (patch)
treee357c15bb2e70c41af96f82e1ff10b1f1bdd9647 /security/selinux/include/netnode.h
parentselinux: avoid extra semicolon (diff)
downloadkernel-4ad37de496425b1d2bc4cd923cf94f3e582d5dea.tar.gz
kernel-4ad37de496425b1d2bc4cd923cf94f3e582d5dea.zip
selinux: include necessary headers in headers
Include header files required for struct or typedef declarations in header files. This is for example helpful when working with an IDE, which needs to resolve those symbols. Signed-off-by: Christian Göttsche <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/include/netnode.h')
-rw-r--r--security/selinux/include/netnode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/include/netnode.h b/security/selinux/include/netnode.h
index e3f784a85840..9b8b655a8cd3 100644
--- a/security/selinux/include/netnode.h
+++ b/security/selinux/include/netnode.h
@@ -17,6 +17,8 @@
#ifndef _SELINUX_NETNODE_H
#define _SELINUX_NETNODE_H
+#include <linux/types.h>
+
void sel_netnode_flush(void);
int sel_netnode_sid(void *addr, u16 family, u32 *sid);