Add close_range(2) support
[valgrind.git] / include / vki / vki-scnums-shared-linux.h
blobfa63c7a9bc18c3cb74f77b45b86b6ef176e632ab
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_clone3 435
43 #define __NR_close_range 436
45 #define __NR_faccessat2 439
47 #endif