diff options
| author | Ben Cheng <bccheng@google.com> | 2013-10-16 16:09:24 -0700 |
|---|---|---|
| committer | Ben Cheng <bccheng@google.com> | 2013-10-16 16:09:24 -0700 |
| commit | 655a7c081f83b8351ed5f11a6c6accd9458293a8 (patch) | |
| tree | 418e77007face85af356f4e7cfc356a7e7125127 /libc/kernel/uapi/linux/keyctl.h | |
| parent | f0447ddb042150af0e13a364df98dd11673d95d3 (diff) | |
| download | bionic-655a7c081f83b8351ed5f11a6c6accd9458293a8.zip bionic-655a7c081f83b8351ed5f11a6c6accd9458293a8.tar.gz bionic-655a7c081f83b8351ed5f11a6c6accd9458293a8.tar.bz2 | |
Add processed uapi kernel headers (common and aarch64-specific)
Change-Id: If0be7b83bd8fe7cb02472d173f7c452aabf61124
Diffstat (limited to 'libc/kernel/uapi/linux/keyctl.h')
| -rw-r--r-- | libc/kernel/uapi/linux/keyctl.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/libc/kernel/uapi/linux/keyctl.h b/libc/kernel/uapi/linux/keyctl.h new file mode 100644 index 0000000..89854b5 --- /dev/null +++ b/libc/kernel/uapi/linux/keyctl.h @@ -0,0 +1,70 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _LINUX_KEYCTL_H +#define _LINUX_KEYCTL_H +#define KEY_SPEC_THREAD_KEYRING -1 +#define KEY_SPEC_PROCESS_KEYRING -2 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#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 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define KEY_SPEC_REQKEY_AUTH_KEY -7 +#define KEY_SPEC_REQUESTOR_KEYRING -8 +#define KEY_REQKEY_DEFL_NO_CHANGE -1 +#define KEY_REQKEY_DEFL_DEFAULT 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define KEY_REQKEY_DEFL_THREAD_KEYRING 1 +#define KEY_REQKEY_DEFL_PROCESS_KEYRING 2 +#define KEY_REQKEY_DEFL_SESSION_KEYRING 3 +#define KEY_REQKEY_DEFL_USER_KEYRING 4 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define KEY_REQKEY_DEFL_USER_SESSION_KEYRING 5 +#define KEY_REQKEY_DEFL_GROUP_KEYRING 6 +#define KEY_REQKEY_DEFL_REQUESTOR_KEYRING 7 +#define KEYCTL_GET_KEYRING_ID 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define KEYCTL_JOIN_SESSION_KEYRING 1 +#define KEYCTL_UPDATE 2 +#define KEYCTL_REVOKE 3 +#define KEYCTL_CHOWN 4 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define KEYCTL_SETPERM 5 +#define KEYCTL_DESCRIBE 6 +#define KEYCTL_CLEAR 7 +#define KEYCTL_LINK 8 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define KEYCTL_UNLINK 9 +#define KEYCTL_SEARCH 10 +#define KEYCTL_READ 11 +#define KEYCTL_INSTANTIATE 12 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define KEYCTL_NEGATE 13 +#define KEYCTL_SET_REQKEY_KEYRING 14 +#define KEYCTL_SET_TIMEOUT 15 +#define KEYCTL_ASSUME_AUTHORITY 16 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define KEYCTL_GET_SECURITY 17 +#define KEYCTL_SESSION_TO_PARENT 18 +#define KEYCTL_REJECT 19 +#define KEYCTL_INSTANTIATE_IOV 20 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define KEYCTL_INVALIDATE 21 +#endif |
