support pidfd_getfd
[valgrind.git] / include / vki / vki-scnums-shared-linux.h
blob1bd4066703d83c1c1fbb5e1bf07be7f94142436c
2 /* System call numbers for Linux that are shared across all architectures. */
4 /*
5 This file is part of Valgrind, a dynamic binary instrumentation
6 framework.
8 Copyright (C) 2019 Bart Van Assche <bvanassche@acm.org>
10 This program is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License as
12 published by the Free Software Foundation; either version 2 of the
13 License, or (at your option) any later version.
15 This program is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, see <http://www.gnu.org/licenses/>.
23 The GNU General Public License is contained in the file COPYING.
26 #ifndef __VKI_SCNUMS_SHARED_LINUX_H
27 #define __VKI_SCNUMS_SHARED_LINUX_H
29 // Derived from linux-5.2/include/uapi/asm-generic/unistd.h
31 #define __NR_pidfd_send_signal 424
32 #define __NR_io_uring_setup 425
33 #define __NR_io_uring_enter 426
34 #define __NR_io_uring_register 427
35 #define __NR_open_tree 428
36 #define __NR_move_mount 429
37 #define __NR_fsopen 430
38 #define __NR_fsconfig 431
39 #define __NR_fsmount 432
40 #define __NR_fspick 433
42 #define __NR_pidfd_open 434
43 #define __NR_clone3 435
44 #define __NR_close_range 436
45 #define __NR_openat2 437
46 #define __NR_pidfd_getfd 438
47 #define __NR_faccessat2 439
49 #define __NR_epoll_pwait2 441
51 #define __NR_memfd_secret 447
53 #endif