1 /* Generated by ./xlat/gen.sh from ./xlat/keyctl_commands.in; do not edit. */ 2 3 static const struct xlat keyctl_commands[] = { 4 #if !(defined(KEYCTL_GET_KEYRING_ID) || (defined(HAVE_DECL_KEYCTL_GET_KEYRING_ID) && HAVE_DECL_KEYCTL_GET_KEYRING_ID)) 5 # define KEYCTL_GET_KEYRING_ID 0 6 #endif 7 XLAT(KEYCTL_GET_KEYRING_ID), 8 #if !(defined(KEYCTL_JOIN_SESSION_KEYRING) || (defined(HAVE_DECL_KEYCTL_JOIN_SESSION_KEYRING) && HAVE_DECL_KEYCTL_JOIN_SESSION_KEYRING)) 9 # define KEYCTL_JOIN_SESSION_KEYRING 1 10 #endif 11 XLAT(KEYCTL_JOIN_SESSION_KEYRING), 12 #if !(defined(KEYCTL_UPDATE) || (defined(HAVE_DECL_KEYCTL_UPDATE) && HAVE_DECL_KEYCTL_UPDATE)) 13 # define KEYCTL_UPDATE 2 14 #endif 15 XLAT(KEYCTL_UPDATE), 16 #if !(defined(KEYCTL_REVOKE) || (defined(HAVE_DECL_KEYCTL_REVOKE) && HAVE_DECL_KEYCTL_REVOKE)) 17 # define KEYCTL_REVOKE 3 18 #endif 19 XLAT(KEYCTL_REVOKE), 20 #if !(defined(KEYCTL_CHOWN) || (defined(HAVE_DECL_KEYCTL_CHOWN) && HAVE_DECL_KEYCTL_CHOWN)) 21 # define KEYCTL_CHOWN 4 22 #endif 23 XLAT(KEYCTL_CHOWN), 24 #if !(defined(KEYCTL_SETPERM) || (defined(HAVE_DECL_KEYCTL_SETPERM) && HAVE_DECL_KEYCTL_SETPERM)) 25 # define KEYCTL_SETPERM 5 26 #endif 27 XLAT(KEYCTL_SETPERM), 28 #if !(defined(KEYCTL_DESCRIBE) || (defined(HAVE_DECL_KEYCTL_DESCRIBE) && HAVE_DECL_KEYCTL_DESCRIBE)) 29 # define KEYCTL_DESCRIBE 6 30 #endif 31 XLAT(KEYCTL_DESCRIBE), 32 #if !(defined(KEYCTL_CLEAR) || (defined(HAVE_DECL_KEYCTL_CLEAR) && HAVE_DECL_KEYCTL_CLEAR)) 33 # define KEYCTL_CLEAR 7 34 #endif 35 XLAT(KEYCTL_CLEAR), 36 #if !(defined(KEYCTL_LINK) || (defined(HAVE_DECL_KEYCTL_LINK) && HAVE_DECL_KEYCTL_LINK)) 37 # define KEYCTL_LINK 8 38 #endif 39 XLAT(KEYCTL_LINK), 40 #if !(defined(KEYCTL_UNLINK) || (defined(HAVE_DECL_KEYCTL_UNLINK) && HAVE_DECL_KEYCTL_UNLINK)) 41 # define KEYCTL_UNLINK 9 42 #endif 43 XLAT(KEYCTL_UNLINK), 44 #if !(defined(KEYCTL_SEARCH) || (defined(HAVE_DECL_KEYCTL_SEARCH) && HAVE_DECL_KEYCTL_SEARCH)) 45 # define KEYCTL_SEARCH 10 46 #endif 47 XLAT(KEYCTL_SEARCH), 48 #if !(defined(KEYCTL_READ) || (defined(HAVE_DECL_KEYCTL_READ) && HAVE_DECL_KEYCTL_READ)) 49 # define KEYCTL_READ 11 50 #endif 51 XLAT(KEYCTL_READ), 52 #if !(defined(KEYCTL_INSTANTIATE) || (defined(HAVE_DECL_KEYCTL_INSTANTIATE) && HAVE_DECL_KEYCTL_INSTANTIATE)) 53 # define KEYCTL_INSTANTIATE 12 54 #endif 55 XLAT(KEYCTL_INSTANTIATE), 56 #if !(defined(KEYCTL_NEGATE) || (defined(HAVE_DECL_KEYCTL_NEGATE) && HAVE_DECL_KEYCTL_NEGATE)) 57 # define KEYCTL_NEGATE 13 58 #endif 59 XLAT(KEYCTL_NEGATE), 60 #if !(defined(KEYCTL_SET_REQKEY_KEYRING) || (defined(HAVE_DECL_KEYCTL_SET_REQKEY_KEYRING) && HAVE_DECL_KEYCTL_SET_REQKEY_KEYRING)) 61 # define KEYCTL_SET_REQKEY_KEYRING 14 62 #endif 63 XLAT(KEYCTL_SET_REQKEY_KEYRING), 64 #if !(defined(KEYCTL_SET_TIMEOUT) || (defined(HAVE_DECL_KEYCTL_SET_TIMEOUT) && HAVE_DECL_KEYCTL_SET_TIMEOUT)) 65 # define KEYCTL_SET_TIMEOUT 15 66 #endif 67 XLAT(KEYCTL_SET_TIMEOUT), 68 #if !(defined(KEYCTL_ASSUME_AUTHORITY) || (defined(HAVE_DECL_KEYCTL_ASSUME_AUTHORITY) && HAVE_DECL_KEYCTL_ASSUME_AUTHORITY)) 69 # define KEYCTL_ASSUME_AUTHORITY 16 70 #endif 71 XLAT(KEYCTL_ASSUME_AUTHORITY), 72 #if !(defined(KEYCTL_GET_SECURITY) || (defined(HAVE_DECL_KEYCTL_GET_SECURITY) && HAVE_DECL_KEYCTL_GET_SECURITY)) 73 # define KEYCTL_GET_SECURITY 17 74 #endif 75 XLAT(KEYCTL_GET_SECURITY), 76 #if !(defined(KEYCTL_SESSION_TO_PARENT) || (defined(HAVE_DECL_KEYCTL_SESSION_TO_PARENT) && HAVE_DECL_KEYCTL_SESSION_TO_PARENT)) 77 # define KEYCTL_SESSION_TO_PARENT 18 78 #endif 79 XLAT(KEYCTL_SESSION_TO_PARENT), 80 #if !(defined(KEYCTL_REJECT) || (defined(HAVE_DECL_KEYCTL_REJECT) && HAVE_DECL_KEYCTL_REJECT)) 81 # define KEYCTL_REJECT 19 82 #endif 83 XLAT(KEYCTL_REJECT), 84 #if !(defined(KEYCTL_INSTANTIATE_IOV) || (defined(HAVE_DECL_KEYCTL_INSTANTIATE_IOV) && HAVE_DECL_KEYCTL_INSTANTIATE_IOV)) 85 # define KEYCTL_INSTANTIATE_IOV 20 86 #endif 87 XLAT(KEYCTL_INSTANTIATE_IOV), 88 #if !(defined(KEYCTL_INVALIDATE) || (defined(HAVE_DECL_KEYCTL_INVALIDATE) && HAVE_DECL_KEYCTL_INVALIDATE)) 89 # define KEYCTL_INVALIDATE 21 90 #endif 91 XLAT(KEYCTL_INVALIDATE), 92 #if !(defined(KEYCTL_GET_PERSISTENT) || (defined(HAVE_DECL_KEYCTL_GET_PERSISTENT) && HAVE_DECL_KEYCTL_GET_PERSISTENT)) 93 # define KEYCTL_GET_PERSISTENT 22 94 #endif 95 XLAT(KEYCTL_GET_PERSISTENT), 96 XLAT_END 97 }; 98