Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 1 | /* Generated by ./xlat/gen.sh from ./xlat/prctl_options.in; do not edit. */ |
| 2 | |
| 3 | static const struct xlat prctl_options[] = { |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 4 | #if !(defined(PR_SET_PDEATHSIG) || (defined(HAVE_DECL_PR_SET_PDEATHSIG) && HAVE_DECL_PR_SET_PDEATHSIG)) |
| 5 | # define PR_SET_PDEATHSIG 1 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 6 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 7 | XLAT(PR_SET_PDEATHSIG), |
| 8 | #if !(defined(PR_GET_PDEATHSIG) || (defined(HAVE_DECL_PR_GET_PDEATHSIG) && HAVE_DECL_PR_GET_PDEATHSIG)) |
| 9 | # define PR_GET_PDEATHSIG 2 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 10 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 11 | XLAT(PR_GET_PDEATHSIG), |
| 12 | #if !(defined(PR_GET_DUMPABLE) || (defined(HAVE_DECL_PR_GET_DUMPABLE) && HAVE_DECL_PR_GET_DUMPABLE)) |
| 13 | # define PR_GET_DUMPABLE 3 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 14 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 15 | XLAT(PR_GET_DUMPABLE), |
| 16 | #if !(defined(PR_SET_DUMPABLE) || (defined(HAVE_DECL_PR_SET_DUMPABLE) && HAVE_DECL_PR_SET_DUMPABLE)) |
| 17 | # define PR_SET_DUMPABLE 4 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 18 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 19 | XLAT(PR_SET_DUMPABLE), |
| 20 | #if !(defined(PR_GET_UNALIGN) || (defined(HAVE_DECL_PR_GET_UNALIGN) && HAVE_DECL_PR_GET_UNALIGN)) |
| 21 | # define PR_GET_UNALIGN 5 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 22 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 23 | XLAT(PR_GET_UNALIGN), |
| 24 | #if !(defined(PR_SET_UNALIGN) || (defined(HAVE_DECL_PR_SET_UNALIGN) && HAVE_DECL_PR_SET_UNALIGN)) |
| 25 | # define PR_SET_UNALIGN 6 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 26 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 27 | XLAT(PR_SET_UNALIGN), |
| 28 | #if !(defined(PR_GET_KEEPCAPS) || (defined(HAVE_DECL_PR_GET_KEEPCAPS) && HAVE_DECL_PR_GET_KEEPCAPS)) |
| 29 | # define PR_GET_KEEPCAPS 7 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 30 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 31 | XLAT(PR_GET_KEEPCAPS), |
| 32 | #if !(defined(PR_SET_KEEPCAPS) || (defined(HAVE_DECL_PR_SET_KEEPCAPS) && HAVE_DECL_PR_SET_KEEPCAPS)) |
| 33 | # define PR_SET_KEEPCAPS 8 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 34 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 35 | XLAT(PR_SET_KEEPCAPS), |
| 36 | #if !(defined(PR_GET_FPEMU) || (defined(HAVE_DECL_PR_GET_FPEMU) && HAVE_DECL_PR_GET_FPEMU)) |
| 37 | # define PR_GET_FPEMU 9 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 38 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 39 | XLAT(PR_GET_FPEMU), |
| 40 | #if !(defined(PR_SET_FPEMU) || (defined(HAVE_DECL_PR_SET_FPEMU) && HAVE_DECL_PR_SET_FPEMU)) |
| 41 | # define PR_SET_FPEMU 10 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 42 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 43 | XLAT(PR_SET_FPEMU), |
| 44 | #if !(defined(PR_GET_FPEXC) || (defined(HAVE_DECL_PR_GET_FPEXC) && HAVE_DECL_PR_GET_FPEXC)) |
| 45 | # define PR_GET_FPEXC 11 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 46 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 47 | XLAT(PR_GET_FPEXC), |
| 48 | #if !(defined(PR_SET_FPEXC) || (defined(HAVE_DECL_PR_SET_FPEXC) && HAVE_DECL_PR_SET_FPEXC)) |
| 49 | # define PR_SET_FPEXC 12 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 50 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 51 | XLAT(PR_SET_FPEXC), |
| 52 | #if !(defined(PR_GET_TIMING) || (defined(HAVE_DECL_PR_GET_TIMING) && HAVE_DECL_PR_GET_TIMING)) |
| 53 | # define PR_GET_TIMING 13 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 54 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 55 | XLAT(PR_GET_TIMING), |
| 56 | #if !(defined(PR_SET_TIMING) || (defined(HAVE_DECL_PR_SET_TIMING) && HAVE_DECL_PR_SET_TIMING)) |
| 57 | # define PR_SET_TIMING 14 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 58 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 59 | XLAT(PR_SET_TIMING), |
| 60 | #if !(defined(PR_SET_NAME) || (defined(HAVE_DECL_PR_SET_NAME) && HAVE_DECL_PR_SET_NAME)) |
| 61 | # define PR_SET_NAME 15 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 62 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 63 | XLAT(PR_SET_NAME), |
| 64 | #if !(defined(PR_GET_NAME) || (defined(HAVE_DECL_PR_GET_NAME) && HAVE_DECL_PR_GET_NAME)) |
| 65 | # define PR_GET_NAME 16 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 66 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 67 | XLAT(PR_GET_NAME), |
| 68 | #if !(defined(PR_GET_ENDIAN) || (defined(HAVE_DECL_PR_GET_ENDIAN) && HAVE_DECL_PR_GET_ENDIAN)) |
| 69 | # define PR_GET_ENDIAN 19 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 70 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 71 | XLAT(PR_GET_ENDIAN), |
| 72 | #if !(defined(PR_SET_ENDIAN) || (defined(HAVE_DECL_PR_SET_ENDIAN) && HAVE_DECL_PR_SET_ENDIAN)) |
| 73 | # define PR_SET_ENDIAN 20 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 74 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 75 | XLAT(PR_SET_ENDIAN), |
| 76 | #if !(defined(PR_GET_SECCOMP) || (defined(HAVE_DECL_PR_GET_SECCOMP) && HAVE_DECL_PR_GET_SECCOMP)) |
| 77 | # define PR_GET_SECCOMP 21 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 78 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 79 | XLAT(PR_GET_SECCOMP), |
| 80 | #if !(defined(PR_SET_SECCOMP) || (defined(HAVE_DECL_PR_SET_SECCOMP) && HAVE_DECL_PR_SET_SECCOMP)) |
| 81 | # define PR_SET_SECCOMP 22 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 82 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 83 | XLAT(PR_SET_SECCOMP), |
| 84 | #if !(defined(PR_CAPBSET_READ) || (defined(HAVE_DECL_PR_CAPBSET_READ) && HAVE_DECL_PR_CAPBSET_READ)) |
| 85 | # define PR_CAPBSET_READ 23 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 86 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 87 | XLAT(PR_CAPBSET_READ), |
| 88 | #if !(defined(PR_CAPBSET_DROP) || (defined(HAVE_DECL_PR_CAPBSET_DROP) && HAVE_DECL_PR_CAPBSET_DROP)) |
| 89 | # define PR_CAPBSET_DROP 24 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 90 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 91 | XLAT(PR_CAPBSET_DROP), |
| 92 | #if !(defined(PR_GET_TSC) || (defined(HAVE_DECL_PR_GET_TSC) && HAVE_DECL_PR_GET_TSC)) |
| 93 | # define PR_GET_TSC 25 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 94 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 95 | XLAT(PR_GET_TSC), |
| 96 | #if !(defined(PR_SET_TSC) || (defined(HAVE_DECL_PR_SET_TSC) && HAVE_DECL_PR_SET_TSC)) |
| 97 | # define PR_SET_TSC 26 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 98 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 99 | XLAT(PR_SET_TSC), |
| 100 | #if !(defined(PR_GET_SECUREBITS) || (defined(HAVE_DECL_PR_GET_SECUREBITS) && HAVE_DECL_PR_GET_SECUREBITS)) |
| 101 | # define PR_GET_SECUREBITS 27 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 102 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 103 | XLAT(PR_GET_SECUREBITS), |
| 104 | #if !(defined(PR_SET_SECUREBITS) || (defined(HAVE_DECL_PR_SET_SECUREBITS) && HAVE_DECL_PR_SET_SECUREBITS)) |
| 105 | # define PR_SET_SECUREBITS 28 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 106 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 107 | XLAT(PR_SET_SECUREBITS), |
| 108 | #if !(defined(PR_SET_TIMERSLACK) || (defined(HAVE_DECL_PR_SET_TIMERSLACK) && HAVE_DECL_PR_SET_TIMERSLACK)) |
| 109 | # define PR_SET_TIMERSLACK 29 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 110 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 111 | XLAT(PR_SET_TIMERSLACK), |
| 112 | #if !(defined(PR_GET_TIMERSLACK) || (defined(HAVE_DECL_PR_GET_TIMERSLACK) && HAVE_DECL_PR_GET_TIMERSLACK)) |
| 113 | # define PR_GET_TIMERSLACK 30 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 114 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 115 | XLAT(PR_GET_TIMERSLACK), |
| 116 | #if !(defined(PR_TASK_PERF_EVENTS_DISABLE) || (defined(HAVE_DECL_PR_TASK_PERF_EVENTS_DISABLE) && HAVE_DECL_PR_TASK_PERF_EVENTS_DISABLE)) |
| 117 | # define PR_TASK_PERF_EVENTS_DISABLE 31 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 118 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 119 | XLAT(PR_TASK_PERF_EVENTS_DISABLE), |
| 120 | #if !(defined(PR_TASK_PERF_EVENTS_ENABLE) || (defined(HAVE_DECL_PR_TASK_PERF_EVENTS_ENABLE) && HAVE_DECL_PR_TASK_PERF_EVENTS_ENABLE)) |
| 121 | # define PR_TASK_PERF_EVENTS_ENABLE 32 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 122 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 123 | XLAT(PR_TASK_PERF_EVENTS_ENABLE), |
| 124 | #if !(defined(PR_MCE_KILL) || (defined(HAVE_DECL_PR_MCE_KILL) && HAVE_DECL_PR_MCE_KILL)) |
| 125 | # define PR_MCE_KILL 33 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 126 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 127 | XLAT(PR_MCE_KILL), |
| 128 | #if !(defined(PR_MCE_KILL_GET) || (defined(HAVE_DECL_PR_MCE_KILL_GET) && HAVE_DECL_PR_MCE_KILL_GET)) |
| 129 | # define PR_MCE_KILL_GET 34 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 130 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 131 | XLAT(PR_MCE_KILL_GET), |
| 132 | #if !(defined(PR_SET_MM) || (defined(HAVE_DECL_PR_SET_MM) && HAVE_DECL_PR_SET_MM)) |
| 133 | # define PR_SET_MM 35 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 134 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 135 | XLAT(PR_SET_MM), |
| 136 | #if !(defined(PR_SET_PTRACER) || (defined(HAVE_DECL_PR_SET_PTRACER) && HAVE_DECL_PR_SET_PTRACER)) |
| 137 | # define PR_SET_PTRACER 0x59616d61 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 138 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 139 | XLAT(PR_SET_PTRACER), |
| 140 | #if !(defined(PR_SET_CHILD_SUBREAPER) || (defined(HAVE_DECL_PR_SET_CHILD_SUBREAPER) && HAVE_DECL_PR_SET_CHILD_SUBREAPER)) |
| 141 | # define PR_SET_CHILD_SUBREAPER 36 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 142 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 143 | XLAT(PR_SET_CHILD_SUBREAPER), |
| 144 | #if !(defined(PR_GET_CHILD_SUBREAPER) || (defined(HAVE_DECL_PR_GET_CHILD_SUBREAPER) && HAVE_DECL_PR_GET_CHILD_SUBREAPER)) |
| 145 | # define PR_GET_CHILD_SUBREAPER 37 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 146 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 147 | XLAT(PR_GET_CHILD_SUBREAPER), |
| 148 | #if !(defined(PR_SET_NO_NEW_PRIVS) || (defined(HAVE_DECL_PR_SET_NO_NEW_PRIVS) && HAVE_DECL_PR_SET_NO_NEW_PRIVS)) |
| 149 | # define PR_SET_NO_NEW_PRIVS 38 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 150 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 151 | XLAT(PR_SET_NO_NEW_PRIVS), |
| 152 | #if !(defined(PR_GET_NO_NEW_PRIVS) || (defined(HAVE_DECL_PR_GET_NO_NEW_PRIVS) && HAVE_DECL_PR_GET_NO_NEW_PRIVS)) |
| 153 | # define PR_GET_NO_NEW_PRIVS 39 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 154 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 155 | XLAT(PR_GET_NO_NEW_PRIVS), |
| 156 | #if !(defined(PR_GET_TID_ADDRESS) || (defined(HAVE_DECL_PR_GET_TID_ADDRESS) && HAVE_DECL_PR_GET_TID_ADDRESS)) |
| 157 | # define PR_GET_TID_ADDRESS 40 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 158 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 159 | XLAT(PR_GET_TID_ADDRESS), |
| 160 | #if !(defined(PR_SET_THP_DISABLE) || (defined(HAVE_DECL_PR_SET_THP_DISABLE) && HAVE_DECL_PR_SET_THP_DISABLE)) |
| 161 | # define PR_SET_THP_DISABLE 41 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 162 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 163 | XLAT(PR_SET_THP_DISABLE), |
| 164 | #if !(defined(PR_GET_THP_DISABLE) || (defined(HAVE_DECL_PR_GET_THP_DISABLE) && HAVE_DECL_PR_GET_THP_DISABLE)) |
| 165 | # define PR_GET_THP_DISABLE 42 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 166 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 167 | XLAT(PR_GET_THP_DISABLE), |
| 168 | #if !(defined(PR_MPX_ENABLE_MANAGEMENT) || (defined(HAVE_DECL_PR_MPX_ENABLE_MANAGEMENT) && HAVE_DECL_PR_MPX_ENABLE_MANAGEMENT)) |
| 169 | # define PR_MPX_ENABLE_MANAGEMENT 43 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 170 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 171 | XLAT(PR_MPX_ENABLE_MANAGEMENT), |
| 172 | #if !(defined(PR_MPX_DISABLE_MANAGEMENT) || (defined(HAVE_DECL_PR_MPX_DISABLE_MANAGEMENT) && HAVE_DECL_PR_MPX_DISABLE_MANAGEMENT)) |
| 173 | # define PR_MPX_DISABLE_MANAGEMENT 44 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 174 | #endif |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 175 | XLAT(PR_MPX_DISABLE_MANAGEMENT), |
| 176 | XLAT_END |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 177 | }; |