aboutsummaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-06-25 11:20:12 +0200
committerMattias Andrée <maandree@kth.se>2023-06-25 11:20:12 +0200
commit14f803accad2225b28dc9612a35b1ecdf0f9d8df (patch)
tree1d32c2bf975461b04fa0dea3bfe3f5ad76b378b3 /linux
parentAdd new system calss and fix faccessat (diff)
downloadsctrace-14f803accad2225b28dc9612a35b1ecdf0f9d8df.tar.gz
sctrace-14f803accad2225b28dc9612a35b1ecdf0f9d8df.tar.bz2
sctrace-14f803accad2225b28dc9612a35b1ecdf0f9d8df.tar.xz
Add more system call formattings
Signed-off-by: Mattias Andrée <maandree@kth.se>
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