Go to the documentation of this file.
12 #ifndef _LINUX_KEYCTL_H
13 #define _LINUX_KEYCTL_H
16 #define KEY_SPEC_THREAD_KEYRING -1
17 #define KEY_SPEC_PROCESS_KEYRING -2
18 #define KEY_SPEC_SESSION_KEYRING -3
19 #define KEY_SPEC_USER_KEYRING -4
20 #define KEY_SPEC_USER_SESSION_KEYRING -5
21 #define KEY_SPEC_GROUP_KEYRING -6
22 #define KEY_SPEC_REQKEY_AUTH_KEY -7
23 #define KEY_SPEC_REQUESTOR_KEYRING -8
26 #define KEY_REQKEY_DEFL_NO_CHANGE -1
27 #define KEY_REQKEY_DEFL_DEFAULT 0
28 #define KEY_REQKEY_DEFL_THREAD_KEYRING 1
29 #define KEY_REQKEY_DEFL_PROCESS_KEYRING 2
30 #define KEY_REQKEY_DEFL_SESSION_KEYRING 3
31 #define KEY_REQKEY_DEFL_USER_KEYRING 4
32 #define KEY_REQKEY_DEFL_USER_SESSION_KEYRING 5
33 #define KEY_REQKEY_DEFL_GROUP_KEYRING 6
34 #define KEY_REQKEY_DEFL_REQUESTOR_KEYRING 7
37 #define KEYCTL_GET_KEYRING_ID 0
38 #define KEYCTL_JOIN_SESSION_KEYRING 1
39 #define KEYCTL_UPDATE 2
40 #define KEYCTL_REVOKE 3
41 #define KEYCTL_CHOWN 4
42 #define KEYCTL_SETPERM 5
43 #define KEYCTL_DESCRIBE 6
44 #define KEYCTL_CLEAR 7
46 #define KEYCTL_UNLINK 9
47 #define KEYCTL_SEARCH 10
48 #define KEYCTL_READ 11
49 #define KEYCTL_INSTANTIATE 12
50 #define KEYCTL_NEGATE 13
51 #define KEYCTL_SET_REQKEY_KEYRING 14
52 #define KEYCTL_SET_TIMEOUT 15
53 #define KEYCTL_ASSUME_AUTHORITY 16
54 #define KEYCTL_GET_SECURITY 17
55 #define KEYCTL_SESSION_TO_PARENT 18
56 #define KEYCTL_REJECT 19
57 #define KEYCTL_INSTANTIATE_IOV 20
58 #define KEYCTL_INVALIDATE 21