summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge E. Hallyn <serue@us.ibm.com>2010-01-11 17:21:40 -0600
committerAndrew G. Morgan <morgan@kernel.org>2010-01-11 22:23:17 -0800
commitbce1d16577890eae4480f8143b99663e44348cb6 (patch)
tree004dbef7560cc16582b262aa31b5c39c5a0650e4
parent319cbc6501a0e78da9e2a2a608e7c4a14123594d (diff)
downloadlibcap2-bce1d16577890eae4480f8143b99663e44348cb6.tar.gz
define sys/securebits.h
Hey Andrew, Do you think this belongs in libcap? I figure it looks nice sitting next to include/sys/capability.h... But can't convince myself whether it's useful or not. Signed-off-by: Serge Hallyn <serge@us.ibm.com> Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--libcap/include/sys/securebits.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/libcap/include/sys/securebits.h b/libcap/include/sys/securebits.h
new file mode 100644
index 0000000..14cf3c5
--- /dev/null
+++ b/libcap/include/sys/securebits.h
@@ -0,0 +1,22 @@
+/*
+ * <sys/securebits.h>
+ * Copyright (C) 2010 Serge Hallyn <serue@us.ibm.com>
+ */
+
+#ifndef _SYS_SECUREBITS_H
+#define _SYS_SECUREBITS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef __user
+#define __user
+#endif
+#include <linux/securebits.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _SYS_SECUREBITS_H */