blob: a3fc8eec2f7a0745340681414b152b9cff0b2eb3 [file] [log] [blame]
Elliott Hughes82728372014-06-06 22:49:31 -07001/* Generated by ./xlat/gen.sh from ./xlat/prctl_options.in; do not edit. */
2
3static const struct xlat prctl_options[] = {
Elliott Hughes0328d0a2015-03-18 11:18:43 -07004#if !(defined(PR_SET_PDEATHSIG) || (defined(HAVE_DECL_PR_SET_PDEATHSIG) && HAVE_DECL_PR_SET_PDEATHSIG))
5# define PR_SET_PDEATHSIG 1
Elliott Hughes82728372014-06-06 22:49:31 -07006#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -07007 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 Hughes82728372014-06-06 22:49:31 -070010#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070011 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 Hughes82728372014-06-06 22:49:31 -070014#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070015 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 Hughes82728372014-06-06 22:49:31 -070018#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070019 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 Hughes82728372014-06-06 22:49:31 -070022#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070023 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 Hughes82728372014-06-06 22:49:31 -070026#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070027 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 Hughes82728372014-06-06 22:49:31 -070030#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070031 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 Hughes82728372014-06-06 22:49:31 -070034#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070035 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 Hughes82728372014-06-06 22:49:31 -070038#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070039 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 Hughes82728372014-06-06 22:49:31 -070042#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070043 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 Hughes82728372014-06-06 22:49:31 -070046#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070047 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 Hughes82728372014-06-06 22:49:31 -070050#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070051 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 Hughes82728372014-06-06 22:49:31 -070054#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070055 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 Hughes82728372014-06-06 22:49:31 -070058#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070059 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 Hughes82728372014-06-06 22:49:31 -070062#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070063 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 Hughes82728372014-06-06 22:49:31 -070066#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070067 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 Hughes82728372014-06-06 22:49:31 -070070#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070071 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 Hughes82728372014-06-06 22:49:31 -070074#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070075 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 Hughes82728372014-06-06 22:49:31 -070078#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070079 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 Hughes82728372014-06-06 22:49:31 -070082#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070083 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 Hughes82728372014-06-06 22:49:31 -070086#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070087 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 Hughes82728372014-06-06 22:49:31 -070090#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070091 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 Hughes82728372014-06-06 22:49:31 -070094#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070095 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 Hughes82728372014-06-06 22:49:31 -070098#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -070099 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 Hughes82728372014-06-06 22:49:31 -0700102#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700103 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 Hughes82728372014-06-06 22:49:31 -0700106#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700107 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 Hughes82728372014-06-06 22:49:31 -0700110#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700111 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 Hughes82728372014-06-06 22:49:31 -0700114#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700115 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 Hughes82728372014-06-06 22:49:31 -0700118#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700119 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 Hughes82728372014-06-06 22:49:31 -0700122#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700123 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 Hughes82728372014-06-06 22:49:31 -0700126#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700127 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 Hughes82728372014-06-06 22:49:31 -0700130#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700131 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 Hughes82728372014-06-06 22:49:31 -0700134#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700135 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 Hughes82728372014-06-06 22:49:31 -0700138#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700139 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 Hughes82728372014-06-06 22:49:31 -0700142#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700143 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 Hughes82728372014-06-06 22:49:31 -0700146#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700147 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 Hughes82728372014-06-06 22:49:31 -0700150#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700151 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 Hughes82728372014-06-06 22:49:31 -0700154#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700155 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 Hughes82728372014-06-06 22:49:31 -0700158#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700159 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 Hughes82728372014-06-06 22:49:31 -0700162#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700163 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 Hughes82728372014-06-06 22:49:31 -0700166#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700167 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 Hughes82728372014-06-06 22:49:31 -0700170#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700171 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 Hughes82728372014-06-06 22:49:31 -0700174#endif
Elliott Hughes0328d0a2015-03-18 11:18:43 -0700175 XLAT(PR_MPX_DISABLE_MANAGEMENT),
176 XLAT_END
Elliott Hughes82728372014-06-06 22:49:31 -0700177};