summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/securebits.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/securebits.h')
-rw-r--r--kernel/include/linux/securebits.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/include/linux/securebits.h b/kernel/include/linux/securebits.h
new file mode 100644
index 000000000..da1b33b33
--- /dev/null
+++ b/kernel/include/linux/securebits.h
@@ -0,0 +1,7 @@
+#ifndef _LINUX_SECUREBITS_H
+#define _LINUX_SECUREBITS_H 1
+
+#include <uapi/linux/securebits.h>
+
+#define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
+#endif /* !_LINUX_SECUREBITS_H */