summaryrefslogtreecommitdiffstats
path: root/security/selinux/include/ibpkey.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2023-05-12 11:21:55 +0200
committerPaul Moore <paul@paul-moore.com>2023-05-18 14:12:43 -0400
commiteb14232fb7713fa6258fa876d6d387c03ec21868 (patch)
tree5e8e717b23a1369215c2581d2677c1037db3e61d /security/selinux/include/ibpkey.h
parented99135f7621459ef873991115372ba1afe88a04 (diff)
downloadlinux-eb14232fb7713fa6258fa876d6d387c03ec21868.tar.gz
linux-eb14232fb7713fa6258fa876d6d387c03ec21868.tar.bz2
linux-eb14232fb7713fa6258fa876d6d387c03ec21868.zip
selinux: make header files self-including
Include all necessary headers in header files to enable third party applications, like LSP servers, to resolve all used symbols. ibpkey.h: include "flask.h" for SECINITSID_UNLABELED initial_sid_to_string.h: include <linux/stddef.h> for NULL Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/include/ibpkey.h')
-rw-r--r--security/selinux/include/ibpkey.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/include/ibpkey.h b/security/selinux/include/ibpkey.h
index c992f83b0aae..875b055849e1 100644
--- a/security/selinux/include/ibpkey.h
+++ b/security/selinux/include/ibpkey.h
@@ -15,6 +15,7 @@
#define _SELINUX_IB_PKEY_H
#include <linux/types.h>
+#include "flask.h"
#ifdef CONFIG_SECURITY_INFINIBAND
void sel_ib_pkey_flush(void);