From 14f803accad2225b28dc9612a35b1ecdf0f9d8df Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 25 Jun 2023 11:20:12 +0200 Subject: Add more system call formattings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- linux/os.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'linux') 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 -- cgit v1.2.3-70-g09d2