1 /* Generated by ./xlat/gen.sh from ./xlat/prctl_options.in; do not edit. */ 2 3 static const struct xlat prctl_options[] = { 4 #if !(defined(PR_SET_PDEATHSIG) || (defined(HAVE_DECL_PR_SET_PDEATHSIG) && HAVE_DECL_PR_SET_PDEATHSIG)) 5 # define PR_SET_PDEATHSIG 1 6 #endif 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 10 #endif 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 14 #endif 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 18 #endif 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 22 #endif 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 26 #endif 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 30 #endif 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 34 #endif 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 38 #endif 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 42 #endif 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 46 #endif 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 50 #endif 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 54 #endif 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 58 #endif 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 62 #endif 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 66 #endif 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 70 #endif 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 74 #endif 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 78 #endif 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 82 #endif 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 86 #endif 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 90 #endif 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 94 #endif 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 98 #endif 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 102 #endif 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 106 #endif 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 110 #endif 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 114 #endif 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 118 #endif 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 122 #endif 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 126 #endif 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 130 #endif 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 134 #endif 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 138 #endif 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 142 #endif 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 146 #endif 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 150 #endif 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 154 #endif 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 158 #endif 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 162 #endif 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 166 #endif 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 170 #endif 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 174 #endif 175 XLAT(PR_MPX_DISABLE_MANAGEMENT), 176 XLAT_END 177 }; 178