aboutsummaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/os.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linux/os.h b/linux/os.h
index c89f602..59092e1 100644
--- a/linux/os.h
+++ b/linux/os.h
@@ -36,3 +36,14 @@
#else
# define REGARGS(a, b) a, b
#endif
+
+
+#ifndef KEY_SPEC_THREAD_KEYRING
+# define KEY_SPEC_THREAD_KEYRING -1
+# define KEY_SPEC_PROCESS_KEYRING -2
+# define KEY_SPEC_SESSION_KEYRING -3
+# define KEY_SPEC_USER_KEYRING -4
+# define KEY_SPEC_USER_SESSION_KEYRING -5
+# define KEY_SPEC_GROUP_KEYRING -6
+# define KEY_SPEC_REQKEY_AUTH_KEY -7
+#endif