1 /* SPDX-License-Identifier: LGPL-2.1-or-later
2  * This file is generated by src/basic/missing_syscalls.py. Do not edit!
3  *
4  * Use 'ninja -C build update-syscall-tables' to download new syscall tables,
5  * and 'ninja -C build update-syscall-header' to regenerate this file.
6  */
7 #pragma once
8 
9 /* Note: if this code looks strange, this is because it is derived from the same
10  * template as the per-syscall blocks below. */
11 #  if defined(__aarch64__)
12 #  elif defined(__alpha__)
13 #  elif defined(__arc__) || defined(__tilegx__)
14 #  elif defined(__arm__)
15 #  elif defined(__i386__)
16 #  elif defined(__ia64__)
17 #  elif defined(__loongarch64)
18 #  elif defined(__m68k__)
19 #  elif defined(_MIPS_SIM)
20 #    if _MIPS_SIM == _MIPS_SIM_ABI32
21 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
22 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
23 #    else
24 #      error "Unknown MIPS ABI"
25 #    endif
26 #  elif defined(__powerpc__)
27 #  elif defined(__riscv)
28 #    if __riscv_xlen == 32
29 #    elif __riscv_xlen == 64
30 #    else
31 #      error "Unknown RISC-V ABI"
32 #    endif
33 #  elif defined(__s390__)
34 #  elif defined(__sparc__)
35 #  elif defined(__x86_64__)
36 #    if defined(__ILP32__)
37 #    else
38 #    endif
39 #  elif !defined(missing_arch_template)
40 #    warning "Current architecture is missing from the template"
41 #    define missing_arch_template 1
42 #  endif
43 
44 #ifndef __IGNORE_bpf
45 #  if defined(__aarch64__)
46 #    define systemd_NR_bpf 280
47 #  elif defined(__alpha__)
48 #    define systemd_NR_bpf 515
49 #  elif defined(__arc__) || defined(__tilegx__)
50 #    define systemd_NR_bpf 280
51 #  elif defined(__arm__)
52 #    define systemd_NR_bpf 386
53 #  elif defined(__i386__)
54 #    define systemd_NR_bpf 357
55 #  elif defined(__ia64__)
56 #    define systemd_NR_bpf 1341
57 #  elif defined(__loongarch64)
58 #    define systemd_NR_bpf 280
59 #  elif defined(__m68k__)
60 #    define systemd_NR_bpf 354
61 #  elif defined(_MIPS_SIM)
62 #    if _MIPS_SIM == _MIPS_SIM_ABI32
63 #      define systemd_NR_bpf 4355
64 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
65 #      define systemd_NR_bpf 6319
66 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
67 #      define systemd_NR_bpf 5315
68 #    else
69 #      error "Unknown MIPS ABI"
70 #    endif
71 #  elif defined(__powerpc__)
72 #    define systemd_NR_bpf 361
73 #  elif defined(__riscv)
74 #    if __riscv_xlen == 32
75 #      define systemd_NR_bpf 280
76 #    elif __riscv_xlen == 64
77 #      define systemd_NR_bpf 280
78 #    else
79 #      error "Unknown RISC-V ABI"
80 #    endif
81 #  elif defined(__s390__)
82 #    define systemd_NR_bpf 351
83 #  elif defined(__sparc__)
84 #    define systemd_NR_bpf 349
85 #  elif defined(__x86_64__)
86 #    if defined(__ILP32__)
87 #      define systemd_NR_bpf (321 | /* __X32_SYSCALL_BIT */ 0x40000000)
88 #    else
89 #      define systemd_NR_bpf 321
90 #    endif
91 #  elif !defined(missing_arch_template)
92 #    warning "bpf() syscall number is unknown for your architecture"
93 #  endif
94 
95 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
96 #  if defined __NR_bpf && __NR_bpf >= 0
97 #    if defined systemd_NR_bpf
98 assert_cc(__NR_bpf == systemd_NR_bpf);
99 #    endif
100 #  else
101 #    if defined __NR_bpf
102 #      undef __NR_bpf
103 #    endif
104 #    if defined systemd_NR_bpf && systemd_NR_bpf >= 0
105 #      define __NR_bpf systemd_NR_bpf
106 #    endif
107 #  endif
108 #endif
109 
110 #ifndef __IGNORE_close_range
111 #  if defined(__aarch64__)
112 #    define systemd_NR_close_range 436
113 #  elif defined(__alpha__)
114 #    define systemd_NR_close_range 546
115 #  elif defined(__arc__) || defined(__tilegx__)
116 #    define systemd_NR_close_range 436
117 #  elif defined(__arm__)
118 #    define systemd_NR_close_range 436
119 #  elif defined(__i386__)
120 #    define systemd_NR_close_range 436
121 #  elif defined(__ia64__)
122 #    define systemd_NR_close_range 1460
123 #  elif defined(__loongarch64)
124 #    define systemd_NR_close_range 436
125 #  elif defined(__m68k__)
126 #    define systemd_NR_close_range 436
127 #  elif defined(_MIPS_SIM)
128 #    if _MIPS_SIM == _MIPS_SIM_ABI32
129 #      define systemd_NR_close_range 4436
130 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
131 #      define systemd_NR_close_range 6436
132 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
133 #      define systemd_NR_close_range 5436
134 #    else
135 #      error "Unknown MIPS ABI"
136 #    endif
137 #  elif defined(__powerpc__)
138 #    define systemd_NR_close_range 436
139 #  elif defined(__riscv)
140 #    if __riscv_xlen == 32
141 #      define systemd_NR_close_range 436
142 #    elif __riscv_xlen == 64
143 #      define systemd_NR_close_range 436
144 #    else
145 #      error "Unknown RISC-V ABI"
146 #    endif
147 #  elif defined(__s390__)
148 #    define systemd_NR_close_range 436
149 #  elif defined(__sparc__)
150 #    define systemd_NR_close_range 436
151 #  elif defined(__x86_64__)
152 #    if defined(__ILP32__)
153 #      define systemd_NR_close_range (436 | /* __X32_SYSCALL_BIT */ 0x40000000)
154 #    else
155 #      define systemd_NR_close_range 436
156 #    endif
157 #  elif !defined(missing_arch_template)
158 #    warning "close_range() syscall number is unknown for your architecture"
159 #  endif
160 
161 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
162 #  if defined __NR_close_range && __NR_close_range >= 0
163 #    if defined systemd_NR_close_range
164 assert_cc(__NR_close_range == systemd_NR_close_range);
165 #    endif
166 #  else
167 #    if defined __NR_close_range
168 #      undef __NR_close_range
169 #    endif
170 #    if defined systemd_NR_close_range && systemd_NR_close_range >= 0
171 #      define __NR_close_range systemd_NR_close_range
172 #    endif
173 #  endif
174 #endif
175 
176 #ifndef __IGNORE_copy_file_range
177 #  if defined(__aarch64__)
178 #    define systemd_NR_copy_file_range 285
179 #  elif defined(__alpha__)
180 #    define systemd_NR_copy_file_range 519
181 #  elif defined(__arc__) || defined(__tilegx__)
182 #    define systemd_NR_copy_file_range 285
183 #  elif defined(__arm__)
184 #    define systemd_NR_copy_file_range 391
185 #  elif defined(__i386__)
186 #    define systemd_NR_copy_file_range 377
187 #  elif defined(__ia64__)
188 #    define systemd_NR_copy_file_range 1347
189 #  elif defined(__loongarch64)
190 #    define systemd_NR_copy_file_range 285
191 #  elif defined(__m68k__)
192 #    define systemd_NR_copy_file_range 376
193 #  elif defined(_MIPS_SIM)
194 #    if _MIPS_SIM == _MIPS_SIM_ABI32
195 #      define systemd_NR_copy_file_range 4360
196 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
197 #      define systemd_NR_copy_file_range 6324
198 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
199 #      define systemd_NR_copy_file_range 5320
200 #    else
201 #      error "Unknown MIPS ABI"
202 #    endif
203 #  elif defined(__powerpc__)
204 #    define systemd_NR_copy_file_range 379
205 #  elif defined(__riscv)
206 #    if __riscv_xlen == 32
207 #      define systemd_NR_copy_file_range 285
208 #    elif __riscv_xlen == 64
209 #      define systemd_NR_copy_file_range 285
210 #    else
211 #      error "Unknown RISC-V ABI"
212 #    endif
213 #  elif defined(__s390__)
214 #    define systemd_NR_copy_file_range 375
215 #  elif defined(__sparc__)
216 #    define systemd_NR_copy_file_range 357
217 #  elif defined(__x86_64__)
218 #    if defined(__ILP32__)
219 #      define systemd_NR_copy_file_range (326 | /* __X32_SYSCALL_BIT */ 0x40000000)
220 #    else
221 #      define systemd_NR_copy_file_range 326
222 #    endif
223 #  elif !defined(missing_arch_template)
224 #    warning "copy_file_range() syscall number is unknown for your architecture"
225 #  endif
226 
227 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
228 #  if defined __NR_copy_file_range && __NR_copy_file_range >= 0
229 #    if defined systemd_NR_copy_file_range
230 assert_cc(__NR_copy_file_range == systemd_NR_copy_file_range);
231 #    endif
232 #  else
233 #    if defined __NR_copy_file_range
234 #      undef __NR_copy_file_range
235 #    endif
236 #    if defined systemd_NR_copy_file_range && systemd_NR_copy_file_range >= 0
237 #      define __NR_copy_file_range systemd_NR_copy_file_range
238 #    endif
239 #  endif
240 #endif
241 
242 #ifndef __IGNORE_epoll_pwait2
243 #  if defined(__aarch64__)
244 #    define systemd_NR_epoll_pwait2 441
245 #  elif defined(__alpha__)
246 #    define systemd_NR_epoll_pwait2 551
247 #  elif defined(__arc__) || defined(__tilegx__)
248 #    define systemd_NR_epoll_pwait2 441
249 #  elif defined(__arm__)
250 #    define systemd_NR_epoll_pwait2 441
251 #  elif defined(__i386__)
252 #    define systemd_NR_epoll_pwait2 441
253 #  elif defined(__ia64__)
254 #    define systemd_NR_epoll_pwait2 1465
255 #  elif defined(__loongarch64)
256 #    define systemd_NR_epoll_pwait2 441
257 #  elif defined(__m68k__)
258 #    define systemd_NR_epoll_pwait2 441
259 #  elif defined(_MIPS_SIM)
260 #    if _MIPS_SIM == _MIPS_SIM_ABI32
261 #      define systemd_NR_epoll_pwait2 4441
262 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
263 #      define systemd_NR_epoll_pwait2 6441
264 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
265 #      define systemd_NR_epoll_pwait2 5441
266 #    else
267 #      error "Unknown MIPS ABI"
268 #    endif
269 #  elif defined(__powerpc__)
270 #    define systemd_NR_epoll_pwait2 441
271 #  elif defined(__riscv)
272 #    if __riscv_xlen == 32
273 #      define systemd_NR_epoll_pwait2 441
274 #    elif __riscv_xlen == 64
275 #      define systemd_NR_epoll_pwait2 441
276 #    else
277 #      error "Unknown RISC-V ABI"
278 #    endif
279 #  elif defined(__s390__)
280 #    define systemd_NR_epoll_pwait2 441
281 #  elif defined(__sparc__)
282 #    define systemd_NR_epoll_pwait2 441
283 #  elif defined(__x86_64__)
284 #    if defined(__ILP32__)
285 #      define systemd_NR_epoll_pwait2 (441 | /* __X32_SYSCALL_BIT */ 0x40000000)
286 #    else
287 #      define systemd_NR_epoll_pwait2 441
288 #    endif
289 #  elif !defined(missing_arch_template)
290 #    warning "epoll_pwait2() syscall number is unknown for your architecture"
291 #  endif
292 
293 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
294 #  if defined __NR_epoll_pwait2 && __NR_epoll_pwait2 >= 0
295 #    if defined systemd_NR_epoll_pwait2
296 assert_cc(__NR_epoll_pwait2 == systemd_NR_epoll_pwait2);
297 #    endif
298 #  else
299 #    if defined __NR_epoll_pwait2
300 #      undef __NR_epoll_pwait2
301 #    endif
302 #    if defined systemd_NR_epoll_pwait2 && systemd_NR_epoll_pwait2 >= 0
303 #      define __NR_epoll_pwait2 systemd_NR_epoll_pwait2
304 #    endif
305 #  endif
306 #endif
307 
308 #ifndef __IGNORE_getrandom
309 #  if defined(__aarch64__)
310 #    define systemd_NR_getrandom 278
311 #  elif defined(__alpha__)
312 #    define systemd_NR_getrandom 511
313 #  elif defined(__arc__) || defined(__tilegx__)
314 #    define systemd_NR_getrandom 278
315 #  elif defined(__arm__)
316 #    define systemd_NR_getrandom 384
317 #  elif defined(__i386__)
318 #    define systemd_NR_getrandom 355
319 #  elif defined(__ia64__)
320 #    define systemd_NR_getrandom 1339
321 #  elif defined(__loongarch64)
322 #    define systemd_NR_getrandom 278
323 #  elif defined(__m68k__)
324 #    define systemd_NR_getrandom 352
325 #  elif defined(_MIPS_SIM)
326 #    if _MIPS_SIM == _MIPS_SIM_ABI32
327 #      define systemd_NR_getrandom 4353
328 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
329 #      define systemd_NR_getrandom 6317
330 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
331 #      define systemd_NR_getrandom 5313
332 #    else
333 #      error "Unknown MIPS ABI"
334 #    endif
335 #  elif defined(__powerpc__)
336 #    define systemd_NR_getrandom 359
337 #  elif defined(__riscv)
338 #    if __riscv_xlen == 32
339 #      define systemd_NR_getrandom 278
340 #    elif __riscv_xlen == 64
341 #      define systemd_NR_getrandom 278
342 #    else
343 #      error "Unknown RISC-V ABI"
344 #    endif
345 #  elif defined(__s390__)
346 #    define systemd_NR_getrandom 349
347 #  elif defined(__sparc__)
348 #    define systemd_NR_getrandom 347
349 #  elif defined(__x86_64__)
350 #    if defined(__ILP32__)
351 #      define systemd_NR_getrandom (318 | /* __X32_SYSCALL_BIT */ 0x40000000)
352 #    else
353 #      define systemd_NR_getrandom 318
354 #    endif
355 #  elif !defined(missing_arch_template)
356 #    warning "getrandom() syscall number is unknown for your architecture"
357 #  endif
358 
359 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
360 #  if defined __NR_getrandom && __NR_getrandom >= 0
361 #    if defined systemd_NR_getrandom
362 assert_cc(__NR_getrandom == systemd_NR_getrandom);
363 #    endif
364 #  else
365 #    if defined __NR_getrandom
366 #      undef __NR_getrandom
367 #    endif
368 #    if defined systemd_NR_getrandom && systemd_NR_getrandom >= 0
369 #      define __NR_getrandom systemd_NR_getrandom
370 #    endif
371 #  endif
372 #endif
373 
374 #ifndef __IGNORE_memfd_create
375 #  if defined(__aarch64__)
376 #    define systemd_NR_memfd_create 279
377 #  elif defined(__alpha__)
378 #    define systemd_NR_memfd_create 512
379 #  elif defined(__arc__) || defined(__tilegx__)
380 #    define systemd_NR_memfd_create 279
381 #  elif defined(__arm__)
382 #    define systemd_NR_memfd_create 385
383 #  elif defined(__i386__)
384 #    define systemd_NR_memfd_create 356
385 #  elif defined(__ia64__)
386 #    define systemd_NR_memfd_create 1340
387 #  elif defined(__loongarch64)
388 #    define systemd_NR_memfd_create 279
389 #  elif defined(__m68k__)
390 #    define systemd_NR_memfd_create 353
391 #  elif defined(_MIPS_SIM)
392 #    if _MIPS_SIM == _MIPS_SIM_ABI32
393 #      define systemd_NR_memfd_create 4354
394 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
395 #      define systemd_NR_memfd_create 6318
396 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
397 #      define systemd_NR_memfd_create 5314
398 #    else
399 #      error "Unknown MIPS ABI"
400 #    endif
401 #  elif defined(__powerpc__)
402 #    define systemd_NR_memfd_create 360
403 #  elif defined(__riscv)
404 #    if __riscv_xlen == 32
405 #      define systemd_NR_memfd_create 279
406 #    elif __riscv_xlen == 64
407 #      define systemd_NR_memfd_create 279
408 #    else
409 #      error "Unknown RISC-V ABI"
410 #    endif
411 #  elif defined(__s390__)
412 #    define systemd_NR_memfd_create 350
413 #  elif defined(__sparc__)
414 #    define systemd_NR_memfd_create 348
415 #  elif defined(__x86_64__)
416 #    if defined(__ILP32__)
417 #      define systemd_NR_memfd_create (319 | /* __X32_SYSCALL_BIT */ 0x40000000)
418 #    else
419 #      define systemd_NR_memfd_create 319
420 #    endif
421 #  elif !defined(missing_arch_template)
422 #    warning "memfd_create() syscall number is unknown for your architecture"
423 #  endif
424 
425 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
426 #  if defined __NR_memfd_create && __NR_memfd_create >= 0
427 #    if defined systemd_NR_memfd_create
428 assert_cc(__NR_memfd_create == systemd_NR_memfd_create);
429 #    endif
430 #  else
431 #    if defined __NR_memfd_create
432 #      undef __NR_memfd_create
433 #    endif
434 #    if defined systemd_NR_memfd_create && systemd_NR_memfd_create >= 0
435 #      define __NR_memfd_create systemd_NR_memfd_create
436 #    endif
437 #  endif
438 #endif
439 
440 #ifndef __IGNORE_mount_setattr
441 #  if defined(__aarch64__)
442 #    define systemd_NR_mount_setattr 442
443 #  elif defined(__alpha__)
444 #    define systemd_NR_mount_setattr 552
445 #  elif defined(__arc__) || defined(__tilegx__)
446 #    define systemd_NR_mount_setattr 442
447 #  elif defined(__arm__)
448 #    define systemd_NR_mount_setattr 442
449 #  elif defined(__i386__)
450 #    define systemd_NR_mount_setattr 442
451 #  elif defined(__ia64__)
452 #    define systemd_NR_mount_setattr 1466
453 #  elif defined(__loongarch64)
454 #    define systemd_NR_mount_setattr 442
455 #  elif defined(__m68k__)
456 #    define systemd_NR_mount_setattr 442
457 #  elif defined(_MIPS_SIM)
458 #    if _MIPS_SIM == _MIPS_SIM_ABI32
459 #      define systemd_NR_mount_setattr 4442
460 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
461 #      define systemd_NR_mount_setattr 6442
462 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
463 #      define systemd_NR_mount_setattr 5442
464 #    else
465 #      error "Unknown MIPS ABI"
466 #    endif
467 #  elif defined(__powerpc__)
468 #    define systemd_NR_mount_setattr 442
469 #  elif defined(__riscv)
470 #    if __riscv_xlen == 32
471 #      define systemd_NR_mount_setattr 442
472 #    elif __riscv_xlen == 64
473 #      define systemd_NR_mount_setattr 442
474 #    else
475 #      error "Unknown RISC-V ABI"
476 #    endif
477 #  elif defined(__s390__)
478 #    define systemd_NR_mount_setattr 442
479 #  elif defined(__sparc__)
480 #    define systemd_NR_mount_setattr 442
481 #  elif defined(__x86_64__)
482 #    if defined(__ILP32__)
483 #      define systemd_NR_mount_setattr (442 | /* __X32_SYSCALL_BIT */ 0x40000000)
484 #    else
485 #      define systemd_NR_mount_setattr 442
486 #    endif
487 #  elif !defined(missing_arch_template)
488 #    warning "mount_setattr() syscall number is unknown for your architecture"
489 #  endif
490 
491 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
492 #  if defined __NR_mount_setattr && __NR_mount_setattr >= 0
493 #    if defined systemd_NR_mount_setattr
494 assert_cc(__NR_mount_setattr == systemd_NR_mount_setattr);
495 #    endif
496 #  else
497 #    if defined __NR_mount_setattr
498 #      undef __NR_mount_setattr
499 #    endif
500 #    if defined systemd_NR_mount_setattr && systemd_NR_mount_setattr >= 0
501 #      define __NR_mount_setattr systemd_NR_mount_setattr
502 #    endif
503 #  endif
504 #endif
505 
506 #ifndef __IGNORE_move_mount
507 #  if defined(__aarch64__)
508 #    define systemd_NR_move_mount 429
509 #  elif defined(__alpha__)
510 #    define systemd_NR_move_mount 539
511 #  elif defined(__arc__) || defined(__tilegx__)
512 #    define systemd_NR_move_mount 429
513 #  elif defined(__arm__)
514 #    define systemd_NR_move_mount 429
515 #  elif defined(__i386__)
516 #    define systemd_NR_move_mount 429
517 #  elif defined(__ia64__)
518 #    define systemd_NR_move_mount 1453
519 #  elif defined(__loongarch64)
520 #    define systemd_NR_move_mount 429
521 #  elif defined(__m68k__)
522 #    define systemd_NR_move_mount 429
523 #  elif defined(_MIPS_SIM)
524 #    if _MIPS_SIM == _MIPS_SIM_ABI32
525 #      define systemd_NR_move_mount 4429
526 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
527 #      define systemd_NR_move_mount 6429
528 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
529 #      define systemd_NR_move_mount 5429
530 #    else
531 #      error "Unknown MIPS ABI"
532 #    endif
533 #  elif defined(__powerpc__)
534 #    define systemd_NR_move_mount 429
535 #  elif defined(__riscv)
536 #    if __riscv_xlen == 32
537 #      define systemd_NR_move_mount 429
538 #    elif __riscv_xlen == 64
539 #      define systemd_NR_move_mount 429
540 #    else
541 #      error "Unknown RISC-V ABI"
542 #    endif
543 #  elif defined(__s390__)
544 #    define systemd_NR_move_mount 429
545 #  elif defined(__sparc__)
546 #    define systemd_NR_move_mount 429
547 #  elif defined(__x86_64__)
548 #    if defined(__ILP32__)
549 #      define systemd_NR_move_mount (429 | /* __X32_SYSCALL_BIT */ 0x40000000)
550 #    else
551 #      define systemd_NR_move_mount 429
552 #    endif
553 #  elif !defined(missing_arch_template)
554 #    warning "move_mount() syscall number is unknown for your architecture"
555 #  endif
556 
557 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
558 #  if defined __NR_move_mount && __NR_move_mount >= 0
559 #    if defined systemd_NR_move_mount
560 assert_cc(__NR_move_mount == systemd_NR_move_mount);
561 #    endif
562 #  else
563 #    if defined __NR_move_mount
564 #      undef __NR_move_mount
565 #    endif
566 #    if defined systemd_NR_move_mount && systemd_NR_move_mount >= 0
567 #      define __NR_move_mount systemd_NR_move_mount
568 #    endif
569 #  endif
570 #endif
571 
572 #ifndef __IGNORE_name_to_handle_at
573 #  if defined(__aarch64__)
574 #    define systemd_NR_name_to_handle_at 264
575 #  elif defined(__alpha__)
576 #    define systemd_NR_name_to_handle_at 497
577 #  elif defined(__arc__) || defined(__tilegx__)
578 #    define systemd_NR_name_to_handle_at 264
579 #  elif defined(__arm__)
580 #    define systemd_NR_name_to_handle_at 370
581 #  elif defined(__i386__)
582 #    define systemd_NR_name_to_handle_at 341
583 #  elif defined(__ia64__)
584 #    define systemd_NR_name_to_handle_at 1326
585 #  elif defined(__loongarch64)
586 #    define systemd_NR_name_to_handle_at 264
587 #  elif defined(__m68k__)
588 #    define systemd_NR_name_to_handle_at 340
589 #  elif defined(_MIPS_SIM)
590 #    if _MIPS_SIM == _MIPS_SIM_ABI32
591 #      define systemd_NR_name_to_handle_at 4339
592 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
593 #      define systemd_NR_name_to_handle_at 6303
594 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
595 #      define systemd_NR_name_to_handle_at 5298
596 #    else
597 #      error "Unknown MIPS ABI"
598 #    endif
599 #  elif defined(__powerpc__)
600 #    define systemd_NR_name_to_handle_at 345
601 #  elif defined(__riscv)
602 #    if __riscv_xlen == 32
603 #      define systemd_NR_name_to_handle_at 264
604 #    elif __riscv_xlen == 64
605 #      define systemd_NR_name_to_handle_at 264
606 #    else
607 #      error "Unknown RISC-V ABI"
608 #    endif
609 #  elif defined(__s390__)
610 #    define systemd_NR_name_to_handle_at 335
611 #  elif defined(__sparc__)
612 #    define systemd_NR_name_to_handle_at 332
613 #  elif defined(__x86_64__)
614 #    if defined(__ILP32__)
615 #      define systemd_NR_name_to_handle_at (303 | /* __X32_SYSCALL_BIT */ 0x40000000)
616 #    else
617 #      define systemd_NR_name_to_handle_at 303
618 #    endif
619 #  elif !defined(missing_arch_template)
620 #    warning "name_to_handle_at() syscall number is unknown for your architecture"
621 #  endif
622 
623 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
624 #  if defined __NR_name_to_handle_at && __NR_name_to_handle_at >= 0
625 #    if defined systemd_NR_name_to_handle_at
626 assert_cc(__NR_name_to_handle_at == systemd_NR_name_to_handle_at);
627 #    endif
628 #  else
629 #    if defined __NR_name_to_handle_at
630 #      undef __NR_name_to_handle_at
631 #    endif
632 #    if defined systemd_NR_name_to_handle_at && systemd_NR_name_to_handle_at >= 0
633 #      define __NR_name_to_handle_at systemd_NR_name_to_handle_at
634 #    endif
635 #  endif
636 #endif
637 
638 #ifndef __IGNORE_open_tree
639 #  if defined(__aarch64__)
640 #    define systemd_NR_open_tree 428
641 #  elif defined(__alpha__)
642 #    define systemd_NR_open_tree 538
643 #  elif defined(__arc__) || defined(__tilegx__)
644 #    define systemd_NR_open_tree 428
645 #  elif defined(__arm__)
646 #    define systemd_NR_open_tree 428
647 #  elif defined(__i386__)
648 #    define systemd_NR_open_tree 428
649 #  elif defined(__ia64__)
650 #    define systemd_NR_open_tree 1452
651 #  elif defined(__loongarch64)
652 #    define systemd_NR_open_tree 428
653 #  elif defined(__m68k__)
654 #    define systemd_NR_open_tree 428
655 #  elif defined(_MIPS_SIM)
656 #    if _MIPS_SIM == _MIPS_SIM_ABI32
657 #      define systemd_NR_open_tree 4428
658 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
659 #      define systemd_NR_open_tree 6428
660 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
661 #      define systemd_NR_open_tree 5428
662 #    else
663 #      error "Unknown MIPS ABI"
664 #    endif
665 #  elif defined(__powerpc__)
666 #    define systemd_NR_open_tree 428
667 #  elif defined(__riscv)
668 #    if __riscv_xlen == 32
669 #      define systemd_NR_open_tree 428
670 #    elif __riscv_xlen == 64
671 #      define systemd_NR_open_tree 428
672 #    else
673 #      error "Unknown RISC-V ABI"
674 #    endif
675 #  elif defined(__s390__)
676 #    define systemd_NR_open_tree 428
677 #  elif defined(__sparc__)
678 #    define systemd_NR_open_tree 428
679 #  elif defined(__x86_64__)
680 #    if defined(__ILP32__)
681 #      define systemd_NR_open_tree (428 | /* __X32_SYSCALL_BIT */ 0x40000000)
682 #    else
683 #      define systemd_NR_open_tree 428
684 #    endif
685 #  elif !defined(missing_arch_template)
686 #    warning "open_tree() syscall number is unknown for your architecture"
687 #  endif
688 
689 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
690 #  if defined __NR_open_tree && __NR_open_tree >= 0
691 #    if defined systemd_NR_open_tree
692 assert_cc(__NR_open_tree == systemd_NR_open_tree);
693 #    endif
694 #  else
695 #    if defined __NR_open_tree
696 #      undef __NR_open_tree
697 #    endif
698 #    if defined systemd_NR_open_tree && systemd_NR_open_tree >= 0
699 #      define __NR_open_tree systemd_NR_open_tree
700 #    endif
701 #  endif
702 #endif
703 
704 #ifndef __IGNORE_openat2
705 #  if defined(__aarch64__)
706 #    define systemd_NR_openat2 437
707 #  elif defined(__alpha__)
708 #    define systemd_NR_openat2 547
709 #  elif defined(__arc__) || defined(__tilegx__)
710 #    define systemd_NR_openat2 437
711 #  elif defined(__arm__)
712 #    define systemd_NR_openat2 437
713 #  elif defined(__i386__)
714 #    define systemd_NR_openat2 437
715 #  elif defined(__ia64__)
716 #    define systemd_NR_openat2 1461
717 #  elif defined(__loongarch64)
718 #    define systemd_NR_openat2 437
719 #  elif defined(__m68k__)
720 #    define systemd_NR_openat2 437
721 #  elif defined(_MIPS_SIM)
722 #    if _MIPS_SIM == _MIPS_SIM_ABI32
723 #      define systemd_NR_openat2 4437
724 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
725 #      define systemd_NR_openat2 6437
726 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
727 #      define systemd_NR_openat2 5437
728 #    else
729 #      error "Unknown MIPS ABI"
730 #    endif
731 #  elif defined(__powerpc__)
732 #    define systemd_NR_openat2 437
733 #  elif defined(__riscv)
734 #    if __riscv_xlen == 32
735 #      define systemd_NR_openat2 437
736 #    elif __riscv_xlen == 64
737 #      define systemd_NR_openat2 437
738 #    else
739 #      error "Unknown RISC-V ABI"
740 #    endif
741 #  elif defined(__s390__)
742 #    define systemd_NR_openat2 437
743 #  elif defined(__sparc__)
744 #    define systemd_NR_openat2 437
745 #  elif defined(__x86_64__)
746 #    if defined(__ILP32__)
747 #      define systemd_NR_openat2 (437 | /* __X32_SYSCALL_BIT */ 0x40000000)
748 #    else
749 #      define systemd_NR_openat2 437
750 #    endif
751 #  elif !defined(missing_arch_template)
752 #    warning "openat2() syscall number is unknown for your architecture"
753 #  endif
754 
755 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
756 #  if defined __NR_openat2 && __NR_openat2 >= 0
757 #    if defined systemd_NR_openat2
758 assert_cc(__NR_openat2 == systemd_NR_openat2);
759 #    endif
760 #  else
761 #    if defined __NR_openat2
762 #      undef __NR_openat2
763 #    endif
764 #    if defined systemd_NR_openat2 && systemd_NR_openat2 >= 0
765 #      define __NR_openat2 systemd_NR_openat2
766 #    endif
767 #  endif
768 #endif
769 
770 #ifndef __IGNORE_pidfd_open
771 #  if defined(__aarch64__)
772 #    define systemd_NR_pidfd_open 434
773 #  elif defined(__alpha__)
774 #    define systemd_NR_pidfd_open 544
775 #  elif defined(__arc__) || defined(__tilegx__)
776 #    define systemd_NR_pidfd_open 434
777 #  elif defined(__arm__)
778 #    define systemd_NR_pidfd_open 434
779 #  elif defined(__i386__)
780 #    define systemd_NR_pidfd_open 434
781 #  elif defined(__ia64__)
782 #    define systemd_NR_pidfd_open 1458
783 #  elif defined(__loongarch64)
784 #    define systemd_NR_pidfd_open 434
785 #  elif defined(__m68k__)
786 #    define systemd_NR_pidfd_open 434
787 #  elif defined(_MIPS_SIM)
788 #    if _MIPS_SIM == _MIPS_SIM_ABI32
789 #      define systemd_NR_pidfd_open 4434
790 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
791 #      define systemd_NR_pidfd_open 6434
792 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
793 #      define systemd_NR_pidfd_open 5434
794 #    else
795 #      error "Unknown MIPS ABI"
796 #    endif
797 #  elif defined(__powerpc__)
798 #    define systemd_NR_pidfd_open 434
799 #  elif defined(__riscv)
800 #    if __riscv_xlen == 32
801 #      define systemd_NR_pidfd_open 434
802 #    elif __riscv_xlen == 64
803 #      define systemd_NR_pidfd_open 434
804 #    else
805 #      error "Unknown RISC-V ABI"
806 #    endif
807 #  elif defined(__s390__)
808 #    define systemd_NR_pidfd_open 434
809 #  elif defined(__sparc__)
810 #    define systemd_NR_pidfd_open 434
811 #  elif defined(__x86_64__)
812 #    if defined(__ILP32__)
813 #      define systemd_NR_pidfd_open (434 | /* __X32_SYSCALL_BIT */ 0x40000000)
814 #    else
815 #      define systemd_NR_pidfd_open 434
816 #    endif
817 #  elif !defined(missing_arch_template)
818 #    warning "pidfd_open() syscall number is unknown for your architecture"
819 #  endif
820 
821 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
822 #  if defined __NR_pidfd_open && __NR_pidfd_open >= 0
823 #    if defined systemd_NR_pidfd_open
824 assert_cc(__NR_pidfd_open == systemd_NR_pidfd_open);
825 #    endif
826 #  else
827 #    if defined __NR_pidfd_open
828 #      undef __NR_pidfd_open
829 #    endif
830 #    if defined systemd_NR_pidfd_open && systemd_NR_pidfd_open >= 0
831 #      define __NR_pidfd_open systemd_NR_pidfd_open
832 #    endif
833 #  endif
834 #endif
835 
836 #ifndef __IGNORE_pidfd_send_signal
837 #  if defined(__aarch64__)
838 #    define systemd_NR_pidfd_send_signal 424
839 #  elif defined(__alpha__)
840 #    define systemd_NR_pidfd_send_signal 534
841 #  elif defined(__arc__) || defined(__tilegx__)
842 #    define systemd_NR_pidfd_send_signal 424
843 #  elif defined(__arm__)
844 #    define systemd_NR_pidfd_send_signal 424
845 #  elif defined(__i386__)
846 #    define systemd_NR_pidfd_send_signal 424
847 #  elif defined(__ia64__)
848 #    define systemd_NR_pidfd_send_signal 1448
849 #  elif defined(__loongarch64)
850 #    define systemd_NR_pidfd_send_signal 424
851 #  elif defined(__m68k__)
852 #    define systemd_NR_pidfd_send_signal 424
853 #  elif defined(_MIPS_SIM)
854 #    if _MIPS_SIM == _MIPS_SIM_ABI32
855 #      define systemd_NR_pidfd_send_signal 4424
856 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
857 #      define systemd_NR_pidfd_send_signal 6424
858 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
859 #      define systemd_NR_pidfd_send_signal 5424
860 #    else
861 #      error "Unknown MIPS ABI"
862 #    endif
863 #  elif defined(__powerpc__)
864 #    define systemd_NR_pidfd_send_signal 424
865 #  elif defined(__riscv)
866 #    if __riscv_xlen == 32
867 #      define systemd_NR_pidfd_send_signal 424
868 #    elif __riscv_xlen == 64
869 #      define systemd_NR_pidfd_send_signal 424
870 #    else
871 #      error "Unknown RISC-V ABI"
872 #    endif
873 #  elif defined(__s390__)
874 #    define systemd_NR_pidfd_send_signal 424
875 #  elif defined(__sparc__)
876 #    define systemd_NR_pidfd_send_signal 424
877 #  elif defined(__x86_64__)
878 #    if defined(__ILP32__)
879 #      define systemd_NR_pidfd_send_signal (424 | /* __X32_SYSCALL_BIT */ 0x40000000)
880 #    else
881 #      define systemd_NR_pidfd_send_signal 424
882 #    endif
883 #  elif !defined(missing_arch_template)
884 #    warning "pidfd_send_signal() syscall number is unknown for your architecture"
885 #  endif
886 
887 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
888 #  if defined __NR_pidfd_send_signal && __NR_pidfd_send_signal >= 0
889 #    if defined systemd_NR_pidfd_send_signal
890 assert_cc(__NR_pidfd_send_signal == systemd_NR_pidfd_send_signal);
891 #    endif
892 #  else
893 #    if defined __NR_pidfd_send_signal
894 #      undef __NR_pidfd_send_signal
895 #    endif
896 #    if defined systemd_NR_pidfd_send_signal && systemd_NR_pidfd_send_signal >= 0
897 #      define __NR_pidfd_send_signal systemd_NR_pidfd_send_signal
898 #    endif
899 #  endif
900 #endif
901 
902 #ifndef __IGNORE_pkey_mprotect
903 #  if defined(__aarch64__)
904 #    define systemd_NR_pkey_mprotect 288
905 #  elif defined(__alpha__)
906 #    define systemd_NR_pkey_mprotect 524
907 #  elif defined(__arc__) || defined(__tilegx__)
908 #    define systemd_NR_pkey_mprotect 288
909 #  elif defined(__arm__)
910 #    define systemd_NR_pkey_mprotect 394
911 #  elif defined(__i386__)
912 #    define systemd_NR_pkey_mprotect 380
913 #  elif defined(__ia64__)
914 #    define systemd_NR_pkey_mprotect 1354
915 #  elif defined(__loongarch64)
916 #    define systemd_NR_pkey_mprotect 288
917 #  elif defined(__m68k__)
918 #    define systemd_NR_pkey_mprotect 381
919 #  elif defined(_MIPS_SIM)
920 #    if _MIPS_SIM == _MIPS_SIM_ABI32
921 #      define systemd_NR_pkey_mprotect 4363
922 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
923 #      define systemd_NR_pkey_mprotect 6327
924 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
925 #      define systemd_NR_pkey_mprotect 5323
926 #    else
927 #      error "Unknown MIPS ABI"
928 #    endif
929 #  elif defined(__powerpc__)
930 #    define systemd_NR_pkey_mprotect 386
931 #  elif defined(__riscv)
932 #    if __riscv_xlen == 32
933 #      define systemd_NR_pkey_mprotect 288
934 #    elif __riscv_xlen == 64
935 #      define systemd_NR_pkey_mprotect 288
936 #    else
937 #      error "Unknown RISC-V ABI"
938 #    endif
939 #  elif defined(__s390__)
940 #    define systemd_NR_pkey_mprotect 384
941 #  elif defined(__sparc__)
942 #    define systemd_NR_pkey_mprotect 362
943 #  elif defined(__x86_64__)
944 #    if defined(__ILP32__)
945 #      define systemd_NR_pkey_mprotect (329 | /* __X32_SYSCALL_BIT */ 0x40000000)
946 #    else
947 #      define systemd_NR_pkey_mprotect 329
948 #    endif
949 #  elif !defined(missing_arch_template)
950 #    warning "pkey_mprotect() syscall number is unknown for your architecture"
951 #  endif
952 
953 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
954 #  if defined __NR_pkey_mprotect && __NR_pkey_mprotect >= 0
955 #    if defined systemd_NR_pkey_mprotect
956 assert_cc(__NR_pkey_mprotect == systemd_NR_pkey_mprotect);
957 #    endif
958 #  else
959 #    if defined __NR_pkey_mprotect
960 #      undef __NR_pkey_mprotect
961 #    endif
962 #    if defined systemd_NR_pkey_mprotect && systemd_NR_pkey_mprotect >= 0
963 #      define __NR_pkey_mprotect systemd_NR_pkey_mprotect
964 #    endif
965 #  endif
966 #endif
967 
968 #ifndef __IGNORE_renameat2
969 #  if defined(__aarch64__)
970 #    define systemd_NR_renameat2 276
971 #  elif defined(__alpha__)
972 #    define systemd_NR_renameat2 510
973 #  elif defined(__arc__) || defined(__tilegx__)
974 #    define systemd_NR_renameat2 276
975 #  elif defined(__arm__)
976 #    define systemd_NR_renameat2 382
977 #  elif defined(__i386__)
978 #    define systemd_NR_renameat2 353
979 #  elif defined(__ia64__)
980 #    define systemd_NR_renameat2 1338
981 #  elif defined(__loongarch64)
982 #    define systemd_NR_renameat2 276
983 #  elif defined(__m68k__)
984 #    define systemd_NR_renameat2 351
985 #  elif defined(_MIPS_SIM)
986 #    if _MIPS_SIM == _MIPS_SIM_ABI32
987 #      define systemd_NR_renameat2 4351
988 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
989 #      define systemd_NR_renameat2 6315
990 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
991 #      define systemd_NR_renameat2 5311
992 #    else
993 #      error "Unknown MIPS ABI"
994 #    endif
995 #  elif defined(__powerpc__)
996 #    define systemd_NR_renameat2 357
997 #  elif defined(__riscv)
998 #    if __riscv_xlen == 32
999 #      define systemd_NR_renameat2 276
1000 #    elif __riscv_xlen == 64
1001 #      define systemd_NR_renameat2 276
1002 #    else
1003 #      error "Unknown RISC-V ABI"
1004 #    endif
1005 #  elif defined(__s390__)
1006 #    define systemd_NR_renameat2 347
1007 #  elif defined(__sparc__)
1008 #    define systemd_NR_renameat2 345
1009 #  elif defined(__x86_64__)
1010 #    if defined(__ILP32__)
1011 #      define systemd_NR_renameat2 (316 | /* __X32_SYSCALL_BIT */ 0x40000000)
1012 #    else
1013 #      define systemd_NR_renameat2 316
1014 #    endif
1015 #  elif !defined(missing_arch_template)
1016 #    warning "renameat2() syscall number is unknown for your architecture"
1017 #  endif
1018 
1019 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
1020 #  if defined __NR_renameat2 && __NR_renameat2 >= 0
1021 #    if defined systemd_NR_renameat2
1022 assert_cc(__NR_renameat2 == systemd_NR_renameat2);
1023 #    endif
1024 #  else
1025 #    if defined __NR_renameat2
1026 #      undef __NR_renameat2
1027 #    endif
1028 #    if defined systemd_NR_renameat2 && systemd_NR_renameat2 >= 0
1029 #      define __NR_renameat2 systemd_NR_renameat2
1030 #    endif
1031 #  endif
1032 #endif
1033 
1034 #ifndef __IGNORE_setns
1035 #  if defined(__aarch64__)
1036 #    define systemd_NR_setns 268
1037 #  elif defined(__alpha__)
1038 #    define systemd_NR_setns 501
1039 #  elif defined(__arc__) || defined(__tilegx__)
1040 #    define systemd_NR_setns 268
1041 #  elif defined(__arm__)
1042 #    define systemd_NR_setns 375
1043 #  elif defined(__i386__)
1044 #    define systemd_NR_setns 346
1045 #  elif defined(__ia64__)
1046 #    define systemd_NR_setns 1330
1047 #  elif defined(__loongarch64)
1048 #    define systemd_NR_setns 268
1049 #  elif defined(__m68k__)
1050 #    define systemd_NR_setns 344
1051 #  elif defined(_MIPS_SIM)
1052 #    if _MIPS_SIM == _MIPS_SIM_ABI32
1053 #      define systemd_NR_setns 4344
1054 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
1055 #      define systemd_NR_setns 6308
1056 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
1057 #      define systemd_NR_setns 5303
1058 #    else
1059 #      error "Unknown MIPS ABI"
1060 #    endif
1061 #  elif defined(__powerpc__)
1062 #    define systemd_NR_setns 350
1063 #  elif defined(__riscv)
1064 #    if __riscv_xlen == 32
1065 #      define systemd_NR_setns 268
1066 #    elif __riscv_xlen == 64
1067 #      define systemd_NR_setns 268
1068 #    else
1069 #      error "Unknown RISC-V ABI"
1070 #    endif
1071 #  elif defined(__s390__)
1072 #    define systemd_NR_setns 339
1073 #  elif defined(__sparc__)
1074 #    define systemd_NR_setns 337
1075 #  elif defined(__x86_64__)
1076 #    if defined(__ILP32__)
1077 #      define systemd_NR_setns (308 | /* __X32_SYSCALL_BIT */ 0x40000000)
1078 #    else
1079 #      define systemd_NR_setns 308
1080 #    endif
1081 #  elif !defined(missing_arch_template)
1082 #    warning "setns() syscall number is unknown for your architecture"
1083 #  endif
1084 
1085 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
1086 #  if defined __NR_setns && __NR_setns >= 0
1087 #    if defined systemd_NR_setns
1088 assert_cc(__NR_setns == systemd_NR_setns);
1089 #    endif
1090 #  else
1091 #    if defined __NR_setns
1092 #      undef __NR_setns
1093 #    endif
1094 #    if defined systemd_NR_setns && systemd_NR_setns >= 0
1095 #      define __NR_setns systemd_NR_setns
1096 #    endif
1097 #  endif
1098 #endif
1099 
1100 #ifndef __IGNORE_statx
1101 #  if defined(__aarch64__)
1102 #    define systemd_NR_statx 291
1103 #  elif defined(__alpha__)
1104 #    define systemd_NR_statx 522
1105 #  elif defined(__arc__) || defined(__tilegx__)
1106 #    define systemd_NR_statx 291
1107 #  elif defined(__arm__)
1108 #    define systemd_NR_statx 397
1109 #  elif defined(__i386__)
1110 #    define systemd_NR_statx 383
1111 #  elif defined(__ia64__)
1112 #    define systemd_NR_statx 1350
1113 #  elif defined(__loongarch64)
1114 #    define systemd_NR_statx 291
1115 #  elif defined(__m68k__)
1116 #    define systemd_NR_statx 379
1117 #  elif defined(_MIPS_SIM)
1118 #    if _MIPS_SIM == _MIPS_SIM_ABI32
1119 #      define systemd_NR_statx 4366
1120 #    elif _MIPS_SIM == _MIPS_SIM_NABI32
1121 #      define systemd_NR_statx 6330
1122 #    elif _MIPS_SIM == _MIPS_SIM_ABI64
1123 #      define systemd_NR_statx 5326
1124 #    else
1125 #      error "Unknown MIPS ABI"
1126 #    endif
1127 #  elif defined(__powerpc__)
1128 #    define systemd_NR_statx 383
1129 #  elif defined(__riscv)
1130 #    if __riscv_xlen == 32
1131 #      define systemd_NR_statx 291
1132 #    elif __riscv_xlen == 64
1133 #      define systemd_NR_statx 291
1134 #    else
1135 #      error "Unknown RISC-V ABI"
1136 #    endif
1137 #  elif defined(__s390__)
1138 #    define systemd_NR_statx 379
1139 #  elif defined(__sparc__)
1140 #    define systemd_NR_statx 360
1141 #  elif defined(__x86_64__)
1142 #    if defined(__ILP32__)
1143 #      define systemd_NR_statx (332 | /* __X32_SYSCALL_BIT */ 0x40000000)
1144 #    else
1145 #      define systemd_NR_statx 332
1146 #    endif
1147 #  elif !defined(missing_arch_template)
1148 #    warning "statx() syscall number is unknown for your architecture"
1149 #  endif
1150 
1151 /* may be an (invalid) negative number due to libseccomp, see PR 13319 */
1152 #  if defined __NR_statx && __NR_statx >= 0
1153 #    if defined systemd_NR_statx
1154 assert_cc(__NR_statx == systemd_NR_statx);
1155 #    endif
1156 #  else
1157 #    if defined __NR_statx
1158 #      undef __NR_statx
1159 #    endif
1160 #    if defined systemd_NR_statx && systemd_NR_statx >= 0
1161 #      define __NR_statx systemd_NR_statx
1162 #    endif
1163 #  endif
1164 #endif
1165