From 09a967b59c217dc9ebb4d78ec114758ef9941fc8 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 1 Sep 2024 07:48:26 +0900 Subject: [PATCH] detect: Support PowerPC64 OpenBSD, prepare support for RISC-V --- .github/.cspell/project-dictionary.txt | 1 + CHANGELOG.md | 4 +- DEVELOPMENT.md | 2 +- src/cfgs.rs | 2 + src/imp/arm_linux.rs | 4 +- src/imp/atomic128/README.md | 7 +- src/imp/atomic128/aarch64.rs | 6 + src/imp/atomic128/detect/aarch64_aa64reg.rs | 29 +- src/imp/atomic128/detect/aarch64_fuchsia.rs | 2 +- src/imp/atomic128/detect/aarch64_macos.rs | 2 +- src/imp/atomic128/detect/aarch64_windows.rs | 2 +- src/imp/atomic128/detect/auxv.rs | 101 +++- src/imp/atomic128/detect/common.rs | 2 +- src/imp/atomic128/detect/x86_64.rs | 2 + src/imp/atomic128/powerpc64.rs | 1 + src/imp/atomic128/x86_64.rs | 5 +- src/imp/fallback/mod.rs | 1 + src/imp/mod.rs | 3 + src/imp/riscv.rs | 2 +- .../linux_headers_asm_unistd.rs | 317 ++++++++++++ .../src/gen/sys/aarch64_be_linux_gnu/mod.rs | 317 ++++++++++++ .../linux_headers_asm_unistd.rs | 317 ++++++++++++ .../gen/sys/aarch64_be_linux_gnu_ilp32/mod.rs | 317 ++++++++++++ .../src/gen/sys/aarch64_be_netbsd/mod.rs | 457 ++++++++++++++++++ .../gen/sys/aarch64_be_netbsd/sys_syscall.rs | 457 ++++++++++++++++++ .../helper/src/gen/sys/aarch64_freebsd/mod.rs | 427 ++++++++++++++++ .../gen/sys/aarch64_freebsd/sys_syscall.rs | 427 ++++++++++++++++ .../helper/src/gen/sys/aarch64_fuchsia/mod.rs | 1 + .../zircon_system_public_zircon_features.rs | 1 + .../linux_headers_asm_unistd.rs | 317 ++++++++++++ .../src/gen/sys/aarch64_linux_android/mod.rs | 317 ++++++++++++ .../linux_headers_asm_unistd.rs | 317 ++++++++++++ .../src/gen/sys/aarch64_linux_gnu/mod.rs | 317 ++++++++++++ .../linux_headers_asm_unistd.rs | 317 ++++++++++++ .../gen/sys/aarch64_linux_gnu_ilp32/mod.rs | 317 ++++++++++++ .../linux_headers_asm_unistd.rs | 317 ++++++++++++ .../src/gen/sys/aarch64_linux_musl/mod.rs | 317 ++++++++++++ .../linux_headers_asm_unistd.rs | 317 ++++++++++++ .../src/gen/sys/aarch64_linux_uclibc/mod.rs | 317 ++++++++++++ .../helper/src/gen/sys/aarch64_netbsd/mod.rs | 457 ++++++++++++++++++ .../src/gen/sys/aarch64_netbsd/sys_syscall.rs | 457 ++++++++++++++++++ .../gen/sys/aarch64_openbsd/machine_elf.rs | 82 ++++ .../helper/src/gen/sys/aarch64_openbsd/mod.rs | 82 ++++ .../src/gen/sys/aarch64_openbsd/sys_auxv.rs | 14 + tests/helper/src/gen/sys/mod.rs | 18 + .../src/gen/sys/powerpc64_freebsd/mod.rs | 427 ++++++++++++++++ .../gen/sys/powerpc64_freebsd/sys_syscall.rs | 427 ++++++++++++++++ .../linux_headers_asm_unistd.rs | 414 ++++++++++++++++ .../src/gen/sys/powerpc64_linux_gnu/mod.rs | 414 ++++++++++++++++ .../linux_headers_asm_unistd.rs | 414 ++++++++++++++++ .../src/gen/sys/powerpc64_linux_musl/mod.rs | 414 ++++++++++++++++ .../gen/sys/powerpc64_openbsd/machine_elf.rs | 43 ++ .../src/gen/sys/powerpc64_openbsd/mod.rs | 53 ++ .../src/gen/sys/powerpc64_openbsd/sys_auxv.rs | 14 + .../gen/sys/powerpc64_openbsd/sys_sysctl.rs | 17 + .../src/gen/sys/powerpc64le_freebsd/mod.rs | 427 ++++++++++++++++ .../sys/powerpc64le_freebsd/sys_syscall.rs | 427 ++++++++++++++++ .../linux_headers_asm_unistd.rs | 414 ++++++++++++++++ .../src/gen/sys/powerpc64le_linux_gnu/mod.rs | 414 ++++++++++++++++ .../linux_headers_asm_unistd.rs | 414 ++++++++++++++++ .../src/gen/sys/powerpc64le_linux_musl/mod.rs | 414 ++++++++++++++++ tools/build.sh | 5 + tools/codegen/src/ffi.rs | 78 ++- 63 files changed, 12662 insertions(+), 64 deletions(-) create mode 100644 tests/helper/src/gen/sys/aarch64_openbsd/machine_elf.rs create mode 100644 tests/helper/src/gen/sys/aarch64_openbsd/sys_auxv.rs create mode 100644 tests/helper/src/gen/sys/powerpc64_openbsd/machine_elf.rs create mode 100644 tests/helper/src/gen/sys/powerpc64_openbsd/mod.rs create mode 100644 tests/helper/src/gen/sys/powerpc64_openbsd/sys_auxv.rs create mode 100644 tests/helper/src/gen/sys/powerpc64_openbsd/sys_sysctl.rs diff --git a/.github/.cspell/project-dictionary.txt b/.github/.cspell/project-dictionary.txt index 5dd64632..b5bf56f3 100644 --- a/.github/.cspell/project-dictionary.txt +++ b/.github/.cspell/project-dictionary.txt @@ -47,6 +47,7 @@ exynos getauxval getpid HWCAP +hwprobe ifunc includepath Iotel diff --git a/CHANGELOG.md b/CHANGELOG.md index 23677c60..76333378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -168,13 +168,13 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com - Optimize x86_64 outline-atomics for 128-bit atomics. - Support outline-atomics for cmpxchg16b on Rust 1.69+ (i.e., on Rust 1.69+, x86_64 128-bit atomics is lock-free on all Intel chips and almost all AMD chips, even if cmpxchg16b is not available at compile-time.). Previously it was only nightly. ([#80](https://github.com/taiki-e/portable-atomic/pull/80)) - - portable-atomic no longer enables outline-atomics on target where run-time feature detection is not available. ([#80](https://github.com/taiki-e/portable-atomic/pull/80)) + - portable-atomic no longer enables outline-atomics on target where run-time CPU feature detection is not available. ([#80](https://github.com/taiki-e/portable-atomic/pull/80)) - Optimize aarch64 outline-atomics for 128-bit atomics. - Support more targets and improve performance. ([#63](https://github.com/taiki-e/portable-atomic/pull/63), [#64](https://github.com/taiki-e/portable-atomic/pull/64), [#67](https://github.com/taiki-e/portable-atomic/pull/67), [#69](https://github.com/taiki-e/portable-atomic/pull/69), [#75](https://github.com/taiki-e/portable-atomic/pull/75), [#76](https://github.com/taiki-e/portable-atomic/pull/76), [#77](https://github.com/taiki-e/portable-atomic/pull/77)) See the [`atomic128` module's readme](https://github.com/taiki-e/portable-atomic/blob/HEAD/src/imp/atomic128/README.md#run-time-feature-detection) for a list of platforms that support outline-atomics. Most of these improvements have already been [submitted and accepted in rust-lang/stdarch](https://github.com/rust-lang/stdarch/pulls?q=is%3Apr+author%3Ataiki-e+std_detect) and will soon be available in `std::arch::is_aarch64_feature_detected`. - - portable-atomic no longer enables outline-atomics on target where run-time feature detection is not available. + - portable-atomic no longer enables outline-atomics on target where run-time CPU feature detection is not available. - Performance improvements. ([#70](https://github.com/taiki-e/portable-atomic/pull/70), [#81](https://github.com/taiki-e/portable-atomic/pull/81), [6c189ae](https://github.com/taiki-e/portable-atomic/commit/6c189ae1792ce0c08b4f56b6e6c256c223475ce2), [13c92b0](https://github.com/taiki-e/portable-atomic/commit/13c92b015a8e8646a4b885229157547354d03b9e), etc.) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index b2ecc33b..d1843650 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -16,7 +16,7 @@ portable-atomic/ ├── src/ │ ├── imp/ │ │ ├── atomic128/ -- 128-bit atomic implementations (mainly by asm) -│ │ │ └── detect/ -- Run-time feature detection implementations used for outline-atomics +│ │ │ └── detect/ -- Run-time CPU feature detection implementations used for outline-atomics │ │ ├── arm_linux.rs -- 64-bit atomic implementation for pre-v6 ARM Linux/Android │ │ ├── core_atomic.rs -- wrapper for core::sync::atomic types │ │ ├── fallback/ -- fallback implementation based on global locks diff --git a/src/cfgs.rs b/src/cfgs.rs index e6f0b3ff..afb72503 100644 --- a/src/cfgs.rs +++ b/src/cfgs.rs @@ -265,6 +265,7 @@ mod atomic_64_macros { ), target_os = "android", target_os = "freebsd", + all(target_os = "openbsd", portable_atomic_outline_atomics), ), not(any(miri, portable_atomic_sanitize_thread)), ), @@ -354,6 +355,7 @@ mod atomic_128_macros { ), target_os = "android", target_os = "freebsd", + all(target_os = "openbsd", portable_atomic_outline_atomics), ), not(any(miri, portable_atomic_sanitize_thread)), ), diff --git a/src/imp/arm_linux.rs b/src/imp/arm_linux.rs index cc855fbe..432dcf12 100644 --- a/src/imp/arm_linux.rs +++ b/src/imp/arm_linux.rs @@ -3,7 +3,7 @@ // 64-bit atomic implementation using kuser_cmpxchg64 on pre-v6 ARM Linux/Android. // // Refs: -// - https://www.kernel.org/doc/Documentation/arm/kernel_user_helpers.txt +// - https://github.com/torvalds/linux/blob/v6.10/Documentation/arch/arm/kernel_user_helpers.rst // - https://github.com/rust-lang/compiler-builtins/blob/0.1.88/src/arm_linux.rs // // Note: On Miri and ThreadSanitizer which do not support inline assembly, we don't use @@ -20,7 +20,7 @@ use core::{arch::asm, cell::UnsafeCell, mem, sync::atomic::Ordering}; use crate::utils::{Pair, U64}; -// https://www.kernel.org/doc/Documentation/arm/kernel_user_helpers.txt +// https://github.com/torvalds/linux/blob/v6.10/Documentation/arch/arm/kernel_user_helpers.rst const KUSER_HELPER_VERSION: usize = 0xFFFF0FFC; // __kuser_helper_version >= 5 (kernel version 3.1+) const KUSER_CMPXCHG64: usize = 0xFFFF0F60; diff --git a/src/imp/atomic128/README.md b/src/imp/atomic128/README.md index 7875c34f..d93cad30 100644 --- a/src/imp/atomic128/README.md +++ b/src/imp/atomic128/README.md @@ -28,11 +28,11 @@ Implementations with inline assembly generate assemblies almost equivalent to th As 128-bit atomics-related APIs stabilize in the standard library, implementations with inline assembly are planned to be updated to get the benefits of both. -## Run-time feature detection +## Run-time CPU feature detection -[detect](detect) module has run-time feature detection implementations. +[detect](detect) module has run-time CPU feature detection implementations. -Here is the table of targets that support run-time feature detection and the instruction or API used: +Here is the table of targets that support run-time CPU feature detection and the instruction or API used: | target_arch | target_os/target_env | instruction/API | features | note | | ----------- | -------------------- | --------------- | -------- | ---- | @@ -47,6 +47,7 @@ Here is the table of targets that support run-time feature detection and the ins | aarch64 | fuchsia | zx_system_get_features | lse | Enabled by default | | powerpc64 | linux | getauxval | all | Disabled by default | | powerpc64 | freebsd | elf_aux_info | all | Disabled by default | +| powerpc64 | openbsd | elf_aux_info | all | Disabled by default | Run-time detection is enabled by default on most targets and can be disabled with `--cfg portable_atomic_no_outline_atomics`. diff --git a/src/imp/atomic128/aarch64.rs b/src/imp/atomic128/aarch64.rs index 16e31a09..2407d569 100644 --- a/src/imp/atomic128/aarch64.rs +++ b/src/imp/atomic128/aarch64.rs @@ -119,6 +119,12 @@ mod detect; #[cfg(any(target_os = "linux", target_os = "android", target_os = "freebsd"))] #[path = "detect/aarch64_aa64reg.rs"] mod detect_aa64reg; +// TODO: OpenBSD 7.6+ +// #[cfg(test)] +// #[cfg(not(portable_atomic_no_outline_atomics))] +// #[cfg(target_os = "openbsd")] +// #[path = "detect/auxv.rs"] +// mod detect_auxv; #[cfg(test)] #[cfg(not(portable_atomic_no_outline_atomics))] #[cfg(target_os = "macos")] diff --git a/src/imp/atomic128/detect/aarch64_aa64reg.rs b/src/imp/atomic128/detect/aarch64_aa64reg.rs index 66a6e017..482881a3 100644 --- a/src/imp/atomic128/detect/aarch64_aa64reg.rs +++ b/src/imp/atomic128/detect/aarch64_aa64reg.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT -// Run-time feature detection on aarch64 Linux/FreeBSD/NetBSD/OpenBSD by parsing system registers. +// Run-time CPU feature detection on AArch64 Linux/Android/FreeBSD/NetBSD/OpenBSD by parsing system registers. // // As of nightly-2023-01-23, is_aarch64_feature_detected doesn't support run-time detection on NetBSD/OpenBSD. // https://github.com/rust-lang/stdarch/blob/a0c30f3e3c75adcd6ee7efc94014ebcead61c507/crates/std_detect/src/detect/mod.rs @@ -8,7 +8,7 @@ // // Refs: // - https://developer.arm.com/documentation/ddi0601/latest/AArch64-Registers -// - https://www.kernel.org/doc/Documentation/arm64/cpu-feature-registers.txt +// - https://github.com/torvalds/linux/blob/v6.10/Documentation/arch/arm64/cpu-feature-registers.rst // - https://github.com/rust-lang/stdarch/blob/a0c30f3e3c75adcd6ee7efc94014ebcead61c507/crates/std_detect/src/detect/os/aarch64.rs // // Supported platforms: @@ -22,9 +22,10 @@ // https://github.com/openbsd/src/commit/d335af936b9d7dd9cf655cae1ce19560c45de6c8 // // For now, this module is only used on NetBSD/OpenBSD. -// On Linux/FreeBSD, this module is test-only: -// - On Linux, this approach requires a higher kernel version than Rust supports, -// and also does not work with qemu-user (as of QEMU 7.2) and Valgrind. +// +// On Linux/Android/FreeBSD, we use auxv.rs and this module is test-only because: +// - On Linux/Android, this approach requires a higher kernel version than Rust supports, +// and also does not work with qemu-user (as of 7.2) and Valgrind (as of 3.19). // (Looking into HWCAP_CPUID in auxvec, it appears that Valgrind is setting it // to false correctly, but qemu-user is setting it to true.) // - On FreeBSD, this approach does not work on FreeBSD 12 on QEMU (confirmed on @@ -49,15 +50,15 @@ fn _detect(info: &mut CpuInfo) { aa64mmfr2, } = imp::aa64reg(); - // ID_AA64ISAR0_EL1, Instruction Set Attribute Register 0 - // https://developer.arm.com/documentation/ddi0601/2023-06/AArch64-Registers/ID-AA64ISAR0-EL1--AArch64-Instruction-Set-Attribute-Register-0?lang=en + // ID_AA64ISAR0_EL1, AArch64 Instruction Set Attribute Register 0 + // https://developer.arm.com/documentation/ddi0601/2024-06/AArch64-Registers/ID-AA64ISAR0-EL1--AArch64-Instruction-Set-Attribute-Register-0 let atomic = extract(aa64isar0, 23, 20); - if atomic >= 2 { + if atomic >= 0b0010 { info.set(CpuInfo::HAS_LSE); // we currently only use FEAT_LSE and FEAT_LSE2 in outline-atomics. #[cfg(test)] { - if atomic >= 3 { + if atomic >= 0b0011 { info.set(CpuInfo::HAS_LSE128); } } @@ -65,15 +66,15 @@ fn _detect(info: &mut CpuInfo) { // we currently only use FEAT_LSE and FEAT_LSE2 in outline-atomics. #[cfg(test)] { - // ID_AA64ISAR1_EL1, Instruction Set Attribute Register 1 - // https://developer.arm.com/documentation/ddi0601/2023-06/AArch64-Registers/ID-AA64ISAR1-EL1--AArch64-Instruction-Set-Attribute-Register-1?lang=en - if extract(aa64isar1, 23, 20) >= 3 { + // ID_AA64ISAR1_EL1, AArch64 Instruction Set Attribute Register 1 + // https://developer.arm.com/documentation/ddi0601/2024-06/AArch64-Registers/ID-AA64ISAR1-EL1--AArch64-Instruction-Set-Attribute-Register-1 + if extract(aa64isar1, 23, 20) >= 0b0011 { info.set(CpuInfo::HAS_RCPC3); } } // ID_AA64MMFR2_EL1, AArch64 Memory Model Feature Register 2 - // https://developer.arm.com/documentation/ddi0601/2023-06/AArch64-Registers/ID-AA64MMFR2-EL1--AArch64-Memory-Model-Feature-Register-2?lang=en - if extract(aa64mmfr2, 35, 32) >= 1 { + // https://developer.arm.com/documentation/ddi0601/2024-06/AArch64-Registers/ID-AA64MMFR2-EL1--AArch64-Memory-Model-Feature-Register-2 + if extract(aa64mmfr2, 35, 32) >= 0b0001 { info.set(CpuInfo::HAS_LSE2); } } diff --git a/src/imp/atomic128/detect/aarch64_fuchsia.rs b/src/imp/atomic128/detect/aarch64_fuchsia.rs index 978418c5..2e0aa896 100644 --- a/src/imp/atomic128/detect/aarch64_fuchsia.rs +++ b/src/imp/atomic128/detect/aarch64_fuchsia.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT -// Run-time feature detection on aarch64 Fuchsia by using zx_system_get_features. +// Run-time CPU feature detection on aarch64 Fuchsia by using zx_system_get_features. // // As of nightly-2023-01-23, is_aarch64_feature_detected doesn't support run-time detection on Fuchsia. // https://github.com/rust-lang/stdarch/blob/a0c30f3e3c75adcd6ee7efc94014ebcead61c507/crates/std_detect/src/detect/mod.rs diff --git a/src/imp/atomic128/detect/aarch64_macos.rs b/src/imp/atomic128/detect/aarch64_macos.rs index 6d2f9a86..71456cc9 100644 --- a/src/imp/atomic128/detect/aarch64_macos.rs +++ b/src/imp/atomic128/detect/aarch64_macos.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT -// Run-time feature detection on aarch64 macOS by using sysctl. +// Run-time CPU feature detection on aarch64 macOS by using sysctl. // // This module is currently only enabled on tests because aarch64 macOS always supports FEAT_LSE and FEAT_LSE2. // https://github.com/llvm/llvm-project/blob/llvmorg-18.1.2/llvm/include/llvm/TargetParser/AArch64TargetParser.h#L728 diff --git a/src/imp/atomic128/detect/aarch64_windows.rs b/src/imp/atomic128/detect/aarch64_windows.rs index 120d486e..0a902036 100644 --- a/src/imp/atomic128/detect/aarch64_windows.rs +++ b/src/imp/atomic128/detect/aarch64_windows.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT -// Run-time feature detection on aarch64 Windows by using IsProcessorFeaturePresent. +// Run-time CPU feature detection on aarch64 Windows by using IsProcessorFeaturePresent. // // As of nightly-2023-01-23, is_aarch64_feature_detected doesn't support run-time detection of FEAT_LSE on Windows. // https://github.com/rust-lang/stdarch/blob/a0c30f3e3c75adcd6ee7efc94014ebcead61c507/crates/std_detect/src/detect/os/windows/aarch64.rs diff --git a/src/imp/atomic128/detect/auxv.rs b/src/imp/atomic128/detect/auxv.rs index 40491290..ef629a8e 100644 --- a/src/imp/atomic128/detect/auxv.rs +++ b/src/imp/atomic128/detect/auxv.rs @@ -1,20 +1,35 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT -// Run-time feature detection on aarch64/powerpc64 Linux/Android/FreeBSD by parsing ELF auxiliary vectors. +// Run-time CPU feature detection on AArch64/PowerPC64 Linux/Android/FreeBSD/OpenBSD by parsing ELF auxiliary vectors. +// +// Supported platforms: +// - Linux 6.4+ (through prctl) +// https://github.com/torvalds/linux/commit/ddc65971bb677aa9f6a4c21f76d3133e106f88eb +// - glibc 2.16+ (through getauxval) +// https://github.com/bminor/glibc/commit/c7683a6d02f3ed59f5cd119b3e8547f45a15912f +// - musl 1.1.0+ (through getauxval) +// https://github.com/bminor/musl/commit/21ada94c4b8c01589367cea300916d7db8461ae7 +// - uClibc-ng 1.0.43+ (through getauxval) +// https://github.com/wbx-github/uclibc-ng/commit/d869bb1600942c01a77539128f9ba5b5b55ad647 +// - Picolibc 1.4.6+ (through getauxval) +// https://github.com/picolibc/picolibc/commit/19bfe51d62ad7e32533c7f664b5bca8e26286e31 +// - Android 4.3+ (API level 18+) (through getauxval) +// https://github.com/aosp-mirror/platform_bionic/blob/d3ebc2f7c49a9893b114124d4a6b315f3a328764/libc/include/sys/auxv.h#L49 +// - FreeBSD 12.0+ and 11.4+ (through elf_aux_info) +// https://github.com/freebsd/freebsd-src/commit/0b08ae2120cdd08c20a2b806e2fcef4d0a36c470 +// https://github.com/freebsd/freebsd-src/blob/release/11.4.0/sys/sys/auxv.h +// - OpenBSD 7.6+ (through elf_aux_info) +// https://github.com/openbsd/src/commit/ef873df06dac50249b2dd380dc6100eee3b0d23d // // # Linux/Android // // As of nightly-2023-01-23, is_aarch64_feature_detected always uses dlsym by default -// on aarch64 Linux/Android, but on the following platforms, so we can safely assume +// on aarch64 Linux/Android, but on the following platforms, we can safely assume // getauxval is linked to the binary. // -// - On glibc (*-linux-gnu*), [aarch64 support is available on glibc 2.17+](https://sourceware.org/legacy-ml/libc-announce/2012/msg00001.html) -// and is newer than [glibc 2.16 that added getauxval](https://sourceware.org/legacy-ml/libc-announce/2012/msg00000.html). -// - On musl (*-linux-musl*, *-linux-ohos*), [aarch64 support is available on musl 1.1.7+](https://git.musl-libc.org/cgit/musl/tree/WHATSNEW?h=v1.1.7#n1422) -// and is newer than [musl 1.1.0 that added getauxval](https://git.musl-libc.org/cgit/musl/tree/WHATSNEW?h=v1.1.0#n1197). -// https://github.com/rust-lang/rust/commit/9a04ae4997493e9260352064163285cddc43de3c +// - On glibc (*-linux-gnu*), [aarch64 support is available on glibc 2.17+](https://github.com/bminor/glibc/blob/glibc-2.17/NEWS#L35) +// - On musl (*-linux-musl*, *-linux-ohos*), [aarch64 support is available on musl 1.1.7+](https://github.com/bminor/musl/blob/v1.1.7/WHATSNEW#L1422) // - On bionic (*-android*), [64-bit architecture support is available on Android 5.0+ (API level 21+)](https://android-developers.googleblog.com/2014/10/whats-new-in-android-50-lollipop.html) -// and is newer than [Android 4.3 (API level 18) that added getauxval](https://github.com/aosp-mirror/platform_bionic/blob/d3ebc2f7c49a9893b114124d4a6b315f3a328764/libc/include/sys/auxv.h#L49). // // However, on musl with static linking, it seems that getauxval is not always available, independent of version requirements: https://github.com/rust-lang/rust/issues/89626 // (That problem may have been fixed in https://github.com/rust-lang/rust/commit/9a04ae4997493e9260352064163285cddc43de3c, @@ -22,12 +37,12 @@ // of the same error.) // // On other Linux targets, we cannot assume that getauxval is always available, so we don't enable -// outline-atomics by default (can be enabled by `--cfg portable_atomic_outline_atomics`). +// run-time detection by default (can be enabled by `--cfg portable_atomic_outline_atomics`). // -// - On musl with static linking. See the above for more. -// Also, in this case, dlsym(getauxval) always returns null. -// - On uClibc-ng (*-linux-uclibc*, *-l4re-uclibc*), [uClibc-ng 1.0.43 (released in 2023-04-05) added getauxval](https://github.com/wbx-github/uclibc-ng/commit/d869bb1600942c01a77539128f9ba5b5b55ad647). -// - On Picolibc, [Picolibc 1.4.6 added getauxval stub](https://github.com/picolibc/picolibc#picolibc-version-146). +// - musl with static linking. See the above for more. +// Also, dlsym(getauxval) always returns null when statically linked. +// - uClibc-ng (*-linux-uclibc*, *-l4re-uclibc*). getauxval was recently added (See the above list). +// - Picolibc. getauxval was recently added (See the above list). // // See also https://github.com/rust-lang/stdarch/pull/1375 // @@ -40,24 +55,37 @@ // on FreeBSD 12.{2,3,4}), and we got SIGILL (worked on FreeBSD 13 and 14). // // So use elf_aux_info instead of mrs like compiler-rt does. -// https://man.freebsd.org/elf_aux_info(3) // https://reviews.llvm.org/D109330 // // elf_aux_info is available on FreeBSD 12.0+ and 11.4+: // https://github.com/freebsd/freebsd-src/commit/0b08ae2120cdd08c20a2b806e2fcef4d0a36c470 // https://github.com/freebsd/freebsd-src/blob/release/11.4.0/sys/sys/auxv.h -// On FreeBSD, [aarch64 support is available on FreeBSD 11.0+](https://www.freebsd.org/releases/11.0R/relnotes/#hardware-arm), +// On FreeBSD, [aarch64 support is available on FreeBSD 11.0+](https://www.freebsd.org/releases/11.0R/announce), // but FreeBSD 11 (11.4) was EoL on 2021-09-30, and FreeBSD 11.3 was EoL on 2020-09-30: // https://www.freebsd.org/security/unsupported // See also https://github.com/rust-lang/stdarch/pull/611#issuecomment-445464613 // // See tests::test_freebsd and aarch64_aa64reg.rs for (test-only) alternative implementations. // +// # OpenBSD +// +// elf_aux_info is available on OpenBSD 7.6+: +// https://github.com/openbsd/src/commit/ef873df06dac50249b2dd380dc6100eee3b0d23d +// +// On aarch64, there is an alternative that available on older version, +// so we use it (see aarch64_aa64reg.rs). +// // # PowerPC64 // -// On PowerPC64, outline-atomics is currently disabled by default mainly for +// On PowerPC64, run-time detection is currently disabled by default mainly for // compatibility with older versions of operating systems // (can be enabled by `--cfg portable_atomic_outline_atomics`). +// +// - On glibc, [powerpc64 support is available on glibc 2.3+](https://github.com/bminor/glibc/blob/glibc-2.3/NEWS#L55) +// - On musl, [powerpc64 support is available on musl 1.1.15+](https://github.com/bminor/musl/blob/v1.1.15/WHATSNEW#L1702) +// - On FreeBSD, [powerpc64 support is available on FreeBSD 9.0+](https://www.freebsd.org/releases/9.0R/announce) +// +// (On uClibc-ng, [powerpc64 is not supported](https://github.com/wbx-github/uclibc-ng/commit/d4d4f37fda7fa57e57132ff2f0d735ce7cc2178e)) include!("common.rs"); @@ -72,12 +100,13 @@ mod os { pub(crate) use super::super::c_types::{c_char, c_int}; extern "C" { + // Defined in sys/auxv.h. // https://man7.org/linux/man-pages/man3/getauxval.3.html // https://github.com/bminor/glibc/blob/glibc-2.40/misc/sys/auxv.h // https://github.com/bminor/musl/blob/v1.2.5/include/sys/auxv.h // https://github.com/wbx-github/uclibc-ng/blob/v1.0.47/include/sys/auxv.h // https://github.com/aosp-mirror/platform_bionic/blob/d3ebc2f7c49a9893b114124d4a6b315f3a328764/libc/include/sys/auxv.h - // https://github.com/picolibc/picolibc/blob/7a8a58aeaa5946cb662577a518051091b691af3a/newlib/libc/picolib/getauxval.c + // https://github.com/picolibc/picolibc/blob/1.8.6/newlib/libc/include/sys/auxv.h // https://github.com/rust-lang/libc/blob/0.2.139/src/unix/linux_like/linux/gnu/mod.rs#L1201 // https://github.com/rust-lang/libc/blob/0.2.139/src/unix/linux_like/linux/musl/mod.rs#L744 // https://github.com/rust-lang/libc/blob/0.2.139/src/unix/linux_like/android/b64/mod.rs#L333 @@ -128,7 +157,7 @@ mod os { unsafe { ffi::getauxval(type_) } } } -#[cfg(target_os = "freebsd")] +#[cfg(any(target_os = "freebsd", target_os = "openbsd"))] mod os { // core::ffi::c_* (except c_void) requires Rust 1.64, libc will soon require Rust 1.47 #[cfg_attr(test, allow(dead_code))] @@ -136,14 +165,23 @@ mod os { pub(crate) use super::super::c_types::{c_int, c_ulong, c_void}; extern "C" { + // FreeBSD // Defined in sys/auxv.h. // https://man.freebsd.org/elf_aux_info(3) // https://github.com/freebsd/freebsd-src/blob/release/14.1.0/sys/sys/auxv.h + // OpenBSD + // Defined in sys/auxv.h. + // https://man.openbsd.org/elf_aux_info.3 + // https://github.com/openbsd/src/blob/ed8f5e8d82ace15e4cefca2c82941b15cb1a7830/sys/sys/auxv.h pub(crate) fn elf_aux_info(aux: c_int, buf: *mut c_void, buf_len: c_int) -> c_int; } + // FreeBSD // Defined in sys/elf_common.h. // https://github.com/freebsd/freebsd-src/blob/release/14.1.0/sys/sys/elf_common.h + // OpenBSD + // Defined in sys/auxv.h. + // https://github.com/openbsd/src/blob/ed8f5e8d82ace15e4cefca2c82941b15cb1a7830/sys/sys/auxv.h #[cfg(any(test, target_arch = "aarch64"))] pub(crate) const AT_HWCAP: c_int = 25; #[cfg(any(test, target_arch = "powerpc64"))] @@ -186,6 +224,9 @@ mod arch { // available on FreeBSD 13.0+ and 12.2+ // https://github.com/freebsd/freebsd-src/blob/release/13.0.0/sys/arm64/include/elf.h // https://github.com/freebsd/freebsd-src/blob/release/12.2.0/sys/arm64/include/elf.h + // OpenBSD + // Defined in machine/elf.h. + // https://github.com/openbsd/src/blob/ed8f5e8d82ace15e4cefca2c82941b15cb1a7830/sys/arch/arm64/include/elf.h pub(super) const HWCAP_ATOMICS: ffi::c_ulong = 1 << 8; pub(super) const HWCAP_USCAT: ffi::c_ulong = 1 << 25; #[cfg(any(target_os = "linux", target_os = "android"))] @@ -232,6 +273,9 @@ mod arch { // https://github.com/freebsd/freebsd-src/blob/release/14.1.0/sys/powerpc/include/cpu.h // available on FreeBSD 11.0+ // https://github.com/freebsd/freebsd-src/commit/b0bf7fcd298133457991b27625bbed766e612730 + // OpenBSD + // Defined in machine/elf.h. + // https://github.com/openbsd/src/blob/ed8f5e8d82ace15e4cefca2c82941b15cb1a7830/sys/arch/powerpc64/include/elf.h pub(super) const PPC_FEATURE2_ARCH_2_07: ffi::c_ulong = 0x80000000; #[cold] @@ -401,7 +445,7 @@ mod tests { // This is almost equivalent to what elf_aux_info does. // https://man.freebsd.org/elf_aux_info(3) - // On FreeBSD, [aarch64 support is available on FreeBSD 11.0+](https://www.freebsd.org/releases/11.0R/relnotes/#hardware-arm), + // On FreeBSD, [aarch64 support is available on FreeBSD 11.0+](https://www.freebsd.org/releases/11.0R/announce), // but elf_aux_info is available on FreeBSD 12.0+ and 11.4+: // https://github.com/freebsd/freebsd-src/commit/0b08ae2120cdd08c20a2b806e2fcef4d0a36c470 // https://github.com/freebsd/freebsd-src/blob/release/11.4.0/sys/sys/auxv.h @@ -663,10 +707,12 @@ mod tests { clippy::no_effect_underscore_binding )] const _: fn() = || { - use test_helper::{libc, sys}; - #[cfg(not(target_os = "freebsd"))] + #[cfg(not(target_os = "openbsd"))] + use test_helper::libc; + use test_helper::sys; + #[cfg(not(any(target_os = "freebsd", target_os = "openbsd")))] type AtType = ffi::c_ulong; - #[cfg(target_os = "freebsd")] + #[cfg(any(target_os = "freebsd", target_os = "openbsd"))] type AtType = ffi::c_int; #[cfg(any(target_os = "linux", target_os = "android"))] { @@ -685,20 +731,23 @@ mod tests { static_assert!(ffi::PROP_VALUE_MAX == libc::PROP_VALUE_MAX); static_assert!(ffi::PROP_VALUE_MAX == sys::PROP_VALUE_MAX as ffi::c_int); } - #[cfg(target_os = "freebsd")] + #[cfg(any(target_os = "freebsd", target_os = "openbsd"))] { let mut _elf_aux_info: unsafe extern "C" fn( ffi::c_int, *mut ffi::c_void, ffi::c_int, ) -> ffi::c_int = ffi::elf_aux_info; - _elf_aux_info = libc::elf_aux_info; + #[cfg(not(target_os = "openbsd"))] // libc doesn't have this on OpenBSD + { + _elf_aux_info = libc::elf_aux_info; + } _elf_aux_info = sys::elf_aux_info; } - #[cfg(not(target_os = "freebsd"))] // libc doesn't have this on FreeBSD + #[cfg(not(any(target_os = "freebsd", target_os = "openbsd")))] // libc doesn't have this on BSDs static_assert!(ffi::AT_HWCAP == libc::AT_HWCAP); static_assert!(ffi::AT_HWCAP == sys::AT_HWCAP as AtType); - #[cfg(not(target_os = "freebsd"))] // libc doesn't have this on FreeBSD + #[cfg(not(any(target_os = "freebsd", target_os = "openbsd")))] // libc doesn't have this on BSDs static_assert!(ffi::AT_HWCAP2 == libc::AT_HWCAP2); static_assert!(ffi::AT_HWCAP2 == sys::AT_HWCAP2 as AtType); #[cfg(target_arch = "aarch64")] diff --git a/src/imp/atomic128/detect/common.rs b/src/imp/atomic128/detect/common.rs index 6f094317..81fef27f 100644 --- a/src/imp/atomic128/detect/common.rs +++ b/src/imp/atomic128/detect/common.rs @@ -150,7 +150,7 @@ mod c_types { // (Linux/Android/FreeBSD/NetBSD/OpenBSD/VxWorks/Fuchsia/QNX Neutrino/Horizon/AIX/z/OS) // https://github.com/rust-lang/rust/blob/1.80.0/library/core/src/ffi/mod.rs#L83 // https://github.com/llvm/llvm-project/blob/llvmorg-18.1.2/lldb/source/Utility/ArchSpec.cpp#L712 - // RISC-V https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/HEAD/riscv-cc.adoc#cc-type-representations + // RISC-V https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/draft-20240829-13bfa9f54634cb60d86b9b333e109f077805b4b3/riscv-cc.adoc#cc-type-representations // Hexagon https://lists.llvm.org/pipermail/llvm-dev/attachments/20190916/21516a52/attachment-0001.pdf // AIX https://www.ibm.com/docs/en/xl-c-aix/13.1.2?topic=descriptions-qchars // z/OS https://www.ibm.com/docs/en/zos/2.5.0?topic=specifiers-character-types diff --git a/src/imp/atomic128/detect/x86_64.rs b/src/imp/atomic128/detect/x86_64.rs index e762f352..0bb55b31 100644 --- a/src/imp/atomic128/detect/x86_64.rs +++ b/src/imp/atomic128/detect/x86_64.rs @@ -1,5 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT +// Run-time CPU feature detection on x86_64 by using CPUID. +// // Adapted from https://github.com/rust-lang/stdarch. #![cfg_attr(portable_atomic_sanitize_thread, allow(dead_code))] diff --git a/src/imp/atomic128/powerpc64.rs b/src/imp/atomic128/powerpc64.rs index dc867fa9..fafc1afe 100644 --- a/src/imp/atomic128/powerpc64.rs +++ b/src/imp/atomic128/powerpc64.rs @@ -58,6 +58,7 @@ mod fallback; ), target_os = "android", target_os = "freebsd", + all(target_os = "openbsd", portable_atomic_outline_atomics), ))] #[path = "detect/auxv.rs"] mod detect; diff --git a/src/imp/atomic128/x86_64.rs b/src/imp/atomic128/x86_64.rs index e9f26f2c..8e0ced6e 100644 --- a/src/imp/atomic128/x86_64.rs +++ b/src/imp/atomic128/x86_64.rs @@ -22,7 +22,10 @@ mod fallback; #[cfg(not(portable_atomic_no_outline_atomics))] #[cfg(not(target_env = "sgx"))] -#[cfg_attr(not(target_feature = "sse"), cfg(not(target_feature = "cmpxchg16b")))] +#[cfg_attr( + not(target_feature = "sse"), + cfg(not(any(target_feature = "cmpxchg16b", portable_atomic_target_feature = "cmpxchg16b"))) +)] #[path = "detect/x86_64.rs"] mod detect; diff --git a/src/imp/fallback/mod.rs b/src/imp/fallback/mod.rs index ce820bd0..616c720d 100644 --- a/src/imp/fallback/mod.rs +++ b/src/imp/fallback/mod.rs @@ -37,6 +37,7 @@ ), target_os = "android", target_os = "freebsd", + all(target_os = "openbsd", portable_atomic_outline_atomics), ), not(any(miri, portable_atomic_sanitize_thread)), ), diff --git a/src/imp/mod.rs b/src/imp/mod.rs index 4e771595..0538264d 100644 --- a/src/imp/mod.rs +++ b/src/imp/mod.rs @@ -89,6 +89,7 @@ mod x86_64; ), target_os = "android", target_os = "freebsd", + all(target_os = "openbsd", portable_atomic_outline_atomics), ), not(any(miri, portable_atomic_sanitize_thread)), ), @@ -368,6 +369,7 @@ items! { ), target_os = "android", target_os = "freebsd", + all(target_os = "openbsd", portable_atomic_outline_atomics), ), not(any(miri, portable_atomic_sanitize_thread)), ), @@ -441,6 +443,7 @@ pub(crate) use self::x86_64::{AtomicI128, AtomicU128}; ), target_os = "android", target_os = "freebsd", + all(target_os = "openbsd", portable_atomic_outline_atomics), ), not(any(miri, portable_atomic_sanitize_thread)), ), diff --git a/src/imp/riscv.rs b/src/imp/riscv.rs index 1a60fe50..6e37584c 100644 --- a/src/imp/riscv.rs +++ b/src/imp/riscv.rs @@ -5,7 +5,7 @@ // This is for RISC-V targets without atomic CAS. (rustc doesn't provide atomics // at all on such targets. https://github.com/rust-lang/rust/pull/114499) // -// Also, optionally provides RMW implementation when force-amo is enabled. +// Also, optionally provides RMW implementation when force-amo or Zaamo target feature is enabled. // // Refs: // - RISC-V Instruction Set Manual Volume I: Unprivileged ISA diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_unistd.rs index a56bbdb2..aa756e7f 100644 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_unistd.rs @@ -3,4 +3,321 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_io_setup: u32 = 0; +pub const __NR_io_destroy: u32 = 1; +pub const __NR_io_submit: u32 = 2; +pub const __NR_io_cancel: u32 = 3; +pub const __NR_io_getevents: u32 = 4; +pub const __NR_setxattr: u32 = 5; +pub const __NR_lsetxattr: u32 = 6; +pub const __NR_fsetxattr: u32 = 7; +pub const __NR_getxattr: u32 = 8; +pub const __NR_lgetxattr: u32 = 9; +pub const __NR_fgetxattr: u32 = 10; +pub const __NR_listxattr: u32 = 11; +pub const __NR_llistxattr: u32 = 12; +pub const __NR_flistxattr: u32 = 13; +pub const __NR_removexattr: u32 = 14; +pub const __NR_lremovexattr: u32 = 15; +pub const __NR_fremovexattr: u32 = 16; +pub const __NR_getcwd: u32 = 17; +pub const __NR_lookup_dcookie: u32 = 18; +pub const __NR_eventfd2: u32 = 19; +pub const __NR_epoll_create1: u32 = 20; +pub const __NR_epoll_ctl: u32 = 21; +pub const __NR_epoll_pwait: u32 = 22; +pub const __NR_dup: u32 = 23; +pub const __NR_dup3: u32 = 24; +pub const __NR_fcntl: u32 = 25; +pub const __NR_inotify_init1: u32 = 26; +pub const __NR_inotify_add_watch: u32 = 27; +pub const __NR_inotify_rm_watch: u32 = 28; +pub const __NR_ioctl: u32 = 29; +pub const __NR_ioprio_set: u32 = 30; +pub const __NR_ioprio_get: u32 = 31; +pub const __NR_flock: u32 = 32; +pub const __NR_mknodat: u32 = 33; +pub const __NR_mkdirat: u32 = 34; +pub const __NR_unlinkat: u32 = 35; +pub const __NR_symlinkat: u32 = 36; +pub const __NR_linkat: u32 = 37; +pub const __NR_renameat: u32 = 38; +pub const __NR_umount2: u32 = 39; +pub const __NR_mount: u32 = 40; +pub const __NR_pivot_root: u32 = 41; +pub const __NR_nfsservctl: u32 = 42; +pub const __NR_statfs: u32 = 43; +pub const __NR_fstatfs: u32 = 44; +pub const __NR_truncate: u32 = 45; +pub const __NR_ftruncate: u32 = 46; +pub const __NR_fallocate: u32 = 47; +pub const __NR_faccessat: u32 = 48; +pub const __NR_chdir: u32 = 49; +pub const __NR_fchdir: u32 = 50; +pub const __NR_chroot: u32 = 51; +pub const __NR_fchmod: u32 = 52; +pub const __NR_fchmodat: u32 = 53; +pub const __NR_fchownat: u32 = 54; +pub const __NR_fchown: u32 = 55; +pub const __NR_openat: u32 = 56; +pub const __NR_close: u32 = 57; +pub const __NR_vhangup: u32 = 58; +pub const __NR_pipe2: u32 = 59; +pub const __NR_quotactl: u32 = 60; +pub const __NR_getdents64: u32 = 61; +pub const __NR_lseek: u32 = 62; +pub const __NR_read: u32 = 63; +pub const __NR_write: u32 = 64; +pub const __NR_readv: u32 = 65; +pub const __NR_writev: u32 = 66; +pub const __NR_pread64: u32 = 67; +pub const __NR_pwrite64: u32 = 68; +pub const __NR_preadv: u32 = 69; +pub const __NR_pwritev: u32 = 70; +pub const __NR_sendfile: u32 = 71; +pub const __NR_pselect6: u32 = 72; +pub const __NR_ppoll: u32 = 73; +pub const __NR_signalfd4: u32 = 74; +pub const __NR_vmsplice: u32 = 75; +pub const __NR_splice: u32 = 76; +pub const __NR_tee: u32 = 77; +pub const __NR_readlinkat: u32 = 78; +pub const __NR_newfstatat: u32 = 79; +pub const __NR_fstat: u32 = 80; +pub const __NR_sync: u32 = 81; +pub const __NR_fsync: u32 = 82; +pub const __NR_fdatasync: u32 = 83; +pub const __NR_sync_file_range: u32 = 84; +pub const __NR_timerfd_create: u32 = 85; +pub const __NR_timerfd_settime: u32 = 86; +pub const __NR_timerfd_gettime: u32 = 87; +pub const __NR_utimensat: u32 = 88; +pub const __NR_acct: u32 = 89; +pub const __NR_capget: u32 = 90; +pub const __NR_capset: u32 = 91; +pub const __NR_personality: u32 = 92; +pub const __NR_exit: u32 = 93; +pub const __NR_exit_group: u32 = 94; +pub const __NR_waitid: u32 = 95; +pub const __NR_set_tid_address: u32 = 96; +pub const __NR_unshare: u32 = 97; +pub const __NR_futex: u32 = 98; +pub const __NR_set_robust_list: u32 = 99; +pub const __NR_get_robust_list: u32 = 100; +pub const __NR_nanosleep: u32 = 101; +pub const __NR_getitimer: u32 = 102; +pub const __NR_setitimer: u32 = 103; +pub const __NR_kexec_load: u32 = 104; +pub const __NR_init_module: u32 = 105; +pub const __NR_delete_module: u32 = 106; +pub const __NR_timer_create: u32 = 107; +pub const __NR_timer_gettime: u32 = 108; +pub const __NR_timer_getoverrun: u32 = 109; +pub const __NR_timer_settime: u32 = 110; +pub const __NR_timer_delete: u32 = 111; +pub const __NR_clock_settime: u32 = 112; +pub const __NR_clock_gettime: u32 = 113; +pub const __NR_clock_getres: u32 = 114; +pub const __NR_clock_nanosleep: u32 = 115; +pub const __NR_syslog: u32 = 116; +pub const __NR_ptrace: u32 = 117; +pub const __NR_sched_setparam: u32 = 118; +pub const __NR_sched_setscheduler: u32 = 119; +pub const __NR_sched_getscheduler: u32 = 120; +pub const __NR_sched_getparam: u32 = 121; +pub const __NR_sched_setaffinity: u32 = 122; +pub const __NR_sched_getaffinity: u32 = 123; +pub const __NR_sched_yield: u32 = 124; +pub const __NR_sched_get_priority_max: u32 = 125; +pub const __NR_sched_get_priority_min: u32 = 126; +pub const __NR_sched_rr_get_interval: u32 = 127; +pub const __NR_restart_syscall: u32 = 128; +pub const __NR_kill: u32 = 129; +pub const __NR_tkill: u32 = 130; +pub const __NR_tgkill: u32 = 131; +pub const __NR_sigaltstack: u32 = 132; +pub const __NR_rt_sigsuspend: u32 = 133; +pub const __NR_rt_sigaction: u32 = 134; +pub const __NR_rt_sigprocmask: u32 = 135; +pub const __NR_rt_sigpending: u32 = 136; +pub const __NR_rt_sigtimedwait: u32 = 137; +pub const __NR_rt_sigqueueinfo: u32 = 138; +pub const __NR_rt_sigreturn: u32 = 139; +pub const __NR_setpriority: u32 = 140; +pub const __NR_getpriority: u32 = 141; +pub const __NR_reboot: u32 = 142; +pub const __NR_setregid: u32 = 143; +pub const __NR_setgid: u32 = 144; +pub const __NR_setreuid: u32 = 145; +pub const __NR_setuid: u32 = 146; +pub const __NR_setresuid: u32 = 147; +pub const __NR_getresuid: u32 = 148; +pub const __NR_setresgid: u32 = 149; +pub const __NR_getresgid: u32 = 150; +pub const __NR_setfsuid: u32 = 151; +pub const __NR_setfsgid: u32 = 152; +pub const __NR_times: u32 = 153; +pub const __NR_setpgid: u32 = 154; +pub const __NR_getpgid: u32 = 155; +pub const __NR_getsid: u32 = 156; +pub const __NR_setsid: u32 = 157; +pub const __NR_getgroups: u32 = 158; +pub const __NR_setgroups: u32 = 159; +pub const __NR_uname: u32 = 160; +pub const __NR_sethostname: u32 = 161; +pub const __NR_setdomainname: u32 = 162; +pub const __NR_getrlimit: u32 = 163; +pub const __NR_setrlimit: u32 = 164; +pub const __NR_getrusage: u32 = 165; +pub const __NR_umask: u32 = 166; pub const __NR_prctl: u32 = 167; +pub const __NR_getcpu: u32 = 168; +pub const __NR_gettimeofday: u32 = 169; +pub const __NR_settimeofday: u32 = 170; +pub const __NR_adjtimex: u32 = 171; +pub const __NR_getpid: u32 = 172; +pub const __NR_getppid: u32 = 173; +pub const __NR_getuid: u32 = 174; +pub const __NR_geteuid: u32 = 175; +pub const __NR_getgid: u32 = 176; +pub const __NR_getegid: u32 = 177; +pub const __NR_gettid: u32 = 178; +pub const __NR_sysinfo: u32 = 179; +pub const __NR_mq_open: u32 = 180; +pub const __NR_mq_unlink: u32 = 181; +pub const __NR_mq_timedsend: u32 = 182; +pub const __NR_mq_timedreceive: u32 = 183; +pub const __NR_mq_notify: u32 = 184; +pub const __NR_mq_getsetattr: u32 = 185; +pub const __NR_msgget: u32 = 186; +pub const __NR_msgctl: u32 = 187; +pub const __NR_msgrcv: u32 = 188; +pub const __NR_msgsnd: u32 = 189; +pub const __NR_semget: u32 = 190; +pub const __NR_semctl: u32 = 191; +pub const __NR_semtimedop: u32 = 192; +pub const __NR_semop: u32 = 193; +pub const __NR_shmget: u32 = 194; +pub const __NR_shmctl: u32 = 195; +pub const __NR_shmat: u32 = 196; +pub const __NR_shmdt: u32 = 197; +pub const __NR_socket: u32 = 198; +pub const __NR_socketpair: u32 = 199; +pub const __NR_bind: u32 = 200; +pub const __NR_listen: u32 = 201; +pub const __NR_accept: u32 = 202; +pub const __NR_connect: u32 = 203; +pub const __NR_getsockname: u32 = 204; +pub const __NR_getpeername: u32 = 205; +pub const __NR_sendto: u32 = 206; +pub const __NR_recvfrom: u32 = 207; +pub const __NR_setsockopt: u32 = 208; +pub const __NR_getsockopt: u32 = 209; +pub const __NR_shutdown: u32 = 210; +pub const __NR_sendmsg: u32 = 211; +pub const __NR_recvmsg: u32 = 212; +pub const __NR_readahead: u32 = 213; +pub const __NR_brk: u32 = 214; +pub const __NR_munmap: u32 = 215; +pub const __NR_mremap: u32 = 216; +pub const __NR_add_key: u32 = 217; +pub const __NR_request_key: u32 = 218; +pub const __NR_keyctl: u32 = 219; +pub const __NR_clone: u32 = 220; +pub const __NR_execve: u32 = 221; +pub const __NR_mmap: u32 = 222; +pub const __NR_fadvise64: u32 = 223; +pub const __NR_swapon: u32 = 224; +pub const __NR_swapoff: u32 = 225; +pub const __NR_mprotect: u32 = 226; +pub const __NR_msync: u32 = 227; +pub const __NR_mlock: u32 = 228; +pub const __NR_munlock: u32 = 229; +pub const __NR_mlockall: u32 = 230; +pub const __NR_munlockall: u32 = 231; +pub const __NR_mincore: u32 = 232; +pub const __NR_madvise: u32 = 233; +pub const __NR_remap_file_pages: u32 = 234; +pub const __NR_mbind: u32 = 235; +pub const __NR_get_mempolicy: u32 = 236; +pub const __NR_set_mempolicy: u32 = 237; +pub const __NR_migrate_pages: u32 = 238; +pub const __NR_move_pages: u32 = 239; +pub const __NR_rt_tgsigqueueinfo: u32 = 240; +pub const __NR_perf_event_open: u32 = 241; +pub const __NR_accept4: u32 = 242; +pub const __NR_recvmmsg: u32 = 243; +pub const __NR_wait4: u32 = 260; +pub const __NR_prlimit64: u32 = 261; +pub const __NR_fanotify_init: u32 = 262; +pub const __NR_fanotify_mark: u32 = 263; +pub const __NR_name_to_handle_at: u32 = 264; +pub const __NR_open_by_handle_at: u32 = 265; +pub const __NR_clock_adjtime: u32 = 266; +pub const __NR_syncfs: u32 = 267; +pub const __NR_setns: u32 = 268; +pub const __NR_sendmmsg: u32 = 269; +pub const __NR_process_vm_readv: u32 = 270; +pub const __NR_process_vm_writev: u32 = 271; +pub const __NR_kcmp: u32 = 272; +pub const __NR_finit_module: u32 = 273; +pub const __NR_sched_setattr: u32 = 274; +pub const __NR_sched_getattr: u32 = 275; +pub const __NR_renameat2: u32 = 276; +pub const __NR_seccomp: u32 = 277; +pub const __NR_getrandom: u32 = 278; +pub const __NR_memfd_create: u32 = 279; +pub const __NR_bpf: u32 = 280; +pub const __NR_execveat: u32 = 281; +pub const __NR_userfaultfd: u32 = 282; +pub const __NR_membarrier: u32 = 283; +pub const __NR_mlock2: u32 = 284; +pub const __NR_copy_file_range: u32 = 285; +pub const __NR_preadv2: u32 = 286; +pub const __NR_pwritev2: u32 = 287; +pub const __NR_pkey_mprotect: u32 = 288; +pub const __NR_pkey_alloc: u32 = 289; +pub const __NR_pkey_free: u32 = 290; +pub const __NR_statx: u32 = 291; +pub const __NR_io_pgetevents: u32 = 292; +pub const __NR_rseq: u32 = 293; +pub const __NR_kexec_file_load: u32 = 294; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_memfd_secret: u32 = 447; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/mod.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/mod.rs index bf0efa23..a571d602 100644 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/mod.rs @@ -12,7 +12,324 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR_sync_file_range; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_umask; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semop; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_memfd_secret; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_hwcap; pub use linux_headers_asm_hwcap::HWCAP_FP; pub use linux_headers_asm_hwcap::HWCAP_ASIMD; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_unistd.rs index a56bbdb2..aa756e7f 100644 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_unistd.rs @@ -3,4 +3,321 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_io_setup: u32 = 0; +pub const __NR_io_destroy: u32 = 1; +pub const __NR_io_submit: u32 = 2; +pub const __NR_io_cancel: u32 = 3; +pub const __NR_io_getevents: u32 = 4; +pub const __NR_setxattr: u32 = 5; +pub const __NR_lsetxattr: u32 = 6; +pub const __NR_fsetxattr: u32 = 7; +pub const __NR_getxattr: u32 = 8; +pub const __NR_lgetxattr: u32 = 9; +pub const __NR_fgetxattr: u32 = 10; +pub const __NR_listxattr: u32 = 11; +pub const __NR_llistxattr: u32 = 12; +pub const __NR_flistxattr: u32 = 13; +pub const __NR_removexattr: u32 = 14; +pub const __NR_lremovexattr: u32 = 15; +pub const __NR_fremovexattr: u32 = 16; +pub const __NR_getcwd: u32 = 17; +pub const __NR_lookup_dcookie: u32 = 18; +pub const __NR_eventfd2: u32 = 19; +pub const __NR_epoll_create1: u32 = 20; +pub const __NR_epoll_ctl: u32 = 21; +pub const __NR_epoll_pwait: u32 = 22; +pub const __NR_dup: u32 = 23; +pub const __NR_dup3: u32 = 24; +pub const __NR_fcntl: u32 = 25; +pub const __NR_inotify_init1: u32 = 26; +pub const __NR_inotify_add_watch: u32 = 27; +pub const __NR_inotify_rm_watch: u32 = 28; +pub const __NR_ioctl: u32 = 29; +pub const __NR_ioprio_set: u32 = 30; +pub const __NR_ioprio_get: u32 = 31; +pub const __NR_flock: u32 = 32; +pub const __NR_mknodat: u32 = 33; +pub const __NR_mkdirat: u32 = 34; +pub const __NR_unlinkat: u32 = 35; +pub const __NR_symlinkat: u32 = 36; +pub const __NR_linkat: u32 = 37; +pub const __NR_renameat: u32 = 38; +pub const __NR_umount2: u32 = 39; +pub const __NR_mount: u32 = 40; +pub const __NR_pivot_root: u32 = 41; +pub const __NR_nfsservctl: u32 = 42; +pub const __NR_statfs: u32 = 43; +pub const __NR_fstatfs: u32 = 44; +pub const __NR_truncate: u32 = 45; +pub const __NR_ftruncate: u32 = 46; +pub const __NR_fallocate: u32 = 47; +pub const __NR_faccessat: u32 = 48; +pub const __NR_chdir: u32 = 49; +pub const __NR_fchdir: u32 = 50; +pub const __NR_chroot: u32 = 51; +pub const __NR_fchmod: u32 = 52; +pub const __NR_fchmodat: u32 = 53; +pub const __NR_fchownat: u32 = 54; +pub const __NR_fchown: u32 = 55; +pub const __NR_openat: u32 = 56; +pub const __NR_close: u32 = 57; +pub const __NR_vhangup: u32 = 58; +pub const __NR_pipe2: u32 = 59; +pub const __NR_quotactl: u32 = 60; +pub const __NR_getdents64: u32 = 61; +pub const __NR_lseek: u32 = 62; +pub const __NR_read: u32 = 63; +pub const __NR_write: u32 = 64; +pub const __NR_readv: u32 = 65; +pub const __NR_writev: u32 = 66; +pub const __NR_pread64: u32 = 67; +pub const __NR_pwrite64: u32 = 68; +pub const __NR_preadv: u32 = 69; +pub const __NR_pwritev: u32 = 70; +pub const __NR_sendfile: u32 = 71; +pub const __NR_pselect6: u32 = 72; +pub const __NR_ppoll: u32 = 73; +pub const __NR_signalfd4: u32 = 74; +pub const __NR_vmsplice: u32 = 75; +pub const __NR_splice: u32 = 76; +pub const __NR_tee: u32 = 77; +pub const __NR_readlinkat: u32 = 78; +pub const __NR_newfstatat: u32 = 79; +pub const __NR_fstat: u32 = 80; +pub const __NR_sync: u32 = 81; +pub const __NR_fsync: u32 = 82; +pub const __NR_fdatasync: u32 = 83; +pub const __NR_sync_file_range: u32 = 84; +pub const __NR_timerfd_create: u32 = 85; +pub const __NR_timerfd_settime: u32 = 86; +pub const __NR_timerfd_gettime: u32 = 87; +pub const __NR_utimensat: u32 = 88; +pub const __NR_acct: u32 = 89; +pub const __NR_capget: u32 = 90; +pub const __NR_capset: u32 = 91; +pub const __NR_personality: u32 = 92; +pub const __NR_exit: u32 = 93; +pub const __NR_exit_group: u32 = 94; +pub const __NR_waitid: u32 = 95; +pub const __NR_set_tid_address: u32 = 96; +pub const __NR_unshare: u32 = 97; +pub const __NR_futex: u32 = 98; +pub const __NR_set_robust_list: u32 = 99; +pub const __NR_get_robust_list: u32 = 100; +pub const __NR_nanosleep: u32 = 101; +pub const __NR_getitimer: u32 = 102; +pub const __NR_setitimer: u32 = 103; +pub const __NR_kexec_load: u32 = 104; +pub const __NR_init_module: u32 = 105; +pub const __NR_delete_module: u32 = 106; +pub const __NR_timer_create: u32 = 107; +pub const __NR_timer_gettime: u32 = 108; +pub const __NR_timer_getoverrun: u32 = 109; +pub const __NR_timer_settime: u32 = 110; +pub const __NR_timer_delete: u32 = 111; +pub const __NR_clock_settime: u32 = 112; +pub const __NR_clock_gettime: u32 = 113; +pub const __NR_clock_getres: u32 = 114; +pub const __NR_clock_nanosleep: u32 = 115; +pub const __NR_syslog: u32 = 116; +pub const __NR_ptrace: u32 = 117; +pub const __NR_sched_setparam: u32 = 118; +pub const __NR_sched_setscheduler: u32 = 119; +pub const __NR_sched_getscheduler: u32 = 120; +pub const __NR_sched_getparam: u32 = 121; +pub const __NR_sched_setaffinity: u32 = 122; +pub const __NR_sched_getaffinity: u32 = 123; +pub const __NR_sched_yield: u32 = 124; +pub const __NR_sched_get_priority_max: u32 = 125; +pub const __NR_sched_get_priority_min: u32 = 126; +pub const __NR_sched_rr_get_interval: u32 = 127; +pub const __NR_restart_syscall: u32 = 128; +pub const __NR_kill: u32 = 129; +pub const __NR_tkill: u32 = 130; +pub const __NR_tgkill: u32 = 131; +pub const __NR_sigaltstack: u32 = 132; +pub const __NR_rt_sigsuspend: u32 = 133; +pub const __NR_rt_sigaction: u32 = 134; +pub const __NR_rt_sigprocmask: u32 = 135; +pub const __NR_rt_sigpending: u32 = 136; +pub const __NR_rt_sigtimedwait: u32 = 137; +pub const __NR_rt_sigqueueinfo: u32 = 138; +pub const __NR_rt_sigreturn: u32 = 139; +pub const __NR_setpriority: u32 = 140; +pub const __NR_getpriority: u32 = 141; +pub const __NR_reboot: u32 = 142; +pub const __NR_setregid: u32 = 143; +pub const __NR_setgid: u32 = 144; +pub const __NR_setreuid: u32 = 145; +pub const __NR_setuid: u32 = 146; +pub const __NR_setresuid: u32 = 147; +pub const __NR_getresuid: u32 = 148; +pub const __NR_setresgid: u32 = 149; +pub const __NR_getresgid: u32 = 150; +pub const __NR_setfsuid: u32 = 151; +pub const __NR_setfsgid: u32 = 152; +pub const __NR_times: u32 = 153; +pub const __NR_setpgid: u32 = 154; +pub const __NR_getpgid: u32 = 155; +pub const __NR_getsid: u32 = 156; +pub const __NR_setsid: u32 = 157; +pub const __NR_getgroups: u32 = 158; +pub const __NR_setgroups: u32 = 159; +pub const __NR_uname: u32 = 160; +pub const __NR_sethostname: u32 = 161; +pub const __NR_setdomainname: u32 = 162; +pub const __NR_getrlimit: u32 = 163; +pub const __NR_setrlimit: u32 = 164; +pub const __NR_getrusage: u32 = 165; +pub const __NR_umask: u32 = 166; pub const __NR_prctl: u32 = 167; +pub const __NR_getcpu: u32 = 168; +pub const __NR_gettimeofday: u32 = 169; +pub const __NR_settimeofday: u32 = 170; +pub const __NR_adjtimex: u32 = 171; +pub const __NR_getpid: u32 = 172; +pub const __NR_getppid: u32 = 173; +pub const __NR_getuid: u32 = 174; +pub const __NR_geteuid: u32 = 175; +pub const __NR_getgid: u32 = 176; +pub const __NR_getegid: u32 = 177; +pub const __NR_gettid: u32 = 178; +pub const __NR_sysinfo: u32 = 179; +pub const __NR_mq_open: u32 = 180; +pub const __NR_mq_unlink: u32 = 181; +pub const __NR_mq_timedsend: u32 = 182; +pub const __NR_mq_timedreceive: u32 = 183; +pub const __NR_mq_notify: u32 = 184; +pub const __NR_mq_getsetattr: u32 = 185; +pub const __NR_msgget: u32 = 186; +pub const __NR_msgctl: u32 = 187; +pub const __NR_msgrcv: u32 = 188; +pub const __NR_msgsnd: u32 = 189; +pub const __NR_semget: u32 = 190; +pub const __NR_semctl: u32 = 191; +pub const __NR_semtimedop: u32 = 192; +pub const __NR_semop: u32 = 193; +pub const __NR_shmget: u32 = 194; +pub const __NR_shmctl: u32 = 195; +pub const __NR_shmat: u32 = 196; +pub const __NR_shmdt: u32 = 197; +pub const __NR_socket: u32 = 198; +pub const __NR_socketpair: u32 = 199; +pub const __NR_bind: u32 = 200; +pub const __NR_listen: u32 = 201; +pub const __NR_accept: u32 = 202; +pub const __NR_connect: u32 = 203; +pub const __NR_getsockname: u32 = 204; +pub const __NR_getpeername: u32 = 205; +pub const __NR_sendto: u32 = 206; +pub const __NR_recvfrom: u32 = 207; +pub const __NR_setsockopt: u32 = 208; +pub const __NR_getsockopt: u32 = 209; +pub const __NR_shutdown: u32 = 210; +pub const __NR_sendmsg: u32 = 211; +pub const __NR_recvmsg: u32 = 212; +pub const __NR_readahead: u32 = 213; +pub const __NR_brk: u32 = 214; +pub const __NR_munmap: u32 = 215; +pub const __NR_mremap: u32 = 216; +pub const __NR_add_key: u32 = 217; +pub const __NR_request_key: u32 = 218; +pub const __NR_keyctl: u32 = 219; +pub const __NR_clone: u32 = 220; +pub const __NR_execve: u32 = 221; +pub const __NR_mmap: u32 = 222; +pub const __NR_fadvise64: u32 = 223; +pub const __NR_swapon: u32 = 224; +pub const __NR_swapoff: u32 = 225; +pub const __NR_mprotect: u32 = 226; +pub const __NR_msync: u32 = 227; +pub const __NR_mlock: u32 = 228; +pub const __NR_munlock: u32 = 229; +pub const __NR_mlockall: u32 = 230; +pub const __NR_munlockall: u32 = 231; +pub const __NR_mincore: u32 = 232; +pub const __NR_madvise: u32 = 233; +pub const __NR_remap_file_pages: u32 = 234; +pub const __NR_mbind: u32 = 235; +pub const __NR_get_mempolicy: u32 = 236; +pub const __NR_set_mempolicy: u32 = 237; +pub const __NR_migrate_pages: u32 = 238; +pub const __NR_move_pages: u32 = 239; +pub const __NR_rt_tgsigqueueinfo: u32 = 240; +pub const __NR_perf_event_open: u32 = 241; +pub const __NR_accept4: u32 = 242; +pub const __NR_recvmmsg: u32 = 243; +pub const __NR_wait4: u32 = 260; +pub const __NR_prlimit64: u32 = 261; +pub const __NR_fanotify_init: u32 = 262; +pub const __NR_fanotify_mark: u32 = 263; +pub const __NR_name_to_handle_at: u32 = 264; +pub const __NR_open_by_handle_at: u32 = 265; +pub const __NR_clock_adjtime: u32 = 266; +pub const __NR_syncfs: u32 = 267; +pub const __NR_setns: u32 = 268; +pub const __NR_sendmmsg: u32 = 269; +pub const __NR_process_vm_readv: u32 = 270; +pub const __NR_process_vm_writev: u32 = 271; +pub const __NR_kcmp: u32 = 272; +pub const __NR_finit_module: u32 = 273; +pub const __NR_sched_setattr: u32 = 274; +pub const __NR_sched_getattr: u32 = 275; +pub const __NR_renameat2: u32 = 276; +pub const __NR_seccomp: u32 = 277; +pub const __NR_getrandom: u32 = 278; +pub const __NR_memfd_create: u32 = 279; +pub const __NR_bpf: u32 = 280; +pub const __NR_execveat: u32 = 281; +pub const __NR_userfaultfd: u32 = 282; +pub const __NR_membarrier: u32 = 283; +pub const __NR_mlock2: u32 = 284; +pub const __NR_copy_file_range: u32 = 285; +pub const __NR_preadv2: u32 = 286; +pub const __NR_pwritev2: u32 = 287; +pub const __NR_pkey_mprotect: u32 = 288; +pub const __NR_pkey_alloc: u32 = 289; +pub const __NR_pkey_free: u32 = 290; +pub const __NR_statx: u32 = 291; +pub const __NR_io_pgetevents: u32 = 292; +pub const __NR_rseq: u32 = 293; +pub const __NR_kexec_file_load: u32 = 294; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_memfd_secret: u32 = 447; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/mod.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/mod.rs index bf0efa23..a571d602 100644 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/mod.rs @@ -12,7 +12,324 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR_sync_file_range; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_umask; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semop; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_memfd_secret; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_hwcap; pub use linux_headers_asm_hwcap::HWCAP_FP; pub use linux_headers_asm_hwcap::HWCAP_ASIMD; diff --git a/tests/helper/src/gen/sys/aarch64_be_netbsd/mod.rs b/tests/helper/src/gen/sys/aarch64_be_netbsd/mod.rs index 2c47c77c..02232ce2 100644 --- a/tests/helper/src/gen/sys/aarch64_be_netbsd/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_be_netbsd/mod.rs @@ -11,7 +11,464 @@ pub use sys_sysctl::sysctl; pub use sys_sysctl::sysctlbyname; pub use sys_sysctl::sysctlnode; mod sys_syscall; +pub use sys_syscall::SYS_MAXSYSARGS; +pub use sys_syscall::SYS_syscall; +pub use sys_syscall::SYS_exit; +pub use sys_syscall::SYS_fork; +pub use sys_syscall::SYS_read; +pub use sys_syscall::SYS_write; +pub use sys_syscall::SYS_open; +pub use sys_syscall::SYS_close; +pub use sys_syscall::SYS_compat_50_wait4; +pub use sys_syscall::SYS_compat_43_ocreat; +pub use sys_syscall::SYS_link; +pub use sys_syscall::SYS_unlink; +pub use sys_syscall::SYS_chdir; +pub use sys_syscall::SYS_fchdir; +pub use sys_syscall::SYS_compat_50_mknod; +pub use sys_syscall::SYS_chmod; +pub use sys_syscall::SYS_chown; +pub use sys_syscall::SYS_break; +pub use sys_syscall::SYS_compat_20_getfsstat; +pub use sys_syscall::SYS_compat_43_olseek; +pub use sys_syscall::SYS_getpid; +pub use sys_syscall::SYS_compat_40_mount; +pub use sys_syscall::SYS_unmount; +pub use sys_syscall::SYS_setuid; +pub use sys_syscall::SYS_getuid; +pub use sys_syscall::SYS_geteuid; +pub use sys_syscall::SYS_ptrace; +pub use sys_syscall::SYS_recvmsg; +pub use sys_syscall::SYS_sendmsg; +pub use sys_syscall::SYS_recvfrom; +pub use sys_syscall::SYS_accept; +pub use sys_syscall::SYS_getpeername; +pub use sys_syscall::SYS_getsockname; +pub use sys_syscall::SYS_access; +pub use sys_syscall::SYS_chflags; +pub use sys_syscall::SYS_fchflags; +pub use sys_syscall::SYS_sync; +pub use sys_syscall::SYS_kill; +pub use sys_syscall::SYS_compat_43_stat43; +pub use sys_syscall::SYS_getppid; +pub use sys_syscall::SYS_compat_43_lstat43; +pub use sys_syscall::SYS_dup; +pub use sys_syscall::SYS_pipe; +pub use sys_syscall::SYS_getegid; +pub use sys_syscall::SYS_profil; +pub use sys_syscall::SYS_ktrace; +pub use sys_syscall::SYS_compat_13_sigaction13; +pub use sys_syscall::SYS_getgid; +pub use sys_syscall::SYS_compat_13_sigprocmask13; +pub use sys_syscall::SYS___getlogin; +pub use sys_syscall::SYS___setlogin; +pub use sys_syscall::SYS_acct; +pub use sys_syscall::SYS_compat_13_sigpending13; +pub use sys_syscall::SYS_compat_13_sigaltstack13; +pub use sys_syscall::SYS_ioctl; +pub use sys_syscall::SYS_compat_12_oreboot; +pub use sys_syscall::SYS_revoke; +pub use sys_syscall::SYS_symlink; +pub use sys_syscall::SYS_readlink; +pub use sys_syscall::SYS_execve; +pub use sys_syscall::SYS_umask; +pub use sys_syscall::SYS_chroot; +pub use sys_syscall::SYS_compat_43_fstat43; +pub use sys_syscall::SYS_compat_43_ogetkerninfo; +pub use sys_syscall::SYS_compat_43_ogetpagesize; +pub use sys_syscall::SYS_compat_12_msync; +pub use sys_syscall::SYS_vfork; +pub use sys_syscall::SYS_compat_43_ommap; +pub use sys_syscall::SYS_vadvise; +pub use sys_syscall::SYS_munmap; +pub use sys_syscall::SYS_mprotect; +pub use sys_syscall::SYS_madvise; +pub use sys_syscall::SYS_mincore; +pub use sys_syscall::SYS_getgroups; +pub use sys_syscall::SYS_setgroups; +pub use sys_syscall::SYS_getpgrp; +pub use sys_syscall::SYS_setpgid; +pub use sys_syscall::SYS_compat_50_setitimer; +pub use sys_syscall::SYS_compat_43_owait; +pub use sys_syscall::SYS_compat_12_oswapon; +pub use sys_syscall::SYS_compat_50_getitimer; +pub use sys_syscall::SYS_compat_43_ogethostname; +pub use sys_syscall::SYS_compat_43_osethostname; +pub use sys_syscall::SYS_compat_43_ogetdtablesize; +pub use sys_syscall::SYS_dup2; +pub use sys_syscall::SYS_getrandom; +pub use sys_syscall::SYS_fcntl; +pub use sys_syscall::SYS_compat_50_select; +pub use sys_syscall::SYS_fsync; +pub use sys_syscall::SYS_setpriority; +pub use sys_syscall::SYS_compat_30_socket; +pub use sys_syscall::SYS_connect; +pub use sys_syscall::SYS_compat_43_oaccept; +pub use sys_syscall::SYS_getpriority; +pub use sys_syscall::SYS_compat_43_osend; +pub use sys_syscall::SYS_compat_43_orecv; +pub use sys_syscall::SYS_compat_13_sigreturn13; +pub use sys_syscall::SYS_bind; +pub use sys_syscall::SYS_setsockopt; +pub use sys_syscall::SYS_listen; +pub use sys_syscall::SYS_compat_43_osigvec; +pub use sys_syscall::SYS_compat_43_osigblock; +pub use sys_syscall::SYS_compat_43_osigsetmask; +pub use sys_syscall::SYS_compat_13_sigsuspend13; +pub use sys_syscall::SYS_compat_43_osigstack; +pub use sys_syscall::SYS_compat_43_orecvmsg; +pub use sys_syscall::SYS_compat_43_osendmsg; +pub use sys_syscall::SYS_compat_50_gettimeofday; +pub use sys_syscall::SYS_compat_50_getrusage; +pub use sys_syscall::SYS_getsockopt; +pub use sys_syscall::SYS_readv; +pub use sys_syscall::SYS_writev; +pub use sys_syscall::SYS_compat_50_settimeofday; +pub use sys_syscall::SYS_fchown; +pub use sys_syscall::SYS_fchmod; +pub use sys_syscall::SYS_compat_43_orecvfrom; +pub use sys_syscall::SYS_setreuid; +pub use sys_syscall::SYS_setregid; +pub use sys_syscall::SYS_rename; +pub use sys_syscall::SYS_compat_43_otruncate; +pub use sys_syscall::SYS_compat_43_oftruncate; +pub use sys_syscall::SYS_flock; +pub use sys_syscall::SYS_mkfifo; +pub use sys_syscall::SYS_sendto; +pub use sys_syscall::SYS_shutdown; +pub use sys_syscall::SYS_socketpair; +pub use sys_syscall::SYS_mkdir; +pub use sys_syscall::SYS_rmdir; +pub use sys_syscall::SYS_compat_50_utimes; +pub use sys_syscall::SYS_compat_50_adjtime; +pub use sys_syscall::SYS_compat_43_ogetpeername; +pub use sys_syscall::SYS_compat_43_ogethostid; +pub use sys_syscall::SYS_compat_43_osethostid; +pub use sys_syscall::SYS_compat_43_ogetrlimit; +pub use sys_syscall::SYS_compat_43_osetrlimit; +pub use sys_syscall::SYS_compat_43_okillpg; +pub use sys_syscall::SYS_setsid; +pub use sys_syscall::SYS_compat_50_quotactl; +pub use sys_syscall::SYS_compat_43_oquota; +pub use sys_syscall::SYS_compat_43_ogetsockname; +pub use sys_syscall::SYS_nfssvc; +pub use sys_syscall::SYS_compat_43_ogetdirentries; +pub use sys_syscall::SYS_compat_20_statfs; +pub use sys_syscall::SYS_compat_20_fstatfs; +pub use sys_syscall::SYS_compat_30_getfh; +pub use sys_syscall::SYS_compat_09_ogetdomainname; +pub use sys_syscall::SYS_compat_09_osetdomainname; +pub use sys_syscall::SYS_compat_09_ouname; +pub use sys_syscall::SYS_sysarch; +pub use sys_syscall::SYS___futex; +pub use sys_syscall::SYS___futex_set_robust_list; +pub use sys_syscall::SYS___futex_get_robust_list; +pub use sys_syscall::SYS_pread; +pub use sys_syscall::SYS_pwrite; +pub use sys_syscall::SYS_compat_30_ntp_gettime; +pub use sys_syscall::SYS_ntp_adjtime; +pub use sys_syscall::SYS_timerfd_create; +pub use sys_syscall::SYS_timerfd_settime; +pub use sys_syscall::SYS_timerfd_gettime; +pub use sys_syscall::SYS_setgid; +pub use sys_syscall::SYS_setegid; +pub use sys_syscall::SYS_seteuid; +pub use sys_syscall::SYS_lfs_bmapv; +pub use sys_syscall::SYS_lfs_markv; +pub use sys_syscall::SYS_lfs_segclean; +pub use sys_syscall::SYS_compat_50_lfs_segwait; +pub use sys_syscall::SYS_compat_12_stat12; +pub use sys_syscall::SYS_compat_12_fstat12; +pub use sys_syscall::SYS_compat_12_lstat12; +pub use sys_syscall::SYS_pathconf; +pub use sys_syscall::SYS_fpathconf; +pub use sys_syscall::SYS_getsockopt2; +pub use sys_syscall::SYS_getrlimit; +pub use sys_syscall::SYS_setrlimit; +pub use sys_syscall::SYS_compat_12_getdirentries; +pub use sys_syscall::SYS_mmap; +pub use sys_syscall::SYS___syscall; +pub use sys_syscall::SYS_lseek; +pub use sys_syscall::SYS_truncate; +pub use sys_syscall::SYS_ftruncate; pub use sys_syscall::SYS___sysctl; +pub use sys_syscall::SYS_mlock; +pub use sys_syscall::SYS_munlock; +pub use sys_syscall::SYS_undelete; +pub use sys_syscall::SYS_compat_50_futimes; +pub use sys_syscall::SYS_getpgid; +pub use sys_syscall::SYS_reboot; +pub use sys_syscall::SYS_poll; +pub use sys_syscall::SYS_afssys; +pub use sys_syscall::SYS_compat_14___semctl; +pub use sys_syscall::SYS_semget; +pub use sys_syscall::SYS_semop; +pub use sys_syscall::SYS_semconfig; +pub use sys_syscall::SYS_compat_14_msgctl; +pub use sys_syscall::SYS_msgget; +pub use sys_syscall::SYS_msgsnd; +pub use sys_syscall::SYS_msgrcv; +pub use sys_syscall::SYS_shmat; +pub use sys_syscall::SYS_compat_14_shmctl; +pub use sys_syscall::SYS_shmdt; +pub use sys_syscall::SYS_shmget; +pub use sys_syscall::SYS_compat_50_clock_gettime; +pub use sys_syscall::SYS_compat_50_clock_settime; +pub use sys_syscall::SYS_compat_50_clock_getres; +pub use sys_syscall::SYS_timer_create; +pub use sys_syscall::SYS_timer_delete; +pub use sys_syscall::SYS_compat_50_timer_settime; +pub use sys_syscall::SYS_compat_50_timer_gettime; +pub use sys_syscall::SYS_timer_getoverrun; +pub use sys_syscall::SYS_compat_50_nanosleep; +pub use sys_syscall::SYS_fdatasync; +pub use sys_syscall::SYS_mlockall; +pub use sys_syscall::SYS_munlockall; +pub use sys_syscall::SYS_compat_50___sigtimedwait; +pub use sys_syscall::SYS_sigqueueinfo; +pub use sys_syscall::SYS_modctl; +pub use sys_syscall::SYS__ksem_init; +pub use sys_syscall::SYS__ksem_open; +pub use sys_syscall::SYS__ksem_unlink; +pub use sys_syscall::SYS__ksem_close; +pub use sys_syscall::SYS__ksem_post; +pub use sys_syscall::SYS__ksem_wait; +pub use sys_syscall::SYS__ksem_trywait; +pub use sys_syscall::SYS__ksem_getvalue; +pub use sys_syscall::SYS__ksem_destroy; +pub use sys_syscall::SYS__ksem_timedwait; +pub use sys_syscall::SYS_mq_open; +pub use sys_syscall::SYS_mq_close; +pub use sys_syscall::SYS_mq_unlink; +pub use sys_syscall::SYS_mq_getattr; +pub use sys_syscall::SYS_mq_setattr; +pub use sys_syscall::SYS_mq_notify; +pub use sys_syscall::SYS_mq_send; +pub use sys_syscall::SYS_mq_receive; +pub use sys_syscall::SYS_compat_50_mq_timedsend; +pub use sys_syscall::SYS_compat_50_mq_timedreceive; +pub use sys_syscall::SYS_eventfd; +pub use sys_syscall::SYS___posix_rename; +pub use sys_syscall::SYS_swapctl; +pub use sys_syscall::SYS_compat_30_getdents; +pub use sys_syscall::SYS_minherit; +pub use sys_syscall::SYS_lchmod; +pub use sys_syscall::SYS_lchown; +pub use sys_syscall::SYS_compat_50_lutimes; +pub use sys_syscall::SYS___msync13; +pub use sys_syscall::SYS_compat_30___stat13; +pub use sys_syscall::SYS_compat_30___fstat13; +pub use sys_syscall::SYS_compat_30___lstat13; +pub use sys_syscall::SYS___sigaltstack14; +pub use sys_syscall::SYS___vfork14; +pub use sys_syscall::SYS___posix_chown; +pub use sys_syscall::SYS___posix_fchown; +pub use sys_syscall::SYS___posix_lchown; +pub use sys_syscall::SYS_getsid; +pub use sys_syscall::SYS___clone; +pub use sys_syscall::SYS_fktrace; +pub use sys_syscall::SYS_preadv; +pub use sys_syscall::SYS_pwritev; +pub use sys_syscall::SYS_compat_16___sigaction14; +pub use sys_syscall::SYS___sigpending14; +pub use sys_syscall::SYS___sigprocmask14; +pub use sys_syscall::SYS___sigsuspend14; +pub use sys_syscall::SYS_compat_16___sigreturn14; +pub use sys_syscall::SYS___getcwd; +pub use sys_syscall::SYS_fchroot; +pub use sys_syscall::SYS_compat_30_fhopen; +pub use sys_syscall::SYS_compat_30_fhstat; +pub use sys_syscall::SYS_compat_20_fhstatfs; +pub use sys_syscall::SYS_compat_50_____semctl13; +pub use sys_syscall::SYS_compat_50___msgctl13; +pub use sys_syscall::SYS_compat_50___shmctl13; +pub use sys_syscall::SYS_lchflags; +pub use sys_syscall::SYS_issetugid; +pub use sys_syscall::SYS_utrace; +pub use sys_syscall::SYS_getcontext; +pub use sys_syscall::SYS_setcontext; +pub use sys_syscall::SYS__lwp_create; +pub use sys_syscall::SYS__lwp_exit; +pub use sys_syscall::SYS__lwp_self; +pub use sys_syscall::SYS__lwp_wait; +pub use sys_syscall::SYS__lwp_suspend; +pub use sys_syscall::SYS__lwp_continue; +pub use sys_syscall::SYS__lwp_wakeup; +pub use sys_syscall::SYS__lwp_getprivate; +pub use sys_syscall::SYS__lwp_setprivate; +pub use sys_syscall::SYS__lwp_kill; +pub use sys_syscall::SYS__lwp_detach; +pub use sys_syscall::SYS_compat_50__lwp_park; +pub use sys_syscall::SYS__lwp_unpark; +pub use sys_syscall::SYS__lwp_unpark_all; +pub use sys_syscall::SYS__lwp_setname; +pub use sys_syscall::SYS__lwp_getname; +pub use sys_syscall::SYS__lwp_ctl; +pub use sys_syscall::SYS_compat_60_sa_register; +pub use sys_syscall::SYS_compat_60_sa_stacks; +pub use sys_syscall::SYS_compat_60_sa_enable; +pub use sys_syscall::SYS_compat_60_sa_setconcurrency; +pub use sys_syscall::SYS_compat_60_sa_yield; +pub use sys_syscall::SYS_compat_60_sa_preempt; +pub use sys_syscall::SYS___sigaction_sigtramp; +pub use sys_syscall::SYS_rasctl; +pub use sys_syscall::SYS_kqueue; +pub use sys_syscall::SYS_compat_50_kevent; +pub use sys_syscall::SYS__sched_setparam; +pub use sys_syscall::SYS__sched_getparam; +pub use sys_syscall::SYS__sched_setaffinity; +pub use sys_syscall::SYS__sched_getaffinity; +pub use sys_syscall::SYS_sched_yield; +pub use sys_syscall::SYS__sched_protect; +pub use sys_syscall::SYS_fsync_range; +pub use sys_syscall::SYS_uuidgen; +pub use sys_syscall::SYS_compat_90_getvfsstat; +pub use sys_syscall::SYS_compat_90_statvfs1; +pub use sys_syscall::SYS_compat_90_fstatvfs1; +pub use sys_syscall::SYS_compat_30_fhstatvfs1; +pub use sys_syscall::SYS_extattrctl; +pub use sys_syscall::SYS_extattr_set_file; +pub use sys_syscall::SYS_extattr_get_file; +pub use sys_syscall::SYS_extattr_delete_file; +pub use sys_syscall::SYS_extattr_set_fd; +pub use sys_syscall::SYS_extattr_get_fd; +pub use sys_syscall::SYS_extattr_delete_fd; +pub use sys_syscall::SYS_extattr_set_link; +pub use sys_syscall::SYS_extattr_get_link; +pub use sys_syscall::SYS_extattr_delete_link; +pub use sys_syscall::SYS_extattr_list_fd; +pub use sys_syscall::SYS_extattr_list_file; +pub use sys_syscall::SYS_extattr_list_link; +pub use sys_syscall::SYS_compat_50_pselect; +pub use sys_syscall::SYS_compat_50_pollts; +pub use sys_syscall::SYS_setxattr; +pub use sys_syscall::SYS_lsetxattr; +pub use sys_syscall::SYS_fsetxattr; +pub use sys_syscall::SYS_getxattr; +pub use sys_syscall::SYS_lgetxattr; +pub use sys_syscall::SYS_fgetxattr; +pub use sys_syscall::SYS_listxattr; +pub use sys_syscall::SYS_llistxattr; +pub use sys_syscall::SYS_flistxattr; +pub use sys_syscall::SYS_removexattr; +pub use sys_syscall::SYS_lremovexattr; +pub use sys_syscall::SYS_fremovexattr; +pub use sys_syscall::SYS_compat_50___stat30; +pub use sys_syscall::SYS_compat_50___fstat30; +pub use sys_syscall::SYS_compat_50___lstat30; +pub use sys_syscall::SYS___getdents30; +pub use sys_syscall::SYS_compat_30___fhstat30; +pub use sys_syscall::SYS_compat_50___ntp_gettime30; +pub use sys_syscall::SYS___socket30; +pub use sys_syscall::SYS___getfh30; +pub use sys_syscall::SYS___fhopen40; +pub use sys_syscall::SYS_compat_90_fhstatvfs1; +pub use sys_syscall::SYS_compat_50___fhstat40; +pub use sys_syscall::SYS_aio_cancel; +pub use sys_syscall::SYS_aio_error; +pub use sys_syscall::SYS_aio_fsync; +pub use sys_syscall::SYS_aio_read; +pub use sys_syscall::SYS_aio_return; +pub use sys_syscall::SYS_compat_50_aio_suspend; +pub use sys_syscall::SYS_aio_write; +pub use sys_syscall::SYS_lio_listio; +pub use sys_syscall::SYS___mount50; +pub use sys_syscall::SYS_mremap; +pub use sys_syscall::SYS_pset_create; +pub use sys_syscall::SYS_pset_destroy; +pub use sys_syscall::SYS_pset_assign; +pub use sys_syscall::SYS__pset_bind; +pub use sys_syscall::SYS___posix_fadvise50; +pub use sys_syscall::SYS___select50; +pub use sys_syscall::SYS___gettimeofday50; +pub use sys_syscall::SYS___settimeofday50; +pub use sys_syscall::SYS___utimes50; +pub use sys_syscall::SYS___adjtime50; +pub use sys_syscall::SYS___lfs_segwait50; +pub use sys_syscall::SYS___futimes50; +pub use sys_syscall::SYS___lutimes50; +pub use sys_syscall::SYS___setitimer50; +pub use sys_syscall::SYS___getitimer50; +pub use sys_syscall::SYS___clock_gettime50; +pub use sys_syscall::SYS___clock_settime50; +pub use sys_syscall::SYS___clock_getres50; +pub use sys_syscall::SYS___nanosleep50; +pub use sys_syscall::SYS_____sigtimedwait50; +pub use sys_syscall::SYS___mq_timedsend50; +pub use sys_syscall::SYS___mq_timedreceive50; +pub use sys_syscall::SYS_compat_60__lwp_park; +pub use sys_syscall::SYS_compat_100___kevent50; +pub use sys_syscall::SYS___pselect50; +pub use sys_syscall::SYS___pollts50; +pub use sys_syscall::SYS___aio_suspend50; +pub use sys_syscall::SYS___stat50; +pub use sys_syscall::SYS___fstat50; +pub use sys_syscall::SYS___lstat50; +pub use sys_syscall::SYS_____semctl50; +pub use sys_syscall::SYS___shmctl50; +pub use sys_syscall::SYS___msgctl50; +pub use sys_syscall::SYS___getrusage50; +pub use sys_syscall::SYS___timer_settime50; +pub use sys_syscall::SYS___timer_gettime50; +pub use sys_syscall::SYS___ntp_gettime50; +pub use sys_syscall::SYS___wait450; +pub use sys_syscall::SYS___mknod50; +pub use sys_syscall::SYS___fhstat50; +pub use sys_syscall::SYS_pipe2; +pub use sys_syscall::SYS_compat_100_dup3; +pub use sys_syscall::SYS_kqueue1; +pub use sys_syscall::SYS_paccept; +pub use sys_syscall::SYS_linkat; +pub use sys_syscall::SYS_renameat; +pub use sys_syscall::SYS_mkfifoat; +pub use sys_syscall::SYS_mknodat; +pub use sys_syscall::SYS_mkdirat; +pub use sys_syscall::SYS_faccessat; +pub use sys_syscall::SYS_fchmodat; +pub use sys_syscall::SYS_fchownat; +pub use sys_syscall::SYS_fexecve; +pub use sys_syscall::SYS_fstatat; +pub use sys_syscall::SYS_utimensat; +pub use sys_syscall::SYS_openat; +pub use sys_syscall::SYS_readlinkat; +pub use sys_syscall::SYS_symlinkat; +pub use sys_syscall::SYS_unlinkat; +pub use sys_syscall::SYS_futimens; +pub use sys_syscall::SYS___quotactl; +pub use sys_syscall::SYS_posix_spawn; +pub use sys_syscall::SYS_recvmmsg; +pub use sys_syscall::SYS_sendmmsg; +pub use sys_syscall::SYS_clock_nanosleep; +pub use sys_syscall::SYS____lwp_park60; +pub use sys_syscall::SYS_posix_fallocate; +pub use sys_syscall::SYS_fdiscard; +pub use sys_syscall::SYS_wait6; +pub use sys_syscall::SYS_clock_getcpuclockid2; +pub use sys_syscall::SYS___getvfsstat90; +pub use sys_syscall::SYS___statvfs190; +pub use sys_syscall::SYS___fstatvfs190; +pub use sys_syscall::SYS___fhstatvfs190; +pub use sys_syscall::SYS___acl_get_link; +pub use sys_syscall::SYS___acl_set_link; +pub use sys_syscall::SYS___acl_delete_link; +pub use sys_syscall::SYS___acl_aclcheck_link; +pub use sys_syscall::SYS___acl_get_file; +pub use sys_syscall::SYS___acl_set_file; +pub use sys_syscall::SYS___acl_get_fd; +pub use sys_syscall::SYS___acl_set_fd; +pub use sys_syscall::SYS___acl_delete_file; +pub use sys_syscall::SYS___acl_delete_fd; +pub use sys_syscall::SYS___acl_aclcheck_file; +pub use sys_syscall::SYS___acl_aclcheck_fd; +pub use sys_syscall::SYS_lpathconf; +pub use sys_syscall::SYS_memfd_create; +pub use sys_syscall::SYS___kevent100; +pub use sys_syscall::SYS_epoll_create1; +pub use sys_syscall::SYS_epoll_ctl; +pub use sys_syscall::SYS_epoll_pwait2; +pub use sys_syscall::SYS___dup3100; +pub use sys_syscall::SYS_MAXSYSCALL; +pub use sys_syscall::SYS_NSYSENT; mod aarch64_armreg; pub use aarch64_armreg::aarch64_sysctl_cpu_id; pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_syscall.rs b/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_syscall.rs index 3964e837..d669c979 100644 --- a/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_syscall.rs +++ b/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_syscall.rs @@ -3,4 +3,461 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const SYS_MAXSYSARGS: u32 = 8; +pub const SYS_syscall: u32 = 0; +pub const SYS_exit: u32 = 1; +pub const SYS_fork: u32 = 2; +pub const SYS_read: u32 = 3; +pub const SYS_write: u32 = 4; +pub const SYS_open: u32 = 5; +pub const SYS_close: u32 = 6; +pub const SYS_compat_50_wait4: u32 = 7; +pub const SYS_compat_43_ocreat: u32 = 8; +pub const SYS_link: u32 = 9; +pub const SYS_unlink: u32 = 10; +pub const SYS_chdir: u32 = 12; +pub const SYS_fchdir: u32 = 13; +pub const SYS_compat_50_mknod: u32 = 14; +pub const SYS_chmod: u32 = 15; +pub const SYS_chown: u32 = 16; +pub const SYS_break: u32 = 17; +pub const SYS_compat_20_getfsstat: u32 = 18; +pub const SYS_compat_43_olseek: u32 = 19; +pub const SYS_getpid: u32 = 20; +pub const SYS_compat_40_mount: u32 = 21; +pub const SYS_unmount: u32 = 22; +pub const SYS_setuid: u32 = 23; +pub const SYS_getuid: u32 = 24; +pub const SYS_geteuid: u32 = 25; +pub const SYS_ptrace: u32 = 26; +pub const SYS_recvmsg: u32 = 27; +pub const SYS_sendmsg: u32 = 28; +pub const SYS_recvfrom: u32 = 29; +pub const SYS_accept: u32 = 30; +pub const SYS_getpeername: u32 = 31; +pub const SYS_getsockname: u32 = 32; +pub const SYS_access: u32 = 33; +pub const SYS_chflags: u32 = 34; +pub const SYS_fchflags: u32 = 35; +pub const SYS_sync: u32 = 36; +pub const SYS_kill: u32 = 37; +pub const SYS_compat_43_stat43: u32 = 38; +pub const SYS_getppid: u32 = 39; +pub const SYS_compat_43_lstat43: u32 = 40; +pub const SYS_dup: u32 = 41; +pub const SYS_pipe: u32 = 42; +pub const SYS_getegid: u32 = 43; +pub const SYS_profil: u32 = 44; +pub const SYS_ktrace: u32 = 45; +pub const SYS_compat_13_sigaction13: u32 = 46; +pub const SYS_getgid: u32 = 47; +pub const SYS_compat_13_sigprocmask13: u32 = 48; +pub const SYS___getlogin: u32 = 49; +pub const SYS___setlogin: u32 = 50; +pub const SYS_acct: u32 = 51; +pub const SYS_compat_13_sigpending13: u32 = 52; +pub const SYS_compat_13_sigaltstack13: u32 = 53; +pub const SYS_ioctl: u32 = 54; +pub const SYS_compat_12_oreboot: u32 = 55; +pub const SYS_revoke: u32 = 56; +pub const SYS_symlink: u32 = 57; +pub const SYS_readlink: u32 = 58; +pub const SYS_execve: u32 = 59; +pub const SYS_umask: u32 = 60; +pub const SYS_chroot: u32 = 61; +pub const SYS_compat_43_fstat43: u32 = 62; +pub const SYS_compat_43_ogetkerninfo: u32 = 63; +pub const SYS_compat_43_ogetpagesize: u32 = 64; +pub const SYS_compat_12_msync: u32 = 65; +pub const SYS_vfork: u32 = 66; +pub const SYS_compat_43_ommap: u32 = 71; +pub const SYS_vadvise: u32 = 72; +pub const SYS_munmap: u32 = 73; +pub const SYS_mprotect: u32 = 74; +pub const SYS_madvise: u32 = 75; +pub const SYS_mincore: u32 = 78; +pub const SYS_getgroups: u32 = 79; +pub const SYS_setgroups: u32 = 80; +pub const SYS_getpgrp: u32 = 81; +pub const SYS_setpgid: u32 = 82; +pub const SYS_compat_50_setitimer: u32 = 83; +pub const SYS_compat_43_owait: u32 = 84; +pub const SYS_compat_12_oswapon: u32 = 85; +pub const SYS_compat_50_getitimer: u32 = 86; +pub const SYS_compat_43_ogethostname: u32 = 87; +pub const SYS_compat_43_osethostname: u32 = 88; +pub const SYS_compat_43_ogetdtablesize: u32 = 89; +pub const SYS_dup2: u32 = 90; +pub const SYS_getrandom: u32 = 91; +pub const SYS_fcntl: u32 = 92; +pub const SYS_compat_50_select: u32 = 93; +pub const SYS_fsync: u32 = 95; +pub const SYS_setpriority: u32 = 96; +pub const SYS_compat_30_socket: u32 = 97; +pub const SYS_connect: u32 = 98; +pub const SYS_compat_43_oaccept: u32 = 99; +pub const SYS_getpriority: u32 = 100; +pub const SYS_compat_43_osend: u32 = 101; +pub const SYS_compat_43_orecv: u32 = 102; +pub const SYS_compat_13_sigreturn13: u32 = 103; +pub const SYS_bind: u32 = 104; +pub const SYS_setsockopt: u32 = 105; +pub const SYS_listen: u32 = 106; +pub const SYS_compat_43_osigvec: u32 = 108; +pub const SYS_compat_43_osigblock: u32 = 109; +pub const SYS_compat_43_osigsetmask: u32 = 110; +pub const SYS_compat_13_sigsuspend13: u32 = 111; +pub const SYS_compat_43_osigstack: u32 = 112; +pub const SYS_compat_43_orecvmsg: u32 = 113; +pub const SYS_compat_43_osendmsg: u32 = 114; +pub const SYS_compat_50_gettimeofday: u32 = 116; +pub const SYS_compat_50_getrusage: u32 = 117; +pub const SYS_getsockopt: u32 = 118; +pub const SYS_readv: u32 = 120; +pub const SYS_writev: u32 = 121; +pub const SYS_compat_50_settimeofday: u32 = 122; +pub const SYS_fchown: u32 = 123; +pub const SYS_fchmod: u32 = 124; +pub const SYS_compat_43_orecvfrom: u32 = 125; +pub const SYS_setreuid: u32 = 126; +pub const SYS_setregid: u32 = 127; +pub const SYS_rename: u32 = 128; +pub const SYS_compat_43_otruncate: u32 = 129; +pub const SYS_compat_43_oftruncate: u32 = 130; +pub const SYS_flock: u32 = 131; +pub const SYS_mkfifo: u32 = 132; +pub const SYS_sendto: u32 = 133; +pub const SYS_shutdown: u32 = 134; +pub const SYS_socketpair: u32 = 135; +pub const SYS_mkdir: u32 = 136; +pub const SYS_rmdir: u32 = 137; +pub const SYS_compat_50_utimes: u32 = 138; +pub const SYS_compat_50_adjtime: u32 = 140; +pub const SYS_compat_43_ogetpeername: u32 = 141; +pub const SYS_compat_43_ogethostid: u32 = 142; +pub const SYS_compat_43_osethostid: u32 = 143; +pub const SYS_compat_43_ogetrlimit: u32 = 144; +pub const SYS_compat_43_osetrlimit: u32 = 145; +pub const SYS_compat_43_okillpg: u32 = 146; +pub const SYS_setsid: u32 = 147; +pub const SYS_compat_50_quotactl: u32 = 148; +pub const SYS_compat_43_oquota: u32 = 149; +pub const SYS_compat_43_ogetsockname: u32 = 150; +pub const SYS_nfssvc: u32 = 155; +pub const SYS_compat_43_ogetdirentries: u32 = 156; +pub const SYS_compat_20_statfs: u32 = 157; +pub const SYS_compat_20_fstatfs: u32 = 158; +pub const SYS_compat_30_getfh: u32 = 161; +pub const SYS_compat_09_ogetdomainname: u32 = 162; +pub const SYS_compat_09_osetdomainname: u32 = 163; +pub const SYS_compat_09_ouname: u32 = 164; +pub const SYS_sysarch: u32 = 165; +pub const SYS___futex: u32 = 166; +pub const SYS___futex_set_robust_list: u32 = 167; +pub const SYS___futex_get_robust_list: u32 = 168; +pub const SYS_pread: u32 = 173; +pub const SYS_pwrite: u32 = 174; +pub const SYS_compat_30_ntp_gettime: u32 = 175; +pub const SYS_ntp_adjtime: u32 = 176; +pub const SYS_timerfd_create: u32 = 177; +pub const SYS_timerfd_settime: u32 = 178; +pub const SYS_timerfd_gettime: u32 = 179; +pub const SYS_setgid: u32 = 181; +pub const SYS_setegid: u32 = 182; +pub const SYS_seteuid: u32 = 183; +pub const SYS_lfs_bmapv: u32 = 184; +pub const SYS_lfs_markv: u32 = 185; +pub const SYS_lfs_segclean: u32 = 186; +pub const SYS_compat_50_lfs_segwait: u32 = 187; +pub const SYS_compat_12_stat12: u32 = 188; +pub const SYS_compat_12_fstat12: u32 = 189; +pub const SYS_compat_12_lstat12: u32 = 190; +pub const SYS_pathconf: u32 = 191; +pub const SYS_fpathconf: u32 = 192; +pub const SYS_getsockopt2: u32 = 193; +pub const SYS_getrlimit: u32 = 194; +pub const SYS_setrlimit: u32 = 195; +pub const SYS_compat_12_getdirentries: u32 = 196; +pub const SYS_mmap: u32 = 197; +pub const SYS___syscall: u32 = 198; +pub const SYS_lseek: u32 = 199; +pub const SYS_truncate: u32 = 200; +pub const SYS_ftruncate: u32 = 201; pub const SYS___sysctl: u32 = 202; +pub const SYS_mlock: u32 = 203; +pub const SYS_munlock: u32 = 204; +pub const SYS_undelete: u32 = 205; +pub const SYS_compat_50_futimes: u32 = 206; +pub const SYS_getpgid: u32 = 207; +pub const SYS_reboot: u32 = 208; +pub const SYS_poll: u32 = 209; +pub const SYS_afssys: u32 = 210; +pub const SYS_compat_14___semctl: u32 = 220; +pub const SYS_semget: u32 = 221; +pub const SYS_semop: u32 = 222; +pub const SYS_semconfig: u32 = 223; +pub const SYS_compat_14_msgctl: u32 = 224; +pub const SYS_msgget: u32 = 225; +pub const SYS_msgsnd: u32 = 226; +pub const SYS_msgrcv: u32 = 227; +pub const SYS_shmat: u32 = 228; +pub const SYS_compat_14_shmctl: u32 = 229; +pub const SYS_shmdt: u32 = 230; +pub const SYS_shmget: u32 = 231; +pub const SYS_compat_50_clock_gettime: u32 = 232; +pub const SYS_compat_50_clock_settime: u32 = 233; +pub const SYS_compat_50_clock_getres: u32 = 234; +pub const SYS_timer_create: u32 = 235; +pub const SYS_timer_delete: u32 = 236; +pub const SYS_compat_50_timer_settime: u32 = 237; +pub const SYS_compat_50_timer_gettime: u32 = 238; +pub const SYS_timer_getoverrun: u32 = 239; +pub const SYS_compat_50_nanosleep: u32 = 240; +pub const SYS_fdatasync: u32 = 241; +pub const SYS_mlockall: u32 = 242; +pub const SYS_munlockall: u32 = 243; +pub const SYS_compat_50___sigtimedwait: u32 = 244; +pub const SYS_sigqueueinfo: u32 = 245; +pub const SYS_modctl: u32 = 246; +pub const SYS__ksem_init: u32 = 247; +pub const SYS__ksem_open: u32 = 248; +pub const SYS__ksem_unlink: u32 = 249; +pub const SYS__ksem_close: u32 = 250; +pub const SYS__ksem_post: u32 = 251; +pub const SYS__ksem_wait: u32 = 252; +pub const SYS__ksem_trywait: u32 = 253; +pub const SYS__ksem_getvalue: u32 = 254; +pub const SYS__ksem_destroy: u32 = 255; +pub const SYS__ksem_timedwait: u32 = 256; +pub const SYS_mq_open: u32 = 257; +pub const SYS_mq_close: u32 = 258; +pub const SYS_mq_unlink: u32 = 259; +pub const SYS_mq_getattr: u32 = 260; +pub const SYS_mq_setattr: u32 = 261; +pub const SYS_mq_notify: u32 = 262; +pub const SYS_mq_send: u32 = 263; +pub const SYS_mq_receive: u32 = 264; +pub const SYS_compat_50_mq_timedsend: u32 = 265; +pub const SYS_compat_50_mq_timedreceive: u32 = 266; +pub const SYS_eventfd: u32 = 267; +pub const SYS___posix_rename: u32 = 270; +pub const SYS_swapctl: u32 = 271; +pub const SYS_compat_30_getdents: u32 = 272; +pub const SYS_minherit: u32 = 273; +pub const SYS_lchmod: u32 = 274; +pub const SYS_lchown: u32 = 275; +pub const SYS_compat_50_lutimes: u32 = 276; +pub const SYS___msync13: u32 = 277; +pub const SYS_compat_30___stat13: u32 = 278; +pub const SYS_compat_30___fstat13: u32 = 279; +pub const SYS_compat_30___lstat13: u32 = 280; +pub const SYS___sigaltstack14: u32 = 281; +pub const SYS___vfork14: u32 = 282; +pub const SYS___posix_chown: u32 = 283; +pub const SYS___posix_fchown: u32 = 284; +pub const SYS___posix_lchown: u32 = 285; +pub const SYS_getsid: u32 = 286; +pub const SYS___clone: u32 = 287; +pub const SYS_fktrace: u32 = 288; +pub const SYS_preadv: u32 = 289; +pub const SYS_pwritev: u32 = 290; +pub const SYS_compat_16___sigaction14: u32 = 291; +pub const SYS___sigpending14: u32 = 292; +pub const SYS___sigprocmask14: u32 = 293; +pub const SYS___sigsuspend14: u32 = 294; +pub const SYS_compat_16___sigreturn14: u32 = 295; +pub const SYS___getcwd: u32 = 296; +pub const SYS_fchroot: u32 = 297; +pub const SYS_compat_30_fhopen: u32 = 298; +pub const SYS_compat_30_fhstat: u32 = 299; +pub const SYS_compat_20_fhstatfs: u32 = 300; +pub const SYS_compat_50_____semctl13: u32 = 301; +pub const SYS_compat_50___msgctl13: u32 = 302; +pub const SYS_compat_50___shmctl13: u32 = 303; +pub const SYS_lchflags: u32 = 304; +pub const SYS_issetugid: u32 = 305; +pub const SYS_utrace: u32 = 306; +pub const SYS_getcontext: u32 = 307; +pub const SYS_setcontext: u32 = 308; +pub const SYS__lwp_create: u32 = 309; +pub const SYS__lwp_exit: u32 = 310; +pub const SYS__lwp_self: u32 = 311; +pub const SYS__lwp_wait: u32 = 312; +pub const SYS__lwp_suspend: u32 = 313; +pub const SYS__lwp_continue: u32 = 314; +pub const SYS__lwp_wakeup: u32 = 315; +pub const SYS__lwp_getprivate: u32 = 316; +pub const SYS__lwp_setprivate: u32 = 317; +pub const SYS__lwp_kill: u32 = 318; +pub const SYS__lwp_detach: u32 = 319; +pub const SYS_compat_50__lwp_park: u32 = 320; +pub const SYS__lwp_unpark: u32 = 321; +pub const SYS__lwp_unpark_all: u32 = 322; +pub const SYS__lwp_setname: u32 = 323; +pub const SYS__lwp_getname: u32 = 324; +pub const SYS__lwp_ctl: u32 = 325; +pub const SYS_compat_60_sa_register: u32 = 330; +pub const SYS_compat_60_sa_stacks: u32 = 331; +pub const SYS_compat_60_sa_enable: u32 = 332; +pub const SYS_compat_60_sa_setconcurrency: u32 = 333; +pub const SYS_compat_60_sa_yield: u32 = 334; +pub const SYS_compat_60_sa_preempt: u32 = 335; +pub const SYS___sigaction_sigtramp: u32 = 340; +pub const SYS_rasctl: u32 = 343; +pub const SYS_kqueue: u32 = 344; +pub const SYS_compat_50_kevent: u32 = 345; +pub const SYS__sched_setparam: u32 = 346; +pub const SYS__sched_getparam: u32 = 347; +pub const SYS__sched_setaffinity: u32 = 348; +pub const SYS__sched_getaffinity: u32 = 349; +pub const SYS_sched_yield: u32 = 350; +pub const SYS__sched_protect: u32 = 351; +pub const SYS_fsync_range: u32 = 354; +pub const SYS_uuidgen: u32 = 355; +pub const SYS_compat_90_getvfsstat: u32 = 356; +pub const SYS_compat_90_statvfs1: u32 = 357; +pub const SYS_compat_90_fstatvfs1: u32 = 358; +pub const SYS_compat_30_fhstatvfs1: u32 = 359; +pub const SYS_extattrctl: u32 = 360; +pub const SYS_extattr_set_file: u32 = 361; +pub const SYS_extattr_get_file: u32 = 362; +pub const SYS_extattr_delete_file: u32 = 363; +pub const SYS_extattr_set_fd: u32 = 364; +pub const SYS_extattr_get_fd: u32 = 365; +pub const SYS_extattr_delete_fd: u32 = 366; +pub const SYS_extattr_set_link: u32 = 367; +pub const SYS_extattr_get_link: u32 = 368; +pub const SYS_extattr_delete_link: u32 = 369; +pub const SYS_extattr_list_fd: u32 = 370; +pub const SYS_extattr_list_file: u32 = 371; +pub const SYS_extattr_list_link: u32 = 372; +pub const SYS_compat_50_pselect: u32 = 373; +pub const SYS_compat_50_pollts: u32 = 374; +pub const SYS_setxattr: u32 = 375; +pub const SYS_lsetxattr: u32 = 376; +pub const SYS_fsetxattr: u32 = 377; +pub const SYS_getxattr: u32 = 378; +pub const SYS_lgetxattr: u32 = 379; +pub const SYS_fgetxattr: u32 = 380; +pub const SYS_listxattr: u32 = 381; +pub const SYS_llistxattr: u32 = 382; +pub const SYS_flistxattr: u32 = 383; +pub const SYS_removexattr: u32 = 384; +pub const SYS_lremovexattr: u32 = 385; +pub const SYS_fremovexattr: u32 = 386; +pub const SYS_compat_50___stat30: u32 = 387; +pub const SYS_compat_50___fstat30: u32 = 388; +pub const SYS_compat_50___lstat30: u32 = 389; +pub const SYS___getdents30: u32 = 390; +pub const SYS_compat_30___fhstat30: u32 = 392; +pub const SYS_compat_50___ntp_gettime30: u32 = 393; +pub const SYS___socket30: u32 = 394; +pub const SYS___getfh30: u32 = 395; +pub const SYS___fhopen40: u32 = 396; +pub const SYS_compat_90_fhstatvfs1: u32 = 397; +pub const SYS_compat_50___fhstat40: u32 = 398; +pub const SYS_aio_cancel: u32 = 399; +pub const SYS_aio_error: u32 = 400; +pub const SYS_aio_fsync: u32 = 401; +pub const SYS_aio_read: u32 = 402; +pub const SYS_aio_return: u32 = 403; +pub const SYS_compat_50_aio_suspend: u32 = 404; +pub const SYS_aio_write: u32 = 405; +pub const SYS_lio_listio: u32 = 406; +pub const SYS___mount50: u32 = 410; +pub const SYS_mremap: u32 = 411; +pub const SYS_pset_create: u32 = 412; +pub const SYS_pset_destroy: u32 = 413; +pub const SYS_pset_assign: u32 = 414; +pub const SYS__pset_bind: u32 = 415; +pub const SYS___posix_fadvise50: u32 = 416; +pub const SYS___select50: u32 = 417; +pub const SYS___gettimeofday50: u32 = 418; +pub const SYS___settimeofday50: u32 = 419; +pub const SYS___utimes50: u32 = 420; +pub const SYS___adjtime50: u32 = 421; +pub const SYS___lfs_segwait50: u32 = 422; +pub const SYS___futimes50: u32 = 423; +pub const SYS___lutimes50: u32 = 424; +pub const SYS___setitimer50: u32 = 425; +pub const SYS___getitimer50: u32 = 426; +pub const SYS___clock_gettime50: u32 = 427; +pub const SYS___clock_settime50: u32 = 428; +pub const SYS___clock_getres50: u32 = 429; +pub const SYS___nanosleep50: u32 = 430; +pub const SYS_____sigtimedwait50: u32 = 431; +pub const SYS___mq_timedsend50: u32 = 432; +pub const SYS___mq_timedreceive50: u32 = 433; +pub const SYS_compat_60__lwp_park: u32 = 434; +pub const SYS_compat_100___kevent50: u32 = 435; +pub const SYS___pselect50: u32 = 436; +pub const SYS___pollts50: u32 = 437; +pub const SYS___aio_suspend50: u32 = 438; +pub const SYS___stat50: u32 = 439; +pub const SYS___fstat50: u32 = 440; +pub const SYS___lstat50: u32 = 441; +pub const SYS_____semctl50: u32 = 442; +pub const SYS___shmctl50: u32 = 443; +pub const SYS___msgctl50: u32 = 444; +pub const SYS___getrusage50: u32 = 445; +pub const SYS___timer_settime50: u32 = 446; +pub const SYS___timer_gettime50: u32 = 447; +pub const SYS___ntp_gettime50: u32 = 448; +pub const SYS___wait450: u32 = 449; +pub const SYS___mknod50: u32 = 450; +pub const SYS___fhstat50: u32 = 451; +pub const SYS_pipe2: u32 = 453; +pub const SYS_compat_100_dup3: u32 = 454; +pub const SYS_kqueue1: u32 = 455; +pub const SYS_paccept: u32 = 456; +pub const SYS_linkat: u32 = 457; +pub const SYS_renameat: u32 = 458; +pub const SYS_mkfifoat: u32 = 459; +pub const SYS_mknodat: u32 = 460; +pub const SYS_mkdirat: u32 = 461; +pub const SYS_faccessat: u32 = 462; +pub const SYS_fchmodat: u32 = 463; +pub const SYS_fchownat: u32 = 464; +pub const SYS_fexecve: u32 = 465; +pub const SYS_fstatat: u32 = 466; +pub const SYS_utimensat: u32 = 467; +pub const SYS_openat: u32 = 468; +pub const SYS_readlinkat: u32 = 469; +pub const SYS_symlinkat: u32 = 470; +pub const SYS_unlinkat: u32 = 471; +pub const SYS_futimens: u32 = 472; +pub const SYS___quotactl: u32 = 473; +pub const SYS_posix_spawn: u32 = 474; +pub const SYS_recvmmsg: u32 = 475; +pub const SYS_sendmmsg: u32 = 476; +pub const SYS_clock_nanosleep: u32 = 477; +pub const SYS____lwp_park60: u32 = 478; +pub const SYS_posix_fallocate: u32 = 479; +pub const SYS_fdiscard: u32 = 480; +pub const SYS_wait6: u32 = 481; +pub const SYS_clock_getcpuclockid2: u32 = 482; +pub const SYS___getvfsstat90: u32 = 483; +pub const SYS___statvfs190: u32 = 484; +pub const SYS___fstatvfs190: u32 = 485; +pub const SYS___fhstatvfs190: u32 = 486; +pub const SYS___acl_get_link: u32 = 487; +pub const SYS___acl_set_link: u32 = 488; +pub const SYS___acl_delete_link: u32 = 489; +pub const SYS___acl_aclcheck_link: u32 = 490; +pub const SYS___acl_get_file: u32 = 491; +pub const SYS___acl_set_file: u32 = 492; +pub const SYS___acl_get_fd: u32 = 493; +pub const SYS___acl_set_fd: u32 = 494; +pub const SYS___acl_delete_file: u32 = 495; +pub const SYS___acl_delete_fd: u32 = 496; +pub const SYS___acl_aclcheck_file: u32 = 497; +pub const SYS___acl_aclcheck_fd: u32 = 498; +pub const SYS_lpathconf: u32 = 499; +pub const SYS_memfd_create: u32 = 500; +pub const SYS___kevent100: u32 = 501; +pub const SYS_epoll_create1: u32 = 502; +pub const SYS_epoll_ctl: u32 = 503; +pub const SYS_epoll_pwait2: u32 = 504; +pub const SYS___dup3100: u32 = 505; +pub const SYS_MAXSYSCALL: u32 = 506; +pub const SYS_NSYSENT: u32 = 512; diff --git a/tests/helper/src/gen/sys/aarch64_freebsd/mod.rs b/tests/helper/src/gen/sys/aarch64_freebsd/mod.rs index 9f9cac3b..aeaf576d 100644 --- a/tests/helper/src/gen/sys/aarch64_freebsd/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_freebsd/mod.rs @@ -7,8 +7,435 @@ mod sys_auxv; pub use sys_auxv::elf_aux_info; mod sys_syscall; +pub use sys_syscall::SYS_syscall; +pub use sys_syscall::SYS_exit; +pub use sys_syscall::SYS_fork; +pub use sys_syscall::SYS_read; +pub use sys_syscall::SYS_write; +pub use sys_syscall::SYS_open; +pub use sys_syscall::SYS_close; +pub use sys_syscall::SYS_wait4; +pub use sys_syscall::SYS_link; +pub use sys_syscall::SYS_unlink; +pub use sys_syscall::SYS_chdir; +pub use sys_syscall::SYS_fchdir; +pub use sys_syscall::SYS_freebsd11_mknod; +pub use sys_syscall::SYS_chmod; +pub use sys_syscall::SYS_chown; +pub use sys_syscall::SYS_break; pub use sys_syscall::SYS_getpid; +pub use sys_syscall::SYS_mount; +pub use sys_syscall::SYS_unmount; +pub use sys_syscall::SYS_setuid; +pub use sys_syscall::SYS_getuid; +pub use sys_syscall::SYS_geteuid; +pub use sys_syscall::SYS_ptrace; +pub use sys_syscall::SYS_recvmsg; +pub use sys_syscall::SYS_sendmsg; +pub use sys_syscall::SYS_recvfrom; +pub use sys_syscall::SYS_accept; +pub use sys_syscall::SYS_getpeername; +pub use sys_syscall::SYS_getsockname; +pub use sys_syscall::SYS_access; +pub use sys_syscall::SYS_chflags; +pub use sys_syscall::SYS_fchflags; +pub use sys_syscall::SYS_sync; +pub use sys_syscall::SYS_kill; +pub use sys_syscall::SYS_getppid; +pub use sys_syscall::SYS_dup; +pub use sys_syscall::SYS_freebsd10_pipe; +pub use sys_syscall::SYS_getegid; +pub use sys_syscall::SYS_profil; +pub use sys_syscall::SYS_ktrace; +pub use sys_syscall::SYS_getgid; +pub use sys_syscall::SYS_getlogin; +pub use sys_syscall::SYS_setlogin; +pub use sys_syscall::SYS_acct; +pub use sys_syscall::SYS_sigaltstack; +pub use sys_syscall::SYS_ioctl; +pub use sys_syscall::SYS_reboot; +pub use sys_syscall::SYS_revoke; +pub use sys_syscall::SYS_symlink; +pub use sys_syscall::SYS_readlink; +pub use sys_syscall::SYS_execve; +pub use sys_syscall::SYS_umask; +pub use sys_syscall::SYS_chroot; +pub use sys_syscall::SYS_msync; +pub use sys_syscall::SYS_vfork; +pub use sys_syscall::SYS_freebsd11_vadvise; +pub use sys_syscall::SYS_munmap; +pub use sys_syscall::SYS_mprotect; +pub use sys_syscall::SYS_madvise; +pub use sys_syscall::SYS_mincore; +pub use sys_syscall::SYS_getgroups; +pub use sys_syscall::SYS_setgroups; +pub use sys_syscall::SYS_getpgrp; +pub use sys_syscall::SYS_setpgid; +pub use sys_syscall::SYS_setitimer; +pub use sys_syscall::SYS_swapon; +pub use sys_syscall::SYS_getitimer; +pub use sys_syscall::SYS_getdtablesize; +pub use sys_syscall::SYS_dup2; +pub use sys_syscall::SYS_fcntl; +pub use sys_syscall::SYS_select; +pub use sys_syscall::SYS_fsync; +pub use sys_syscall::SYS_setpriority; +pub use sys_syscall::SYS_socket; +pub use sys_syscall::SYS_connect; +pub use sys_syscall::SYS_getpriority; +pub use sys_syscall::SYS_bind; +pub use sys_syscall::SYS_setsockopt; +pub use sys_syscall::SYS_listen; +pub use sys_syscall::SYS_gettimeofday; +pub use sys_syscall::SYS_getrusage; +pub use sys_syscall::SYS_getsockopt; +pub use sys_syscall::SYS_readv; +pub use sys_syscall::SYS_writev; +pub use sys_syscall::SYS_settimeofday; +pub use sys_syscall::SYS_fchown; +pub use sys_syscall::SYS_fchmod; +pub use sys_syscall::SYS_setreuid; +pub use sys_syscall::SYS_setregid; +pub use sys_syscall::SYS_rename; +pub use sys_syscall::SYS_flock; +pub use sys_syscall::SYS_mkfifo; +pub use sys_syscall::SYS_sendto; +pub use sys_syscall::SYS_shutdown; +pub use sys_syscall::SYS_socketpair; +pub use sys_syscall::SYS_mkdir; +pub use sys_syscall::SYS_rmdir; +pub use sys_syscall::SYS_utimes; +pub use sys_syscall::SYS_adjtime; +pub use sys_syscall::SYS_setsid; +pub use sys_syscall::SYS_quotactl; +pub use sys_syscall::SYS_nlm_syscall; +pub use sys_syscall::SYS_nfssvc; +pub use sys_syscall::SYS_lgetfh; +pub use sys_syscall::SYS_getfh; +pub use sys_syscall::SYS_sysarch; +pub use sys_syscall::SYS_rtprio; +pub use sys_syscall::SYS_semsys; +pub use sys_syscall::SYS_msgsys; +pub use sys_syscall::SYS_shmsys; +pub use sys_syscall::SYS_setfib; +pub use sys_syscall::SYS_ntp_adjtime; +pub use sys_syscall::SYS_setgid; +pub use sys_syscall::SYS_setegid; +pub use sys_syscall::SYS_seteuid; +pub use sys_syscall::SYS_freebsd11_stat; +pub use sys_syscall::SYS_freebsd11_fstat; +pub use sys_syscall::SYS_freebsd11_lstat; +pub use sys_syscall::SYS_pathconf; +pub use sys_syscall::SYS_fpathconf; +pub use sys_syscall::SYS_getrlimit; +pub use sys_syscall::SYS_setrlimit; +pub use sys_syscall::SYS_freebsd11_getdirentries; +pub use sys_syscall::SYS___syscall; pub use sys_syscall::SYS___sysctl; +pub use sys_syscall::SYS_mlock; +pub use sys_syscall::SYS_munlock; +pub use sys_syscall::SYS_undelete; +pub use sys_syscall::SYS_futimes; +pub use sys_syscall::SYS_getpgid; +pub use sys_syscall::SYS_poll; +pub use sys_syscall::SYS_freebsd7___semctl; +pub use sys_syscall::SYS_semget; +pub use sys_syscall::SYS_semop; +pub use sys_syscall::SYS_freebsd7_msgctl; +pub use sys_syscall::SYS_msgget; +pub use sys_syscall::SYS_msgsnd; +pub use sys_syscall::SYS_msgrcv; +pub use sys_syscall::SYS_shmat; +pub use sys_syscall::SYS_freebsd7_shmctl; +pub use sys_syscall::SYS_shmdt; +pub use sys_syscall::SYS_shmget; +pub use sys_syscall::SYS_clock_gettime; +pub use sys_syscall::SYS_clock_settime; +pub use sys_syscall::SYS_clock_getres; +pub use sys_syscall::SYS_ktimer_create; +pub use sys_syscall::SYS_ktimer_delete; +pub use sys_syscall::SYS_ktimer_settime; +pub use sys_syscall::SYS_ktimer_gettime; +pub use sys_syscall::SYS_ktimer_getoverrun; +pub use sys_syscall::SYS_nanosleep; +pub use sys_syscall::SYS_ffclock_getcounter; +pub use sys_syscall::SYS_ffclock_setestimate; +pub use sys_syscall::SYS_ffclock_getestimate; +pub use sys_syscall::SYS_clock_nanosleep; +pub use sys_syscall::SYS_clock_getcpuclockid2; +pub use sys_syscall::SYS_ntp_gettime; +pub use sys_syscall::SYS_minherit; +pub use sys_syscall::SYS_rfork; +pub use sys_syscall::SYS_issetugid; +pub use sys_syscall::SYS_lchown; +pub use sys_syscall::SYS_aio_read; +pub use sys_syscall::SYS_aio_write; +pub use sys_syscall::SYS_lio_listio; +pub use sys_syscall::SYS_freebsd11_getdents; +pub use sys_syscall::SYS_lchmod; +pub use sys_syscall::SYS_lutimes; +pub use sys_syscall::SYS_freebsd11_nstat; +pub use sys_syscall::SYS_freebsd11_nfstat; +pub use sys_syscall::SYS_freebsd11_nlstat; +pub use sys_syscall::SYS_preadv; +pub use sys_syscall::SYS_pwritev; +pub use sys_syscall::SYS_fhopen; +pub use sys_syscall::SYS_freebsd11_fhstat; +pub use sys_syscall::SYS_modnext; +pub use sys_syscall::SYS_modstat; +pub use sys_syscall::SYS_modfnext; +pub use sys_syscall::SYS_modfind; +pub use sys_syscall::SYS_kldload; +pub use sys_syscall::SYS_kldunload; +pub use sys_syscall::SYS_kldfind; +pub use sys_syscall::SYS_kldnext; +pub use sys_syscall::SYS_kldstat; +pub use sys_syscall::SYS_kldfirstmod; +pub use sys_syscall::SYS_getsid; +pub use sys_syscall::SYS_setresuid; +pub use sys_syscall::SYS_setresgid; +pub use sys_syscall::SYS_aio_return; +pub use sys_syscall::SYS_aio_suspend; +pub use sys_syscall::SYS_aio_cancel; +pub use sys_syscall::SYS_aio_error; +pub use sys_syscall::SYS_yield; +pub use sys_syscall::SYS_mlockall; +pub use sys_syscall::SYS_munlockall; +pub use sys_syscall::SYS___getcwd; +pub use sys_syscall::SYS_sched_setparam; +pub use sys_syscall::SYS_sched_getparam; +pub use sys_syscall::SYS_sched_setscheduler; +pub use sys_syscall::SYS_sched_getscheduler; +pub use sys_syscall::SYS_sched_yield; +pub use sys_syscall::SYS_sched_get_priority_max; +pub use sys_syscall::SYS_sched_get_priority_min; +pub use sys_syscall::SYS_sched_rr_get_interval; +pub use sys_syscall::SYS_utrace; +pub use sys_syscall::SYS_kldsym; +pub use sys_syscall::SYS_jail; +pub use sys_syscall::SYS_nnpfs_syscall; +pub use sys_syscall::SYS_sigprocmask; +pub use sys_syscall::SYS_sigsuspend; +pub use sys_syscall::SYS_sigpending; +pub use sys_syscall::SYS_sigtimedwait; +pub use sys_syscall::SYS_sigwaitinfo; +pub use sys_syscall::SYS___acl_get_file; +pub use sys_syscall::SYS___acl_set_file; +pub use sys_syscall::SYS___acl_get_fd; +pub use sys_syscall::SYS___acl_set_fd; +pub use sys_syscall::SYS___acl_delete_file; +pub use sys_syscall::SYS___acl_delete_fd; +pub use sys_syscall::SYS___acl_aclcheck_file; +pub use sys_syscall::SYS___acl_aclcheck_fd; +pub use sys_syscall::SYS_extattrctl; +pub use sys_syscall::SYS_extattr_set_file; +pub use sys_syscall::SYS_extattr_get_file; +pub use sys_syscall::SYS_extattr_delete_file; +pub use sys_syscall::SYS_aio_waitcomplete; +pub use sys_syscall::SYS_getresuid; +pub use sys_syscall::SYS_getresgid; +pub use sys_syscall::SYS_kqueue; +pub use sys_syscall::SYS_freebsd11_kevent; +pub use sys_syscall::SYS_extattr_set_fd; +pub use sys_syscall::SYS_extattr_get_fd; +pub use sys_syscall::SYS_extattr_delete_fd; +pub use sys_syscall::SYS___setugid; +pub use sys_syscall::SYS_eaccess; +pub use sys_syscall::SYS_afs3_syscall; +pub use sys_syscall::SYS_nmount; +pub use sys_syscall::SYS___mac_get_proc; +pub use sys_syscall::SYS___mac_set_proc; +pub use sys_syscall::SYS___mac_get_fd; +pub use sys_syscall::SYS___mac_get_file; +pub use sys_syscall::SYS___mac_set_fd; +pub use sys_syscall::SYS___mac_set_file; +pub use sys_syscall::SYS_kenv; +pub use sys_syscall::SYS_lchflags; +pub use sys_syscall::SYS_uuidgen; +pub use sys_syscall::SYS_sendfile; +pub use sys_syscall::SYS_mac_syscall; +pub use sys_syscall::SYS_freebsd11_getfsstat; +pub use sys_syscall::SYS_freebsd11_statfs; +pub use sys_syscall::SYS_freebsd11_fstatfs; +pub use sys_syscall::SYS_freebsd11_fhstatfs; +pub use sys_syscall::SYS_ksem_close; +pub use sys_syscall::SYS_ksem_post; +pub use sys_syscall::SYS_ksem_wait; +pub use sys_syscall::SYS_ksem_trywait; +pub use sys_syscall::SYS_ksem_init; +pub use sys_syscall::SYS_ksem_open; +pub use sys_syscall::SYS_ksem_unlink; +pub use sys_syscall::SYS_ksem_getvalue; +pub use sys_syscall::SYS_ksem_destroy; +pub use sys_syscall::SYS___mac_get_pid; +pub use sys_syscall::SYS___mac_get_link; +pub use sys_syscall::SYS___mac_set_link; +pub use sys_syscall::SYS_extattr_set_link; +pub use sys_syscall::SYS_extattr_get_link; +pub use sys_syscall::SYS_extattr_delete_link; +pub use sys_syscall::SYS___mac_execve; +pub use sys_syscall::SYS_sigaction; +pub use sys_syscall::SYS_sigreturn; +pub use sys_syscall::SYS_getcontext; +pub use sys_syscall::SYS_setcontext; +pub use sys_syscall::SYS_swapcontext; +pub use sys_syscall::SYS_freebsd13_swapoff; +pub use sys_syscall::SYS___acl_get_link; +pub use sys_syscall::SYS___acl_set_link; +pub use sys_syscall::SYS___acl_delete_link; +pub use sys_syscall::SYS___acl_aclcheck_link; +pub use sys_syscall::SYS_sigwait; +pub use sys_syscall::SYS_thr_create; +pub use sys_syscall::SYS_thr_exit; +pub use sys_syscall::SYS_thr_self; +pub use sys_syscall::SYS_thr_kill; +pub use sys_syscall::SYS_freebsd10__umtx_lock; +pub use sys_syscall::SYS_freebsd10__umtx_unlock; +pub use sys_syscall::SYS_jail_attach; +pub use sys_syscall::SYS_extattr_list_fd; +pub use sys_syscall::SYS_extattr_list_file; +pub use sys_syscall::SYS_extattr_list_link; +pub use sys_syscall::SYS_ksem_timedwait; +pub use sys_syscall::SYS_thr_suspend; +pub use sys_syscall::SYS_thr_wake; +pub use sys_syscall::SYS_kldunloadf; +pub use sys_syscall::SYS_audit; +pub use sys_syscall::SYS_auditon; +pub use sys_syscall::SYS_getauid; +pub use sys_syscall::SYS_setauid; +pub use sys_syscall::SYS_getaudit; +pub use sys_syscall::SYS_setaudit; +pub use sys_syscall::SYS_getaudit_addr; +pub use sys_syscall::SYS_setaudit_addr; +pub use sys_syscall::SYS_auditctl; +pub use sys_syscall::SYS__umtx_op; +pub use sys_syscall::SYS_thr_new; +pub use sys_syscall::SYS_sigqueue; +pub use sys_syscall::SYS_kmq_open; +pub use sys_syscall::SYS_kmq_setattr; +pub use sys_syscall::SYS_kmq_timedreceive; +pub use sys_syscall::SYS_kmq_timedsend; +pub use sys_syscall::SYS_kmq_notify; +pub use sys_syscall::SYS_kmq_unlink; +pub use sys_syscall::SYS_abort2; +pub use sys_syscall::SYS_thr_set_name; +pub use sys_syscall::SYS_aio_fsync; +pub use sys_syscall::SYS_rtprio_thread; +pub use sys_syscall::SYS_sctp_peeloff; +pub use sys_syscall::SYS_sctp_generic_sendmsg; +pub use sys_syscall::SYS_sctp_generic_sendmsg_iov; +pub use sys_syscall::SYS_sctp_generic_recvmsg; +pub use sys_syscall::SYS_pread; +pub use sys_syscall::SYS_pwrite; +pub use sys_syscall::SYS_mmap; +pub use sys_syscall::SYS_lseek; +pub use sys_syscall::SYS_truncate; +pub use sys_syscall::SYS_ftruncate; +pub use sys_syscall::SYS_thr_kill2; +pub use sys_syscall::SYS_freebsd12_shm_open; +pub use sys_syscall::SYS_shm_unlink; +pub use sys_syscall::SYS_cpuset; +pub use sys_syscall::SYS_cpuset_setid; +pub use sys_syscall::SYS_cpuset_getid; +pub use sys_syscall::SYS_cpuset_getaffinity; +pub use sys_syscall::SYS_cpuset_setaffinity; +pub use sys_syscall::SYS_faccessat; +pub use sys_syscall::SYS_fchmodat; +pub use sys_syscall::SYS_fchownat; +pub use sys_syscall::SYS_fexecve; +pub use sys_syscall::SYS_freebsd11_fstatat; +pub use sys_syscall::SYS_futimesat; +pub use sys_syscall::SYS_linkat; +pub use sys_syscall::SYS_mkdirat; +pub use sys_syscall::SYS_mkfifoat; +pub use sys_syscall::SYS_freebsd11_mknodat; +pub use sys_syscall::SYS_openat; +pub use sys_syscall::SYS_readlinkat; +pub use sys_syscall::SYS_renameat; +pub use sys_syscall::SYS_symlinkat; +pub use sys_syscall::SYS_unlinkat; +pub use sys_syscall::SYS_posix_openpt; +pub use sys_syscall::SYS_gssd_syscall; +pub use sys_syscall::SYS_jail_get; +pub use sys_syscall::SYS_jail_set; +pub use sys_syscall::SYS_jail_remove; +pub use sys_syscall::SYS_freebsd12_closefrom; +pub use sys_syscall::SYS___semctl; +pub use sys_syscall::SYS_msgctl; +pub use sys_syscall::SYS_shmctl; +pub use sys_syscall::SYS_lpathconf; +pub use sys_syscall::SYS___cap_rights_get; +pub use sys_syscall::SYS_cap_enter; +pub use sys_syscall::SYS_cap_getmode; +pub use sys_syscall::SYS_pdfork; +pub use sys_syscall::SYS_pdkill; +pub use sys_syscall::SYS_pdgetpid; +pub use sys_syscall::SYS_pselect; +pub use sys_syscall::SYS_getloginclass; +pub use sys_syscall::SYS_setloginclass; +pub use sys_syscall::SYS_rctl_get_racct; +pub use sys_syscall::SYS_rctl_get_rules; +pub use sys_syscall::SYS_rctl_get_limits; +pub use sys_syscall::SYS_rctl_add_rule; +pub use sys_syscall::SYS_rctl_remove_rule; +pub use sys_syscall::SYS_posix_fallocate; +pub use sys_syscall::SYS_posix_fadvise; +pub use sys_syscall::SYS_wait6; +pub use sys_syscall::SYS_cap_rights_limit; +pub use sys_syscall::SYS_cap_ioctls_limit; +pub use sys_syscall::SYS_cap_ioctls_get; +pub use sys_syscall::SYS_cap_fcntls_limit; +pub use sys_syscall::SYS_cap_fcntls_get; +pub use sys_syscall::SYS_bindat; +pub use sys_syscall::SYS_connectat; +pub use sys_syscall::SYS_chflagsat; +pub use sys_syscall::SYS_accept4; +pub use sys_syscall::SYS_pipe2; +pub use sys_syscall::SYS_aio_mlock; +pub use sys_syscall::SYS_procctl; +pub use sys_syscall::SYS_ppoll; +pub use sys_syscall::SYS_futimens; +pub use sys_syscall::SYS_utimensat; +pub use sys_syscall::SYS_fdatasync; +pub use sys_syscall::SYS_fstat; +pub use sys_syscall::SYS_fstatat; +pub use sys_syscall::SYS_fhstat; +pub use sys_syscall::SYS_getdirentries; +pub use sys_syscall::SYS_statfs; +pub use sys_syscall::SYS_fstatfs; +pub use sys_syscall::SYS_getfsstat; +pub use sys_syscall::SYS_fhstatfs; +pub use sys_syscall::SYS_mknodat; +pub use sys_syscall::SYS_kevent; +pub use sys_syscall::SYS_cpuset_getdomain; +pub use sys_syscall::SYS_cpuset_setdomain; +pub use sys_syscall::SYS_getrandom; +pub use sys_syscall::SYS_getfhat; +pub use sys_syscall::SYS_fhlink; +pub use sys_syscall::SYS_fhlinkat; +pub use sys_syscall::SYS_fhreadlink; +pub use sys_syscall::SYS_funlinkat; +pub use sys_syscall::SYS_copy_file_range; +pub use sys_syscall::SYS___sysctlbyname; +pub use sys_syscall::SYS_shm_open2; +pub use sys_syscall::SYS_shm_rename; +pub use sys_syscall::SYS_sigfastblock; +pub use sys_syscall::SYS___realpathat; +pub use sys_syscall::SYS_close_range; +pub use sys_syscall::SYS_rpctls_syscall; +pub use sys_syscall::SYS___specialfd; +pub use sys_syscall::SYS_aio_writev; +pub use sys_syscall::SYS_aio_readv; +pub use sys_syscall::SYS_fspacectl; +pub use sys_syscall::SYS_sched_getcpu; +pub use sys_syscall::SYS_swapoff; +pub use sys_syscall::SYS_kqueuex; +pub use sys_syscall::SYS_membarrier; +pub use sys_syscall::SYS_timerfd_create; +pub use sys_syscall::SYS_timerfd_gettime; +pub use sys_syscall::SYS_timerfd_settime; +pub use sys_syscall::SYS_kcmp; +pub use sys_syscall::SYS_MAXSYSCALL; mod sys_sysctl; pub use sys_sysctl::CTL_KERN; pub use sys_sysctl::KERN_PROC; diff --git a/tests/helper/src/gen/sys/aarch64_freebsd/sys_syscall.rs b/tests/helper/src/gen/sys/aarch64_freebsd/sys_syscall.rs index 65a31135..89e910cc 100644 --- a/tests/helper/src/gen/sys/aarch64_freebsd/sys_syscall.rs +++ b/tests/helper/src/gen/sys/aarch64_freebsd/sys_syscall.rs @@ -3,5 +3,432 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const SYS_syscall: u32 = 0; +pub const SYS_exit: u32 = 1; +pub const SYS_fork: u32 = 2; +pub const SYS_read: u32 = 3; +pub const SYS_write: u32 = 4; +pub const SYS_open: u32 = 5; +pub const SYS_close: u32 = 6; +pub const SYS_wait4: u32 = 7; +pub const SYS_link: u32 = 9; +pub const SYS_unlink: u32 = 10; +pub const SYS_chdir: u32 = 12; +pub const SYS_fchdir: u32 = 13; +pub const SYS_freebsd11_mknod: u32 = 14; +pub const SYS_chmod: u32 = 15; +pub const SYS_chown: u32 = 16; +pub const SYS_break: u32 = 17; pub const SYS_getpid: u32 = 20; +pub const SYS_mount: u32 = 21; +pub const SYS_unmount: u32 = 22; +pub const SYS_setuid: u32 = 23; +pub const SYS_getuid: u32 = 24; +pub const SYS_geteuid: u32 = 25; +pub const SYS_ptrace: u32 = 26; +pub const SYS_recvmsg: u32 = 27; +pub const SYS_sendmsg: u32 = 28; +pub const SYS_recvfrom: u32 = 29; +pub const SYS_accept: u32 = 30; +pub const SYS_getpeername: u32 = 31; +pub const SYS_getsockname: u32 = 32; +pub const SYS_access: u32 = 33; +pub const SYS_chflags: u32 = 34; +pub const SYS_fchflags: u32 = 35; +pub const SYS_sync: u32 = 36; +pub const SYS_kill: u32 = 37; +pub const SYS_getppid: u32 = 39; +pub const SYS_dup: u32 = 41; +pub const SYS_freebsd10_pipe: u32 = 42; +pub const SYS_getegid: u32 = 43; +pub const SYS_profil: u32 = 44; +pub const SYS_ktrace: u32 = 45; +pub const SYS_getgid: u32 = 47; +pub const SYS_getlogin: u32 = 49; +pub const SYS_setlogin: u32 = 50; +pub const SYS_acct: u32 = 51; +pub const SYS_sigaltstack: u32 = 53; +pub const SYS_ioctl: u32 = 54; +pub const SYS_reboot: u32 = 55; +pub const SYS_revoke: u32 = 56; +pub const SYS_symlink: u32 = 57; +pub const SYS_readlink: u32 = 58; +pub const SYS_execve: u32 = 59; +pub const SYS_umask: u32 = 60; +pub const SYS_chroot: u32 = 61; +pub const SYS_msync: u32 = 65; +pub const SYS_vfork: u32 = 66; +pub const SYS_freebsd11_vadvise: u32 = 72; +pub const SYS_munmap: u32 = 73; +pub const SYS_mprotect: u32 = 74; +pub const SYS_madvise: u32 = 75; +pub const SYS_mincore: u32 = 78; +pub const SYS_getgroups: u32 = 79; +pub const SYS_setgroups: u32 = 80; +pub const SYS_getpgrp: u32 = 81; +pub const SYS_setpgid: u32 = 82; +pub const SYS_setitimer: u32 = 83; +pub const SYS_swapon: u32 = 85; +pub const SYS_getitimer: u32 = 86; +pub const SYS_getdtablesize: u32 = 89; +pub const SYS_dup2: u32 = 90; +pub const SYS_fcntl: u32 = 92; +pub const SYS_select: u32 = 93; +pub const SYS_fsync: u32 = 95; +pub const SYS_setpriority: u32 = 96; +pub const SYS_socket: u32 = 97; +pub const SYS_connect: u32 = 98; +pub const SYS_getpriority: u32 = 100; +pub const SYS_bind: u32 = 104; +pub const SYS_setsockopt: u32 = 105; +pub const SYS_listen: u32 = 106; +pub const SYS_gettimeofday: u32 = 116; +pub const SYS_getrusage: u32 = 117; +pub const SYS_getsockopt: u32 = 118; +pub const SYS_readv: u32 = 120; +pub const SYS_writev: u32 = 121; +pub const SYS_settimeofday: u32 = 122; +pub const SYS_fchown: u32 = 123; +pub const SYS_fchmod: u32 = 124; +pub const SYS_setreuid: u32 = 126; +pub const SYS_setregid: u32 = 127; +pub const SYS_rename: u32 = 128; +pub const SYS_flock: u32 = 131; +pub const SYS_mkfifo: u32 = 132; +pub const SYS_sendto: u32 = 133; +pub const SYS_shutdown: u32 = 134; +pub const SYS_socketpair: u32 = 135; +pub const SYS_mkdir: u32 = 136; +pub const SYS_rmdir: u32 = 137; +pub const SYS_utimes: u32 = 138; +pub const SYS_adjtime: u32 = 140; +pub const SYS_setsid: u32 = 147; +pub const SYS_quotactl: u32 = 148; +pub const SYS_nlm_syscall: u32 = 154; +pub const SYS_nfssvc: u32 = 155; +pub const SYS_lgetfh: u32 = 160; +pub const SYS_getfh: u32 = 161; +pub const SYS_sysarch: u32 = 165; +pub const SYS_rtprio: u32 = 166; +pub const SYS_semsys: u32 = 169; +pub const SYS_msgsys: u32 = 170; +pub const SYS_shmsys: u32 = 171; +pub const SYS_setfib: u32 = 175; +pub const SYS_ntp_adjtime: u32 = 176; +pub const SYS_setgid: u32 = 181; +pub const SYS_setegid: u32 = 182; +pub const SYS_seteuid: u32 = 183; +pub const SYS_freebsd11_stat: u32 = 188; +pub const SYS_freebsd11_fstat: u32 = 189; +pub const SYS_freebsd11_lstat: u32 = 190; +pub const SYS_pathconf: u32 = 191; +pub const SYS_fpathconf: u32 = 192; +pub const SYS_getrlimit: u32 = 194; +pub const SYS_setrlimit: u32 = 195; +pub const SYS_freebsd11_getdirentries: u32 = 196; +pub const SYS___syscall: u32 = 198; pub const SYS___sysctl: u32 = 202; +pub const SYS_mlock: u32 = 203; +pub const SYS_munlock: u32 = 204; +pub const SYS_undelete: u32 = 205; +pub const SYS_futimes: u32 = 206; +pub const SYS_getpgid: u32 = 207; +pub const SYS_poll: u32 = 209; +pub const SYS_freebsd7___semctl: u32 = 220; +pub const SYS_semget: u32 = 221; +pub const SYS_semop: u32 = 222; +pub const SYS_freebsd7_msgctl: u32 = 224; +pub const SYS_msgget: u32 = 225; +pub const SYS_msgsnd: u32 = 226; +pub const SYS_msgrcv: u32 = 227; +pub const SYS_shmat: u32 = 228; +pub const SYS_freebsd7_shmctl: u32 = 229; +pub const SYS_shmdt: u32 = 230; +pub const SYS_shmget: u32 = 231; +pub const SYS_clock_gettime: u32 = 232; +pub const SYS_clock_settime: u32 = 233; +pub const SYS_clock_getres: u32 = 234; +pub const SYS_ktimer_create: u32 = 235; +pub const SYS_ktimer_delete: u32 = 236; +pub const SYS_ktimer_settime: u32 = 237; +pub const SYS_ktimer_gettime: u32 = 238; +pub const SYS_ktimer_getoverrun: u32 = 239; +pub const SYS_nanosleep: u32 = 240; +pub const SYS_ffclock_getcounter: u32 = 241; +pub const SYS_ffclock_setestimate: u32 = 242; +pub const SYS_ffclock_getestimate: u32 = 243; +pub const SYS_clock_nanosleep: u32 = 244; +pub const SYS_clock_getcpuclockid2: u32 = 247; +pub const SYS_ntp_gettime: u32 = 248; +pub const SYS_minherit: u32 = 250; +pub const SYS_rfork: u32 = 251; +pub const SYS_issetugid: u32 = 253; +pub const SYS_lchown: u32 = 254; +pub const SYS_aio_read: u32 = 255; +pub const SYS_aio_write: u32 = 256; +pub const SYS_lio_listio: u32 = 257; +pub const SYS_freebsd11_getdents: u32 = 272; +pub const SYS_lchmod: u32 = 274; +pub const SYS_lutimes: u32 = 276; +pub const SYS_freebsd11_nstat: u32 = 278; +pub const SYS_freebsd11_nfstat: u32 = 279; +pub const SYS_freebsd11_nlstat: u32 = 280; +pub const SYS_preadv: u32 = 289; +pub const SYS_pwritev: u32 = 290; +pub const SYS_fhopen: u32 = 298; +pub const SYS_freebsd11_fhstat: u32 = 299; +pub const SYS_modnext: u32 = 300; +pub const SYS_modstat: u32 = 301; +pub const SYS_modfnext: u32 = 302; +pub const SYS_modfind: u32 = 303; +pub const SYS_kldload: u32 = 304; +pub const SYS_kldunload: u32 = 305; +pub const SYS_kldfind: u32 = 306; +pub const SYS_kldnext: u32 = 307; +pub const SYS_kldstat: u32 = 308; +pub const SYS_kldfirstmod: u32 = 309; +pub const SYS_getsid: u32 = 310; +pub const SYS_setresuid: u32 = 311; +pub const SYS_setresgid: u32 = 312; +pub const SYS_aio_return: u32 = 314; +pub const SYS_aio_suspend: u32 = 315; +pub const SYS_aio_cancel: u32 = 316; +pub const SYS_aio_error: u32 = 317; +pub const SYS_yield: u32 = 321; +pub const SYS_mlockall: u32 = 324; +pub const SYS_munlockall: u32 = 325; +pub const SYS___getcwd: u32 = 326; +pub const SYS_sched_setparam: u32 = 327; +pub const SYS_sched_getparam: u32 = 328; +pub const SYS_sched_setscheduler: u32 = 329; +pub const SYS_sched_getscheduler: u32 = 330; +pub const SYS_sched_yield: u32 = 331; +pub const SYS_sched_get_priority_max: u32 = 332; +pub const SYS_sched_get_priority_min: u32 = 333; +pub const SYS_sched_rr_get_interval: u32 = 334; +pub const SYS_utrace: u32 = 335; +pub const SYS_kldsym: u32 = 337; +pub const SYS_jail: u32 = 338; +pub const SYS_nnpfs_syscall: u32 = 339; +pub const SYS_sigprocmask: u32 = 340; +pub const SYS_sigsuspend: u32 = 341; +pub const SYS_sigpending: u32 = 343; +pub const SYS_sigtimedwait: u32 = 345; +pub const SYS_sigwaitinfo: u32 = 346; +pub const SYS___acl_get_file: u32 = 347; +pub const SYS___acl_set_file: u32 = 348; +pub const SYS___acl_get_fd: u32 = 349; +pub const SYS___acl_set_fd: u32 = 350; +pub const SYS___acl_delete_file: u32 = 351; +pub const SYS___acl_delete_fd: u32 = 352; +pub const SYS___acl_aclcheck_file: u32 = 353; +pub const SYS___acl_aclcheck_fd: u32 = 354; +pub const SYS_extattrctl: u32 = 355; +pub const SYS_extattr_set_file: u32 = 356; +pub const SYS_extattr_get_file: u32 = 357; +pub const SYS_extattr_delete_file: u32 = 358; +pub const SYS_aio_waitcomplete: u32 = 359; +pub const SYS_getresuid: u32 = 360; +pub const SYS_getresgid: u32 = 361; +pub const SYS_kqueue: u32 = 362; +pub const SYS_freebsd11_kevent: u32 = 363; +pub const SYS_extattr_set_fd: u32 = 371; +pub const SYS_extattr_get_fd: u32 = 372; +pub const SYS_extattr_delete_fd: u32 = 373; +pub const SYS___setugid: u32 = 374; +pub const SYS_eaccess: u32 = 376; +pub const SYS_afs3_syscall: u32 = 377; +pub const SYS_nmount: u32 = 378; +pub const SYS___mac_get_proc: u32 = 384; +pub const SYS___mac_set_proc: u32 = 385; +pub const SYS___mac_get_fd: u32 = 386; +pub const SYS___mac_get_file: u32 = 387; +pub const SYS___mac_set_fd: u32 = 388; +pub const SYS___mac_set_file: u32 = 389; +pub const SYS_kenv: u32 = 390; +pub const SYS_lchflags: u32 = 391; +pub const SYS_uuidgen: u32 = 392; +pub const SYS_sendfile: u32 = 393; +pub const SYS_mac_syscall: u32 = 394; +pub const SYS_freebsd11_getfsstat: u32 = 395; +pub const SYS_freebsd11_statfs: u32 = 396; +pub const SYS_freebsd11_fstatfs: u32 = 397; +pub const SYS_freebsd11_fhstatfs: u32 = 398; +pub const SYS_ksem_close: u32 = 400; +pub const SYS_ksem_post: u32 = 401; +pub const SYS_ksem_wait: u32 = 402; +pub const SYS_ksem_trywait: u32 = 403; +pub const SYS_ksem_init: u32 = 404; +pub const SYS_ksem_open: u32 = 405; +pub const SYS_ksem_unlink: u32 = 406; +pub const SYS_ksem_getvalue: u32 = 407; +pub const SYS_ksem_destroy: u32 = 408; +pub const SYS___mac_get_pid: u32 = 409; +pub const SYS___mac_get_link: u32 = 410; +pub const SYS___mac_set_link: u32 = 411; +pub const SYS_extattr_set_link: u32 = 412; +pub const SYS_extattr_get_link: u32 = 413; +pub const SYS_extattr_delete_link: u32 = 414; +pub const SYS___mac_execve: u32 = 415; +pub const SYS_sigaction: u32 = 416; +pub const SYS_sigreturn: u32 = 417; +pub const SYS_getcontext: u32 = 421; +pub const SYS_setcontext: u32 = 422; +pub const SYS_swapcontext: u32 = 423; +pub const SYS_freebsd13_swapoff: u32 = 424; +pub const SYS___acl_get_link: u32 = 425; +pub const SYS___acl_set_link: u32 = 426; +pub const SYS___acl_delete_link: u32 = 427; +pub const SYS___acl_aclcheck_link: u32 = 428; +pub const SYS_sigwait: u32 = 429; +pub const SYS_thr_create: u32 = 430; +pub const SYS_thr_exit: u32 = 431; +pub const SYS_thr_self: u32 = 432; +pub const SYS_thr_kill: u32 = 433; +pub const SYS_freebsd10__umtx_lock: u32 = 434; +pub const SYS_freebsd10__umtx_unlock: u32 = 435; +pub const SYS_jail_attach: u32 = 436; +pub const SYS_extattr_list_fd: u32 = 437; +pub const SYS_extattr_list_file: u32 = 438; +pub const SYS_extattr_list_link: u32 = 439; +pub const SYS_ksem_timedwait: u32 = 441; +pub const SYS_thr_suspend: u32 = 442; +pub const SYS_thr_wake: u32 = 443; +pub const SYS_kldunloadf: u32 = 444; +pub const SYS_audit: u32 = 445; +pub const SYS_auditon: u32 = 446; +pub const SYS_getauid: u32 = 447; +pub const SYS_setauid: u32 = 448; +pub const SYS_getaudit: u32 = 449; +pub const SYS_setaudit: u32 = 450; +pub const SYS_getaudit_addr: u32 = 451; +pub const SYS_setaudit_addr: u32 = 452; +pub const SYS_auditctl: u32 = 453; +pub const SYS__umtx_op: u32 = 454; +pub const SYS_thr_new: u32 = 455; +pub const SYS_sigqueue: u32 = 456; +pub const SYS_kmq_open: u32 = 457; +pub const SYS_kmq_setattr: u32 = 458; +pub const SYS_kmq_timedreceive: u32 = 459; +pub const SYS_kmq_timedsend: u32 = 460; +pub const SYS_kmq_notify: u32 = 461; +pub const SYS_kmq_unlink: u32 = 462; +pub const SYS_abort2: u32 = 463; +pub const SYS_thr_set_name: u32 = 464; +pub const SYS_aio_fsync: u32 = 465; +pub const SYS_rtprio_thread: u32 = 466; +pub const SYS_sctp_peeloff: u32 = 471; +pub const SYS_sctp_generic_sendmsg: u32 = 472; +pub const SYS_sctp_generic_sendmsg_iov: u32 = 473; +pub const SYS_sctp_generic_recvmsg: u32 = 474; +pub const SYS_pread: u32 = 475; +pub const SYS_pwrite: u32 = 476; +pub const SYS_mmap: u32 = 477; +pub const SYS_lseek: u32 = 478; +pub const SYS_truncate: u32 = 479; +pub const SYS_ftruncate: u32 = 480; +pub const SYS_thr_kill2: u32 = 481; +pub const SYS_freebsd12_shm_open: u32 = 482; +pub const SYS_shm_unlink: u32 = 483; +pub const SYS_cpuset: u32 = 484; +pub const SYS_cpuset_setid: u32 = 485; +pub const SYS_cpuset_getid: u32 = 486; +pub const SYS_cpuset_getaffinity: u32 = 487; +pub const SYS_cpuset_setaffinity: u32 = 488; +pub const SYS_faccessat: u32 = 489; +pub const SYS_fchmodat: u32 = 490; +pub const SYS_fchownat: u32 = 491; +pub const SYS_fexecve: u32 = 492; +pub const SYS_freebsd11_fstatat: u32 = 493; +pub const SYS_futimesat: u32 = 494; +pub const SYS_linkat: u32 = 495; +pub const SYS_mkdirat: u32 = 496; +pub const SYS_mkfifoat: u32 = 497; +pub const SYS_freebsd11_mknodat: u32 = 498; +pub const SYS_openat: u32 = 499; +pub const SYS_readlinkat: u32 = 500; +pub const SYS_renameat: u32 = 501; +pub const SYS_symlinkat: u32 = 502; +pub const SYS_unlinkat: u32 = 503; +pub const SYS_posix_openpt: u32 = 504; +pub const SYS_gssd_syscall: u32 = 505; +pub const SYS_jail_get: u32 = 506; +pub const SYS_jail_set: u32 = 507; +pub const SYS_jail_remove: u32 = 508; +pub const SYS_freebsd12_closefrom: u32 = 509; +pub const SYS___semctl: u32 = 510; +pub const SYS_msgctl: u32 = 511; +pub const SYS_shmctl: u32 = 512; +pub const SYS_lpathconf: u32 = 513; +pub const SYS___cap_rights_get: u32 = 515; +pub const SYS_cap_enter: u32 = 516; +pub const SYS_cap_getmode: u32 = 517; +pub const SYS_pdfork: u32 = 518; +pub const SYS_pdkill: u32 = 519; +pub const SYS_pdgetpid: u32 = 520; +pub const SYS_pselect: u32 = 522; +pub const SYS_getloginclass: u32 = 523; +pub const SYS_setloginclass: u32 = 524; +pub const SYS_rctl_get_racct: u32 = 525; +pub const SYS_rctl_get_rules: u32 = 526; +pub const SYS_rctl_get_limits: u32 = 527; +pub const SYS_rctl_add_rule: u32 = 528; +pub const SYS_rctl_remove_rule: u32 = 529; +pub const SYS_posix_fallocate: u32 = 530; +pub const SYS_posix_fadvise: u32 = 531; +pub const SYS_wait6: u32 = 532; +pub const SYS_cap_rights_limit: u32 = 533; +pub const SYS_cap_ioctls_limit: u32 = 534; +pub const SYS_cap_ioctls_get: u32 = 535; +pub const SYS_cap_fcntls_limit: u32 = 536; +pub const SYS_cap_fcntls_get: u32 = 537; +pub const SYS_bindat: u32 = 538; +pub const SYS_connectat: u32 = 539; +pub const SYS_chflagsat: u32 = 540; +pub const SYS_accept4: u32 = 541; +pub const SYS_pipe2: u32 = 542; +pub const SYS_aio_mlock: u32 = 543; +pub const SYS_procctl: u32 = 544; +pub const SYS_ppoll: u32 = 545; +pub const SYS_futimens: u32 = 546; +pub const SYS_utimensat: u32 = 547; +pub const SYS_fdatasync: u32 = 550; +pub const SYS_fstat: u32 = 551; +pub const SYS_fstatat: u32 = 552; +pub const SYS_fhstat: u32 = 553; +pub const SYS_getdirentries: u32 = 554; +pub const SYS_statfs: u32 = 555; +pub const SYS_fstatfs: u32 = 556; +pub const SYS_getfsstat: u32 = 557; +pub const SYS_fhstatfs: u32 = 558; +pub const SYS_mknodat: u32 = 559; +pub const SYS_kevent: u32 = 560; +pub const SYS_cpuset_getdomain: u32 = 561; +pub const SYS_cpuset_setdomain: u32 = 562; +pub const SYS_getrandom: u32 = 563; +pub const SYS_getfhat: u32 = 564; +pub const SYS_fhlink: u32 = 565; +pub const SYS_fhlinkat: u32 = 566; +pub const SYS_fhreadlink: u32 = 567; +pub const SYS_funlinkat: u32 = 568; +pub const SYS_copy_file_range: u32 = 569; +pub const SYS___sysctlbyname: u32 = 570; +pub const SYS_shm_open2: u32 = 571; +pub const SYS_shm_rename: u32 = 572; +pub const SYS_sigfastblock: u32 = 573; +pub const SYS___realpathat: u32 = 574; +pub const SYS_close_range: u32 = 575; +pub const SYS_rpctls_syscall: u32 = 576; +pub const SYS___specialfd: u32 = 577; +pub const SYS_aio_writev: u32 = 578; +pub const SYS_aio_readv: u32 = 579; +pub const SYS_fspacectl: u32 = 580; +pub const SYS_sched_getcpu: u32 = 581; +pub const SYS_swapoff: u32 = 582; +pub const SYS_kqueuex: u32 = 583; +pub const SYS_membarrier: u32 = 584; +pub const SYS_timerfd_create: u32 = 585; +pub const SYS_timerfd_gettime: u32 = 586; +pub const SYS_timerfd_settime: u32 = 587; +pub const SYS_kcmp: u32 = 588; +pub const SYS_MAXSYSCALL: u32 = 589; diff --git a/tests/helper/src/gen/sys/aarch64_fuchsia/mod.rs b/tests/helper/src/gen/sys/aarch64_fuchsia/mod.rs index 2bad27ac..57f858db 100644 --- a/tests/helper/src/gen/sys/aarch64_fuchsia/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_fuchsia/mod.rs @@ -31,4 +31,5 @@ pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SHA512; pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_I8MM; pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SVE; pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SHA2; +pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ADDRESS_TAGGING_TBI; pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_features.rs b/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_features.rs index 9af3d987..3eca7b93 100644 --- a/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_features.rs +++ b/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_features.rs @@ -25,3 +25,4 @@ pub const ZX_ARM64_FEATURE_ISA_SHA512: u32 = 262144u32 as u32; pub const ZX_ARM64_FEATURE_ISA_I8MM: u32 = 524288u32 as u32; pub const ZX_ARM64_FEATURE_ISA_SVE: u32 = 1048576u32 as u32; pub const ZX_ARM64_FEATURE_ISA_SHA2: u32 = 64u8 as u32; +pub const ZX_ARM64_FEATURE_ADDRESS_TAGGING_TBI: u32 = 1u8 as u32; diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_unistd.rs index a56bbdb2..aa756e7f 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_unistd.rs @@ -3,4 +3,321 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_io_setup: u32 = 0; +pub const __NR_io_destroy: u32 = 1; +pub const __NR_io_submit: u32 = 2; +pub const __NR_io_cancel: u32 = 3; +pub const __NR_io_getevents: u32 = 4; +pub const __NR_setxattr: u32 = 5; +pub const __NR_lsetxattr: u32 = 6; +pub const __NR_fsetxattr: u32 = 7; +pub const __NR_getxattr: u32 = 8; +pub const __NR_lgetxattr: u32 = 9; +pub const __NR_fgetxattr: u32 = 10; +pub const __NR_listxattr: u32 = 11; +pub const __NR_llistxattr: u32 = 12; +pub const __NR_flistxattr: u32 = 13; +pub const __NR_removexattr: u32 = 14; +pub const __NR_lremovexattr: u32 = 15; +pub const __NR_fremovexattr: u32 = 16; +pub const __NR_getcwd: u32 = 17; +pub const __NR_lookup_dcookie: u32 = 18; +pub const __NR_eventfd2: u32 = 19; +pub const __NR_epoll_create1: u32 = 20; +pub const __NR_epoll_ctl: u32 = 21; +pub const __NR_epoll_pwait: u32 = 22; +pub const __NR_dup: u32 = 23; +pub const __NR_dup3: u32 = 24; +pub const __NR_fcntl: u32 = 25; +pub const __NR_inotify_init1: u32 = 26; +pub const __NR_inotify_add_watch: u32 = 27; +pub const __NR_inotify_rm_watch: u32 = 28; +pub const __NR_ioctl: u32 = 29; +pub const __NR_ioprio_set: u32 = 30; +pub const __NR_ioprio_get: u32 = 31; +pub const __NR_flock: u32 = 32; +pub const __NR_mknodat: u32 = 33; +pub const __NR_mkdirat: u32 = 34; +pub const __NR_unlinkat: u32 = 35; +pub const __NR_symlinkat: u32 = 36; +pub const __NR_linkat: u32 = 37; +pub const __NR_renameat: u32 = 38; +pub const __NR_umount2: u32 = 39; +pub const __NR_mount: u32 = 40; +pub const __NR_pivot_root: u32 = 41; +pub const __NR_nfsservctl: u32 = 42; +pub const __NR_statfs: u32 = 43; +pub const __NR_fstatfs: u32 = 44; +pub const __NR_truncate: u32 = 45; +pub const __NR_ftruncate: u32 = 46; +pub const __NR_fallocate: u32 = 47; +pub const __NR_faccessat: u32 = 48; +pub const __NR_chdir: u32 = 49; +pub const __NR_fchdir: u32 = 50; +pub const __NR_chroot: u32 = 51; +pub const __NR_fchmod: u32 = 52; +pub const __NR_fchmodat: u32 = 53; +pub const __NR_fchownat: u32 = 54; +pub const __NR_fchown: u32 = 55; +pub const __NR_openat: u32 = 56; +pub const __NR_close: u32 = 57; +pub const __NR_vhangup: u32 = 58; +pub const __NR_pipe2: u32 = 59; +pub const __NR_quotactl: u32 = 60; +pub const __NR_getdents64: u32 = 61; +pub const __NR_lseek: u32 = 62; +pub const __NR_read: u32 = 63; +pub const __NR_write: u32 = 64; +pub const __NR_readv: u32 = 65; +pub const __NR_writev: u32 = 66; +pub const __NR_pread64: u32 = 67; +pub const __NR_pwrite64: u32 = 68; +pub const __NR_preadv: u32 = 69; +pub const __NR_pwritev: u32 = 70; +pub const __NR_sendfile: u32 = 71; +pub const __NR_pselect6: u32 = 72; +pub const __NR_ppoll: u32 = 73; +pub const __NR_signalfd4: u32 = 74; +pub const __NR_vmsplice: u32 = 75; +pub const __NR_splice: u32 = 76; +pub const __NR_tee: u32 = 77; +pub const __NR_readlinkat: u32 = 78; +pub const __NR_newfstatat: u32 = 79; +pub const __NR_fstat: u32 = 80; +pub const __NR_sync: u32 = 81; +pub const __NR_fsync: u32 = 82; +pub const __NR_fdatasync: u32 = 83; +pub const __NR_sync_file_range: u32 = 84; +pub const __NR_timerfd_create: u32 = 85; +pub const __NR_timerfd_settime: u32 = 86; +pub const __NR_timerfd_gettime: u32 = 87; +pub const __NR_utimensat: u32 = 88; +pub const __NR_acct: u32 = 89; +pub const __NR_capget: u32 = 90; +pub const __NR_capset: u32 = 91; +pub const __NR_personality: u32 = 92; +pub const __NR_exit: u32 = 93; +pub const __NR_exit_group: u32 = 94; +pub const __NR_waitid: u32 = 95; +pub const __NR_set_tid_address: u32 = 96; +pub const __NR_unshare: u32 = 97; +pub const __NR_futex: u32 = 98; +pub const __NR_set_robust_list: u32 = 99; +pub const __NR_get_robust_list: u32 = 100; +pub const __NR_nanosleep: u32 = 101; +pub const __NR_getitimer: u32 = 102; +pub const __NR_setitimer: u32 = 103; +pub const __NR_kexec_load: u32 = 104; +pub const __NR_init_module: u32 = 105; +pub const __NR_delete_module: u32 = 106; +pub const __NR_timer_create: u32 = 107; +pub const __NR_timer_gettime: u32 = 108; +pub const __NR_timer_getoverrun: u32 = 109; +pub const __NR_timer_settime: u32 = 110; +pub const __NR_timer_delete: u32 = 111; +pub const __NR_clock_settime: u32 = 112; +pub const __NR_clock_gettime: u32 = 113; +pub const __NR_clock_getres: u32 = 114; +pub const __NR_clock_nanosleep: u32 = 115; +pub const __NR_syslog: u32 = 116; +pub const __NR_ptrace: u32 = 117; +pub const __NR_sched_setparam: u32 = 118; +pub const __NR_sched_setscheduler: u32 = 119; +pub const __NR_sched_getscheduler: u32 = 120; +pub const __NR_sched_getparam: u32 = 121; +pub const __NR_sched_setaffinity: u32 = 122; +pub const __NR_sched_getaffinity: u32 = 123; +pub const __NR_sched_yield: u32 = 124; +pub const __NR_sched_get_priority_max: u32 = 125; +pub const __NR_sched_get_priority_min: u32 = 126; +pub const __NR_sched_rr_get_interval: u32 = 127; +pub const __NR_restart_syscall: u32 = 128; +pub const __NR_kill: u32 = 129; +pub const __NR_tkill: u32 = 130; +pub const __NR_tgkill: u32 = 131; +pub const __NR_sigaltstack: u32 = 132; +pub const __NR_rt_sigsuspend: u32 = 133; +pub const __NR_rt_sigaction: u32 = 134; +pub const __NR_rt_sigprocmask: u32 = 135; +pub const __NR_rt_sigpending: u32 = 136; +pub const __NR_rt_sigtimedwait: u32 = 137; +pub const __NR_rt_sigqueueinfo: u32 = 138; +pub const __NR_rt_sigreturn: u32 = 139; +pub const __NR_setpriority: u32 = 140; +pub const __NR_getpriority: u32 = 141; +pub const __NR_reboot: u32 = 142; +pub const __NR_setregid: u32 = 143; +pub const __NR_setgid: u32 = 144; +pub const __NR_setreuid: u32 = 145; +pub const __NR_setuid: u32 = 146; +pub const __NR_setresuid: u32 = 147; +pub const __NR_getresuid: u32 = 148; +pub const __NR_setresgid: u32 = 149; +pub const __NR_getresgid: u32 = 150; +pub const __NR_setfsuid: u32 = 151; +pub const __NR_setfsgid: u32 = 152; +pub const __NR_times: u32 = 153; +pub const __NR_setpgid: u32 = 154; +pub const __NR_getpgid: u32 = 155; +pub const __NR_getsid: u32 = 156; +pub const __NR_setsid: u32 = 157; +pub const __NR_getgroups: u32 = 158; +pub const __NR_setgroups: u32 = 159; +pub const __NR_uname: u32 = 160; +pub const __NR_sethostname: u32 = 161; +pub const __NR_setdomainname: u32 = 162; +pub const __NR_getrlimit: u32 = 163; +pub const __NR_setrlimit: u32 = 164; +pub const __NR_getrusage: u32 = 165; +pub const __NR_umask: u32 = 166; pub const __NR_prctl: u32 = 167; +pub const __NR_getcpu: u32 = 168; +pub const __NR_gettimeofday: u32 = 169; +pub const __NR_settimeofday: u32 = 170; +pub const __NR_adjtimex: u32 = 171; +pub const __NR_getpid: u32 = 172; +pub const __NR_getppid: u32 = 173; +pub const __NR_getuid: u32 = 174; +pub const __NR_geteuid: u32 = 175; +pub const __NR_getgid: u32 = 176; +pub const __NR_getegid: u32 = 177; +pub const __NR_gettid: u32 = 178; +pub const __NR_sysinfo: u32 = 179; +pub const __NR_mq_open: u32 = 180; +pub const __NR_mq_unlink: u32 = 181; +pub const __NR_mq_timedsend: u32 = 182; +pub const __NR_mq_timedreceive: u32 = 183; +pub const __NR_mq_notify: u32 = 184; +pub const __NR_mq_getsetattr: u32 = 185; +pub const __NR_msgget: u32 = 186; +pub const __NR_msgctl: u32 = 187; +pub const __NR_msgrcv: u32 = 188; +pub const __NR_msgsnd: u32 = 189; +pub const __NR_semget: u32 = 190; +pub const __NR_semctl: u32 = 191; +pub const __NR_semtimedop: u32 = 192; +pub const __NR_semop: u32 = 193; +pub const __NR_shmget: u32 = 194; +pub const __NR_shmctl: u32 = 195; +pub const __NR_shmat: u32 = 196; +pub const __NR_shmdt: u32 = 197; +pub const __NR_socket: u32 = 198; +pub const __NR_socketpair: u32 = 199; +pub const __NR_bind: u32 = 200; +pub const __NR_listen: u32 = 201; +pub const __NR_accept: u32 = 202; +pub const __NR_connect: u32 = 203; +pub const __NR_getsockname: u32 = 204; +pub const __NR_getpeername: u32 = 205; +pub const __NR_sendto: u32 = 206; +pub const __NR_recvfrom: u32 = 207; +pub const __NR_setsockopt: u32 = 208; +pub const __NR_getsockopt: u32 = 209; +pub const __NR_shutdown: u32 = 210; +pub const __NR_sendmsg: u32 = 211; +pub const __NR_recvmsg: u32 = 212; +pub const __NR_readahead: u32 = 213; +pub const __NR_brk: u32 = 214; +pub const __NR_munmap: u32 = 215; +pub const __NR_mremap: u32 = 216; +pub const __NR_add_key: u32 = 217; +pub const __NR_request_key: u32 = 218; +pub const __NR_keyctl: u32 = 219; +pub const __NR_clone: u32 = 220; +pub const __NR_execve: u32 = 221; +pub const __NR_mmap: u32 = 222; +pub const __NR_fadvise64: u32 = 223; +pub const __NR_swapon: u32 = 224; +pub const __NR_swapoff: u32 = 225; +pub const __NR_mprotect: u32 = 226; +pub const __NR_msync: u32 = 227; +pub const __NR_mlock: u32 = 228; +pub const __NR_munlock: u32 = 229; +pub const __NR_mlockall: u32 = 230; +pub const __NR_munlockall: u32 = 231; +pub const __NR_mincore: u32 = 232; +pub const __NR_madvise: u32 = 233; +pub const __NR_remap_file_pages: u32 = 234; +pub const __NR_mbind: u32 = 235; +pub const __NR_get_mempolicy: u32 = 236; +pub const __NR_set_mempolicy: u32 = 237; +pub const __NR_migrate_pages: u32 = 238; +pub const __NR_move_pages: u32 = 239; +pub const __NR_rt_tgsigqueueinfo: u32 = 240; +pub const __NR_perf_event_open: u32 = 241; +pub const __NR_accept4: u32 = 242; +pub const __NR_recvmmsg: u32 = 243; +pub const __NR_wait4: u32 = 260; +pub const __NR_prlimit64: u32 = 261; +pub const __NR_fanotify_init: u32 = 262; +pub const __NR_fanotify_mark: u32 = 263; +pub const __NR_name_to_handle_at: u32 = 264; +pub const __NR_open_by_handle_at: u32 = 265; +pub const __NR_clock_adjtime: u32 = 266; +pub const __NR_syncfs: u32 = 267; +pub const __NR_setns: u32 = 268; +pub const __NR_sendmmsg: u32 = 269; +pub const __NR_process_vm_readv: u32 = 270; +pub const __NR_process_vm_writev: u32 = 271; +pub const __NR_kcmp: u32 = 272; +pub const __NR_finit_module: u32 = 273; +pub const __NR_sched_setattr: u32 = 274; +pub const __NR_sched_getattr: u32 = 275; +pub const __NR_renameat2: u32 = 276; +pub const __NR_seccomp: u32 = 277; +pub const __NR_getrandom: u32 = 278; +pub const __NR_memfd_create: u32 = 279; +pub const __NR_bpf: u32 = 280; +pub const __NR_execveat: u32 = 281; +pub const __NR_userfaultfd: u32 = 282; +pub const __NR_membarrier: u32 = 283; +pub const __NR_mlock2: u32 = 284; +pub const __NR_copy_file_range: u32 = 285; +pub const __NR_preadv2: u32 = 286; +pub const __NR_pwritev2: u32 = 287; +pub const __NR_pkey_mprotect: u32 = 288; +pub const __NR_pkey_alloc: u32 = 289; +pub const __NR_pkey_free: u32 = 290; +pub const __NR_statx: u32 = 291; +pub const __NR_io_pgetevents: u32 = 292; +pub const __NR_rseq: u32 = 293; +pub const __NR_kexec_file_load: u32 = 294; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_memfd_secret: u32 = 447; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_android/mod.rs index a35f75c6..bfcb0a21 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_android/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_android/mod.rs @@ -12,7 +12,324 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR_sync_file_range; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_umask; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semop; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_memfd_secret; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_hwcap; pub use linux_headers_asm_hwcap::HWCAP_FP; pub use linux_headers_asm_hwcap::HWCAP_ASIMD; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_unistd.rs index a56bbdb2..aa756e7f 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_unistd.rs @@ -3,4 +3,321 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_io_setup: u32 = 0; +pub const __NR_io_destroy: u32 = 1; +pub const __NR_io_submit: u32 = 2; +pub const __NR_io_cancel: u32 = 3; +pub const __NR_io_getevents: u32 = 4; +pub const __NR_setxattr: u32 = 5; +pub const __NR_lsetxattr: u32 = 6; +pub const __NR_fsetxattr: u32 = 7; +pub const __NR_getxattr: u32 = 8; +pub const __NR_lgetxattr: u32 = 9; +pub const __NR_fgetxattr: u32 = 10; +pub const __NR_listxattr: u32 = 11; +pub const __NR_llistxattr: u32 = 12; +pub const __NR_flistxattr: u32 = 13; +pub const __NR_removexattr: u32 = 14; +pub const __NR_lremovexattr: u32 = 15; +pub const __NR_fremovexattr: u32 = 16; +pub const __NR_getcwd: u32 = 17; +pub const __NR_lookup_dcookie: u32 = 18; +pub const __NR_eventfd2: u32 = 19; +pub const __NR_epoll_create1: u32 = 20; +pub const __NR_epoll_ctl: u32 = 21; +pub const __NR_epoll_pwait: u32 = 22; +pub const __NR_dup: u32 = 23; +pub const __NR_dup3: u32 = 24; +pub const __NR_fcntl: u32 = 25; +pub const __NR_inotify_init1: u32 = 26; +pub const __NR_inotify_add_watch: u32 = 27; +pub const __NR_inotify_rm_watch: u32 = 28; +pub const __NR_ioctl: u32 = 29; +pub const __NR_ioprio_set: u32 = 30; +pub const __NR_ioprio_get: u32 = 31; +pub const __NR_flock: u32 = 32; +pub const __NR_mknodat: u32 = 33; +pub const __NR_mkdirat: u32 = 34; +pub const __NR_unlinkat: u32 = 35; +pub const __NR_symlinkat: u32 = 36; +pub const __NR_linkat: u32 = 37; +pub const __NR_renameat: u32 = 38; +pub const __NR_umount2: u32 = 39; +pub const __NR_mount: u32 = 40; +pub const __NR_pivot_root: u32 = 41; +pub const __NR_nfsservctl: u32 = 42; +pub const __NR_statfs: u32 = 43; +pub const __NR_fstatfs: u32 = 44; +pub const __NR_truncate: u32 = 45; +pub const __NR_ftruncate: u32 = 46; +pub const __NR_fallocate: u32 = 47; +pub const __NR_faccessat: u32 = 48; +pub const __NR_chdir: u32 = 49; +pub const __NR_fchdir: u32 = 50; +pub const __NR_chroot: u32 = 51; +pub const __NR_fchmod: u32 = 52; +pub const __NR_fchmodat: u32 = 53; +pub const __NR_fchownat: u32 = 54; +pub const __NR_fchown: u32 = 55; +pub const __NR_openat: u32 = 56; +pub const __NR_close: u32 = 57; +pub const __NR_vhangup: u32 = 58; +pub const __NR_pipe2: u32 = 59; +pub const __NR_quotactl: u32 = 60; +pub const __NR_getdents64: u32 = 61; +pub const __NR_lseek: u32 = 62; +pub const __NR_read: u32 = 63; +pub const __NR_write: u32 = 64; +pub const __NR_readv: u32 = 65; +pub const __NR_writev: u32 = 66; +pub const __NR_pread64: u32 = 67; +pub const __NR_pwrite64: u32 = 68; +pub const __NR_preadv: u32 = 69; +pub const __NR_pwritev: u32 = 70; +pub const __NR_sendfile: u32 = 71; +pub const __NR_pselect6: u32 = 72; +pub const __NR_ppoll: u32 = 73; +pub const __NR_signalfd4: u32 = 74; +pub const __NR_vmsplice: u32 = 75; +pub const __NR_splice: u32 = 76; +pub const __NR_tee: u32 = 77; +pub const __NR_readlinkat: u32 = 78; +pub const __NR_newfstatat: u32 = 79; +pub const __NR_fstat: u32 = 80; +pub const __NR_sync: u32 = 81; +pub const __NR_fsync: u32 = 82; +pub const __NR_fdatasync: u32 = 83; +pub const __NR_sync_file_range: u32 = 84; +pub const __NR_timerfd_create: u32 = 85; +pub const __NR_timerfd_settime: u32 = 86; +pub const __NR_timerfd_gettime: u32 = 87; +pub const __NR_utimensat: u32 = 88; +pub const __NR_acct: u32 = 89; +pub const __NR_capget: u32 = 90; +pub const __NR_capset: u32 = 91; +pub const __NR_personality: u32 = 92; +pub const __NR_exit: u32 = 93; +pub const __NR_exit_group: u32 = 94; +pub const __NR_waitid: u32 = 95; +pub const __NR_set_tid_address: u32 = 96; +pub const __NR_unshare: u32 = 97; +pub const __NR_futex: u32 = 98; +pub const __NR_set_robust_list: u32 = 99; +pub const __NR_get_robust_list: u32 = 100; +pub const __NR_nanosleep: u32 = 101; +pub const __NR_getitimer: u32 = 102; +pub const __NR_setitimer: u32 = 103; +pub const __NR_kexec_load: u32 = 104; +pub const __NR_init_module: u32 = 105; +pub const __NR_delete_module: u32 = 106; +pub const __NR_timer_create: u32 = 107; +pub const __NR_timer_gettime: u32 = 108; +pub const __NR_timer_getoverrun: u32 = 109; +pub const __NR_timer_settime: u32 = 110; +pub const __NR_timer_delete: u32 = 111; +pub const __NR_clock_settime: u32 = 112; +pub const __NR_clock_gettime: u32 = 113; +pub const __NR_clock_getres: u32 = 114; +pub const __NR_clock_nanosleep: u32 = 115; +pub const __NR_syslog: u32 = 116; +pub const __NR_ptrace: u32 = 117; +pub const __NR_sched_setparam: u32 = 118; +pub const __NR_sched_setscheduler: u32 = 119; +pub const __NR_sched_getscheduler: u32 = 120; +pub const __NR_sched_getparam: u32 = 121; +pub const __NR_sched_setaffinity: u32 = 122; +pub const __NR_sched_getaffinity: u32 = 123; +pub const __NR_sched_yield: u32 = 124; +pub const __NR_sched_get_priority_max: u32 = 125; +pub const __NR_sched_get_priority_min: u32 = 126; +pub const __NR_sched_rr_get_interval: u32 = 127; +pub const __NR_restart_syscall: u32 = 128; +pub const __NR_kill: u32 = 129; +pub const __NR_tkill: u32 = 130; +pub const __NR_tgkill: u32 = 131; +pub const __NR_sigaltstack: u32 = 132; +pub const __NR_rt_sigsuspend: u32 = 133; +pub const __NR_rt_sigaction: u32 = 134; +pub const __NR_rt_sigprocmask: u32 = 135; +pub const __NR_rt_sigpending: u32 = 136; +pub const __NR_rt_sigtimedwait: u32 = 137; +pub const __NR_rt_sigqueueinfo: u32 = 138; +pub const __NR_rt_sigreturn: u32 = 139; +pub const __NR_setpriority: u32 = 140; +pub const __NR_getpriority: u32 = 141; +pub const __NR_reboot: u32 = 142; +pub const __NR_setregid: u32 = 143; +pub const __NR_setgid: u32 = 144; +pub const __NR_setreuid: u32 = 145; +pub const __NR_setuid: u32 = 146; +pub const __NR_setresuid: u32 = 147; +pub const __NR_getresuid: u32 = 148; +pub const __NR_setresgid: u32 = 149; +pub const __NR_getresgid: u32 = 150; +pub const __NR_setfsuid: u32 = 151; +pub const __NR_setfsgid: u32 = 152; +pub const __NR_times: u32 = 153; +pub const __NR_setpgid: u32 = 154; +pub const __NR_getpgid: u32 = 155; +pub const __NR_getsid: u32 = 156; +pub const __NR_setsid: u32 = 157; +pub const __NR_getgroups: u32 = 158; +pub const __NR_setgroups: u32 = 159; +pub const __NR_uname: u32 = 160; +pub const __NR_sethostname: u32 = 161; +pub const __NR_setdomainname: u32 = 162; +pub const __NR_getrlimit: u32 = 163; +pub const __NR_setrlimit: u32 = 164; +pub const __NR_getrusage: u32 = 165; +pub const __NR_umask: u32 = 166; pub const __NR_prctl: u32 = 167; +pub const __NR_getcpu: u32 = 168; +pub const __NR_gettimeofday: u32 = 169; +pub const __NR_settimeofday: u32 = 170; +pub const __NR_adjtimex: u32 = 171; +pub const __NR_getpid: u32 = 172; +pub const __NR_getppid: u32 = 173; +pub const __NR_getuid: u32 = 174; +pub const __NR_geteuid: u32 = 175; +pub const __NR_getgid: u32 = 176; +pub const __NR_getegid: u32 = 177; +pub const __NR_gettid: u32 = 178; +pub const __NR_sysinfo: u32 = 179; +pub const __NR_mq_open: u32 = 180; +pub const __NR_mq_unlink: u32 = 181; +pub const __NR_mq_timedsend: u32 = 182; +pub const __NR_mq_timedreceive: u32 = 183; +pub const __NR_mq_notify: u32 = 184; +pub const __NR_mq_getsetattr: u32 = 185; +pub const __NR_msgget: u32 = 186; +pub const __NR_msgctl: u32 = 187; +pub const __NR_msgrcv: u32 = 188; +pub const __NR_msgsnd: u32 = 189; +pub const __NR_semget: u32 = 190; +pub const __NR_semctl: u32 = 191; +pub const __NR_semtimedop: u32 = 192; +pub const __NR_semop: u32 = 193; +pub const __NR_shmget: u32 = 194; +pub const __NR_shmctl: u32 = 195; +pub const __NR_shmat: u32 = 196; +pub const __NR_shmdt: u32 = 197; +pub const __NR_socket: u32 = 198; +pub const __NR_socketpair: u32 = 199; +pub const __NR_bind: u32 = 200; +pub const __NR_listen: u32 = 201; +pub const __NR_accept: u32 = 202; +pub const __NR_connect: u32 = 203; +pub const __NR_getsockname: u32 = 204; +pub const __NR_getpeername: u32 = 205; +pub const __NR_sendto: u32 = 206; +pub const __NR_recvfrom: u32 = 207; +pub const __NR_setsockopt: u32 = 208; +pub const __NR_getsockopt: u32 = 209; +pub const __NR_shutdown: u32 = 210; +pub const __NR_sendmsg: u32 = 211; +pub const __NR_recvmsg: u32 = 212; +pub const __NR_readahead: u32 = 213; +pub const __NR_brk: u32 = 214; +pub const __NR_munmap: u32 = 215; +pub const __NR_mremap: u32 = 216; +pub const __NR_add_key: u32 = 217; +pub const __NR_request_key: u32 = 218; +pub const __NR_keyctl: u32 = 219; +pub const __NR_clone: u32 = 220; +pub const __NR_execve: u32 = 221; +pub const __NR_mmap: u32 = 222; +pub const __NR_fadvise64: u32 = 223; +pub const __NR_swapon: u32 = 224; +pub const __NR_swapoff: u32 = 225; +pub const __NR_mprotect: u32 = 226; +pub const __NR_msync: u32 = 227; +pub const __NR_mlock: u32 = 228; +pub const __NR_munlock: u32 = 229; +pub const __NR_mlockall: u32 = 230; +pub const __NR_munlockall: u32 = 231; +pub const __NR_mincore: u32 = 232; +pub const __NR_madvise: u32 = 233; +pub const __NR_remap_file_pages: u32 = 234; +pub const __NR_mbind: u32 = 235; +pub const __NR_get_mempolicy: u32 = 236; +pub const __NR_set_mempolicy: u32 = 237; +pub const __NR_migrate_pages: u32 = 238; +pub const __NR_move_pages: u32 = 239; +pub const __NR_rt_tgsigqueueinfo: u32 = 240; +pub const __NR_perf_event_open: u32 = 241; +pub const __NR_accept4: u32 = 242; +pub const __NR_recvmmsg: u32 = 243; +pub const __NR_wait4: u32 = 260; +pub const __NR_prlimit64: u32 = 261; +pub const __NR_fanotify_init: u32 = 262; +pub const __NR_fanotify_mark: u32 = 263; +pub const __NR_name_to_handle_at: u32 = 264; +pub const __NR_open_by_handle_at: u32 = 265; +pub const __NR_clock_adjtime: u32 = 266; +pub const __NR_syncfs: u32 = 267; +pub const __NR_setns: u32 = 268; +pub const __NR_sendmmsg: u32 = 269; +pub const __NR_process_vm_readv: u32 = 270; +pub const __NR_process_vm_writev: u32 = 271; +pub const __NR_kcmp: u32 = 272; +pub const __NR_finit_module: u32 = 273; +pub const __NR_sched_setattr: u32 = 274; +pub const __NR_sched_getattr: u32 = 275; +pub const __NR_renameat2: u32 = 276; +pub const __NR_seccomp: u32 = 277; +pub const __NR_getrandom: u32 = 278; +pub const __NR_memfd_create: u32 = 279; +pub const __NR_bpf: u32 = 280; +pub const __NR_execveat: u32 = 281; +pub const __NR_userfaultfd: u32 = 282; +pub const __NR_membarrier: u32 = 283; +pub const __NR_mlock2: u32 = 284; +pub const __NR_copy_file_range: u32 = 285; +pub const __NR_preadv2: u32 = 286; +pub const __NR_pwritev2: u32 = 287; +pub const __NR_pkey_mprotect: u32 = 288; +pub const __NR_pkey_alloc: u32 = 289; +pub const __NR_pkey_free: u32 = 290; +pub const __NR_statx: u32 = 291; +pub const __NR_io_pgetevents: u32 = 292; +pub const __NR_rseq: u32 = 293; +pub const __NR_kexec_file_load: u32 = 294; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_memfd_secret: u32 = 447; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/mod.rs index bf0efa23..a571d602 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_gnu/mod.rs @@ -12,7 +12,324 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR_sync_file_range; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_umask; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semop; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_memfd_secret; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_hwcap; pub use linux_headers_asm_hwcap::HWCAP_FP; pub use linux_headers_asm_hwcap::HWCAP_ASIMD; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_unistd.rs index a56bbdb2..aa756e7f 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_unistd.rs @@ -3,4 +3,321 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_io_setup: u32 = 0; +pub const __NR_io_destroy: u32 = 1; +pub const __NR_io_submit: u32 = 2; +pub const __NR_io_cancel: u32 = 3; +pub const __NR_io_getevents: u32 = 4; +pub const __NR_setxattr: u32 = 5; +pub const __NR_lsetxattr: u32 = 6; +pub const __NR_fsetxattr: u32 = 7; +pub const __NR_getxattr: u32 = 8; +pub const __NR_lgetxattr: u32 = 9; +pub const __NR_fgetxattr: u32 = 10; +pub const __NR_listxattr: u32 = 11; +pub const __NR_llistxattr: u32 = 12; +pub const __NR_flistxattr: u32 = 13; +pub const __NR_removexattr: u32 = 14; +pub const __NR_lremovexattr: u32 = 15; +pub const __NR_fremovexattr: u32 = 16; +pub const __NR_getcwd: u32 = 17; +pub const __NR_lookup_dcookie: u32 = 18; +pub const __NR_eventfd2: u32 = 19; +pub const __NR_epoll_create1: u32 = 20; +pub const __NR_epoll_ctl: u32 = 21; +pub const __NR_epoll_pwait: u32 = 22; +pub const __NR_dup: u32 = 23; +pub const __NR_dup3: u32 = 24; +pub const __NR_fcntl: u32 = 25; +pub const __NR_inotify_init1: u32 = 26; +pub const __NR_inotify_add_watch: u32 = 27; +pub const __NR_inotify_rm_watch: u32 = 28; +pub const __NR_ioctl: u32 = 29; +pub const __NR_ioprio_set: u32 = 30; +pub const __NR_ioprio_get: u32 = 31; +pub const __NR_flock: u32 = 32; +pub const __NR_mknodat: u32 = 33; +pub const __NR_mkdirat: u32 = 34; +pub const __NR_unlinkat: u32 = 35; +pub const __NR_symlinkat: u32 = 36; +pub const __NR_linkat: u32 = 37; +pub const __NR_renameat: u32 = 38; +pub const __NR_umount2: u32 = 39; +pub const __NR_mount: u32 = 40; +pub const __NR_pivot_root: u32 = 41; +pub const __NR_nfsservctl: u32 = 42; +pub const __NR_statfs: u32 = 43; +pub const __NR_fstatfs: u32 = 44; +pub const __NR_truncate: u32 = 45; +pub const __NR_ftruncate: u32 = 46; +pub const __NR_fallocate: u32 = 47; +pub const __NR_faccessat: u32 = 48; +pub const __NR_chdir: u32 = 49; +pub const __NR_fchdir: u32 = 50; +pub const __NR_chroot: u32 = 51; +pub const __NR_fchmod: u32 = 52; +pub const __NR_fchmodat: u32 = 53; +pub const __NR_fchownat: u32 = 54; +pub const __NR_fchown: u32 = 55; +pub const __NR_openat: u32 = 56; +pub const __NR_close: u32 = 57; +pub const __NR_vhangup: u32 = 58; +pub const __NR_pipe2: u32 = 59; +pub const __NR_quotactl: u32 = 60; +pub const __NR_getdents64: u32 = 61; +pub const __NR_lseek: u32 = 62; +pub const __NR_read: u32 = 63; +pub const __NR_write: u32 = 64; +pub const __NR_readv: u32 = 65; +pub const __NR_writev: u32 = 66; +pub const __NR_pread64: u32 = 67; +pub const __NR_pwrite64: u32 = 68; +pub const __NR_preadv: u32 = 69; +pub const __NR_pwritev: u32 = 70; +pub const __NR_sendfile: u32 = 71; +pub const __NR_pselect6: u32 = 72; +pub const __NR_ppoll: u32 = 73; +pub const __NR_signalfd4: u32 = 74; +pub const __NR_vmsplice: u32 = 75; +pub const __NR_splice: u32 = 76; +pub const __NR_tee: u32 = 77; +pub const __NR_readlinkat: u32 = 78; +pub const __NR_newfstatat: u32 = 79; +pub const __NR_fstat: u32 = 80; +pub const __NR_sync: u32 = 81; +pub const __NR_fsync: u32 = 82; +pub const __NR_fdatasync: u32 = 83; +pub const __NR_sync_file_range: u32 = 84; +pub const __NR_timerfd_create: u32 = 85; +pub const __NR_timerfd_settime: u32 = 86; +pub const __NR_timerfd_gettime: u32 = 87; +pub const __NR_utimensat: u32 = 88; +pub const __NR_acct: u32 = 89; +pub const __NR_capget: u32 = 90; +pub const __NR_capset: u32 = 91; +pub const __NR_personality: u32 = 92; +pub const __NR_exit: u32 = 93; +pub const __NR_exit_group: u32 = 94; +pub const __NR_waitid: u32 = 95; +pub const __NR_set_tid_address: u32 = 96; +pub const __NR_unshare: u32 = 97; +pub const __NR_futex: u32 = 98; +pub const __NR_set_robust_list: u32 = 99; +pub const __NR_get_robust_list: u32 = 100; +pub const __NR_nanosleep: u32 = 101; +pub const __NR_getitimer: u32 = 102; +pub const __NR_setitimer: u32 = 103; +pub const __NR_kexec_load: u32 = 104; +pub const __NR_init_module: u32 = 105; +pub const __NR_delete_module: u32 = 106; +pub const __NR_timer_create: u32 = 107; +pub const __NR_timer_gettime: u32 = 108; +pub const __NR_timer_getoverrun: u32 = 109; +pub const __NR_timer_settime: u32 = 110; +pub const __NR_timer_delete: u32 = 111; +pub const __NR_clock_settime: u32 = 112; +pub const __NR_clock_gettime: u32 = 113; +pub const __NR_clock_getres: u32 = 114; +pub const __NR_clock_nanosleep: u32 = 115; +pub const __NR_syslog: u32 = 116; +pub const __NR_ptrace: u32 = 117; +pub const __NR_sched_setparam: u32 = 118; +pub const __NR_sched_setscheduler: u32 = 119; +pub const __NR_sched_getscheduler: u32 = 120; +pub const __NR_sched_getparam: u32 = 121; +pub const __NR_sched_setaffinity: u32 = 122; +pub const __NR_sched_getaffinity: u32 = 123; +pub const __NR_sched_yield: u32 = 124; +pub const __NR_sched_get_priority_max: u32 = 125; +pub const __NR_sched_get_priority_min: u32 = 126; +pub const __NR_sched_rr_get_interval: u32 = 127; +pub const __NR_restart_syscall: u32 = 128; +pub const __NR_kill: u32 = 129; +pub const __NR_tkill: u32 = 130; +pub const __NR_tgkill: u32 = 131; +pub const __NR_sigaltstack: u32 = 132; +pub const __NR_rt_sigsuspend: u32 = 133; +pub const __NR_rt_sigaction: u32 = 134; +pub const __NR_rt_sigprocmask: u32 = 135; +pub const __NR_rt_sigpending: u32 = 136; +pub const __NR_rt_sigtimedwait: u32 = 137; +pub const __NR_rt_sigqueueinfo: u32 = 138; +pub const __NR_rt_sigreturn: u32 = 139; +pub const __NR_setpriority: u32 = 140; +pub const __NR_getpriority: u32 = 141; +pub const __NR_reboot: u32 = 142; +pub const __NR_setregid: u32 = 143; +pub const __NR_setgid: u32 = 144; +pub const __NR_setreuid: u32 = 145; +pub const __NR_setuid: u32 = 146; +pub const __NR_setresuid: u32 = 147; +pub const __NR_getresuid: u32 = 148; +pub const __NR_setresgid: u32 = 149; +pub const __NR_getresgid: u32 = 150; +pub const __NR_setfsuid: u32 = 151; +pub const __NR_setfsgid: u32 = 152; +pub const __NR_times: u32 = 153; +pub const __NR_setpgid: u32 = 154; +pub const __NR_getpgid: u32 = 155; +pub const __NR_getsid: u32 = 156; +pub const __NR_setsid: u32 = 157; +pub const __NR_getgroups: u32 = 158; +pub const __NR_setgroups: u32 = 159; +pub const __NR_uname: u32 = 160; +pub const __NR_sethostname: u32 = 161; +pub const __NR_setdomainname: u32 = 162; +pub const __NR_getrlimit: u32 = 163; +pub const __NR_setrlimit: u32 = 164; +pub const __NR_getrusage: u32 = 165; +pub const __NR_umask: u32 = 166; pub const __NR_prctl: u32 = 167; +pub const __NR_getcpu: u32 = 168; +pub const __NR_gettimeofday: u32 = 169; +pub const __NR_settimeofday: u32 = 170; +pub const __NR_adjtimex: u32 = 171; +pub const __NR_getpid: u32 = 172; +pub const __NR_getppid: u32 = 173; +pub const __NR_getuid: u32 = 174; +pub const __NR_geteuid: u32 = 175; +pub const __NR_getgid: u32 = 176; +pub const __NR_getegid: u32 = 177; +pub const __NR_gettid: u32 = 178; +pub const __NR_sysinfo: u32 = 179; +pub const __NR_mq_open: u32 = 180; +pub const __NR_mq_unlink: u32 = 181; +pub const __NR_mq_timedsend: u32 = 182; +pub const __NR_mq_timedreceive: u32 = 183; +pub const __NR_mq_notify: u32 = 184; +pub const __NR_mq_getsetattr: u32 = 185; +pub const __NR_msgget: u32 = 186; +pub const __NR_msgctl: u32 = 187; +pub const __NR_msgrcv: u32 = 188; +pub const __NR_msgsnd: u32 = 189; +pub const __NR_semget: u32 = 190; +pub const __NR_semctl: u32 = 191; +pub const __NR_semtimedop: u32 = 192; +pub const __NR_semop: u32 = 193; +pub const __NR_shmget: u32 = 194; +pub const __NR_shmctl: u32 = 195; +pub const __NR_shmat: u32 = 196; +pub const __NR_shmdt: u32 = 197; +pub const __NR_socket: u32 = 198; +pub const __NR_socketpair: u32 = 199; +pub const __NR_bind: u32 = 200; +pub const __NR_listen: u32 = 201; +pub const __NR_accept: u32 = 202; +pub const __NR_connect: u32 = 203; +pub const __NR_getsockname: u32 = 204; +pub const __NR_getpeername: u32 = 205; +pub const __NR_sendto: u32 = 206; +pub const __NR_recvfrom: u32 = 207; +pub const __NR_setsockopt: u32 = 208; +pub const __NR_getsockopt: u32 = 209; +pub const __NR_shutdown: u32 = 210; +pub const __NR_sendmsg: u32 = 211; +pub const __NR_recvmsg: u32 = 212; +pub const __NR_readahead: u32 = 213; +pub const __NR_brk: u32 = 214; +pub const __NR_munmap: u32 = 215; +pub const __NR_mremap: u32 = 216; +pub const __NR_add_key: u32 = 217; +pub const __NR_request_key: u32 = 218; +pub const __NR_keyctl: u32 = 219; +pub const __NR_clone: u32 = 220; +pub const __NR_execve: u32 = 221; +pub const __NR_mmap: u32 = 222; +pub const __NR_fadvise64: u32 = 223; +pub const __NR_swapon: u32 = 224; +pub const __NR_swapoff: u32 = 225; +pub const __NR_mprotect: u32 = 226; +pub const __NR_msync: u32 = 227; +pub const __NR_mlock: u32 = 228; +pub const __NR_munlock: u32 = 229; +pub const __NR_mlockall: u32 = 230; +pub const __NR_munlockall: u32 = 231; +pub const __NR_mincore: u32 = 232; +pub const __NR_madvise: u32 = 233; +pub const __NR_remap_file_pages: u32 = 234; +pub const __NR_mbind: u32 = 235; +pub const __NR_get_mempolicy: u32 = 236; +pub const __NR_set_mempolicy: u32 = 237; +pub const __NR_migrate_pages: u32 = 238; +pub const __NR_move_pages: u32 = 239; +pub const __NR_rt_tgsigqueueinfo: u32 = 240; +pub const __NR_perf_event_open: u32 = 241; +pub const __NR_accept4: u32 = 242; +pub const __NR_recvmmsg: u32 = 243; +pub const __NR_wait4: u32 = 260; +pub const __NR_prlimit64: u32 = 261; +pub const __NR_fanotify_init: u32 = 262; +pub const __NR_fanotify_mark: u32 = 263; +pub const __NR_name_to_handle_at: u32 = 264; +pub const __NR_open_by_handle_at: u32 = 265; +pub const __NR_clock_adjtime: u32 = 266; +pub const __NR_syncfs: u32 = 267; +pub const __NR_setns: u32 = 268; +pub const __NR_sendmmsg: u32 = 269; +pub const __NR_process_vm_readv: u32 = 270; +pub const __NR_process_vm_writev: u32 = 271; +pub const __NR_kcmp: u32 = 272; +pub const __NR_finit_module: u32 = 273; +pub const __NR_sched_setattr: u32 = 274; +pub const __NR_sched_getattr: u32 = 275; +pub const __NR_renameat2: u32 = 276; +pub const __NR_seccomp: u32 = 277; +pub const __NR_getrandom: u32 = 278; +pub const __NR_memfd_create: u32 = 279; +pub const __NR_bpf: u32 = 280; +pub const __NR_execveat: u32 = 281; +pub const __NR_userfaultfd: u32 = 282; +pub const __NR_membarrier: u32 = 283; +pub const __NR_mlock2: u32 = 284; +pub const __NR_copy_file_range: u32 = 285; +pub const __NR_preadv2: u32 = 286; +pub const __NR_pwritev2: u32 = 287; +pub const __NR_pkey_mprotect: u32 = 288; +pub const __NR_pkey_alloc: u32 = 289; +pub const __NR_pkey_free: u32 = 290; +pub const __NR_statx: u32 = 291; +pub const __NR_io_pgetevents: u32 = 292; +pub const __NR_rseq: u32 = 293; +pub const __NR_kexec_file_load: u32 = 294; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_memfd_secret: u32 = 447; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/mod.rs index bf0efa23..a571d602 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/mod.rs @@ -12,7 +12,324 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR_sync_file_range; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_umask; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semop; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_memfd_secret; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_hwcap; pub use linux_headers_asm_hwcap::HWCAP_FP; pub use linux_headers_asm_hwcap::HWCAP_ASIMD; diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_unistd.rs index a56bbdb2..aa756e7f 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_unistd.rs @@ -3,4 +3,321 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_io_setup: u32 = 0; +pub const __NR_io_destroy: u32 = 1; +pub const __NR_io_submit: u32 = 2; +pub const __NR_io_cancel: u32 = 3; +pub const __NR_io_getevents: u32 = 4; +pub const __NR_setxattr: u32 = 5; +pub const __NR_lsetxattr: u32 = 6; +pub const __NR_fsetxattr: u32 = 7; +pub const __NR_getxattr: u32 = 8; +pub const __NR_lgetxattr: u32 = 9; +pub const __NR_fgetxattr: u32 = 10; +pub const __NR_listxattr: u32 = 11; +pub const __NR_llistxattr: u32 = 12; +pub const __NR_flistxattr: u32 = 13; +pub const __NR_removexattr: u32 = 14; +pub const __NR_lremovexattr: u32 = 15; +pub const __NR_fremovexattr: u32 = 16; +pub const __NR_getcwd: u32 = 17; +pub const __NR_lookup_dcookie: u32 = 18; +pub const __NR_eventfd2: u32 = 19; +pub const __NR_epoll_create1: u32 = 20; +pub const __NR_epoll_ctl: u32 = 21; +pub const __NR_epoll_pwait: u32 = 22; +pub const __NR_dup: u32 = 23; +pub const __NR_dup3: u32 = 24; +pub const __NR_fcntl: u32 = 25; +pub const __NR_inotify_init1: u32 = 26; +pub const __NR_inotify_add_watch: u32 = 27; +pub const __NR_inotify_rm_watch: u32 = 28; +pub const __NR_ioctl: u32 = 29; +pub const __NR_ioprio_set: u32 = 30; +pub const __NR_ioprio_get: u32 = 31; +pub const __NR_flock: u32 = 32; +pub const __NR_mknodat: u32 = 33; +pub const __NR_mkdirat: u32 = 34; +pub const __NR_unlinkat: u32 = 35; +pub const __NR_symlinkat: u32 = 36; +pub const __NR_linkat: u32 = 37; +pub const __NR_renameat: u32 = 38; +pub const __NR_umount2: u32 = 39; +pub const __NR_mount: u32 = 40; +pub const __NR_pivot_root: u32 = 41; +pub const __NR_nfsservctl: u32 = 42; +pub const __NR_statfs: u32 = 43; +pub const __NR_fstatfs: u32 = 44; +pub const __NR_truncate: u32 = 45; +pub const __NR_ftruncate: u32 = 46; +pub const __NR_fallocate: u32 = 47; +pub const __NR_faccessat: u32 = 48; +pub const __NR_chdir: u32 = 49; +pub const __NR_fchdir: u32 = 50; +pub const __NR_chroot: u32 = 51; +pub const __NR_fchmod: u32 = 52; +pub const __NR_fchmodat: u32 = 53; +pub const __NR_fchownat: u32 = 54; +pub const __NR_fchown: u32 = 55; +pub const __NR_openat: u32 = 56; +pub const __NR_close: u32 = 57; +pub const __NR_vhangup: u32 = 58; +pub const __NR_pipe2: u32 = 59; +pub const __NR_quotactl: u32 = 60; +pub const __NR_getdents64: u32 = 61; +pub const __NR_lseek: u32 = 62; +pub const __NR_read: u32 = 63; +pub const __NR_write: u32 = 64; +pub const __NR_readv: u32 = 65; +pub const __NR_writev: u32 = 66; +pub const __NR_pread64: u32 = 67; +pub const __NR_pwrite64: u32 = 68; +pub const __NR_preadv: u32 = 69; +pub const __NR_pwritev: u32 = 70; +pub const __NR_sendfile: u32 = 71; +pub const __NR_pselect6: u32 = 72; +pub const __NR_ppoll: u32 = 73; +pub const __NR_signalfd4: u32 = 74; +pub const __NR_vmsplice: u32 = 75; +pub const __NR_splice: u32 = 76; +pub const __NR_tee: u32 = 77; +pub const __NR_readlinkat: u32 = 78; +pub const __NR_newfstatat: u32 = 79; +pub const __NR_fstat: u32 = 80; +pub const __NR_sync: u32 = 81; +pub const __NR_fsync: u32 = 82; +pub const __NR_fdatasync: u32 = 83; +pub const __NR_sync_file_range: u32 = 84; +pub const __NR_timerfd_create: u32 = 85; +pub const __NR_timerfd_settime: u32 = 86; +pub const __NR_timerfd_gettime: u32 = 87; +pub const __NR_utimensat: u32 = 88; +pub const __NR_acct: u32 = 89; +pub const __NR_capget: u32 = 90; +pub const __NR_capset: u32 = 91; +pub const __NR_personality: u32 = 92; +pub const __NR_exit: u32 = 93; +pub const __NR_exit_group: u32 = 94; +pub const __NR_waitid: u32 = 95; +pub const __NR_set_tid_address: u32 = 96; +pub const __NR_unshare: u32 = 97; +pub const __NR_futex: u32 = 98; +pub const __NR_set_robust_list: u32 = 99; +pub const __NR_get_robust_list: u32 = 100; +pub const __NR_nanosleep: u32 = 101; +pub const __NR_getitimer: u32 = 102; +pub const __NR_setitimer: u32 = 103; +pub const __NR_kexec_load: u32 = 104; +pub const __NR_init_module: u32 = 105; +pub const __NR_delete_module: u32 = 106; +pub const __NR_timer_create: u32 = 107; +pub const __NR_timer_gettime: u32 = 108; +pub const __NR_timer_getoverrun: u32 = 109; +pub const __NR_timer_settime: u32 = 110; +pub const __NR_timer_delete: u32 = 111; +pub const __NR_clock_settime: u32 = 112; +pub const __NR_clock_gettime: u32 = 113; +pub const __NR_clock_getres: u32 = 114; +pub const __NR_clock_nanosleep: u32 = 115; +pub const __NR_syslog: u32 = 116; +pub const __NR_ptrace: u32 = 117; +pub const __NR_sched_setparam: u32 = 118; +pub const __NR_sched_setscheduler: u32 = 119; +pub const __NR_sched_getscheduler: u32 = 120; +pub const __NR_sched_getparam: u32 = 121; +pub const __NR_sched_setaffinity: u32 = 122; +pub const __NR_sched_getaffinity: u32 = 123; +pub const __NR_sched_yield: u32 = 124; +pub const __NR_sched_get_priority_max: u32 = 125; +pub const __NR_sched_get_priority_min: u32 = 126; +pub const __NR_sched_rr_get_interval: u32 = 127; +pub const __NR_restart_syscall: u32 = 128; +pub const __NR_kill: u32 = 129; +pub const __NR_tkill: u32 = 130; +pub const __NR_tgkill: u32 = 131; +pub const __NR_sigaltstack: u32 = 132; +pub const __NR_rt_sigsuspend: u32 = 133; +pub const __NR_rt_sigaction: u32 = 134; +pub const __NR_rt_sigprocmask: u32 = 135; +pub const __NR_rt_sigpending: u32 = 136; +pub const __NR_rt_sigtimedwait: u32 = 137; +pub const __NR_rt_sigqueueinfo: u32 = 138; +pub const __NR_rt_sigreturn: u32 = 139; +pub const __NR_setpriority: u32 = 140; +pub const __NR_getpriority: u32 = 141; +pub const __NR_reboot: u32 = 142; +pub const __NR_setregid: u32 = 143; +pub const __NR_setgid: u32 = 144; +pub const __NR_setreuid: u32 = 145; +pub const __NR_setuid: u32 = 146; +pub const __NR_setresuid: u32 = 147; +pub const __NR_getresuid: u32 = 148; +pub const __NR_setresgid: u32 = 149; +pub const __NR_getresgid: u32 = 150; +pub const __NR_setfsuid: u32 = 151; +pub const __NR_setfsgid: u32 = 152; +pub const __NR_times: u32 = 153; +pub const __NR_setpgid: u32 = 154; +pub const __NR_getpgid: u32 = 155; +pub const __NR_getsid: u32 = 156; +pub const __NR_setsid: u32 = 157; +pub const __NR_getgroups: u32 = 158; +pub const __NR_setgroups: u32 = 159; +pub const __NR_uname: u32 = 160; +pub const __NR_sethostname: u32 = 161; +pub const __NR_setdomainname: u32 = 162; +pub const __NR_getrlimit: u32 = 163; +pub const __NR_setrlimit: u32 = 164; +pub const __NR_getrusage: u32 = 165; +pub const __NR_umask: u32 = 166; pub const __NR_prctl: u32 = 167; +pub const __NR_getcpu: u32 = 168; +pub const __NR_gettimeofday: u32 = 169; +pub const __NR_settimeofday: u32 = 170; +pub const __NR_adjtimex: u32 = 171; +pub const __NR_getpid: u32 = 172; +pub const __NR_getppid: u32 = 173; +pub const __NR_getuid: u32 = 174; +pub const __NR_geteuid: u32 = 175; +pub const __NR_getgid: u32 = 176; +pub const __NR_getegid: u32 = 177; +pub const __NR_gettid: u32 = 178; +pub const __NR_sysinfo: u32 = 179; +pub const __NR_mq_open: u32 = 180; +pub const __NR_mq_unlink: u32 = 181; +pub const __NR_mq_timedsend: u32 = 182; +pub const __NR_mq_timedreceive: u32 = 183; +pub const __NR_mq_notify: u32 = 184; +pub const __NR_mq_getsetattr: u32 = 185; +pub const __NR_msgget: u32 = 186; +pub const __NR_msgctl: u32 = 187; +pub const __NR_msgrcv: u32 = 188; +pub const __NR_msgsnd: u32 = 189; +pub const __NR_semget: u32 = 190; +pub const __NR_semctl: u32 = 191; +pub const __NR_semtimedop: u32 = 192; +pub const __NR_semop: u32 = 193; +pub const __NR_shmget: u32 = 194; +pub const __NR_shmctl: u32 = 195; +pub const __NR_shmat: u32 = 196; +pub const __NR_shmdt: u32 = 197; +pub const __NR_socket: u32 = 198; +pub const __NR_socketpair: u32 = 199; +pub const __NR_bind: u32 = 200; +pub const __NR_listen: u32 = 201; +pub const __NR_accept: u32 = 202; +pub const __NR_connect: u32 = 203; +pub const __NR_getsockname: u32 = 204; +pub const __NR_getpeername: u32 = 205; +pub const __NR_sendto: u32 = 206; +pub const __NR_recvfrom: u32 = 207; +pub const __NR_setsockopt: u32 = 208; +pub const __NR_getsockopt: u32 = 209; +pub const __NR_shutdown: u32 = 210; +pub const __NR_sendmsg: u32 = 211; +pub const __NR_recvmsg: u32 = 212; +pub const __NR_readahead: u32 = 213; +pub const __NR_brk: u32 = 214; +pub const __NR_munmap: u32 = 215; +pub const __NR_mremap: u32 = 216; +pub const __NR_add_key: u32 = 217; +pub const __NR_request_key: u32 = 218; +pub const __NR_keyctl: u32 = 219; +pub const __NR_clone: u32 = 220; +pub const __NR_execve: u32 = 221; +pub const __NR_mmap: u32 = 222; +pub const __NR_fadvise64: u32 = 223; +pub const __NR_swapon: u32 = 224; +pub const __NR_swapoff: u32 = 225; +pub const __NR_mprotect: u32 = 226; +pub const __NR_msync: u32 = 227; +pub const __NR_mlock: u32 = 228; +pub const __NR_munlock: u32 = 229; +pub const __NR_mlockall: u32 = 230; +pub const __NR_munlockall: u32 = 231; +pub const __NR_mincore: u32 = 232; +pub const __NR_madvise: u32 = 233; +pub const __NR_remap_file_pages: u32 = 234; +pub const __NR_mbind: u32 = 235; +pub const __NR_get_mempolicy: u32 = 236; +pub const __NR_set_mempolicy: u32 = 237; +pub const __NR_migrate_pages: u32 = 238; +pub const __NR_move_pages: u32 = 239; +pub const __NR_rt_tgsigqueueinfo: u32 = 240; +pub const __NR_perf_event_open: u32 = 241; +pub const __NR_accept4: u32 = 242; +pub const __NR_recvmmsg: u32 = 243; +pub const __NR_wait4: u32 = 260; +pub const __NR_prlimit64: u32 = 261; +pub const __NR_fanotify_init: u32 = 262; +pub const __NR_fanotify_mark: u32 = 263; +pub const __NR_name_to_handle_at: u32 = 264; +pub const __NR_open_by_handle_at: u32 = 265; +pub const __NR_clock_adjtime: u32 = 266; +pub const __NR_syncfs: u32 = 267; +pub const __NR_setns: u32 = 268; +pub const __NR_sendmmsg: u32 = 269; +pub const __NR_process_vm_readv: u32 = 270; +pub const __NR_process_vm_writev: u32 = 271; +pub const __NR_kcmp: u32 = 272; +pub const __NR_finit_module: u32 = 273; +pub const __NR_sched_setattr: u32 = 274; +pub const __NR_sched_getattr: u32 = 275; +pub const __NR_renameat2: u32 = 276; +pub const __NR_seccomp: u32 = 277; +pub const __NR_getrandom: u32 = 278; +pub const __NR_memfd_create: u32 = 279; +pub const __NR_bpf: u32 = 280; +pub const __NR_execveat: u32 = 281; +pub const __NR_userfaultfd: u32 = 282; +pub const __NR_membarrier: u32 = 283; +pub const __NR_mlock2: u32 = 284; +pub const __NR_copy_file_range: u32 = 285; +pub const __NR_preadv2: u32 = 286; +pub const __NR_pwritev2: u32 = 287; +pub const __NR_pkey_mprotect: u32 = 288; +pub const __NR_pkey_alloc: u32 = 289; +pub const __NR_pkey_free: u32 = 290; +pub const __NR_statx: u32 = 291; +pub const __NR_io_pgetevents: u32 = 292; +pub const __NR_rseq: u32 = 293; +pub const __NR_kexec_file_load: u32 = 294; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_memfd_secret: u32 = 447; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/mod.rs index bf0efa23..a571d602 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_musl/mod.rs @@ -12,7 +12,324 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR_sync_file_range; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_umask; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semop; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_memfd_secret; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_hwcap; pub use linux_headers_asm_hwcap::HWCAP_FP; pub use linux_headers_asm_hwcap::HWCAP_ASIMD; diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_unistd.rs index a56bbdb2..aa756e7f 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_unistd.rs @@ -3,4 +3,321 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_io_setup: u32 = 0; +pub const __NR_io_destroy: u32 = 1; +pub const __NR_io_submit: u32 = 2; +pub const __NR_io_cancel: u32 = 3; +pub const __NR_io_getevents: u32 = 4; +pub const __NR_setxattr: u32 = 5; +pub const __NR_lsetxattr: u32 = 6; +pub const __NR_fsetxattr: u32 = 7; +pub const __NR_getxattr: u32 = 8; +pub const __NR_lgetxattr: u32 = 9; +pub const __NR_fgetxattr: u32 = 10; +pub const __NR_listxattr: u32 = 11; +pub const __NR_llistxattr: u32 = 12; +pub const __NR_flistxattr: u32 = 13; +pub const __NR_removexattr: u32 = 14; +pub const __NR_lremovexattr: u32 = 15; +pub const __NR_fremovexattr: u32 = 16; +pub const __NR_getcwd: u32 = 17; +pub const __NR_lookup_dcookie: u32 = 18; +pub const __NR_eventfd2: u32 = 19; +pub const __NR_epoll_create1: u32 = 20; +pub const __NR_epoll_ctl: u32 = 21; +pub const __NR_epoll_pwait: u32 = 22; +pub const __NR_dup: u32 = 23; +pub const __NR_dup3: u32 = 24; +pub const __NR_fcntl: u32 = 25; +pub const __NR_inotify_init1: u32 = 26; +pub const __NR_inotify_add_watch: u32 = 27; +pub const __NR_inotify_rm_watch: u32 = 28; +pub const __NR_ioctl: u32 = 29; +pub const __NR_ioprio_set: u32 = 30; +pub const __NR_ioprio_get: u32 = 31; +pub const __NR_flock: u32 = 32; +pub const __NR_mknodat: u32 = 33; +pub const __NR_mkdirat: u32 = 34; +pub const __NR_unlinkat: u32 = 35; +pub const __NR_symlinkat: u32 = 36; +pub const __NR_linkat: u32 = 37; +pub const __NR_renameat: u32 = 38; +pub const __NR_umount2: u32 = 39; +pub const __NR_mount: u32 = 40; +pub const __NR_pivot_root: u32 = 41; +pub const __NR_nfsservctl: u32 = 42; +pub const __NR_statfs: u32 = 43; +pub const __NR_fstatfs: u32 = 44; +pub const __NR_truncate: u32 = 45; +pub const __NR_ftruncate: u32 = 46; +pub const __NR_fallocate: u32 = 47; +pub const __NR_faccessat: u32 = 48; +pub const __NR_chdir: u32 = 49; +pub const __NR_fchdir: u32 = 50; +pub const __NR_chroot: u32 = 51; +pub const __NR_fchmod: u32 = 52; +pub const __NR_fchmodat: u32 = 53; +pub const __NR_fchownat: u32 = 54; +pub const __NR_fchown: u32 = 55; +pub const __NR_openat: u32 = 56; +pub const __NR_close: u32 = 57; +pub const __NR_vhangup: u32 = 58; +pub const __NR_pipe2: u32 = 59; +pub const __NR_quotactl: u32 = 60; +pub const __NR_getdents64: u32 = 61; +pub const __NR_lseek: u32 = 62; +pub const __NR_read: u32 = 63; +pub const __NR_write: u32 = 64; +pub const __NR_readv: u32 = 65; +pub const __NR_writev: u32 = 66; +pub const __NR_pread64: u32 = 67; +pub const __NR_pwrite64: u32 = 68; +pub const __NR_preadv: u32 = 69; +pub const __NR_pwritev: u32 = 70; +pub const __NR_sendfile: u32 = 71; +pub const __NR_pselect6: u32 = 72; +pub const __NR_ppoll: u32 = 73; +pub const __NR_signalfd4: u32 = 74; +pub const __NR_vmsplice: u32 = 75; +pub const __NR_splice: u32 = 76; +pub const __NR_tee: u32 = 77; +pub const __NR_readlinkat: u32 = 78; +pub const __NR_newfstatat: u32 = 79; +pub const __NR_fstat: u32 = 80; +pub const __NR_sync: u32 = 81; +pub const __NR_fsync: u32 = 82; +pub const __NR_fdatasync: u32 = 83; +pub const __NR_sync_file_range: u32 = 84; +pub const __NR_timerfd_create: u32 = 85; +pub const __NR_timerfd_settime: u32 = 86; +pub const __NR_timerfd_gettime: u32 = 87; +pub const __NR_utimensat: u32 = 88; +pub const __NR_acct: u32 = 89; +pub const __NR_capget: u32 = 90; +pub const __NR_capset: u32 = 91; +pub const __NR_personality: u32 = 92; +pub const __NR_exit: u32 = 93; +pub const __NR_exit_group: u32 = 94; +pub const __NR_waitid: u32 = 95; +pub const __NR_set_tid_address: u32 = 96; +pub const __NR_unshare: u32 = 97; +pub const __NR_futex: u32 = 98; +pub const __NR_set_robust_list: u32 = 99; +pub const __NR_get_robust_list: u32 = 100; +pub const __NR_nanosleep: u32 = 101; +pub const __NR_getitimer: u32 = 102; +pub const __NR_setitimer: u32 = 103; +pub const __NR_kexec_load: u32 = 104; +pub const __NR_init_module: u32 = 105; +pub const __NR_delete_module: u32 = 106; +pub const __NR_timer_create: u32 = 107; +pub const __NR_timer_gettime: u32 = 108; +pub const __NR_timer_getoverrun: u32 = 109; +pub const __NR_timer_settime: u32 = 110; +pub const __NR_timer_delete: u32 = 111; +pub const __NR_clock_settime: u32 = 112; +pub const __NR_clock_gettime: u32 = 113; +pub const __NR_clock_getres: u32 = 114; +pub const __NR_clock_nanosleep: u32 = 115; +pub const __NR_syslog: u32 = 116; +pub const __NR_ptrace: u32 = 117; +pub const __NR_sched_setparam: u32 = 118; +pub const __NR_sched_setscheduler: u32 = 119; +pub const __NR_sched_getscheduler: u32 = 120; +pub const __NR_sched_getparam: u32 = 121; +pub const __NR_sched_setaffinity: u32 = 122; +pub const __NR_sched_getaffinity: u32 = 123; +pub const __NR_sched_yield: u32 = 124; +pub const __NR_sched_get_priority_max: u32 = 125; +pub const __NR_sched_get_priority_min: u32 = 126; +pub const __NR_sched_rr_get_interval: u32 = 127; +pub const __NR_restart_syscall: u32 = 128; +pub const __NR_kill: u32 = 129; +pub const __NR_tkill: u32 = 130; +pub const __NR_tgkill: u32 = 131; +pub const __NR_sigaltstack: u32 = 132; +pub const __NR_rt_sigsuspend: u32 = 133; +pub const __NR_rt_sigaction: u32 = 134; +pub const __NR_rt_sigprocmask: u32 = 135; +pub const __NR_rt_sigpending: u32 = 136; +pub const __NR_rt_sigtimedwait: u32 = 137; +pub const __NR_rt_sigqueueinfo: u32 = 138; +pub const __NR_rt_sigreturn: u32 = 139; +pub const __NR_setpriority: u32 = 140; +pub const __NR_getpriority: u32 = 141; +pub const __NR_reboot: u32 = 142; +pub const __NR_setregid: u32 = 143; +pub const __NR_setgid: u32 = 144; +pub const __NR_setreuid: u32 = 145; +pub const __NR_setuid: u32 = 146; +pub const __NR_setresuid: u32 = 147; +pub const __NR_getresuid: u32 = 148; +pub const __NR_setresgid: u32 = 149; +pub const __NR_getresgid: u32 = 150; +pub const __NR_setfsuid: u32 = 151; +pub const __NR_setfsgid: u32 = 152; +pub const __NR_times: u32 = 153; +pub const __NR_setpgid: u32 = 154; +pub const __NR_getpgid: u32 = 155; +pub const __NR_getsid: u32 = 156; +pub const __NR_setsid: u32 = 157; +pub const __NR_getgroups: u32 = 158; +pub const __NR_setgroups: u32 = 159; +pub const __NR_uname: u32 = 160; +pub const __NR_sethostname: u32 = 161; +pub const __NR_setdomainname: u32 = 162; +pub const __NR_getrlimit: u32 = 163; +pub const __NR_setrlimit: u32 = 164; +pub const __NR_getrusage: u32 = 165; +pub const __NR_umask: u32 = 166; pub const __NR_prctl: u32 = 167; +pub const __NR_getcpu: u32 = 168; +pub const __NR_gettimeofday: u32 = 169; +pub const __NR_settimeofday: u32 = 170; +pub const __NR_adjtimex: u32 = 171; +pub const __NR_getpid: u32 = 172; +pub const __NR_getppid: u32 = 173; +pub const __NR_getuid: u32 = 174; +pub const __NR_geteuid: u32 = 175; +pub const __NR_getgid: u32 = 176; +pub const __NR_getegid: u32 = 177; +pub const __NR_gettid: u32 = 178; +pub const __NR_sysinfo: u32 = 179; +pub const __NR_mq_open: u32 = 180; +pub const __NR_mq_unlink: u32 = 181; +pub const __NR_mq_timedsend: u32 = 182; +pub const __NR_mq_timedreceive: u32 = 183; +pub const __NR_mq_notify: u32 = 184; +pub const __NR_mq_getsetattr: u32 = 185; +pub const __NR_msgget: u32 = 186; +pub const __NR_msgctl: u32 = 187; +pub const __NR_msgrcv: u32 = 188; +pub const __NR_msgsnd: u32 = 189; +pub const __NR_semget: u32 = 190; +pub const __NR_semctl: u32 = 191; +pub const __NR_semtimedop: u32 = 192; +pub const __NR_semop: u32 = 193; +pub const __NR_shmget: u32 = 194; +pub const __NR_shmctl: u32 = 195; +pub const __NR_shmat: u32 = 196; +pub const __NR_shmdt: u32 = 197; +pub const __NR_socket: u32 = 198; +pub const __NR_socketpair: u32 = 199; +pub const __NR_bind: u32 = 200; +pub const __NR_listen: u32 = 201; +pub const __NR_accept: u32 = 202; +pub const __NR_connect: u32 = 203; +pub const __NR_getsockname: u32 = 204; +pub const __NR_getpeername: u32 = 205; +pub const __NR_sendto: u32 = 206; +pub const __NR_recvfrom: u32 = 207; +pub const __NR_setsockopt: u32 = 208; +pub const __NR_getsockopt: u32 = 209; +pub const __NR_shutdown: u32 = 210; +pub const __NR_sendmsg: u32 = 211; +pub const __NR_recvmsg: u32 = 212; +pub const __NR_readahead: u32 = 213; +pub const __NR_brk: u32 = 214; +pub const __NR_munmap: u32 = 215; +pub const __NR_mremap: u32 = 216; +pub const __NR_add_key: u32 = 217; +pub const __NR_request_key: u32 = 218; +pub const __NR_keyctl: u32 = 219; +pub const __NR_clone: u32 = 220; +pub const __NR_execve: u32 = 221; +pub const __NR_mmap: u32 = 222; +pub const __NR_fadvise64: u32 = 223; +pub const __NR_swapon: u32 = 224; +pub const __NR_swapoff: u32 = 225; +pub const __NR_mprotect: u32 = 226; +pub const __NR_msync: u32 = 227; +pub const __NR_mlock: u32 = 228; +pub const __NR_munlock: u32 = 229; +pub const __NR_mlockall: u32 = 230; +pub const __NR_munlockall: u32 = 231; +pub const __NR_mincore: u32 = 232; +pub const __NR_madvise: u32 = 233; +pub const __NR_remap_file_pages: u32 = 234; +pub const __NR_mbind: u32 = 235; +pub const __NR_get_mempolicy: u32 = 236; +pub const __NR_set_mempolicy: u32 = 237; +pub const __NR_migrate_pages: u32 = 238; +pub const __NR_move_pages: u32 = 239; +pub const __NR_rt_tgsigqueueinfo: u32 = 240; +pub const __NR_perf_event_open: u32 = 241; +pub const __NR_accept4: u32 = 242; +pub const __NR_recvmmsg: u32 = 243; +pub const __NR_wait4: u32 = 260; +pub const __NR_prlimit64: u32 = 261; +pub const __NR_fanotify_init: u32 = 262; +pub const __NR_fanotify_mark: u32 = 263; +pub const __NR_name_to_handle_at: u32 = 264; +pub const __NR_open_by_handle_at: u32 = 265; +pub const __NR_clock_adjtime: u32 = 266; +pub const __NR_syncfs: u32 = 267; +pub const __NR_setns: u32 = 268; +pub const __NR_sendmmsg: u32 = 269; +pub const __NR_process_vm_readv: u32 = 270; +pub const __NR_process_vm_writev: u32 = 271; +pub const __NR_kcmp: u32 = 272; +pub const __NR_finit_module: u32 = 273; +pub const __NR_sched_setattr: u32 = 274; +pub const __NR_sched_getattr: u32 = 275; +pub const __NR_renameat2: u32 = 276; +pub const __NR_seccomp: u32 = 277; +pub const __NR_getrandom: u32 = 278; +pub const __NR_memfd_create: u32 = 279; +pub const __NR_bpf: u32 = 280; +pub const __NR_execveat: u32 = 281; +pub const __NR_userfaultfd: u32 = 282; +pub const __NR_membarrier: u32 = 283; +pub const __NR_mlock2: u32 = 284; +pub const __NR_copy_file_range: u32 = 285; +pub const __NR_preadv2: u32 = 286; +pub const __NR_pwritev2: u32 = 287; +pub const __NR_pkey_mprotect: u32 = 288; +pub const __NR_pkey_alloc: u32 = 289; +pub const __NR_pkey_free: u32 = 290; +pub const __NR_statx: u32 = 291; +pub const __NR_io_pgetevents: u32 = 292; +pub const __NR_rseq: u32 = 293; +pub const __NR_kexec_file_load: u32 = 294; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_memfd_secret: u32 = 447; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/mod.rs index bf0efa23..a571d602 100644 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_linux_uclibc/mod.rs @@ -12,7 +12,324 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR_sync_file_range; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_umask; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semop; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_memfd_secret; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_hwcap; pub use linux_headers_asm_hwcap::HWCAP_FP; pub use linux_headers_asm_hwcap::HWCAP_ASIMD; diff --git a/tests/helper/src/gen/sys/aarch64_netbsd/mod.rs b/tests/helper/src/gen/sys/aarch64_netbsd/mod.rs index 2c47c77c..02232ce2 100644 --- a/tests/helper/src/gen/sys/aarch64_netbsd/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_netbsd/mod.rs @@ -11,7 +11,464 @@ pub use sys_sysctl::sysctl; pub use sys_sysctl::sysctlbyname; pub use sys_sysctl::sysctlnode; mod sys_syscall; +pub use sys_syscall::SYS_MAXSYSARGS; +pub use sys_syscall::SYS_syscall; +pub use sys_syscall::SYS_exit; +pub use sys_syscall::SYS_fork; +pub use sys_syscall::SYS_read; +pub use sys_syscall::SYS_write; +pub use sys_syscall::SYS_open; +pub use sys_syscall::SYS_close; +pub use sys_syscall::SYS_compat_50_wait4; +pub use sys_syscall::SYS_compat_43_ocreat; +pub use sys_syscall::SYS_link; +pub use sys_syscall::SYS_unlink; +pub use sys_syscall::SYS_chdir; +pub use sys_syscall::SYS_fchdir; +pub use sys_syscall::SYS_compat_50_mknod; +pub use sys_syscall::SYS_chmod; +pub use sys_syscall::SYS_chown; +pub use sys_syscall::SYS_break; +pub use sys_syscall::SYS_compat_20_getfsstat; +pub use sys_syscall::SYS_compat_43_olseek; +pub use sys_syscall::SYS_getpid; +pub use sys_syscall::SYS_compat_40_mount; +pub use sys_syscall::SYS_unmount; +pub use sys_syscall::SYS_setuid; +pub use sys_syscall::SYS_getuid; +pub use sys_syscall::SYS_geteuid; +pub use sys_syscall::SYS_ptrace; +pub use sys_syscall::SYS_recvmsg; +pub use sys_syscall::SYS_sendmsg; +pub use sys_syscall::SYS_recvfrom; +pub use sys_syscall::SYS_accept; +pub use sys_syscall::SYS_getpeername; +pub use sys_syscall::SYS_getsockname; +pub use sys_syscall::SYS_access; +pub use sys_syscall::SYS_chflags; +pub use sys_syscall::SYS_fchflags; +pub use sys_syscall::SYS_sync; +pub use sys_syscall::SYS_kill; +pub use sys_syscall::SYS_compat_43_stat43; +pub use sys_syscall::SYS_getppid; +pub use sys_syscall::SYS_compat_43_lstat43; +pub use sys_syscall::SYS_dup; +pub use sys_syscall::SYS_pipe; +pub use sys_syscall::SYS_getegid; +pub use sys_syscall::SYS_profil; +pub use sys_syscall::SYS_ktrace; +pub use sys_syscall::SYS_compat_13_sigaction13; +pub use sys_syscall::SYS_getgid; +pub use sys_syscall::SYS_compat_13_sigprocmask13; +pub use sys_syscall::SYS___getlogin; +pub use sys_syscall::SYS___setlogin; +pub use sys_syscall::SYS_acct; +pub use sys_syscall::SYS_compat_13_sigpending13; +pub use sys_syscall::SYS_compat_13_sigaltstack13; +pub use sys_syscall::SYS_ioctl; +pub use sys_syscall::SYS_compat_12_oreboot; +pub use sys_syscall::SYS_revoke; +pub use sys_syscall::SYS_symlink; +pub use sys_syscall::SYS_readlink; +pub use sys_syscall::SYS_execve; +pub use sys_syscall::SYS_umask; +pub use sys_syscall::SYS_chroot; +pub use sys_syscall::SYS_compat_43_fstat43; +pub use sys_syscall::SYS_compat_43_ogetkerninfo; +pub use sys_syscall::SYS_compat_43_ogetpagesize; +pub use sys_syscall::SYS_compat_12_msync; +pub use sys_syscall::SYS_vfork; +pub use sys_syscall::SYS_compat_43_ommap; +pub use sys_syscall::SYS_vadvise; +pub use sys_syscall::SYS_munmap; +pub use sys_syscall::SYS_mprotect; +pub use sys_syscall::SYS_madvise; +pub use sys_syscall::SYS_mincore; +pub use sys_syscall::SYS_getgroups; +pub use sys_syscall::SYS_setgroups; +pub use sys_syscall::SYS_getpgrp; +pub use sys_syscall::SYS_setpgid; +pub use sys_syscall::SYS_compat_50_setitimer; +pub use sys_syscall::SYS_compat_43_owait; +pub use sys_syscall::SYS_compat_12_oswapon; +pub use sys_syscall::SYS_compat_50_getitimer; +pub use sys_syscall::SYS_compat_43_ogethostname; +pub use sys_syscall::SYS_compat_43_osethostname; +pub use sys_syscall::SYS_compat_43_ogetdtablesize; +pub use sys_syscall::SYS_dup2; +pub use sys_syscall::SYS_getrandom; +pub use sys_syscall::SYS_fcntl; +pub use sys_syscall::SYS_compat_50_select; +pub use sys_syscall::SYS_fsync; +pub use sys_syscall::SYS_setpriority; +pub use sys_syscall::SYS_compat_30_socket; +pub use sys_syscall::SYS_connect; +pub use sys_syscall::SYS_compat_43_oaccept; +pub use sys_syscall::SYS_getpriority; +pub use sys_syscall::SYS_compat_43_osend; +pub use sys_syscall::SYS_compat_43_orecv; +pub use sys_syscall::SYS_compat_13_sigreturn13; +pub use sys_syscall::SYS_bind; +pub use sys_syscall::SYS_setsockopt; +pub use sys_syscall::SYS_listen; +pub use sys_syscall::SYS_compat_43_osigvec; +pub use sys_syscall::SYS_compat_43_osigblock; +pub use sys_syscall::SYS_compat_43_osigsetmask; +pub use sys_syscall::SYS_compat_13_sigsuspend13; +pub use sys_syscall::SYS_compat_43_osigstack; +pub use sys_syscall::SYS_compat_43_orecvmsg; +pub use sys_syscall::SYS_compat_43_osendmsg; +pub use sys_syscall::SYS_compat_50_gettimeofday; +pub use sys_syscall::SYS_compat_50_getrusage; +pub use sys_syscall::SYS_getsockopt; +pub use sys_syscall::SYS_readv; +pub use sys_syscall::SYS_writev; +pub use sys_syscall::SYS_compat_50_settimeofday; +pub use sys_syscall::SYS_fchown; +pub use sys_syscall::SYS_fchmod; +pub use sys_syscall::SYS_compat_43_orecvfrom; +pub use sys_syscall::SYS_setreuid; +pub use sys_syscall::SYS_setregid; +pub use sys_syscall::SYS_rename; +pub use sys_syscall::SYS_compat_43_otruncate; +pub use sys_syscall::SYS_compat_43_oftruncate; +pub use sys_syscall::SYS_flock; +pub use sys_syscall::SYS_mkfifo; +pub use sys_syscall::SYS_sendto; +pub use sys_syscall::SYS_shutdown; +pub use sys_syscall::SYS_socketpair; +pub use sys_syscall::SYS_mkdir; +pub use sys_syscall::SYS_rmdir; +pub use sys_syscall::SYS_compat_50_utimes; +pub use sys_syscall::SYS_compat_50_adjtime; +pub use sys_syscall::SYS_compat_43_ogetpeername; +pub use sys_syscall::SYS_compat_43_ogethostid; +pub use sys_syscall::SYS_compat_43_osethostid; +pub use sys_syscall::SYS_compat_43_ogetrlimit; +pub use sys_syscall::SYS_compat_43_osetrlimit; +pub use sys_syscall::SYS_compat_43_okillpg; +pub use sys_syscall::SYS_setsid; +pub use sys_syscall::SYS_compat_50_quotactl; +pub use sys_syscall::SYS_compat_43_oquota; +pub use sys_syscall::SYS_compat_43_ogetsockname; +pub use sys_syscall::SYS_nfssvc; +pub use sys_syscall::SYS_compat_43_ogetdirentries; +pub use sys_syscall::SYS_compat_20_statfs; +pub use sys_syscall::SYS_compat_20_fstatfs; +pub use sys_syscall::SYS_compat_30_getfh; +pub use sys_syscall::SYS_compat_09_ogetdomainname; +pub use sys_syscall::SYS_compat_09_osetdomainname; +pub use sys_syscall::SYS_compat_09_ouname; +pub use sys_syscall::SYS_sysarch; +pub use sys_syscall::SYS___futex; +pub use sys_syscall::SYS___futex_set_robust_list; +pub use sys_syscall::SYS___futex_get_robust_list; +pub use sys_syscall::SYS_pread; +pub use sys_syscall::SYS_pwrite; +pub use sys_syscall::SYS_compat_30_ntp_gettime; +pub use sys_syscall::SYS_ntp_adjtime; +pub use sys_syscall::SYS_timerfd_create; +pub use sys_syscall::SYS_timerfd_settime; +pub use sys_syscall::SYS_timerfd_gettime; +pub use sys_syscall::SYS_setgid; +pub use sys_syscall::SYS_setegid; +pub use sys_syscall::SYS_seteuid; +pub use sys_syscall::SYS_lfs_bmapv; +pub use sys_syscall::SYS_lfs_markv; +pub use sys_syscall::SYS_lfs_segclean; +pub use sys_syscall::SYS_compat_50_lfs_segwait; +pub use sys_syscall::SYS_compat_12_stat12; +pub use sys_syscall::SYS_compat_12_fstat12; +pub use sys_syscall::SYS_compat_12_lstat12; +pub use sys_syscall::SYS_pathconf; +pub use sys_syscall::SYS_fpathconf; +pub use sys_syscall::SYS_getsockopt2; +pub use sys_syscall::SYS_getrlimit; +pub use sys_syscall::SYS_setrlimit; +pub use sys_syscall::SYS_compat_12_getdirentries; +pub use sys_syscall::SYS_mmap; +pub use sys_syscall::SYS___syscall; +pub use sys_syscall::SYS_lseek; +pub use sys_syscall::SYS_truncate; +pub use sys_syscall::SYS_ftruncate; pub use sys_syscall::SYS___sysctl; +pub use sys_syscall::SYS_mlock; +pub use sys_syscall::SYS_munlock; +pub use sys_syscall::SYS_undelete; +pub use sys_syscall::SYS_compat_50_futimes; +pub use sys_syscall::SYS_getpgid; +pub use sys_syscall::SYS_reboot; +pub use sys_syscall::SYS_poll; +pub use sys_syscall::SYS_afssys; +pub use sys_syscall::SYS_compat_14___semctl; +pub use sys_syscall::SYS_semget; +pub use sys_syscall::SYS_semop; +pub use sys_syscall::SYS_semconfig; +pub use sys_syscall::SYS_compat_14_msgctl; +pub use sys_syscall::SYS_msgget; +pub use sys_syscall::SYS_msgsnd; +pub use sys_syscall::SYS_msgrcv; +pub use sys_syscall::SYS_shmat; +pub use sys_syscall::SYS_compat_14_shmctl; +pub use sys_syscall::SYS_shmdt; +pub use sys_syscall::SYS_shmget; +pub use sys_syscall::SYS_compat_50_clock_gettime; +pub use sys_syscall::SYS_compat_50_clock_settime; +pub use sys_syscall::SYS_compat_50_clock_getres; +pub use sys_syscall::SYS_timer_create; +pub use sys_syscall::SYS_timer_delete; +pub use sys_syscall::SYS_compat_50_timer_settime; +pub use sys_syscall::SYS_compat_50_timer_gettime; +pub use sys_syscall::SYS_timer_getoverrun; +pub use sys_syscall::SYS_compat_50_nanosleep; +pub use sys_syscall::SYS_fdatasync; +pub use sys_syscall::SYS_mlockall; +pub use sys_syscall::SYS_munlockall; +pub use sys_syscall::SYS_compat_50___sigtimedwait; +pub use sys_syscall::SYS_sigqueueinfo; +pub use sys_syscall::SYS_modctl; +pub use sys_syscall::SYS__ksem_init; +pub use sys_syscall::SYS__ksem_open; +pub use sys_syscall::SYS__ksem_unlink; +pub use sys_syscall::SYS__ksem_close; +pub use sys_syscall::SYS__ksem_post; +pub use sys_syscall::SYS__ksem_wait; +pub use sys_syscall::SYS__ksem_trywait; +pub use sys_syscall::SYS__ksem_getvalue; +pub use sys_syscall::SYS__ksem_destroy; +pub use sys_syscall::SYS__ksem_timedwait; +pub use sys_syscall::SYS_mq_open; +pub use sys_syscall::SYS_mq_close; +pub use sys_syscall::SYS_mq_unlink; +pub use sys_syscall::SYS_mq_getattr; +pub use sys_syscall::SYS_mq_setattr; +pub use sys_syscall::SYS_mq_notify; +pub use sys_syscall::SYS_mq_send; +pub use sys_syscall::SYS_mq_receive; +pub use sys_syscall::SYS_compat_50_mq_timedsend; +pub use sys_syscall::SYS_compat_50_mq_timedreceive; +pub use sys_syscall::SYS_eventfd; +pub use sys_syscall::SYS___posix_rename; +pub use sys_syscall::SYS_swapctl; +pub use sys_syscall::SYS_compat_30_getdents; +pub use sys_syscall::SYS_minherit; +pub use sys_syscall::SYS_lchmod; +pub use sys_syscall::SYS_lchown; +pub use sys_syscall::SYS_compat_50_lutimes; +pub use sys_syscall::SYS___msync13; +pub use sys_syscall::SYS_compat_30___stat13; +pub use sys_syscall::SYS_compat_30___fstat13; +pub use sys_syscall::SYS_compat_30___lstat13; +pub use sys_syscall::SYS___sigaltstack14; +pub use sys_syscall::SYS___vfork14; +pub use sys_syscall::SYS___posix_chown; +pub use sys_syscall::SYS___posix_fchown; +pub use sys_syscall::SYS___posix_lchown; +pub use sys_syscall::SYS_getsid; +pub use sys_syscall::SYS___clone; +pub use sys_syscall::SYS_fktrace; +pub use sys_syscall::SYS_preadv; +pub use sys_syscall::SYS_pwritev; +pub use sys_syscall::SYS_compat_16___sigaction14; +pub use sys_syscall::SYS___sigpending14; +pub use sys_syscall::SYS___sigprocmask14; +pub use sys_syscall::SYS___sigsuspend14; +pub use sys_syscall::SYS_compat_16___sigreturn14; +pub use sys_syscall::SYS___getcwd; +pub use sys_syscall::SYS_fchroot; +pub use sys_syscall::SYS_compat_30_fhopen; +pub use sys_syscall::SYS_compat_30_fhstat; +pub use sys_syscall::SYS_compat_20_fhstatfs; +pub use sys_syscall::SYS_compat_50_____semctl13; +pub use sys_syscall::SYS_compat_50___msgctl13; +pub use sys_syscall::SYS_compat_50___shmctl13; +pub use sys_syscall::SYS_lchflags; +pub use sys_syscall::SYS_issetugid; +pub use sys_syscall::SYS_utrace; +pub use sys_syscall::SYS_getcontext; +pub use sys_syscall::SYS_setcontext; +pub use sys_syscall::SYS__lwp_create; +pub use sys_syscall::SYS__lwp_exit; +pub use sys_syscall::SYS__lwp_self; +pub use sys_syscall::SYS__lwp_wait; +pub use sys_syscall::SYS__lwp_suspend; +pub use sys_syscall::SYS__lwp_continue; +pub use sys_syscall::SYS__lwp_wakeup; +pub use sys_syscall::SYS__lwp_getprivate; +pub use sys_syscall::SYS__lwp_setprivate; +pub use sys_syscall::SYS__lwp_kill; +pub use sys_syscall::SYS__lwp_detach; +pub use sys_syscall::SYS_compat_50__lwp_park; +pub use sys_syscall::SYS__lwp_unpark; +pub use sys_syscall::SYS__lwp_unpark_all; +pub use sys_syscall::SYS__lwp_setname; +pub use sys_syscall::SYS__lwp_getname; +pub use sys_syscall::SYS__lwp_ctl; +pub use sys_syscall::SYS_compat_60_sa_register; +pub use sys_syscall::SYS_compat_60_sa_stacks; +pub use sys_syscall::SYS_compat_60_sa_enable; +pub use sys_syscall::SYS_compat_60_sa_setconcurrency; +pub use sys_syscall::SYS_compat_60_sa_yield; +pub use sys_syscall::SYS_compat_60_sa_preempt; +pub use sys_syscall::SYS___sigaction_sigtramp; +pub use sys_syscall::SYS_rasctl; +pub use sys_syscall::SYS_kqueue; +pub use sys_syscall::SYS_compat_50_kevent; +pub use sys_syscall::SYS__sched_setparam; +pub use sys_syscall::SYS__sched_getparam; +pub use sys_syscall::SYS__sched_setaffinity; +pub use sys_syscall::SYS__sched_getaffinity; +pub use sys_syscall::SYS_sched_yield; +pub use sys_syscall::SYS__sched_protect; +pub use sys_syscall::SYS_fsync_range; +pub use sys_syscall::SYS_uuidgen; +pub use sys_syscall::SYS_compat_90_getvfsstat; +pub use sys_syscall::SYS_compat_90_statvfs1; +pub use sys_syscall::SYS_compat_90_fstatvfs1; +pub use sys_syscall::SYS_compat_30_fhstatvfs1; +pub use sys_syscall::SYS_extattrctl; +pub use sys_syscall::SYS_extattr_set_file; +pub use sys_syscall::SYS_extattr_get_file; +pub use sys_syscall::SYS_extattr_delete_file; +pub use sys_syscall::SYS_extattr_set_fd; +pub use sys_syscall::SYS_extattr_get_fd; +pub use sys_syscall::SYS_extattr_delete_fd; +pub use sys_syscall::SYS_extattr_set_link; +pub use sys_syscall::SYS_extattr_get_link; +pub use sys_syscall::SYS_extattr_delete_link; +pub use sys_syscall::SYS_extattr_list_fd; +pub use sys_syscall::SYS_extattr_list_file; +pub use sys_syscall::SYS_extattr_list_link; +pub use sys_syscall::SYS_compat_50_pselect; +pub use sys_syscall::SYS_compat_50_pollts; +pub use sys_syscall::SYS_setxattr; +pub use sys_syscall::SYS_lsetxattr; +pub use sys_syscall::SYS_fsetxattr; +pub use sys_syscall::SYS_getxattr; +pub use sys_syscall::SYS_lgetxattr; +pub use sys_syscall::SYS_fgetxattr; +pub use sys_syscall::SYS_listxattr; +pub use sys_syscall::SYS_llistxattr; +pub use sys_syscall::SYS_flistxattr; +pub use sys_syscall::SYS_removexattr; +pub use sys_syscall::SYS_lremovexattr; +pub use sys_syscall::SYS_fremovexattr; +pub use sys_syscall::SYS_compat_50___stat30; +pub use sys_syscall::SYS_compat_50___fstat30; +pub use sys_syscall::SYS_compat_50___lstat30; +pub use sys_syscall::SYS___getdents30; +pub use sys_syscall::SYS_compat_30___fhstat30; +pub use sys_syscall::SYS_compat_50___ntp_gettime30; +pub use sys_syscall::SYS___socket30; +pub use sys_syscall::SYS___getfh30; +pub use sys_syscall::SYS___fhopen40; +pub use sys_syscall::SYS_compat_90_fhstatvfs1; +pub use sys_syscall::SYS_compat_50___fhstat40; +pub use sys_syscall::SYS_aio_cancel; +pub use sys_syscall::SYS_aio_error; +pub use sys_syscall::SYS_aio_fsync; +pub use sys_syscall::SYS_aio_read; +pub use sys_syscall::SYS_aio_return; +pub use sys_syscall::SYS_compat_50_aio_suspend; +pub use sys_syscall::SYS_aio_write; +pub use sys_syscall::SYS_lio_listio; +pub use sys_syscall::SYS___mount50; +pub use sys_syscall::SYS_mremap; +pub use sys_syscall::SYS_pset_create; +pub use sys_syscall::SYS_pset_destroy; +pub use sys_syscall::SYS_pset_assign; +pub use sys_syscall::SYS__pset_bind; +pub use sys_syscall::SYS___posix_fadvise50; +pub use sys_syscall::SYS___select50; +pub use sys_syscall::SYS___gettimeofday50; +pub use sys_syscall::SYS___settimeofday50; +pub use sys_syscall::SYS___utimes50; +pub use sys_syscall::SYS___adjtime50; +pub use sys_syscall::SYS___lfs_segwait50; +pub use sys_syscall::SYS___futimes50; +pub use sys_syscall::SYS___lutimes50; +pub use sys_syscall::SYS___setitimer50; +pub use sys_syscall::SYS___getitimer50; +pub use sys_syscall::SYS___clock_gettime50; +pub use sys_syscall::SYS___clock_settime50; +pub use sys_syscall::SYS___clock_getres50; +pub use sys_syscall::SYS___nanosleep50; +pub use sys_syscall::SYS_____sigtimedwait50; +pub use sys_syscall::SYS___mq_timedsend50; +pub use sys_syscall::SYS___mq_timedreceive50; +pub use sys_syscall::SYS_compat_60__lwp_park; +pub use sys_syscall::SYS_compat_100___kevent50; +pub use sys_syscall::SYS___pselect50; +pub use sys_syscall::SYS___pollts50; +pub use sys_syscall::SYS___aio_suspend50; +pub use sys_syscall::SYS___stat50; +pub use sys_syscall::SYS___fstat50; +pub use sys_syscall::SYS___lstat50; +pub use sys_syscall::SYS_____semctl50; +pub use sys_syscall::SYS___shmctl50; +pub use sys_syscall::SYS___msgctl50; +pub use sys_syscall::SYS___getrusage50; +pub use sys_syscall::SYS___timer_settime50; +pub use sys_syscall::SYS___timer_gettime50; +pub use sys_syscall::SYS___ntp_gettime50; +pub use sys_syscall::SYS___wait450; +pub use sys_syscall::SYS___mknod50; +pub use sys_syscall::SYS___fhstat50; +pub use sys_syscall::SYS_pipe2; +pub use sys_syscall::SYS_compat_100_dup3; +pub use sys_syscall::SYS_kqueue1; +pub use sys_syscall::SYS_paccept; +pub use sys_syscall::SYS_linkat; +pub use sys_syscall::SYS_renameat; +pub use sys_syscall::SYS_mkfifoat; +pub use sys_syscall::SYS_mknodat; +pub use sys_syscall::SYS_mkdirat; +pub use sys_syscall::SYS_faccessat; +pub use sys_syscall::SYS_fchmodat; +pub use sys_syscall::SYS_fchownat; +pub use sys_syscall::SYS_fexecve; +pub use sys_syscall::SYS_fstatat; +pub use sys_syscall::SYS_utimensat; +pub use sys_syscall::SYS_openat; +pub use sys_syscall::SYS_readlinkat; +pub use sys_syscall::SYS_symlinkat; +pub use sys_syscall::SYS_unlinkat; +pub use sys_syscall::SYS_futimens; +pub use sys_syscall::SYS___quotactl; +pub use sys_syscall::SYS_posix_spawn; +pub use sys_syscall::SYS_recvmmsg; +pub use sys_syscall::SYS_sendmmsg; +pub use sys_syscall::SYS_clock_nanosleep; +pub use sys_syscall::SYS____lwp_park60; +pub use sys_syscall::SYS_posix_fallocate; +pub use sys_syscall::SYS_fdiscard; +pub use sys_syscall::SYS_wait6; +pub use sys_syscall::SYS_clock_getcpuclockid2; +pub use sys_syscall::SYS___getvfsstat90; +pub use sys_syscall::SYS___statvfs190; +pub use sys_syscall::SYS___fstatvfs190; +pub use sys_syscall::SYS___fhstatvfs190; +pub use sys_syscall::SYS___acl_get_link; +pub use sys_syscall::SYS___acl_set_link; +pub use sys_syscall::SYS___acl_delete_link; +pub use sys_syscall::SYS___acl_aclcheck_link; +pub use sys_syscall::SYS___acl_get_file; +pub use sys_syscall::SYS___acl_set_file; +pub use sys_syscall::SYS___acl_get_fd; +pub use sys_syscall::SYS___acl_set_fd; +pub use sys_syscall::SYS___acl_delete_file; +pub use sys_syscall::SYS___acl_delete_fd; +pub use sys_syscall::SYS___acl_aclcheck_file; +pub use sys_syscall::SYS___acl_aclcheck_fd; +pub use sys_syscall::SYS_lpathconf; +pub use sys_syscall::SYS_memfd_create; +pub use sys_syscall::SYS___kevent100; +pub use sys_syscall::SYS_epoll_create1; +pub use sys_syscall::SYS_epoll_ctl; +pub use sys_syscall::SYS_epoll_pwait2; +pub use sys_syscall::SYS___dup3100; +pub use sys_syscall::SYS_MAXSYSCALL; +pub use sys_syscall::SYS_NSYSENT; mod aarch64_armreg; pub use aarch64_armreg::aarch64_sysctl_cpu_id; pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_netbsd/sys_syscall.rs b/tests/helper/src/gen/sys/aarch64_netbsd/sys_syscall.rs index 3964e837..d669c979 100644 --- a/tests/helper/src/gen/sys/aarch64_netbsd/sys_syscall.rs +++ b/tests/helper/src/gen/sys/aarch64_netbsd/sys_syscall.rs @@ -3,4 +3,461 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const SYS_MAXSYSARGS: u32 = 8; +pub const SYS_syscall: u32 = 0; +pub const SYS_exit: u32 = 1; +pub const SYS_fork: u32 = 2; +pub const SYS_read: u32 = 3; +pub const SYS_write: u32 = 4; +pub const SYS_open: u32 = 5; +pub const SYS_close: u32 = 6; +pub const SYS_compat_50_wait4: u32 = 7; +pub const SYS_compat_43_ocreat: u32 = 8; +pub const SYS_link: u32 = 9; +pub const SYS_unlink: u32 = 10; +pub const SYS_chdir: u32 = 12; +pub const SYS_fchdir: u32 = 13; +pub const SYS_compat_50_mknod: u32 = 14; +pub const SYS_chmod: u32 = 15; +pub const SYS_chown: u32 = 16; +pub const SYS_break: u32 = 17; +pub const SYS_compat_20_getfsstat: u32 = 18; +pub const SYS_compat_43_olseek: u32 = 19; +pub const SYS_getpid: u32 = 20; +pub const SYS_compat_40_mount: u32 = 21; +pub const SYS_unmount: u32 = 22; +pub const SYS_setuid: u32 = 23; +pub const SYS_getuid: u32 = 24; +pub const SYS_geteuid: u32 = 25; +pub const SYS_ptrace: u32 = 26; +pub const SYS_recvmsg: u32 = 27; +pub const SYS_sendmsg: u32 = 28; +pub const SYS_recvfrom: u32 = 29; +pub const SYS_accept: u32 = 30; +pub const SYS_getpeername: u32 = 31; +pub const SYS_getsockname: u32 = 32; +pub const SYS_access: u32 = 33; +pub const SYS_chflags: u32 = 34; +pub const SYS_fchflags: u32 = 35; +pub const SYS_sync: u32 = 36; +pub const SYS_kill: u32 = 37; +pub const SYS_compat_43_stat43: u32 = 38; +pub const SYS_getppid: u32 = 39; +pub const SYS_compat_43_lstat43: u32 = 40; +pub const SYS_dup: u32 = 41; +pub const SYS_pipe: u32 = 42; +pub const SYS_getegid: u32 = 43; +pub const SYS_profil: u32 = 44; +pub const SYS_ktrace: u32 = 45; +pub const SYS_compat_13_sigaction13: u32 = 46; +pub const SYS_getgid: u32 = 47; +pub const SYS_compat_13_sigprocmask13: u32 = 48; +pub const SYS___getlogin: u32 = 49; +pub const SYS___setlogin: u32 = 50; +pub const SYS_acct: u32 = 51; +pub const SYS_compat_13_sigpending13: u32 = 52; +pub const SYS_compat_13_sigaltstack13: u32 = 53; +pub const SYS_ioctl: u32 = 54; +pub const SYS_compat_12_oreboot: u32 = 55; +pub const SYS_revoke: u32 = 56; +pub const SYS_symlink: u32 = 57; +pub const SYS_readlink: u32 = 58; +pub const SYS_execve: u32 = 59; +pub const SYS_umask: u32 = 60; +pub const SYS_chroot: u32 = 61; +pub const SYS_compat_43_fstat43: u32 = 62; +pub const SYS_compat_43_ogetkerninfo: u32 = 63; +pub const SYS_compat_43_ogetpagesize: u32 = 64; +pub const SYS_compat_12_msync: u32 = 65; +pub const SYS_vfork: u32 = 66; +pub const SYS_compat_43_ommap: u32 = 71; +pub const SYS_vadvise: u32 = 72; +pub const SYS_munmap: u32 = 73; +pub const SYS_mprotect: u32 = 74; +pub const SYS_madvise: u32 = 75; +pub const SYS_mincore: u32 = 78; +pub const SYS_getgroups: u32 = 79; +pub const SYS_setgroups: u32 = 80; +pub const SYS_getpgrp: u32 = 81; +pub const SYS_setpgid: u32 = 82; +pub const SYS_compat_50_setitimer: u32 = 83; +pub const SYS_compat_43_owait: u32 = 84; +pub const SYS_compat_12_oswapon: u32 = 85; +pub const SYS_compat_50_getitimer: u32 = 86; +pub const SYS_compat_43_ogethostname: u32 = 87; +pub const SYS_compat_43_osethostname: u32 = 88; +pub const SYS_compat_43_ogetdtablesize: u32 = 89; +pub const SYS_dup2: u32 = 90; +pub const SYS_getrandom: u32 = 91; +pub const SYS_fcntl: u32 = 92; +pub const SYS_compat_50_select: u32 = 93; +pub const SYS_fsync: u32 = 95; +pub const SYS_setpriority: u32 = 96; +pub const SYS_compat_30_socket: u32 = 97; +pub const SYS_connect: u32 = 98; +pub const SYS_compat_43_oaccept: u32 = 99; +pub const SYS_getpriority: u32 = 100; +pub const SYS_compat_43_osend: u32 = 101; +pub const SYS_compat_43_orecv: u32 = 102; +pub const SYS_compat_13_sigreturn13: u32 = 103; +pub const SYS_bind: u32 = 104; +pub const SYS_setsockopt: u32 = 105; +pub const SYS_listen: u32 = 106; +pub const SYS_compat_43_osigvec: u32 = 108; +pub const SYS_compat_43_osigblock: u32 = 109; +pub const SYS_compat_43_osigsetmask: u32 = 110; +pub const SYS_compat_13_sigsuspend13: u32 = 111; +pub const SYS_compat_43_osigstack: u32 = 112; +pub const SYS_compat_43_orecvmsg: u32 = 113; +pub const SYS_compat_43_osendmsg: u32 = 114; +pub const SYS_compat_50_gettimeofday: u32 = 116; +pub const SYS_compat_50_getrusage: u32 = 117; +pub const SYS_getsockopt: u32 = 118; +pub const SYS_readv: u32 = 120; +pub const SYS_writev: u32 = 121; +pub const SYS_compat_50_settimeofday: u32 = 122; +pub const SYS_fchown: u32 = 123; +pub const SYS_fchmod: u32 = 124; +pub const SYS_compat_43_orecvfrom: u32 = 125; +pub const SYS_setreuid: u32 = 126; +pub const SYS_setregid: u32 = 127; +pub const SYS_rename: u32 = 128; +pub const SYS_compat_43_otruncate: u32 = 129; +pub const SYS_compat_43_oftruncate: u32 = 130; +pub const SYS_flock: u32 = 131; +pub const SYS_mkfifo: u32 = 132; +pub const SYS_sendto: u32 = 133; +pub const SYS_shutdown: u32 = 134; +pub const SYS_socketpair: u32 = 135; +pub const SYS_mkdir: u32 = 136; +pub const SYS_rmdir: u32 = 137; +pub const SYS_compat_50_utimes: u32 = 138; +pub const SYS_compat_50_adjtime: u32 = 140; +pub const SYS_compat_43_ogetpeername: u32 = 141; +pub const SYS_compat_43_ogethostid: u32 = 142; +pub const SYS_compat_43_osethostid: u32 = 143; +pub const SYS_compat_43_ogetrlimit: u32 = 144; +pub const SYS_compat_43_osetrlimit: u32 = 145; +pub const SYS_compat_43_okillpg: u32 = 146; +pub const SYS_setsid: u32 = 147; +pub const SYS_compat_50_quotactl: u32 = 148; +pub const SYS_compat_43_oquota: u32 = 149; +pub const SYS_compat_43_ogetsockname: u32 = 150; +pub const SYS_nfssvc: u32 = 155; +pub const SYS_compat_43_ogetdirentries: u32 = 156; +pub const SYS_compat_20_statfs: u32 = 157; +pub const SYS_compat_20_fstatfs: u32 = 158; +pub const SYS_compat_30_getfh: u32 = 161; +pub const SYS_compat_09_ogetdomainname: u32 = 162; +pub const SYS_compat_09_osetdomainname: u32 = 163; +pub const SYS_compat_09_ouname: u32 = 164; +pub const SYS_sysarch: u32 = 165; +pub const SYS___futex: u32 = 166; +pub const SYS___futex_set_robust_list: u32 = 167; +pub const SYS___futex_get_robust_list: u32 = 168; +pub const SYS_pread: u32 = 173; +pub const SYS_pwrite: u32 = 174; +pub const SYS_compat_30_ntp_gettime: u32 = 175; +pub const SYS_ntp_adjtime: u32 = 176; +pub const SYS_timerfd_create: u32 = 177; +pub const SYS_timerfd_settime: u32 = 178; +pub const SYS_timerfd_gettime: u32 = 179; +pub const SYS_setgid: u32 = 181; +pub const SYS_setegid: u32 = 182; +pub const SYS_seteuid: u32 = 183; +pub const SYS_lfs_bmapv: u32 = 184; +pub const SYS_lfs_markv: u32 = 185; +pub const SYS_lfs_segclean: u32 = 186; +pub const SYS_compat_50_lfs_segwait: u32 = 187; +pub const SYS_compat_12_stat12: u32 = 188; +pub const SYS_compat_12_fstat12: u32 = 189; +pub const SYS_compat_12_lstat12: u32 = 190; +pub const SYS_pathconf: u32 = 191; +pub const SYS_fpathconf: u32 = 192; +pub const SYS_getsockopt2: u32 = 193; +pub const SYS_getrlimit: u32 = 194; +pub const SYS_setrlimit: u32 = 195; +pub const SYS_compat_12_getdirentries: u32 = 196; +pub const SYS_mmap: u32 = 197; +pub const SYS___syscall: u32 = 198; +pub const SYS_lseek: u32 = 199; +pub const SYS_truncate: u32 = 200; +pub const SYS_ftruncate: u32 = 201; pub const SYS___sysctl: u32 = 202; +pub const SYS_mlock: u32 = 203; +pub const SYS_munlock: u32 = 204; +pub const SYS_undelete: u32 = 205; +pub const SYS_compat_50_futimes: u32 = 206; +pub const SYS_getpgid: u32 = 207; +pub const SYS_reboot: u32 = 208; +pub const SYS_poll: u32 = 209; +pub const SYS_afssys: u32 = 210; +pub const SYS_compat_14___semctl: u32 = 220; +pub const SYS_semget: u32 = 221; +pub const SYS_semop: u32 = 222; +pub const SYS_semconfig: u32 = 223; +pub const SYS_compat_14_msgctl: u32 = 224; +pub const SYS_msgget: u32 = 225; +pub const SYS_msgsnd: u32 = 226; +pub const SYS_msgrcv: u32 = 227; +pub const SYS_shmat: u32 = 228; +pub const SYS_compat_14_shmctl: u32 = 229; +pub const SYS_shmdt: u32 = 230; +pub const SYS_shmget: u32 = 231; +pub const SYS_compat_50_clock_gettime: u32 = 232; +pub const SYS_compat_50_clock_settime: u32 = 233; +pub const SYS_compat_50_clock_getres: u32 = 234; +pub const SYS_timer_create: u32 = 235; +pub const SYS_timer_delete: u32 = 236; +pub const SYS_compat_50_timer_settime: u32 = 237; +pub const SYS_compat_50_timer_gettime: u32 = 238; +pub const SYS_timer_getoverrun: u32 = 239; +pub const SYS_compat_50_nanosleep: u32 = 240; +pub const SYS_fdatasync: u32 = 241; +pub const SYS_mlockall: u32 = 242; +pub const SYS_munlockall: u32 = 243; +pub const SYS_compat_50___sigtimedwait: u32 = 244; +pub const SYS_sigqueueinfo: u32 = 245; +pub const SYS_modctl: u32 = 246; +pub const SYS__ksem_init: u32 = 247; +pub const SYS__ksem_open: u32 = 248; +pub const SYS__ksem_unlink: u32 = 249; +pub const SYS__ksem_close: u32 = 250; +pub const SYS__ksem_post: u32 = 251; +pub const SYS__ksem_wait: u32 = 252; +pub const SYS__ksem_trywait: u32 = 253; +pub const SYS__ksem_getvalue: u32 = 254; +pub const SYS__ksem_destroy: u32 = 255; +pub const SYS__ksem_timedwait: u32 = 256; +pub const SYS_mq_open: u32 = 257; +pub const SYS_mq_close: u32 = 258; +pub const SYS_mq_unlink: u32 = 259; +pub const SYS_mq_getattr: u32 = 260; +pub const SYS_mq_setattr: u32 = 261; +pub const SYS_mq_notify: u32 = 262; +pub const SYS_mq_send: u32 = 263; +pub const SYS_mq_receive: u32 = 264; +pub const SYS_compat_50_mq_timedsend: u32 = 265; +pub const SYS_compat_50_mq_timedreceive: u32 = 266; +pub const SYS_eventfd: u32 = 267; +pub const SYS___posix_rename: u32 = 270; +pub const SYS_swapctl: u32 = 271; +pub const SYS_compat_30_getdents: u32 = 272; +pub const SYS_minherit: u32 = 273; +pub const SYS_lchmod: u32 = 274; +pub const SYS_lchown: u32 = 275; +pub const SYS_compat_50_lutimes: u32 = 276; +pub const SYS___msync13: u32 = 277; +pub const SYS_compat_30___stat13: u32 = 278; +pub const SYS_compat_30___fstat13: u32 = 279; +pub const SYS_compat_30___lstat13: u32 = 280; +pub const SYS___sigaltstack14: u32 = 281; +pub const SYS___vfork14: u32 = 282; +pub const SYS___posix_chown: u32 = 283; +pub const SYS___posix_fchown: u32 = 284; +pub const SYS___posix_lchown: u32 = 285; +pub const SYS_getsid: u32 = 286; +pub const SYS___clone: u32 = 287; +pub const SYS_fktrace: u32 = 288; +pub const SYS_preadv: u32 = 289; +pub const SYS_pwritev: u32 = 290; +pub const SYS_compat_16___sigaction14: u32 = 291; +pub const SYS___sigpending14: u32 = 292; +pub const SYS___sigprocmask14: u32 = 293; +pub const SYS___sigsuspend14: u32 = 294; +pub const SYS_compat_16___sigreturn14: u32 = 295; +pub const SYS___getcwd: u32 = 296; +pub const SYS_fchroot: u32 = 297; +pub const SYS_compat_30_fhopen: u32 = 298; +pub const SYS_compat_30_fhstat: u32 = 299; +pub const SYS_compat_20_fhstatfs: u32 = 300; +pub const SYS_compat_50_____semctl13: u32 = 301; +pub const SYS_compat_50___msgctl13: u32 = 302; +pub const SYS_compat_50___shmctl13: u32 = 303; +pub const SYS_lchflags: u32 = 304; +pub const SYS_issetugid: u32 = 305; +pub const SYS_utrace: u32 = 306; +pub const SYS_getcontext: u32 = 307; +pub const SYS_setcontext: u32 = 308; +pub const SYS__lwp_create: u32 = 309; +pub const SYS__lwp_exit: u32 = 310; +pub const SYS__lwp_self: u32 = 311; +pub const SYS__lwp_wait: u32 = 312; +pub const SYS__lwp_suspend: u32 = 313; +pub const SYS__lwp_continue: u32 = 314; +pub const SYS__lwp_wakeup: u32 = 315; +pub const SYS__lwp_getprivate: u32 = 316; +pub const SYS__lwp_setprivate: u32 = 317; +pub const SYS__lwp_kill: u32 = 318; +pub const SYS__lwp_detach: u32 = 319; +pub const SYS_compat_50__lwp_park: u32 = 320; +pub const SYS__lwp_unpark: u32 = 321; +pub const SYS__lwp_unpark_all: u32 = 322; +pub const SYS__lwp_setname: u32 = 323; +pub const SYS__lwp_getname: u32 = 324; +pub const SYS__lwp_ctl: u32 = 325; +pub const SYS_compat_60_sa_register: u32 = 330; +pub const SYS_compat_60_sa_stacks: u32 = 331; +pub const SYS_compat_60_sa_enable: u32 = 332; +pub const SYS_compat_60_sa_setconcurrency: u32 = 333; +pub const SYS_compat_60_sa_yield: u32 = 334; +pub const SYS_compat_60_sa_preempt: u32 = 335; +pub const SYS___sigaction_sigtramp: u32 = 340; +pub const SYS_rasctl: u32 = 343; +pub const SYS_kqueue: u32 = 344; +pub const SYS_compat_50_kevent: u32 = 345; +pub const SYS__sched_setparam: u32 = 346; +pub const SYS__sched_getparam: u32 = 347; +pub const SYS__sched_setaffinity: u32 = 348; +pub const SYS__sched_getaffinity: u32 = 349; +pub const SYS_sched_yield: u32 = 350; +pub const SYS__sched_protect: u32 = 351; +pub const SYS_fsync_range: u32 = 354; +pub const SYS_uuidgen: u32 = 355; +pub const SYS_compat_90_getvfsstat: u32 = 356; +pub const SYS_compat_90_statvfs1: u32 = 357; +pub const SYS_compat_90_fstatvfs1: u32 = 358; +pub const SYS_compat_30_fhstatvfs1: u32 = 359; +pub const SYS_extattrctl: u32 = 360; +pub const SYS_extattr_set_file: u32 = 361; +pub const SYS_extattr_get_file: u32 = 362; +pub const SYS_extattr_delete_file: u32 = 363; +pub const SYS_extattr_set_fd: u32 = 364; +pub const SYS_extattr_get_fd: u32 = 365; +pub const SYS_extattr_delete_fd: u32 = 366; +pub const SYS_extattr_set_link: u32 = 367; +pub const SYS_extattr_get_link: u32 = 368; +pub const SYS_extattr_delete_link: u32 = 369; +pub const SYS_extattr_list_fd: u32 = 370; +pub const SYS_extattr_list_file: u32 = 371; +pub const SYS_extattr_list_link: u32 = 372; +pub const SYS_compat_50_pselect: u32 = 373; +pub const SYS_compat_50_pollts: u32 = 374; +pub const SYS_setxattr: u32 = 375; +pub const SYS_lsetxattr: u32 = 376; +pub const SYS_fsetxattr: u32 = 377; +pub const SYS_getxattr: u32 = 378; +pub const SYS_lgetxattr: u32 = 379; +pub const SYS_fgetxattr: u32 = 380; +pub const SYS_listxattr: u32 = 381; +pub const SYS_llistxattr: u32 = 382; +pub const SYS_flistxattr: u32 = 383; +pub const SYS_removexattr: u32 = 384; +pub const SYS_lremovexattr: u32 = 385; +pub const SYS_fremovexattr: u32 = 386; +pub const SYS_compat_50___stat30: u32 = 387; +pub const SYS_compat_50___fstat30: u32 = 388; +pub const SYS_compat_50___lstat30: u32 = 389; +pub const SYS___getdents30: u32 = 390; +pub const SYS_compat_30___fhstat30: u32 = 392; +pub const SYS_compat_50___ntp_gettime30: u32 = 393; +pub const SYS___socket30: u32 = 394; +pub const SYS___getfh30: u32 = 395; +pub const SYS___fhopen40: u32 = 396; +pub const SYS_compat_90_fhstatvfs1: u32 = 397; +pub const SYS_compat_50___fhstat40: u32 = 398; +pub const SYS_aio_cancel: u32 = 399; +pub const SYS_aio_error: u32 = 400; +pub const SYS_aio_fsync: u32 = 401; +pub const SYS_aio_read: u32 = 402; +pub const SYS_aio_return: u32 = 403; +pub const SYS_compat_50_aio_suspend: u32 = 404; +pub const SYS_aio_write: u32 = 405; +pub const SYS_lio_listio: u32 = 406; +pub const SYS___mount50: u32 = 410; +pub const SYS_mremap: u32 = 411; +pub const SYS_pset_create: u32 = 412; +pub const SYS_pset_destroy: u32 = 413; +pub const SYS_pset_assign: u32 = 414; +pub const SYS__pset_bind: u32 = 415; +pub const SYS___posix_fadvise50: u32 = 416; +pub const SYS___select50: u32 = 417; +pub const SYS___gettimeofday50: u32 = 418; +pub const SYS___settimeofday50: u32 = 419; +pub const SYS___utimes50: u32 = 420; +pub const SYS___adjtime50: u32 = 421; +pub const SYS___lfs_segwait50: u32 = 422; +pub const SYS___futimes50: u32 = 423; +pub const SYS___lutimes50: u32 = 424; +pub const SYS___setitimer50: u32 = 425; +pub const SYS___getitimer50: u32 = 426; +pub const SYS___clock_gettime50: u32 = 427; +pub const SYS___clock_settime50: u32 = 428; +pub const SYS___clock_getres50: u32 = 429; +pub const SYS___nanosleep50: u32 = 430; +pub const SYS_____sigtimedwait50: u32 = 431; +pub const SYS___mq_timedsend50: u32 = 432; +pub const SYS___mq_timedreceive50: u32 = 433; +pub const SYS_compat_60__lwp_park: u32 = 434; +pub const SYS_compat_100___kevent50: u32 = 435; +pub const SYS___pselect50: u32 = 436; +pub const SYS___pollts50: u32 = 437; +pub const SYS___aio_suspend50: u32 = 438; +pub const SYS___stat50: u32 = 439; +pub const SYS___fstat50: u32 = 440; +pub const SYS___lstat50: u32 = 441; +pub const SYS_____semctl50: u32 = 442; +pub const SYS___shmctl50: u32 = 443; +pub const SYS___msgctl50: u32 = 444; +pub const SYS___getrusage50: u32 = 445; +pub const SYS___timer_settime50: u32 = 446; +pub const SYS___timer_gettime50: u32 = 447; +pub const SYS___ntp_gettime50: u32 = 448; +pub const SYS___wait450: u32 = 449; +pub const SYS___mknod50: u32 = 450; +pub const SYS___fhstat50: u32 = 451; +pub const SYS_pipe2: u32 = 453; +pub const SYS_compat_100_dup3: u32 = 454; +pub const SYS_kqueue1: u32 = 455; +pub const SYS_paccept: u32 = 456; +pub const SYS_linkat: u32 = 457; +pub const SYS_renameat: u32 = 458; +pub const SYS_mkfifoat: u32 = 459; +pub const SYS_mknodat: u32 = 460; +pub const SYS_mkdirat: u32 = 461; +pub const SYS_faccessat: u32 = 462; +pub const SYS_fchmodat: u32 = 463; +pub const SYS_fchownat: u32 = 464; +pub const SYS_fexecve: u32 = 465; +pub const SYS_fstatat: u32 = 466; +pub const SYS_utimensat: u32 = 467; +pub const SYS_openat: u32 = 468; +pub const SYS_readlinkat: u32 = 469; +pub const SYS_symlinkat: u32 = 470; +pub const SYS_unlinkat: u32 = 471; +pub const SYS_futimens: u32 = 472; +pub const SYS___quotactl: u32 = 473; +pub const SYS_posix_spawn: u32 = 474; +pub const SYS_recvmmsg: u32 = 475; +pub const SYS_sendmmsg: u32 = 476; +pub const SYS_clock_nanosleep: u32 = 477; +pub const SYS____lwp_park60: u32 = 478; +pub const SYS_posix_fallocate: u32 = 479; +pub const SYS_fdiscard: u32 = 480; +pub const SYS_wait6: u32 = 481; +pub const SYS_clock_getcpuclockid2: u32 = 482; +pub const SYS___getvfsstat90: u32 = 483; +pub const SYS___statvfs190: u32 = 484; +pub const SYS___fstatvfs190: u32 = 485; +pub const SYS___fhstatvfs190: u32 = 486; +pub const SYS___acl_get_link: u32 = 487; +pub const SYS___acl_set_link: u32 = 488; +pub const SYS___acl_delete_link: u32 = 489; +pub const SYS___acl_aclcheck_link: u32 = 490; +pub const SYS___acl_get_file: u32 = 491; +pub const SYS___acl_set_file: u32 = 492; +pub const SYS___acl_get_fd: u32 = 493; +pub const SYS___acl_set_fd: u32 = 494; +pub const SYS___acl_delete_file: u32 = 495; +pub const SYS___acl_delete_fd: u32 = 496; +pub const SYS___acl_aclcheck_file: u32 = 497; +pub const SYS___acl_aclcheck_fd: u32 = 498; +pub const SYS_lpathconf: u32 = 499; +pub const SYS_memfd_create: u32 = 500; +pub const SYS___kevent100: u32 = 501; +pub const SYS_epoll_create1: u32 = 502; +pub const SYS_epoll_ctl: u32 = 503; +pub const SYS_epoll_pwait2: u32 = 504; +pub const SYS___dup3100: u32 = 505; +pub const SYS_MAXSYSCALL: u32 = 506; +pub const SYS_NSYSENT: u32 = 512; diff --git a/tests/helper/src/gen/sys/aarch64_openbsd/machine_elf.rs b/tests/helper/src/gen/sys/aarch64_openbsd/machine_elf.rs new file mode 100644 index 00000000..e57b3696 --- /dev/null +++ b/tests/helper/src/gen/sys/aarch64_openbsd/machine_elf.rs @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT +// This file is @generated by portable-atomic-internal-codegen +// (gen function at tools/codegen/src/ffi.rs). +// It is not intended for manual editing. + +pub const HWCAP_FP: u32 = 1; +pub const HWCAP_ASIMD: u32 = 2; +pub const HWCAP_EVTSTRM: u32 = 4; +pub const HWCAP_AES: u32 = 8; +pub const HWCAP_PMULL: u32 = 16; +pub const HWCAP_SHA1: u32 = 32; +pub const HWCAP_SHA2: u32 = 64; +pub const HWCAP_CRC32: u32 = 128; +pub const HWCAP_ATOMICS: u32 = 256; +pub const HWCAP_FPHP: u32 = 512; +pub const HWCAP_ASIMDHP: u32 = 1024; +pub const HWCAP_CPUID: u32 = 2048; +pub const HWCAP_ASIMDRDM: u32 = 4096; +pub const HWCAP_JSCVT: u32 = 8192; +pub const HWCAP_FCMA: u32 = 16384; +pub const HWCAP_LRCPC: u32 = 32768; +pub const HWCAP_DCPOP: u32 = 65536; +pub const HWCAP_SHA3: u32 = 131072; +pub const HWCAP_SM3: u32 = 262144; +pub const HWCAP_SM4: u32 = 524288; +pub const HWCAP_ASIMDDP: u32 = 1048576; +pub const HWCAP_SHA512: u32 = 2097152; +pub const HWCAP_SVE: u32 = 4194304; +pub const HWCAP_ASIMDFHM: u32 = 8388608; +pub const HWCAP_DIT: u32 = 16777216; +pub const HWCAP_USCAT: u32 = 33554432; +pub const HWCAP_ILRCPC: u32 = 67108864; +pub const HWCAP_FLAGM: u32 = 134217728; +pub const HWCAP_SSBS: u32 = 268435456; +pub const HWCAP_SB: u32 = 536870912; +pub const HWCAP_PACA: u32 = 1073741824; +pub const HWCAP_PACG: u32 = 2147483648; +pub const HWCAP2_DCPODP: u32 = 1; +pub const HWCAP2_SVE2: u32 = 2; +pub const HWCAP2_SVEAES: u32 = 4; +pub const HWCAP2_SVEPMULL: u32 = 8; +pub const HWCAP2_SVEBITPERM: u32 = 16; +pub const HWCAP2_SVESHA3: u32 = 32; +pub const HWCAP2_SVESM4: u32 = 64; +pub const HWCAP2_FLAGM2: u32 = 128; +pub const HWCAP2_FRINT: u32 = 256; +pub const HWCAP2_SVEI8MM: u32 = 512; +pub const HWCAP2_SVEF32MM: u32 = 1024; +pub const HWCAP2_SVEF64MM: u32 = 2048; +pub const HWCAP2_SVEBF16: u32 = 4096; +pub const HWCAP2_I8MM: u32 = 8192; +pub const HWCAP2_BF16: u32 = 16384; +pub const HWCAP2_DGH: u32 = 32768; +pub const HWCAP2_RNG: u32 = 65536; +pub const HWCAP2_BTI: u32 = 131072; +pub const HWCAP2_MTE: u32 = 262144; +pub const HWCAP2_ECV: u32 = 524288; +pub const HWCAP2_AFP: u32 = 1048576; +pub const HWCAP2_RPRES: u32 = 2097152; +pub const HWCAP2_MTE3: u32 = 4194304; +pub const HWCAP2_SME: u32 = 8388608; +pub const HWCAP2_SME_I16I64: u32 = 16777216; +pub const HWCAP2_SME_F64F64: u32 = 33554432; +pub const HWCAP2_SME_I8I32: u32 = 67108864; +pub const HWCAP2_SME_F16F32: u32 = 134217728; +pub const HWCAP2_SME_B16F32: u32 = 268435456; +pub const HWCAP2_SME_F32F32: u32 = 536870912; +pub const HWCAP2_SME_FA64: u32 = 1073741824; +pub const HWCAP2_WFXT: u32 = 2147483648; +pub const HWCAP2_EBF16: u64 = 4294967296; +pub const HWCAP2_SVE_EBF16: u64 = 8589934592; +pub const HWCAP2_CSSC: u64 = 17179869184; +pub const HWCAP2_RPRFM: u64 = 34359738368; +pub const HWCAP2_SVE2P1: u64 = 68719476736; +pub const HWCAP2_SME2: u64 = 137438953472; +pub const HWCAP2_SME2P1: u64 = 274877906944; +pub const HWCAP2_SME_I16I32: u64 = 549755813888; +pub const HWCAP2_SME_BI32I32: u64 = 1099511627776; +pub const HWCAP2_SME_B16B16: u64 = 2199023255552; +pub const HWCAP2_SME_F16F16: u64 = 4398046511104; +pub const HWCAP2_MOPS: u64 = 8796093022208; +pub const HWCAP2_HBC: u64 = 17592186044416; diff --git a/tests/helper/src/gen/sys/aarch64_openbsd/mod.rs b/tests/helper/src/gen/sys/aarch64_openbsd/mod.rs index 629dc38d..9fb873ea 100644 --- a/tests/helper/src/gen/sys/aarch64_openbsd/mod.rs +++ b/tests/helper/src/gen/sys/aarch64_openbsd/mod.rs @@ -7,6 +7,10 @@ mod sys_sysctl; pub use sys_sysctl::CTL_MACHDEP; pub use sys_sysctl::sysctl; +mod sys_auxv; +pub use sys_auxv::AT_HWCAP; +pub use sys_auxv::AT_HWCAP2; +pub use sys_auxv::elf_aux_info; mod machine_cpu; pub use machine_cpu::CPU_ID_AA64ISAR0; pub use machine_cpu::CPU_ID_AA64ISAR1; @@ -18,4 +22,82 @@ pub use machine_cpu::CPU_ID_AA64PFR0; pub use machine_cpu::CPU_ID_AA64PFR1; pub use machine_cpu::CPU_ID_AA64SMFR0; pub use machine_cpu::CPU_ID_AA64ZFR0; +mod machine_elf; +pub use machine_elf::HWCAP_FP; +pub use machine_elf::HWCAP_ASIMD; +pub use machine_elf::HWCAP_EVTSTRM; +pub use machine_elf::HWCAP_AES; +pub use machine_elf::HWCAP_PMULL; +pub use machine_elf::HWCAP_SHA1; +pub use machine_elf::HWCAP_SHA2; +pub use machine_elf::HWCAP_CRC32; +pub use machine_elf::HWCAP_ATOMICS; +pub use machine_elf::HWCAP_FPHP; +pub use machine_elf::HWCAP_ASIMDHP; +pub use machine_elf::HWCAP_CPUID; +pub use machine_elf::HWCAP_ASIMDRDM; +pub use machine_elf::HWCAP_JSCVT; +pub use machine_elf::HWCAP_FCMA; +pub use machine_elf::HWCAP_LRCPC; +pub use machine_elf::HWCAP_DCPOP; +pub use machine_elf::HWCAP_SHA3; +pub use machine_elf::HWCAP_SM3; +pub use machine_elf::HWCAP_SM4; +pub use machine_elf::HWCAP_ASIMDDP; +pub use machine_elf::HWCAP_SHA512; +pub use machine_elf::HWCAP_SVE; +pub use machine_elf::HWCAP_ASIMDFHM; +pub use machine_elf::HWCAP_DIT; +pub use machine_elf::HWCAP_USCAT; +pub use machine_elf::HWCAP_ILRCPC; +pub use machine_elf::HWCAP_FLAGM; +pub use machine_elf::HWCAP_SSBS; +pub use machine_elf::HWCAP_SB; +pub use machine_elf::HWCAP_PACA; +pub use machine_elf::HWCAP_PACG; +pub use machine_elf::HWCAP2_DCPODP; +pub use machine_elf::HWCAP2_SVE2; +pub use machine_elf::HWCAP2_SVEAES; +pub use machine_elf::HWCAP2_SVEPMULL; +pub use machine_elf::HWCAP2_SVEBITPERM; +pub use machine_elf::HWCAP2_SVESHA3; +pub use machine_elf::HWCAP2_SVESM4; +pub use machine_elf::HWCAP2_FLAGM2; +pub use machine_elf::HWCAP2_FRINT; +pub use machine_elf::HWCAP2_SVEI8MM; +pub use machine_elf::HWCAP2_SVEF32MM; +pub use machine_elf::HWCAP2_SVEF64MM; +pub use machine_elf::HWCAP2_SVEBF16; +pub use machine_elf::HWCAP2_I8MM; +pub use machine_elf::HWCAP2_BF16; +pub use machine_elf::HWCAP2_DGH; +pub use machine_elf::HWCAP2_RNG; +pub use machine_elf::HWCAP2_BTI; +pub use machine_elf::HWCAP2_MTE; +pub use machine_elf::HWCAP2_ECV; +pub use machine_elf::HWCAP2_AFP; +pub use machine_elf::HWCAP2_RPRES; +pub use machine_elf::HWCAP2_MTE3; +pub use machine_elf::HWCAP2_SME; +pub use machine_elf::HWCAP2_SME_I16I64; +pub use machine_elf::HWCAP2_SME_F64F64; +pub use machine_elf::HWCAP2_SME_I8I32; +pub use machine_elf::HWCAP2_SME_F16F32; +pub use machine_elf::HWCAP2_SME_B16F32; +pub use machine_elf::HWCAP2_SME_F32F32; +pub use machine_elf::HWCAP2_SME_FA64; +pub use machine_elf::HWCAP2_WFXT; +pub use machine_elf::HWCAP2_EBF16; +pub use machine_elf::HWCAP2_SVE_EBF16; +pub use machine_elf::HWCAP2_CSSC; +pub use machine_elf::HWCAP2_RPRFM; +pub use machine_elf::HWCAP2_SVE2P1; +pub use machine_elf::HWCAP2_SME2; +pub use machine_elf::HWCAP2_SME2P1; +pub use machine_elf::HWCAP2_SME_I16I32; +pub use machine_elf::HWCAP2_SME_BI32I32; +pub use machine_elf::HWCAP2_SME_B16B16; +pub use machine_elf::HWCAP2_SME_F16F16; +pub use machine_elf::HWCAP2_MOPS; +pub use machine_elf::HWCAP2_HBC; pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_openbsd/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_openbsd/sys_auxv.rs new file mode 100644 index 00000000..edb66f8b --- /dev/null +++ b/tests/helper/src/gen/sys/aarch64_openbsd/sys_auxv.rs @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT +// This file is @generated by portable-atomic-internal-codegen +// (gen function at tools/codegen/src/ffi.rs). +// It is not intended for manual editing. + +pub const AT_HWCAP: u32 = 25; +pub const AT_HWCAP2: u32 = 26; +extern "C" { + pub fn elf_aux_info( + aux: ::std::os::raw::c_int, + buf: *mut ::core::ffi::c_void, + buflen: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} diff --git a/tests/helper/src/gen/sys/mod.rs b/tests/helper/src/gen/sys/mod.rs index daa78891..87eda3f3 100644 --- a/tests/helper/src/gen/sys/mod.rs +++ b/tests/helper/src/gen/sys/mod.rs @@ -356,6 +356,24 @@ mod aarch64_openbsd; ) )] pub use aarch64_openbsd::*; +#[cfg( + all( + target_arch = "powerpc64", + target_os = "openbsd", + target_endian = "big", + target_pointer_width = "64" + ) +)] +mod powerpc64_openbsd; +#[cfg( + all( + target_arch = "powerpc64", + target_os = "openbsd", + target_endian = "big", + target_pointer_width = "64" + ) +)] +pub use powerpc64_openbsd::*; #[cfg( all( target_arch = "aarch64", diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/mod.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/mod.rs index 168d4561..5fc80f5d 100644 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/mod.rs +++ b/tests/helper/src/gen/sys/powerpc64_freebsd/mod.rs @@ -7,8 +7,435 @@ mod sys_auxv; pub use sys_auxv::elf_aux_info; mod sys_syscall; +pub use sys_syscall::SYS_syscall; +pub use sys_syscall::SYS_exit; +pub use sys_syscall::SYS_fork; +pub use sys_syscall::SYS_read; +pub use sys_syscall::SYS_write; +pub use sys_syscall::SYS_open; +pub use sys_syscall::SYS_close; +pub use sys_syscall::SYS_wait4; +pub use sys_syscall::SYS_link; +pub use sys_syscall::SYS_unlink; +pub use sys_syscall::SYS_chdir; +pub use sys_syscall::SYS_fchdir; +pub use sys_syscall::SYS_freebsd11_mknod; +pub use sys_syscall::SYS_chmod; +pub use sys_syscall::SYS_chown; +pub use sys_syscall::SYS_break; pub use sys_syscall::SYS_getpid; +pub use sys_syscall::SYS_mount; +pub use sys_syscall::SYS_unmount; +pub use sys_syscall::SYS_setuid; +pub use sys_syscall::SYS_getuid; +pub use sys_syscall::SYS_geteuid; +pub use sys_syscall::SYS_ptrace; +pub use sys_syscall::SYS_recvmsg; +pub use sys_syscall::SYS_sendmsg; +pub use sys_syscall::SYS_recvfrom; +pub use sys_syscall::SYS_accept; +pub use sys_syscall::SYS_getpeername; +pub use sys_syscall::SYS_getsockname; +pub use sys_syscall::SYS_access; +pub use sys_syscall::SYS_chflags; +pub use sys_syscall::SYS_fchflags; +pub use sys_syscall::SYS_sync; +pub use sys_syscall::SYS_kill; +pub use sys_syscall::SYS_getppid; +pub use sys_syscall::SYS_dup; +pub use sys_syscall::SYS_freebsd10_pipe; +pub use sys_syscall::SYS_getegid; +pub use sys_syscall::SYS_profil; +pub use sys_syscall::SYS_ktrace; +pub use sys_syscall::SYS_getgid; +pub use sys_syscall::SYS_getlogin; +pub use sys_syscall::SYS_setlogin; +pub use sys_syscall::SYS_acct; +pub use sys_syscall::SYS_sigaltstack; +pub use sys_syscall::SYS_ioctl; +pub use sys_syscall::SYS_reboot; +pub use sys_syscall::SYS_revoke; +pub use sys_syscall::SYS_symlink; +pub use sys_syscall::SYS_readlink; +pub use sys_syscall::SYS_execve; +pub use sys_syscall::SYS_umask; +pub use sys_syscall::SYS_chroot; +pub use sys_syscall::SYS_msync; +pub use sys_syscall::SYS_vfork; +pub use sys_syscall::SYS_freebsd11_vadvise; +pub use sys_syscall::SYS_munmap; +pub use sys_syscall::SYS_mprotect; +pub use sys_syscall::SYS_madvise; +pub use sys_syscall::SYS_mincore; +pub use sys_syscall::SYS_getgroups; +pub use sys_syscall::SYS_setgroups; +pub use sys_syscall::SYS_getpgrp; +pub use sys_syscall::SYS_setpgid; +pub use sys_syscall::SYS_setitimer; +pub use sys_syscall::SYS_swapon; +pub use sys_syscall::SYS_getitimer; +pub use sys_syscall::SYS_getdtablesize; +pub use sys_syscall::SYS_dup2; +pub use sys_syscall::SYS_fcntl; +pub use sys_syscall::SYS_select; +pub use sys_syscall::SYS_fsync; +pub use sys_syscall::SYS_setpriority; +pub use sys_syscall::SYS_socket; +pub use sys_syscall::SYS_connect; +pub use sys_syscall::SYS_getpriority; +pub use sys_syscall::SYS_bind; +pub use sys_syscall::SYS_setsockopt; +pub use sys_syscall::SYS_listen; +pub use sys_syscall::SYS_gettimeofday; +pub use sys_syscall::SYS_getrusage; +pub use sys_syscall::SYS_getsockopt; +pub use sys_syscall::SYS_readv; +pub use sys_syscall::SYS_writev; +pub use sys_syscall::SYS_settimeofday; +pub use sys_syscall::SYS_fchown; +pub use sys_syscall::SYS_fchmod; +pub use sys_syscall::SYS_setreuid; +pub use sys_syscall::SYS_setregid; +pub use sys_syscall::SYS_rename; +pub use sys_syscall::SYS_flock; +pub use sys_syscall::SYS_mkfifo; +pub use sys_syscall::SYS_sendto; +pub use sys_syscall::SYS_shutdown; +pub use sys_syscall::SYS_socketpair; +pub use sys_syscall::SYS_mkdir; +pub use sys_syscall::SYS_rmdir; +pub use sys_syscall::SYS_utimes; +pub use sys_syscall::SYS_adjtime; +pub use sys_syscall::SYS_setsid; +pub use sys_syscall::SYS_quotactl; +pub use sys_syscall::SYS_nlm_syscall; +pub use sys_syscall::SYS_nfssvc; +pub use sys_syscall::SYS_lgetfh; +pub use sys_syscall::SYS_getfh; +pub use sys_syscall::SYS_sysarch; +pub use sys_syscall::SYS_rtprio; +pub use sys_syscall::SYS_semsys; +pub use sys_syscall::SYS_msgsys; +pub use sys_syscall::SYS_shmsys; +pub use sys_syscall::SYS_setfib; +pub use sys_syscall::SYS_ntp_adjtime; +pub use sys_syscall::SYS_setgid; +pub use sys_syscall::SYS_setegid; +pub use sys_syscall::SYS_seteuid; +pub use sys_syscall::SYS_freebsd11_stat; +pub use sys_syscall::SYS_freebsd11_fstat; +pub use sys_syscall::SYS_freebsd11_lstat; +pub use sys_syscall::SYS_pathconf; +pub use sys_syscall::SYS_fpathconf; +pub use sys_syscall::SYS_getrlimit; +pub use sys_syscall::SYS_setrlimit; +pub use sys_syscall::SYS_freebsd11_getdirentries; +pub use sys_syscall::SYS___syscall; pub use sys_syscall::SYS___sysctl; +pub use sys_syscall::SYS_mlock; +pub use sys_syscall::SYS_munlock; +pub use sys_syscall::SYS_undelete; +pub use sys_syscall::SYS_futimes; +pub use sys_syscall::SYS_getpgid; +pub use sys_syscall::SYS_poll; +pub use sys_syscall::SYS_freebsd7___semctl; +pub use sys_syscall::SYS_semget; +pub use sys_syscall::SYS_semop; +pub use sys_syscall::SYS_freebsd7_msgctl; +pub use sys_syscall::SYS_msgget; +pub use sys_syscall::SYS_msgsnd; +pub use sys_syscall::SYS_msgrcv; +pub use sys_syscall::SYS_shmat; +pub use sys_syscall::SYS_freebsd7_shmctl; +pub use sys_syscall::SYS_shmdt; +pub use sys_syscall::SYS_shmget; +pub use sys_syscall::SYS_clock_gettime; +pub use sys_syscall::SYS_clock_settime; +pub use sys_syscall::SYS_clock_getres; +pub use sys_syscall::SYS_ktimer_create; +pub use sys_syscall::SYS_ktimer_delete; +pub use sys_syscall::SYS_ktimer_settime; +pub use sys_syscall::SYS_ktimer_gettime; +pub use sys_syscall::SYS_ktimer_getoverrun; +pub use sys_syscall::SYS_nanosleep; +pub use sys_syscall::SYS_ffclock_getcounter; +pub use sys_syscall::SYS_ffclock_setestimate; +pub use sys_syscall::SYS_ffclock_getestimate; +pub use sys_syscall::SYS_clock_nanosleep; +pub use sys_syscall::SYS_clock_getcpuclockid2; +pub use sys_syscall::SYS_ntp_gettime; +pub use sys_syscall::SYS_minherit; +pub use sys_syscall::SYS_rfork; +pub use sys_syscall::SYS_issetugid; +pub use sys_syscall::SYS_lchown; +pub use sys_syscall::SYS_aio_read; +pub use sys_syscall::SYS_aio_write; +pub use sys_syscall::SYS_lio_listio; +pub use sys_syscall::SYS_freebsd11_getdents; +pub use sys_syscall::SYS_lchmod; +pub use sys_syscall::SYS_lutimes; +pub use sys_syscall::SYS_freebsd11_nstat; +pub use sys_syscall::SYS_freebsd11_nfstat; +pub use sys_syscall::SYS_freebsd11_nlstat; +pub use sys_syscall::SYS_preadv; +pub use sys_syscall::SYS_pwritev; +pub use sys_syscall::SYS_fhopen; +pub use sys_syscall::SYS_freebsd11_fhstat; +pub use sys_syscall::SYS_modnext; +pub use sys_syscall::SYS_modstat; +pub use sys_syscall::SYS_modfnext; +pub use sys_syscall::SYS_modfind; +pub use sys_syscall::SYS_kldload; +pub use sys_syscall::SYS_kldunload; +pub use sys_syscall::SYS_kldfind; +pub use sys_syscall::SYS_kldnext; +pub use sys_syscall::SYS_kldstat; +pub use sys_syscall::SYS_kldfirstmod; +pub use sys_syscall::SYS_getsid; +pub use sys_syscall::SYS_setresuid; +pub use sys_syscall::SYS_setresgid; +pub use sys_syscall::SYS_aio_return; +pub use sys_syscall::SYS_aio_suspend; +pub use sys_syscall::SYS_aio_cancel; +pub use sys_syscall::SYS_aio_error; +pub use sys_syscall::SYS_yield; +pub use sys_syscall::SYS_mlockall; +pub use sys_syscall::SYS_munlockall; +pub use sys_syscall::SYS___getcwd; +pub use sys_syscall::SYS_sched_setparam; +pub use sys_syscall::SYS_sched_getparam; +pub use sys_syscall::SYS_sched_setscheduler; +pub use sys_syscall::SYS_sched_getscheduler; +pub use sys_syscall::SYS_sched_yield; +pub use sys_syscall::SYS_sched_get_priority_max; +pub use sys_syscall::SYS_sched_get_priority_min; +pub use sys_syscall::SYS_sched_rr_get_interval; +pub use sys_syscall::SYS_utrace; +pub use sys_syscall::SYS_kldsym; +pub use sys_syscall::SYS_jail; +pub use sys_syscall::SYS_nnpfs_syscall; +pub use sys_syscall::SYS_sigprocmask; +pub use sys_syscall::SYS_sigsuspend; +pub use sys_syscall::SYS_sigpending; +pub use sys_syscall::SYS_sigtimedwait; +pub use sys_syscall::SYS_sigwaitinfo; +pub use sys_syscall::SYS___acl_get_file; +pub use sys_syscall::SYS___acl_set_file; +pub use sys_syscall::SYS___acl_get_fd; +pub use sys_syscall::SYS___acl_set_fd; +pub use sys_syscall::SYS___acl_delete_file; +pub use sys_syscall::SYS___acl_delete_fd; +pub use sys_syscall::SYS___acl_aclcheck_file; +pub use sys_syscall::SYS___acl_aclcheck_fd; +pub use sys_syscall::SYS_extattrctl; +pub use sys_syscall::SYS_extattr_set_file; +pub use sys_syscall::SYS_extattr_get_file; +pub use sys_syscall::SYS_extattr_delete_file; +pub use sys_syscall::SYS_aio_waitcomplete; +pub use sys_syscall::SYS_getresuid; +pub use sys_syscall::SYS_getresgid; +pub use sys_syscall::SYS_kqueue; +pub use sys_syscall::SYS_freebsd11_kevent; +pub use sys_syscall::SYS_extattr_set_fd; +pub use sys_syscall::SYS_extattr_get_fd; +pub use sys_syscall::SYS_extattr_delete_fd; +pub use sys_syscall::SYS___setugid; +pub use sys_syscall::SYS_eaccess; +pub use sys_syscall::SYS_afs3_syscall; +pub use sys_syscall::SYS_nmount; +pub use sys_syscall::SYS___mac_get_proc; +pub use sys_syscall::SYS___mac_set_proc; +pub use sys_syscall::SYS___mac_get_fd; +pub use sys_syscall::SYS___mac_get_file; +pub use sys_syscall::SYS___mac_set_fd; +pub use sys_syscall::SYS___mac_set_file; +pub use sys_syscall::SYS_kenv; +pub use sys_syscall::SYS_lchflags; +pub use sys_syscall::SYS_uuidgen; +pub use sys_syscall::SYS_sendfile; +pub use sys_syscall::SYS_mac_syscall; +pub use sys_syscall::SYS_freebsd11_getfsstat; +pub use sys_syscall::SYS_freebsd11_statfs; +pub use sys_syscall::SYS_freebsd11_fstatfs; +pub use sys_syscall::SYS_freebsd11_fhstatfs; +pub use sys_syscall::SYS_ksem_close; +pub use sys_syscall::SYS_ksem_post; +pub use sys_syscall::SYS_ksem_wait; +pub use sys_syscall::SYS_ksem_trywait; +pub use sys_syscall::SYS_ksem_init; +pub use sys_syscall::SYS_ksem_open; +pub use sys_syscall::SYS_ksem_unlink; +pub use sys_syscall::SYS_ksem_getvalue; +pub use sys_syscall::SYS_ksem_destroy; +pub use sys_syscall::SYS___mac_get_pid; +pub use sys_syscall::SYS___mac_get_link; +pub use sys_syscall::SYS___mac_set_link; +pub use sys_syscall::SYS_extattr_set_link; +pub use sys_syscall::SYS_extattr_get_link; +pub use sys_syscall::SYS_extattr_delete_link; +pub use sys_syscall::SYS___mac_execve; +pub use sys_syscall::SYS_sigaction; +pub use sys_syscall::SYS_sigreturn; +pub use sys_syscall::SYS_getcontext; +pub use sys_syscall::SYS_setcontext; +pub use sys_syscall::SYS_swapcontext; +pub use sys_syscall::SYS_freebsd13_swapoff; +pub use sys_syscall::SYS___acl_get_link; +pub use sys_syscall::SYS___acl_set_link; +pub use sys_syscall::SYS___acl_delete_link; +pub use sys_syscall::SYS___acl_aclcheck_link; +pub use sys_syscall::SYS_sigwait; +pub use sys_syscall::SYS_thr_create; +pub use sys_syscall::SYS_thr_exit; +pub use sys_syscall::SYS_thr_self; +pub use sys_syscall::SYS_thr_kill; +pub use sys_syscall::SYS_freebsd10__umtx_lock; +pub use sys_syscall::SYS_freebsd10__umtx_unlock; +pub use sys_syscall::SYS_jail_attach; +pub use sys_syscall::SYS_extattr_list_fd; +pub use sys_syscall::SYS_extattr_list_file; +pub use sys_syscall::SYS_extattr_list_link; +pub use sys_syscall::SYS_ksem_timedwait; +pub use sys_syscall::SYS_thr_suspend; +pub use sys_syscall::SYS_thr_wake; +pub use sys_syscall::SYS_kldunloadf; +pub use sys_syscall::SYS_audit; +pub use sys_syscall::SYS_auditon; +pub use sys_syscall::SYS_getauid; +pub use sys_syscall::SYS_setauid; +pub use sys_syscall::SYS_getaudit; +pub use sys_syscall::SYS_setaudit; +pub use sys_syscall::SYS_getaudit_addr; +pub use sys_syscall::SYS_setaudit_addr; +pub use sys_syscall::SYS_auditctl; +pub use sys_syscall::SYS__umtx_op; +pub use sys_syscall::SYS_thr_new; +pub use sys_syscall::SYS_sigqueue; +pub use sys_syscall::SYS_kmq_open; +pub use sys_syscall::SYS_kmq_setattr; +pub use sys_syscall::SYS_kmq_timedreceive; +pub use sys_syscall::SYS_kmq_timedsend; +pub use sys_syscall::SYS_kmq_notify; +pub use sys_syscall::SYS_kmq_unlink; +pub use sys_syscall::SYS_abort2; +pub use sys_syscall::SYS_thr_set_name; +pub use sys_syscall::SYS_aio_fsync; +pub use sys_syscall::SYS_rtprio_thread; +pub use sys_syscall::SYS_sctp_peeloff; +pub use sys_syscall::SYS_sctp_generic_sendmsg; +pub use sys_syscall::SYS_sctp_generic_sendmsg_iov; +pub use sys_syscall::SYS_sctp_generic_recvmsg; +pub use sys_syscall::SYS_pread; +pub use sys_syscall::SYS_pwrite; +pub use sys_syscall::SYS_mmap; +pub use sys_syscall::SYS_lseek; +pub use sys_syscall::SYS_truncate; +pub use sys_syscall::SYS_ftruncate; +pub use sys_syscall::SYS_thr_kill2; +pub use sys_syscall::SYS_freebsd12_shm_open; +pub use sys_syscall::SYS_shm_unlink; +pub use sys_syscall::SYS_cpuset; +pub use sys_syscall::SYS_cpuset_setid; +pub use sys_syscall::SYS_cpuset_getid; +pub use sys_syscall::SYS_cpuset_getaffinity; +pub use sys_syscall::SYS_cpuset_setaffinity; +pub use sys_syscall::SYS_faccessat; +pub use sys_syscall::SYS_fchmodat; +pub use sys_syscall::SYS_fchownat; +pub use sys_syscall::SYS_fexecve; +pub use sys_syscall::SYS_freebsd11_fstatat; +pub use sys_syscall::SYS_futimesat; +pub use sys_syscall::SYS_linkat; +pub use sys_syscall::SYS_mkdirat; +pub use sys_syscall::SYS_mkfifoat; +pub use sys_syscall::SYS_freebsd11_mknodat; +pub use sys_syscall::SYS_openat; +pub use sys_syscall::SYS_readlinkat; +pub use sys_syscall::SYS_renameat; +pub use sys_syscall::SYS_symlinkat; +pub use sys_syscall::SYS_unlinkat; +pub use sys_syscall::SYS_posix_openpt; +pub use sys_syscall::SYS_gssd_syscall; +pub use sys_syscall::SYS_jail_get; +pub use sys_syscall::SYS_jail_set; +pub use sys_syscall::SYS_jail_remove; +pub use sys_syscall::SYS_freebsd12_closefrom; +pub use sys_syscall::SYS___semctl; +pub use sys_syscall::SYS_msgctl; +pub use sys_syscall::SYS_shmctl; +pub use sys_syscall::SYS_lpathconf; +pub use sys_syscall::SYS___cap_rights_get; +pub use sys_syscall::SYS_cap_enter; +pub use sys_syscall::SYS_cap_getmode; +pub use sys_syscall::SYS_pdfork; +pub use sys_syscall::SYS_pdkill; +pub use sys_syscall::SYS_pdgetpid; +pub use sys_syscall::SYS_pselect; +pub use sys_syscall::SYS_getloginclass; +pub use sys_syscall::SYS_setloginclass; +pub use sys_syscall::SYS_rctl_get_racct; +pub use sys_syscall::SYS_rctl_get_rules; +pub use sys_syscall::SYS_rctl_get_limits; +pub use sys_syscall::SYS_rctl_add_rule; +pub use sys_syscall::SYS_rctl_remove_rule; +pub use sys_syscall::SYS_posix_fallocate; +pub use sys_syscall::SYS_posix_fadvise; +pub use sys_syscall::SYS_wait6; +pub use sys_syscall::SYS_cap_rights_limit; +pub use sys_syscall::SYS_cap_ioctls_limit; +pub use sys_syscall::SYS_cap_ioctls_get; +pub use sys_syscall::SYS_cap_fcntls_limit; +pub use sys_syscall::SYS_cap_fcntls_get; +pub use sys_syscall::SYS_bindat; +pub use sys_syscall::SYS_connectat; +pub use sys_syscall::SYS_chflagsat; +pub use sys_syscall::SYS_accept4; +pub use sys_syscall::SYS_pipe2; +pub use sys_syscall::SYS_aio_mlock; +pub use sys_syscall::SYS_procctl; +pub use sys_syscall::SYS_ppoll; +pub use sys_syscall::SYS_futimens; +pub use sys_syscall::SYS_utimensat; +pub use sys_syscall::SYS_fdatasync; +pub use sys_syscall::SYS_fstat; +pub use sys_syscall::SYS_fstatat; +pub use sys_syscall::SYS_fhstat; +pub use sys_syscall::SYS_getdirentries; +pub use sys_syscall::SYS_statfs; +pub use sys_syscall::SYS_fstatfs; +pub use sys_syscall::SYS_getfsstat; +pub use sys_syscall::SYS_fhstatfs; +pub use sys_syscall::SYS_mknodat; +pub use sys_syscall::SYS_kevent; +pub use sys_syscall::SYS_cpuset_getdomain; +pub use sys_syscall::SYS_cpuset_setdomain; +pub use sys_syscall::SYS_getrandom; +pub use sys_syscall::SYS_getfhat; +pub use sys_syscall::SYS_fhlink; +pub use sys_syscall::SYS_fhlinkat; +pub use sys_syscall::SYS_fhreadlink; +pub use sys_syscall::SYS_funlinkat; +pub use sys_syscall::SYS_copy_file_range; +pub use sys_syscall::SYS___sysctlbyname; +pub use sys_syscall::SYS_shm_open2; +pub use sys_syscall::SYS_shm_rename; +pub use sys_syscall::SYS_sigfastblock; +pub use sys_syscall::SYS___realpathat; +pub use sys_syscall::SYS_close_range; +pub use sys_syscall::SYS_rpctls_syscall; +pub use sys_syscall::SYS___specialfd; +pub use sys_syscall::SYS_aio_writev; +pub use sys_syscall::SYS_aio_readv; +pub use sys_syscall::SYS_fspacectl; +pub use sys_syscall::SYS_sched_getcpu; +pub use sys_syscall::SYS_swapoff; +pub use sys_syscall::SYS_kqueuex; +pub use sys_syscall::SYS_membarrier; +pub use sys_syscall::SYS_timerfd_create; +pub use sys_syscall::SYS_timerfd_gettime; +pub use sys_syscall::SYS_timerfd_settime; +pub use sys_syscall::SYS_kcmp; +pub use sys_syscall::SYS_MAXSYSCALL; mod sys_sysctl; pub use sys_sysctl::CTL_KERN; pub use sys_sysctl::KERN_PROC; diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_syscall.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/sys_syscall.rs index 65a31135..89e910cc 100644 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_syscall.rs +++ b/tests/helper/src/gen/sys/powerpc64_freebsd/sys_syscall.rs @@ -3,5 +3,432 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const SYS_syscall: u32 = 0; +pub const SYS_exit: u32 = 1; +pub const SYS_fork: u32 = 2; +pub const SYS_read: u32 = 3; +pub const SYS_write: u32 = 4; +pub const SYS_open: u32 = 5; +pub const SYS_close: u32 = 6; +pub const SYS_wait4: u32 = 7; +pub const SYS_link: u32 = 9; +pub const SYS_unlink: u32 = 10; +pub const SYS_chdir: u32 = 12; +pub const SYS_fchdir: u32 = 13; +pub const SYS_freebsd11_mknod: u32 = 14; +pub const SYS_chmod: u32 = 15; +pub const SYS_chown: u32 = 16; +pub const SYS_break: u32 = 17; pub const SYS_getpid: u32 = 20; +pub const SYS_mount: u32 = 21; +pub const SYS_unmount: u32 = 22; +pub const SYS_setuid: u32 = 23; +pub const SYS_getuid: u32 = 24; +pub const SYS_geteuid: u32 = 25; +pub const SYS_ptrace: u32 = 26; +pub const SYS_recvmsg: u32 = 27; +pub const SYS_sendmsg: u32 = 28; +pub const SYS_recvfrom: u32 = 29; +pub const SYS_accept: u32 = 30; +pub const SYS_getpeername: u32 = 31; +pub const SYS_getsockname: u32 = 32; +pub const SYS_access: u32 = 33; +pub const SYS_chflags: u32 = 34; +pub const SYS_fchflags: u32 = 35; +pub const SYS_sync: u32 = 36; +pub const SYS_kill: u32 = 37; +pub const SYS_getppid: u32 = 39; +pub const SYS_dup: u32 = 41; +pub const SYS_freebsd10_pipe: u32 = 42; +pub const SYS_getegid: u32 = 43; +pub const SYS_profil: u32 = 44; +pub const SYS_ktrace: u32 = 45; +pub const SYS_getgid: u32 = 47; +pub const SYS_getlogin: u32 = 49; +pub const SYS_setlogin: u32 = 50; +pub const SYS_acct: u32 = 51; +pub const SYS_sigaltstack: u32 = 53; +pub const SYS_ioctl: u32 = 54; +pub const SYS_reboot: u32 = 55; +pub const SYS_revoke: u32 = 56; +pub const SYS_symlink: u32 = 57; +pub const SYS_readlink: u32 = 58; +pub const SYS_execve: u32 = 59; +pub const SYS_umask: u32 = 60; +pub const SYS_chroot: u32 = 61; +pub const SYS_msync: u32 = 65; +pub const SYS_vfork: u32 = 66; +pub const SYS_freebsd11_vadvise: u32 = 72; +pub const SYS_munmap: u32 = 73; +pub const SYS_mprotect: u32 = 74; +pub const SYS_madvise: u32 = 75; +pub const SYS_mincore: u32 = 78; +pub const SYS_getgroups: u32 = 79; +pub const SYS_setgroups: u32 = 80; +pub const SYS_getpgrp: u32 = 81; +pub const SYS_setpgid: u32 = 82; +pub const SYS_setitimer: u32 = 83; +pub const SYS_swapon: u32 = 85; +pub const SYS_getitimer: u32 = 86; +pub const SYS_getdtablesize: u32 = 89; +pub const SYS_dup2: u32 = 90; +pub const SYS_fcntl: u32 = 92; +pub const SYS_select: u32 = 93; +pub const SYS_fsync: u32 = 95; +pub const SYS_setpriority: u32 = 96; +pub const SYS_socket: u32 = 97; +pub const SYS_connect: u32 = 98; +pub const SYS_getpriority: u32 = 100; +pub const SYS_bind: u32 = 104; +pub const SYS_setsockopt: u32 = 105; +pub const SYS_listen: u32 = 106; +pub const SYS_gettimeofday: u32 = 116; +pub const SYS_getrusage: u32 = 117; +pub const SYS_getsockopt: u32 = 118; +pub const SYS_readv: u32 = 120; +pub const SYS_writev: u32 = 121; +pub const SYS_settimeofday: u32 = 122; +pub const SYS_fchown: u32 = 123; +pub const SYS_fchmod: u32 = 124; +pub const SYS_setreuid: u32 = 126; +pub const SYS_setregid: u32 = 127; +pub const SYS_rename: u32 = 128; +pub const SYS_flock: u32 = 131; +pub const SYS_mkfifo: u32 = 132; +pub const SYS_sendto: u32 = 133; +pub const SYS_shutdown: u32 = 134; +pub const SYS_socketpair: u32 = 135; +pub const SYS_mkdir: u32 = 136; +pub const SYS_rmdir: u32 = 137; +pub const SYS_utimes: u32 = 138; +pub const SYS_adjtime: u32 = 140; +pub const SYS_setsid: u32 = 147; +pub const SYS_quotactl: u32 = 148; +pub const SYS_nlm_syscall: u32 = 154; +pub const SYS_nfssvc: u32 = 155; +pub const SYS_lgetfh: u32 = 160; +pub const SYS_getfh: u32 = 161; +pub const SYS_sysarch: u32 = 165; +pub const SYS_rtprio: u32 = 166; +pub const SYS_semsys: u32 = 169; +pub const SYS_msgsys: u32 = 170; +pub const SYS_shmsys: u32 = 171; +pub const SYS_setfib: u32 = 175; +pub const SYS_ntp_adjtime: u32 = 176; +pub const SYS_setgid: u32 = 181; +pub const SYS_setegid: u32 = 182; +pub const SYS_seteuid: u32 = 183; +pub const SYS_freebsd11_stat: u32 = 188; +pub const SYS_freebsd11_fstat: u32 = 189; +pub const SYS_freebsd11_lstat: u32 = 190; +pub const SYS_pathconf: u32 = 191; +pub const SYS_fpathconf: u32 = 192; +pub const SYS_getrlimit: u32 = 194; +pub const SYS_setrlimit: u32 = 195; +pub const SYS_freebsd11_getdirentries: u32 = 196; +pub const SYS___syscall: u32 = 198; pub const SYS___sysctl: u32 = 202; +pub const SYS_mlock: u32 = 203; +pub const SYS_munlock: u32 = 204; +pub const SYS_undelete: u32 = 205; +pub const SYS_futimes: u32 = 206; +pub const SYS_getpgid: u32 = 207; +pub const SYS_poll: u32 = 209; +pub const SYS_freebsd7___semctl: u32 = 220; +pub const SYS_semget: u32 = 221; +pub const SYS_semop: u32 = 222; +pub const SYS_freebsd7_msgctl: u32 = 224; +pub const SYS_msgget: u32 = 225; +pub const SYS_msgsnd: u32 = 226; +pub const SYS_msgrcv: u32 = 227; +pub const SYS_shmat: u32 = 228; +pub const SYS_freebsd7_shmctl: u32 = 229; +pub const SYS_shmdt: u32 = 230; +pub const SYS_shmget: u32 = 231; +pub const SYS_clock_gettime: u32 = 232; +pub const SYS_clock_settime: u32 = 233; +pub const SYS_clock_getres: u32 = 234; +pub const SYS_ktimer_create: u32 = 235; +pub const SYS_ktimer_delete: u32 = 236; +pub const SYS_ktimer_settime: u32 = 237; +pub const SYS_ktimer_gettime: u32 = 238; +pub const SYS_ktimer_getoverrun: u32 = 239; +pub const SYS_nanosleep: u32 = 240; +pub const SYS_ffclock_getcounter: u32 = 241; +pub const SYS_ffclock_setestimate: u32 = 242; +pub const SYS_ffclock_getestimate: u32 = 243; +pub const SYS_clock_nanosleep: u32 = 244; +pub const SYS_clock_getcpuclockid2: u32 = 247; +pub const SYS_ntp_gettime: u32 = 248; +pub const SYS_minherit: u32 = 250; +pub const SYS_rfork: u32 = 251; +pub const SYS_issetugid: u32 = 253; +pub const SYS_lchown: u32 = 254; +pub const SYS_aio_read: u32 = 255; +pub const SYS_aio_write: u32 = 256; +pub const SYS_lio_listio: u32 = 257; +pub const SYS_freebsd11_getdents: u32 = 272; +pub const SYS_lchmod: u32 = 274; +pub const SYS_lutimes: u32 = 276; +pub const SYS_freebsd11_nstat: u32 = 278; +pub const SYS_freebsd11_nfstat: u32 = 279; +pub const SYS_freebsd11_nlstat: u32 = 280; +pub const SYS_preadv: u32 = 289; +pub const SYS_pwritev: u32 = 290; +pub const SYS_fhopen: u32 = 298; +pub const SYS_freebsd11_fhstat: u32 = 299; +pub const SYS_modnext: u32 = 300; +pub const SYS_modstat: u32 = 301; +pub const SYS_modfnext: u32 = 302; +pub const SYS_modfind: u32 = 303; +pub const SYS_kldload: u32 = 304; +pub const SYS_kldunload: u32 = 305; +pub const SYS_kldfind: u32 = 306; +pub const SYS_kldnext: u32 = 307; +pub const SYS_kldstat: u32 = 308; +pub const SYS_kldfirstmod: u32 = 309; +pub const SYS_getsid: u32 = 310; +pub const SYS_setresuid: u32 = 311; +pub const SYS_setresgid: u32 = 312; +pub const SYS_aio_return: u32 = 314; +pub const SYS_aio_suspend: u32 = 315; +pub const SYS_aio_cancel: u32 = 316; +pub const SYS_aio_error: u32 = 317; +pub const SYS_yield: u32 = 321; +pub const SYS_mlockall: u32 = 324; +pub const SYS_munlockall: u32 = 325; +pub const SYS___getcwd: u32 = 326; +pub const SYS_sched_setparam: u32 = 327; +pub const SYS_sched_getparam: u32 = 328; +pub const SYS_sched_setscheduler: u32 = 329; +pub const SYS_sched_getscheduler: u32 = 330; +pub const SYS_sched_yield: u32 = 331; +pub const SYS_sched_get_priority_max: u32 = 332; +pub const SYS_sched_get_priority_min: u32 = 333; +pub const SYS_sched_rr_get_interval: u32 = 334; +pub const SYS_utrace: u32 = 335; +pub const SYS_kldsym: u32 = 337; +pub const SYS_jail: u32 = 338; +pub const SYS_nnpfs_syscall: u32 = 339; +pub const SYS_sigprocmask: u32 = 340; +pub const SYS_sigsuspend: u32 = 341; +pub const SYS_sigpending: u32 = 343; +pub const SYS_sigtimedwait: u32 = 345; +pub const SYS_sigwaitinfo: u32 = 346; +pub const SYS___acl_get_file: u32 = 347; +pub const SYS___acl_set_file: u32 = 348; +pub const SYS___acl_get_fd: u32 = 349; +pub const SYS___acl_set_fd: u32 = 350; +pub const SYS___acl_delete_file: u32 = 351; +pub const SYS___acl_delete_fd: u32 = 352; +pub const SYS___acl_aclcheck_file: u32 = 353; +pub const SYS___acl_aclcheck_fd: u32 = 354; +pub const SYS_extattrctl: u32 = 355; +pub const SYS_extattr_set_file: u32 = 356; +pub const SYS_extattr_get_file: u32 = 357; +pub const SYS_extattr_delete_file: u32 = 358; +pub const SYS_aio_waitcomplete: u32 = 359; +pub const SYS_getresuid: u32 = 360; +pub const SYS_getresgid: u32 = 361; +pub const SYS_kqueue: u32 = 362; +pub const SYS_freebsd11_kevent: u32 = 363; +pub const SYS_extattr_set_fd: u32 = 371; +pub const SYS_extattr_get_fd: u32 = 372; +pub const SYS_extattr_delete_fd: u32 = 373; +pub const SYS___setugid: u32 = 374; +pub const SYS_eaccess: u32 = 376; +pub const SYS_afs3_syscall: u32 = 377; +pub const SYS_nmount: u32 = 378; +pub const SYS___mac_get_proc: u32 = 384; +pub const SYS___mac_set_proc: u32 = 385; +pub const SYS___mac_get_fd: u32 = 386; +pub const SYS___mac_get_file: u32 = 387; +pub const SYS___mac_set_fd: u32 = 388; +pub const SYS___mac_set_file: u32 = 389; +pub const SYS_kenv: u32 = 390; +pub const SYS_lchflags: u32 = 391; +pub const SYS_uuidgen: u32 = 392; +pub const SYS_sendfile: u32 = 393; +pub const SYS_mac_syscall: u32 = 394; +pub const SYS_freebsd11_getfsstat: u32 = 395; +pub const SYS_freebsd11_statfs: u32 = 396; +pub const SYS_freebsd11_fstatfs: u32 = 397; +pub const SYS_freebsd11_fhstatfs: u32 = 398; +pub const SYS_ksem_close: u32 = 400; +pub const SYS_ksem_post: u32 = 401; +pub const SYS_ksem_wait: u32 = 402; +pub const SYS_ksem_trywait: u32 = 403; +pub const SYS_ksem_init: u32 = 404; +pub const SYS_ksem_open: u32 = 405; +pub const SYS_ksem_unlink: u32 = 406; +pub const SYS_ksem_getvalue: u32 = 407; +pub const SYS_ksem_destroy: u32 = 408; +pub const SYS___mac_get_pid: u32 = 409; +pub const SYS___mac_get_link: u32 = 410; +pub const SYS___mac_set_link: u32 = 411; +pub const SYS_extattr_set_link: u32 = 412; +pub const SYS_extattr_get_link: u32 = 413; +pub const SYS_extattr_delete_link: u32 = 414; +pub const SYS___mac_execve: u32 = 415; +pub const SYS_sigaction: u32 = 416; +pub const SYS_sigreturn: u32 = 417; +pub const SYS_getcontext: u32 = 421; +pub const SYS_setcontext: u32 = 422; +pub const SYS_swapcontext: u32 = 423; +pub const SYS_freebsd13_swapoff: u32 = 424; +pub const SYS___acl_get_link: u32 = 425; +pub const SYS___acl_set_link: u32 = 426; +pub const SYS___acl_delete_link: u32 = 427; +pub const SYS___acl_aclcheck_link: u32 = 428; +pub const SYS_sigwait: u32 = 429; +pub const SYS_thr_create: u32 = 430; +pub const SYS_thr_exit: u32 = 431; +pub const SYS_thr_self: u32 = 432; +pub const SYS_thr_kill: u32 = 433; +pub const SYS_freebsd10__umtx_lock: u32 = 434; +pub const SYS_freebsd10__umtx_unlock: u32 = 435; +pub const SYS_jail_attach: u32 = 436; +pub const SYS_extattr_list_fd: u32 = 437; +pub const SYS_extattr_list_file: u32 = 438; +pub const SYS_extattr_list_link: u32 = 439; +pub const SYS_ksem_timedwait: u32 = 441; +pub const SYS_thr_suspend: u32 = 442; +pub const SYS_thr_wake: u32 = 443; +pub const SYS_kldunloadf: u32 = 444; +pub const SYS_audit: u32 = 445; +pub const SYS_auditon: u32 = 446; +pub const SYS_getauid: u32 = 447; +pub const SYS_setauid: u32 = 448; +pub const SYS_getaudit: u32 = 449; +pub const SYS_setaudit: u32 = 450; +pub const SYS_getaudit_addr: u32 = 451; +pub const SYS_setaudit_addr: u32 = 452; +pub const SYS_auditctl: u32 = 453; +pub const SYS__umtx_op: u32 = 454; +pub const SYS_thr_new: u32 = 455; +pub const SYS_sigqueue: u32 = 456; +pub const SYS_kmq_open: u32 = 457; +pub const SYS_kmq_setattr: u32 = 458; +pub const SYS_kmq_timedreceive: u32 = 459; +pub const SYS_kmq_timedsend: u32 = 460; +pub const SYS_kmq_notify: u32 = 461; +pub const SYS_kmq_unlink: u32 = 462; +pub const SYS_abort2: u32 = 463; +pub const SYS_thr_set_name: u32 = 464; +pub const SYS_aio_fsync: u32 = 465; +pub const SYS_rtprio_thread: u32 = 466; +pub const SYS_sctp_peeloff: u32 = 471; +pub const SYS_sctp_generic_sendmsg: u32 = 472; +pub const SYS_sctp_generic_sendmsg_iov: u32 = 473; +pub const SYS_sctp_generic_recvmsg: u32 = 474; +pub const SYS_pread: u32 = 475; +pub const SYS_pwrite: u32 = 476; +pub const SYS_mmap: u32 = 477; +pub const SYS_lseek: u32 = 478; +pub const SYS_truncate: u32 = 479; +pub const SYS_ftruncate: u32 = 480; +pub const SYS_thr_kill2: u32 = 481; +pub const SYS_freebsd12_shm_open: u32 = 482; +pub const SYS_shm_unlink: u32 = 483; +pub const SYS_cpuset: u32 = 484; +pub const SYS_cpuset_setid: u32 = 485; +pub const SYS_cpuset_getid: u32 = 486; +pub const SYS_cpuset_getaffinity: u32 = 487; +pub const SYS_cpuset_setaffinity: u32 = 488; +pub const SYS_faccessat: u32 = 489; +pub const SYS_fchmodat: u32 = 490; +pub const SYS_fchownat: u32 = 491; +pub const SYS_fexecve: u32 = 492; +pub const SYS_freebsd11_fstatat: u32 = 493; +pub const SYS_futimesat: u32 = 494; +pub const SYS_linkat: u32 = 495; +pub const SYS_mkdirat: u32 = 496; +pub const SYS_mkfifoat: u32 = 497; +pub const SYS_freebsd11_mknodat: u32 = 498; +pub const SYS_openat: u32 = 499; +pub const SYS_readlinkat: u32 = 500; +pub const SYS_renameat: u32 = 501; +pub const SYS_symlinkat: u32 = 502; +pub const SYS_unlinkat: u32 = 503; +pub const SYS_posix_openpt: u32 = 504; +pub const SYS_gssd_syscall: u32 = 505; +pub const SYS_jail_get: u32 = 506; +pub const SYS_jail_set: u32 = 507; +pub const SYS_jail_remove: u32 = 508; +pub const SYS_freebsd12_closefrom: u32 = 509; +pub const SYS___semctl: u32 = 510; +pub const SYS_msgctl: u32 = 511; +pub const SYS_shmctl: u32 = 512; +pub const SYS_lpathconf: u32 = 513; +pub const SYS___cap_rights_get: u32 = 515; +pub const SYS_cap_enter: u32 = 516; +pub const SYS_cap_getmode: u32 = 517; +pub const SYS_pdfork: u32 = 518; +pub const SYS_pdkill: u32 = 519; +pub const SYS_pdgetpid: u32 = 520; +pub const SYS_pselect: u32 = 522; +pub const SYS_getloginclass: u32 = 523; +pub const SYS_setloginclass: u32 = 524; +pub const SYS_rctl_get_racct: u32 = 525; +pub const SYS_rctl_get_rules: u32 = 526; +pub const SYS_rctl_get_limits: u32 = 527; +pub const SYS_rctl_add_rule: u32 = 528; +pub const SYS_rctl_remove_rule: u32 = 529; +pub const SYS_posix_fallocate: u32 = 530; +pub const SYS_posix_fadvise: u32 = 531; +pub const SYS_wait6: u32 = 532; +pub const SYS_cap_rights_limit: u32 = 533; +pub const SYS_cap_ioctls_limit: u32 = 534; +pub const SYS_cap_ioctls_get: u32 = 535; +pub const SYS_cap_fcntls_limit: u32 = 536; +pub const SYS_cap_fcntls_get: u32 = 537; +pub const SYS_bindat: u32 = 538; +pub const SYS_connectat: u32 = 539; +pub const SYS_chflagsat: u32 = 540; +pub const SYS_accept4: u32 = 541; +pub const SYS_pipe2: u32 = 542; +pub const SYS_aio_mlock: u32 = 543; +pub const SYS_procctl: u32 = 544; +pub const SYS_ppoll: u32 = 545; +pub const SYS_futimens: u32 = 546; +pub const SYS_utimensat: u32 = 547; +pub const SYS_fdatasync: u32 = 550; +pub const SYS_fstat: u32 = 551; +pub const SYS_fstatat: u32 = 552; +pub const SYS_fhstat: u32 = 553; +pub const SYS_getdirentries: u32 = 554; +pub const SYS_statfs: u32 = 555; +pub const SYS_fstatfs: u32 = 556; +pub const SYS_getfsstat: u32 = 557; +pub const SYS_fhstatfs: u32 = 558; +pub const SYS_mknodat: u32 = 559; +pub const SYS_kevent: u32 = 560; +pub const SYS_cpuset_getdomain: u32 = 561; +pub const SYS_cpuset_setdomain: u32 = 562; +pub const SYS_getrandom: u32 = 563; +pub const SYS_getfhat: u32 = 564; +pub const SYS_fhlink: u32 = 565; +pub const SYS_fhlinkat: u32 = 566; +pub const SYS_fhreadlink: u32 = 567; +pub const SYS_funlinkat: u32 = 568; +pub const SYS_copy_file_range: u32 = 569; +pub const SYS___sysctlbyname: u32 = 570; +pub const SYS_shm_open2: u32 = 571; +pub const SYS_shm_rename: u32 = 572; +pub const SYS_sigfastblock: u32 = 573; +pub const SYS___realpathat: u32 = 574; +pub const SYS_close_range: u32 = 575; +pub const SYS_rpctls_syscall: u32 = 576; +pub const SYS___specialfd: u32 = 577; +pub const SYS_aio_writev: u32 = 578; +pub const SYS_aio_readv: u32 = 579; +pub const SYS_fspacectl: u32 = 580; +pub const SYS_sched_getcpu: u32 = 581; +pub const SYS_swapoff: u32 = 582; +pub const SYS_kqueuex: u32 = 583; +pub const SYS_membarrier: u32 = 584; +pub const SYS_timerfd_create: u32 = 585; +pub const SYS_timerfd_gettime: u32 = 586; +pub const SYS_timerfd_settime: u32 = 587; +pub const SYS_kcmp: u32 = 588; +pub const SYS_MAXSYSCALL: u32 = 589; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_unistd.rs index ed5e8cdf..c7c14019 100644 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_unistd.rs @@ -3,4 +3,418 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_restart_syscall: u32 = 0; +pub const __NR_exit: u32 = 1; +pub const __NR_fork: u32 = 2; +pub const __NR_read: u32 = 3; +pub const __NR_write: u32 = 4; +pub const __NR_open: u32 = 5; +pub const __NR_close: u32 = 6; +pub const __NR_waitpid: u32 = 7; +pub const __NR_creat: u32 = 8; +pub const __NR_link: u32 = 9; +pub const __NR_unlink: u32 = 10; +pub const __NR_execve: u32 = 11; +pub const __NR_chdir: u32 = 12; +pub const __NR_time: u32 = 13; +pub const __NR_mknod: u32 = 14; +pub const __NR_chmod: u32 = 15; +pub const __NR_lchown: u32 = 16; +pub const __NR_break: u32 = 17; +pub const __NR_oldstat: u32 = 18; +pub const __NR_lseek: u32 = 19; +pub const __NR_getpid: u32 = 20; +pub const __NR_mount: u32 = 21; +pub const __NR_umount: u32 = 22; +pub const __NR_setuid: u32 = 23; +pub const __NR_getuid: u32 = 24; +pub const __NR_stime: u32 = 25; +pub const __NR_ptrace: u32 = 26; +pub const __NR_alarm: u32 = 27; +pub const __NR_oldfstat: u32 = 28; +pub const __NR_pause: u32 = 29; +pub const __NR_utime: u32 = 30; +pub const __NR_stty: u32 = 31; +pub const __NR_gtty: u32 = 32; +pub const __NR_access: u32 = 33; +pub const __NR_nice: u32 = 34; +pub const __NR_ftime: u32 = 35; +pub const __NR_sync: u32 = 36; +pub const __NR_kill: u32 = 37; +pub const __NR_rename: u32 = 38; +pub const __NR_mkdir: u32 = 39; +pub const __NR_rmdir: u32 = 40; +pub const __NR_dup: u32 = 41; +pub const __NR_pipe: u32 = 42; +pub const __NR_times: u32 = 43; +pub const __NR_prof: u32 = 44; +pub const __NR_brk: u32 = 45; +pub const __NR_setgid: u32 = 46; +pub const __NR_getgid: u32 = 47; +pub const __NR_signal: u32 = 48; +pub const __NR_geteuid: u32 = 49; +pub const __NR_getegid: u32 = 50; +pub const __NR_acct: u32 = 51; +pub const __NR_umount2: u32 = 52; +pub const __NR_lock: u32 = 53; +pub const __NR_ioctl: u32 = 54; +pub const __NR_fcntl: u32 = 55; +pub const __NR_mpx: u32 = 56; +pub const __NR_setpgid: u32 = 57; +pub const __NR_ulimit: u32 = 58; +pub const __NR_oldolduname: u32 = 59; +pub const __NR_umask: u32 = 60; +pub const __NR_chroot: u32 = 61; +pub const __NR_ustat: u32 = 62; +pub const __NR_dup2: u32 = 63; +pub const __NR_getppid: u32 = 64; +pub const __NR_getpgrp: u32 = 65; +pub const __NR_setsid: u32 = 66; +pub const __NR_sigaction: u32 = 67; +pub const __NR_sgetmask: u32 = 68; +pub const __NR_ssetmask: u32 = 69; +pub const __NR_setreuid: u32 = 70; +pub const __NR_setregid: u32 = 71; +pub const __NR_sigsuspend: u32 = 72; +pub const __NR_sigpending: u32 = 73; +pub const __NR_sethostname: u32 = 74; +pub const __NR_setrlimit: u32 = 75; +pub const __NR_getrlimit: u32 = 76; +pub const __NR_getrusage: u32 = 77; +pub const __NR_gettimeofday: u32 = 78; +pub const __NR_settimeofday: u32 = 79; +pub const __NR_getgroups: u32 = 80; +pub const __NR_setgroups: u32 = 81; +pub const __NR_select: u32 = 82; +pub const __NR_symlink: u32 = 83; +pub const __NR_oldlstat: u32 = 84; +pub const __NR_readlink: u32 = 85; +pub const __NR_uselib: u32 = 86; +pub const __NR_swapon: u32 = 87; +pub const __NR_reboot: u32 = 88; +pub const __NR_readdir: u32 = 89; +pub const __NR_mmap: u32 = 90; +pub const __NR_munmap: u32 = 91; +pub const __NR_truncate: u32 = 92; +pub const __NR_ftruncate: u32 = 93; +pub const __NR_fchmod: u32 = 94; +pub const __NR_fchown: u32 = 95; +pub const __NR_getpriority: u32 = 96; +pub const __NR_setpriority: u32 = 97; +pub const __NR_profil: u32 = 98; +pub const __NR_statfs: u32 = 99; +pub const __NR_fstatfs: u32 = 100; +pub const __NR_ioperm: u32 = 101; +pub const __NR_socketcall: u32 = 102; +pub const __NR_syslog: u32 = 103; +pub const __NR_setitimer: u32 = 104; +pub const __NR_getitimer: u32 = 105; +pub const __NR_stat: u32 = 106; +pub const __NR_lstat: u32 = 107; +pub const __NR_fstat: u32 = 108; +pub const __NR_olduname: u32 = 109; +pub const __NR_iopl: u32 = 110; +pub const __NR_vhangup: u32 = 111; +pub const __NR_idle: u32 = 112; +pub const __NR_vm86: u32 = 113; +pub const __NR_wait4: u32 = 114; +pub const __NR_swapoff: u32 = 115; +pub const __NR_sysinfo: u32 = 116; +pub const __NR_ipc: u32 = 117; +pub const __NR_fsync: u32 = 118; +pub const __NR_sigreturn: u32 = 119; +pub const __NR_clone: u32 = 120; +pub const __NR_setdomainname: u32 = 121; +pub const __NR_uname: u32 = 122; +pub const __NR_modify_ldt: u32 = 123; +pub const __NR_adjtimex: u32 = 124; +pub const __NR_mprotect: u32 = 125; +pub const __NR_sigprocmask: u32 = 126; +pub const __NR_create_module: u32 = 127; +pub const __NR_init_module: u32 = 128; +pub const __NR_delete_module: u32 = 129; +pub const __NR_get_kernel_syms: u32 = 130; +pub const __NR_quotactl: u32 = 131; +pub const __NR_getpgid: u32 = 132; +pub const __NR_fchdir: u32 = 133; +pub const __NR_bdflush: u32 = 134; +pub const __NR_sysfs: u32 = 135; +pub const __NR_personality: u32 = 136; +pub const __NR_afs_syscall: u32 = 137; +pub const __NR_setfsuid: u32 = 138; +pub const __NR_setfsgid: u32 = 139; +pub const __NR__llseek: u32 = 140; +pub const __NR_getdents: u32 = 141; +pub const __NR__newselect: u32 = 142; +pub const __NR_flock: u32 = 143; +pub const __NR_msync: u32 = 144; +pub const __NR_readv: u32 = 145; +pub const __NR_writev: u32 = 146; +pub const __NR_getsid: u32 = 147; +pub const __NR_fdatasync: u32 = 148; +pub const __NR__sysctl: u32 = 149; +pub const __NR_mlock: u32 = 150; +pub const __NR_munlock: u32 = 151; +pub const __NR_mlockall: u32 = 152; +pub const __NR_munlockall: u32 = 153; +pub const __NR_sched_setparam: u32 = 154; +pub const __NR_sched_getparam: u32 = 155; +pub const __NR_sched_setscheduler: u32 = 156; +pub const __NR_sched_getscheduler: u32 = 157; +pub const __NR_sched_yield: u32 = 158; +pub const __NR_sched_get_priority_max: u32 = 159; +pub const __NR_sched_get_priority_min: u32 = 160; +pub const __NR_sched_rr_get_interval: u32 = 161; +pub const __NR_nanosleep: u32 = 162; +pub const __NR_mremap: u32 = 163; +pub const __NR_setresuid: u32 = 164; +pub const __NR_getresuid: u32 = 165; +pub const __NR_query_module: u32 = 166; +pub const __NR_poll: u32 = 167; +pub const __NR_nfsservctl: u32 = 168; +pub const __NR_setresgid: u32 = 169; +pub const __NR_getresgid: u32 = 170; pub const __NR_prctl: u32 = 171; +pub const __NR_rt_sigreturn: u32 = 172; +pub const __NR_rt_sigaction: u32 = 173; +pub const __NR_rt_sigprocmask: u32 = 174; +pub const __NR_rt_sigpending: u32 = 175; +pub const __NR_rt_sigtimedwait: u32 = 176; +pub const __NR_rt_sigqueueinfo: u32 = 177; +pub const __NR_rt_sigsuspend: u32 = 178; +pub const __NR_pread64: u32 = 179; +pub const __NR_pwrite64: u32 = 180; +pub const __NR_chown: u32 = 181; +pub const __NR_getcwd: u32 = 182; +pub const __NR_capget: u32 = 183; +pub const __NR_capset: u32 = 184; +pub const __NR_sigaltstack: u32 = 185; +pub const __NR_sendfile: u32 = 186; +pub const __NR_getpmsg: u32 = 187; +pub const __NR_putpmsg: u32 = 188; +pub const __NR_vfork: u32 = 189; +pub const __NR_ugetrlimit: u32 = 190; +pub const __NR_readahead: u32 = 191; +pub const __NR_pciconfig_read: u32 = 198; +pub const __NR_pciconfig_write: u32 = 199; +pub const __NR_pciconfig_iobase: u32 = 200; +pub const __NR_multiplexer: u32 = 201; +pub const __NR_getdents64: u32 = 202; +pub const __NR_pivot_root: u32 = 203; +pub const __NR_madvise: u32 = 205; +pub const __NR_mincore: u32 = 206; +pub const __NR_gettid: u32 = 207; +pub const __NR_tkill: u32 = 208; +pub const __NR_setxattr: u32 = 209; +pub const __NR_lsetxattr: u32 = 210; +pub const __NR_fsetxattr: u32 = 211; +pub const __NR_getxattr: u32 = 212; +pub const __NR_lgetxattr: u32 = 213; +pub const __NR_fgetxattr: u32 = 214; +pub const __NR_listxattr: u32 = 215; +pub const __NR_llistxattr: u32 = 216; +pub const __NR_flistxattr: u32 = 217; +pub const __NR_removexattr: u32 = 218; +pub const __NR_lremovexattr: u32 = 219; +pub const __NR_fremovexattr: u32 = 220; +pub const __NR_futex: u32 = 221; +pub const __NR_sched_setaffinity: u32 = 222; +pub const __NR_sched_getaffinity: u32 = 223; +pub const __NR_tuxcall: u32 = 225; +pub const __NR_io_setup: u32 = 227; +pub const __NR_io_destroy: u32 = 228; +pub const __NR_io_getevents: u32 = 229; +pub const __NR_io_submit: u32 = 230; +pub const __NR_io_cancel: u32 = 231; +pub const __NR_set_tid_address: u32 = 232; +pub const __NR_fadvise64: u32 = 233; +pub const __NR_exit_group: u32 = 234; +pub const __NR_lookup_dcookie: u32 = 235; +pub const __NR_epoll_create: u32 = 236; +pub const __NR_epoll_ctl: u32 = 237; +pub const __NR_epoll_wait: u32 = 238; +pub const __NR_remap_file_pages: u32 = 239; +pub const __NR_timer_create: u32 = 240; +pub const __NR_timer_settime: u32 = 241; +pub const __NR_timer_gettime: u32 = 242; +pub const __NR_timer_getoverrun: u32 = 243; +pub const __NR_timer_delete: u32 = 244; +pub const __NR_clock_settime: u32 = 245; +pub const __NR_clock_gettime: u32 = 246; +pub const __NR_clock_getres: u32 = 247; +pub const __NR_clock_nanosleep: u32 = 248; +pub const __NR_swapcontext: u32 = 249; +pub const __NR_tgkill: u32 = 250; +pub const __NR_utimes: u32 = 251; +pub const __NR_statfs64: u32 = 252; +pub const __NR_fstatfs64: u32 = 253; +pub const __NR_rtas: u32 = 255; +pub const __NR_sys_debug_setcontext: u32 = 256; +pub const __NR_migrate_pages: u32 = 258; +pub const __NR_mbind: u32 = 259; +pub const __NR_get_mempolicy: u32 = 260; +pub const __NR_set_mempolicy: u32 = 261; +pub const __NR_mq_open: u32 = 262; +pub const __NR_mq_unlink: u32 = 263; +pub const __NR_mq_timedsend: u32 = 264; +pub const __NR_mq_timedreceive: u32 = 265; +pub const __NR_mq_notify: u32 = 266; +pub const __NR_mq_getsetattr: u32 = 267; +pub const __NR_kexec_load: u32 = 268; +pub const __NR_add_key: u32 = 269; +pub const __NR_request_key: u32 = 270; +pub const __NR_keyctl: u32 = 271; +pub const __NR_waitid: u32 = 272; +pub const __NR_ioprio_set: u32 = 273; +pub const __NR_ioprio_get: u32 = 274; +pub const __NR_inotify_init: u32 = 275; +pub const __NR_inotify_add_watch: u32 = 276; +pub const __NR_inotify_rm_watch: u32 = 277; +pub const __NR_spu_run: u32 = 278; +pub const __NR_spu_create: u32 = 279; +pub const __NR_pselect6: u32 = 280; +pub const __NR_ppoll: u32 = 281; +pub const __NR_unshare: u32 = 282; +pub const __NR_splice: u32 = 283; +pub const __NR_tee: u32 = 284; +pub const __NR_vmsplice: u32 = 285; +pub const __NR_openat: u32 = 286; +pub const __NR_mkdirat: u32 = 287; +pub const __NR_mknodat: u32 = 288; +pub const __NR_fchownat: u32 = 289; +pub const __NR_futimesat: u32 = 290; +pub const __NR_newfstatat: u32 = 291; +pub const __NR_unlinkat: u32 = 292; +pub const __NR_renameat: u32 = 293; +pub const __NR_linkat: u32 = 294; +pub const __NR_symlinkat: u32 = 295; +pub const __NR_readlinkat: u32 = 296; +pub const __NR_fchmodat: u32 = 297; +pub const __NR_faccessat: u32 = 298; +pub const __NR_get_robust_list: u32 = 299; +pub const __NR_set_robust_list: u32 = 300; +pub const __NR_move_pages: u32 = 301; +pub const __NR_getcpu: u32 = 302; +pub const __NR_epoll_pwait: u32 = 303; +pub const __NR_utimensat: u32 = 304; +pub const __NR_signalfd: u32 = 305; +pub const __NR_timerfd_create: u32 = 306; +pub const __NR_eventfd: u32 = 307; +pub const __NR_sync_file_range2: u32 = 308; +pub const __NR_fallocate: u32 = 309; +pub const __NR_subpage_prot: u32 = 310; +pub const __NR_timerfd_settime: u32 = 311; +pub const __NR_timerfd_gettime: u32 = 312; +pub const __NR_signalfd4: u32 = 313; +pub const __NR_eventfd2: u32 = 314; +pub const __NR_epoll_create1: u32 = 315; +pub const __NR_dup3: u32 = 316; +pub const __NR_pipe2: u32 = 317; +pub const __NR_inotify_init1: u32 = 318; +pub const __NR_perf_event_open: u32 = 319; +pub const __NR_preadv: u32 = 320; +pub const __NR_pwritev: u32 = 321; +pub const __NR_rt_tgsigqueueinfo: u32 = 322; +pub const __NR_fanotify_init: u32 = 323; +pub const __NR_fanotify_mark: u32 = 324; +pub const __NR_prlimit64: u32 = 325; +pub const __NR_socket: u32 = 326; +pub const __NR_bind: u32 = 327; +pub const __NR_connect: u32 = 328; +pub const __NR_listen: u32 = 329; +pub const __NR_accept: u32 = 330; +pub const __NR_getsockname: u32 = 331; +pub const __NR_getpeername: u32 = 332; +pub const __NR_socketpair: u32 = 333; +pub const __NR_send: u32 = 334; +pub const __NR_sendto: u32 = 335; +pub const __NR_recv: u32 = 336; +pub const __NR_recvfrom: u32 = 337; +pub const __NR_shutdown: u32 = 338; +pub const __NR_setsockopt: u32 = 339; +pub const __NR_getsockopt: u32 = 340; +pub const __NR_sendmsg: u32 = 341; +pub const __NR_recvmsg: u32 = 342; +pub const __NR_recvmmsg: u32 = 343; +pub const __NR_accept4: u32 = 344; +pub const __NR_name_to_handle_at: u32 = 345; +pub const __NR_open_by_handle_at: u32 = 346; +pub const __NR_clock_adjtime: u32 = 347; +pub const __NR_syncfs: u32 = 348; +pub const __NR_sendmmsg: u32 = 349; +pub const __NR_setns: u32 = 350; +pub const __NR_process_vm_readv: u32 = 351; +pub const __NR_process_vm_writev: u32 = 352; +pub const __NR_finit_module: u32 = 353; +pub const __NR_kcmp: u32 = 354; +pub const __NR_sched_setattr: u32 = 355; +pub const __NR_sched_getattr: u32 = 356; +pub const __NR_renameat2: u32 = 357; +pub const __NR_seccomp: u32 = 358; +pub const __NR_getrandom: u32 = 359; +pub const __NR_memfd_create: u32 = 360; +pub const __NR_bpf: u32 = 361; +pub const __NR_execveat: u32 = 362; +pub const __NR_switch_endian: u32 = 363; +pub const __NR_userfaultfd: u32 = 364; +pub const __NR_membarrier: u32 = 365; +pub const __NR_mlock2: u32 = 378; +pub const __NR_copy_file_range: u32 = 379; +pub const __NR_preadv2: u32 = 380; +pub const __NR_pwritev2: u32 = 381; +pub const __NR_kexec_file_load: u32 = 382; +pub const __NR_statx: u32 = 383; +pub const __NR_pkey_alloc: u32 = 384; +pub const __NR_pkey_free: u32 = 385; +pub const __NR_pkey_mprotect: u32 = 386; +pub const __NR_rseq: u32 = 387; +pub const __NR_io_pgetevents: u32 = 388; +pub const __NR_semtimedop: u32 = 392; +pub const __NR_semget: u32 = 393; +pub const __NR_semctl: u32 = 394; +pub const __NR_shmget: u32 = 395; +pub const __NR_shmctl: u32 = 396; +pub const __NR_shmat: u32 = 397; +pub const __NR_shmdt: u32 = 398; +pub const __NR_msgget: u32 = 399; +pub const __NR_msgsnd: u32 = 400; +pub const __NR_msgrcv: u32 = 401; +pub const __NR_msgctl: u32 = 402; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/mod.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/mod.rs index 5dbd7e71..3afae438 100644 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/mod.rs +++ b/tests/helper/src/gen/sys/powerpc64_linux_gnu/mod.rs @@ -12,7 +12,421 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_fork; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_open; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_waitpid; +pub use linux_headers_asm_unistd::__NR_creat; +pub use linux_headers_asm_unistd::__NR_link; +pub use linux_headers_asm_unistd::__NR_unlink; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_time; +pub use linux_headers_asm_unistd::__NR_mknod; +pub use linux_headers_asm_unistd::__NR_chmod; +pub use linux_headers_asm_unistd::__NR_lchown; +pub use linux_headers_asm_unistd::__NR_break; +pub use linux_headers_asm_unistd::__NR_oldstat; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_umount; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_stime; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_alarm; +pub use linux_headers_asm_unistd::__NR_oldfstat; +pub use linux_headers_asm_unistd::__NR_pause; +pub use linux_headers_asm_unistd::__NR_utime; +pub use linux_headers_asm_unistd::__NR_stty; +pub use linux_headers_asm_unistd::__NR_gtty; +pub use linux_headers_asm_unistd::__NR_access; +pub use linux_headers_asm_unistd::__NR_nice; +pub use linux_headers_asm_unistd::__NR_ftime; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_rename; +pub use linux_headers_asm_unistd::__NR_mkdir; +pub use linux_headers_asm_unistd::__NR_rmdir; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_pipe; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_prof; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_signal; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_lock; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_mpx; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_ulimit; +pub use linux_headers_asm_unistd::__NR_oldolduname; +pub use linux_headers_asm_unistd::__NR_umask; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_ustat; +pub use linux_headers_asm_unistd::__NR_dup2; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getpgrp; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_sigaction; +pub use linux_headers_asm_unistd::__NR_sgetmask; +pub use linux_headers_asm_unistd::__NR_ssetmask; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_sigsuspend; +pub use linux_headers_asm_unistd::__NR_sigpending; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_select; +pub use linux_headers_asm_unistd::__NR_symlink; +pub use linux_headers_asm_unistd::__NR_oldlstat; +pub use linux_headers_asm_unistd::__NR_readlink; +pub use linux_headers_asm_unistd::__NR_uselib; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_readdir; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_profil; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_ioperm; +pub use linux_headers_asm_unistd::__NR_socketcall; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_stat; +pub use linux_headers_asm_unistd::__NR_lstat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_olduname; +pub use linux_headers_asm_unistd::__NR_iopl; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_idle; +pub use linux_headers_asm_unistd::__NR_vm86; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_ipc; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_sigreturn; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_modify_ldt; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_sigprocmask; +pub use linux_headers_asm_unistd::__NR_create_module; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_get_kernel_syms; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_bdflush; +pub use linux_headers_asm_unistd::__NR_sysfs; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_afs_syscall; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR__llseek; +pub use linux_headers_asm_unistd::__NR_getdents; +pub use linux_headers_asm_unistd::__NR__newselect; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR__sysctl; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_query_module; +pub use linux_headers_asm_unistd::__NR_poll; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_chown; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_getpmsg; +pub use linux_headers_asm_unistd::__NR_putpmsg; +pub use linux_headers_asm_unistd::__NR_vfork; +pub use linux_headers_asm_unistd::__NR_ugetrlimit; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_pciconfig_read; +pub use linux_headers_asm_unistd::__NR_pciconfig_write; +pub use linux_headers_asm_unistd::__NR_pciconfig_iobase; +pub use linux_headers_asm_unistd::__NR_multiplexer; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_tuxcall; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_epoll_create; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_wait; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_swapcontext; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_utimes; +pub use linux_headers_asm_unistd::__NR_statfs64; +pub use linux_headers_asm_unistd::__NR_fstatfs64; +pub use linux_headers_asm_unistd::__NR_rtas; +pub use linux_headers_asm_unistd::__NR_sys_debug_setcontext; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_inotify_init; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_spu_run; +pub use linux_headers_asm_unistd::__NR_spu_create; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_futimesat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_signalfd; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_eventfd; +pub use linux_headers_asm_unistd::__NR_sync_file_range2; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_subpage_prot; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_send; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recv; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_switch_endian; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_cputable; pub use linux_headers_asm_cputable::PPC_FEATURE_32; pub use linux_headers_asm_cputable::PPC_FEATURE_64; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_unistd.rs index ed5e8cdf..c7c14019 100644 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_unistd.rs @@ -3,4 +3,418 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_restart_syscall: u32 = 0; +pub const __NR_exit: u32 = 1; +pub const __NR_fork: u32 = 2; +pub const __NR_read: u32 = 3; +pub const __NR_write: u32 = 4; +pub const __NR_open: u32 = 5; +pub const __NR_close: u32 = 6; +pub const __NR_waitpid: u32 = 7; +pub const __NR_creat: u32 = 8; +pub const __NR_link: u32 = 9; +pub const __NR_unlink: u32 = 10; +pub const __NR_execve: u32 = 11; +pub const __NR_chdir: u32 = 12; +pub const __NR_time: u32 = 13; +pub const __NR_mknod: u32 = 14; +pub const __NR_chmod: u32 = 15; +pub const __NR_lchown: u32 = 16; +pub const __NR_break: u32 = 17; +pub const __NR_oldstat: u32 = 18; +pub const __NR_lseek: u32 = 19; +pub const __NR_getpid: u32 = 20; +pub const __NR_mount: u32 = 21; +pub const __NR_umount: u32 = 22; +pub const __NR_setuid: u32 = 23; +pub const __NR_getuid: u32 = 24; +pub const __NR_stime: u32 = 25; +pub const __NR_ptrace: u32 = 26; +pub const __NR_alarm: u32 = 27; +pub const __NR_oldfstat: u32 = 28; +pub const __NR_pause: u32 = 29; +pub const __NR_utime: u32 = 30; +pub const __NR_stty: u32 = 31; +pub const __NR_gtty: u32 = 32; +pub const __NR_access: u32 = 33; +pub const __NR_nice: u32 = 34; +pub const __NR_ftime: u32 = 35; +pub const __NR_sync: u32 = 36; +pub const __NR_kill: u32 = 37; +pub const __NR_rename: u32 = 38; +pub const __NR_mkdir: u32 = 39; +pub const __NR_rmdir: u32 = 40; +pub const __NR_dup: u32 = 41; +pub const __NR_pipe: u32 = 42; +pub const __NR_times: u32 = 43; +pub const __NR_prof: u32 = 44; +pub const __NR_brk: u32 = 45; +pub const __NR_setgid: u32 = 46; +pub const __NR_getgid: u32 = 47; +pub const __NR_signal: u32 = 48; +pub const __NR_geteuid: u32 = 49; +pub const __NR_getegid: u32 = 50; +pub const __NR_acct: u32 = 51; +pub const __NR_umount2: u32 = 52; +pub const __NR_lock: u32 = 53; +pub const __NR_ioctl: u32 = 54; +pub const __NR_fcntl: u32 = 55; +pub const __NR_mpx: u32 = 56; +pub const __NR_setpgid: u32 = 57; +pub const __NR_ulimit: u32 = 58; +pub const __NR_oldolduname: u32 = 59; +pub const __NR_umask: u32 = 60; +pub const __NR_chroot: u32 = 61; +pub const __NR_ustat: u32 = 62; +pub const __NR_dup2: u32 = 63; +pub const __NR_getppid: u32 = 64; +pub const __NR_getpgrp: u32 = 65; +pub const __NR_setsid: u32 = 66; +pub const __NR_sigaction: u32 = 67; +pub const __NR_sgetmask: u32 = 68; +pub const __NR_ssetmask: u32 = 69; +pub const __NR_setreuid: u32 = 70; +pub const __NR_setregid: u32 = 71; +pub const __NR_sigsuspend: u32 = 72; +pub const __NR_sigpending: u32 = 73; +pub const __NR_sethostname: u32 = 74; +pub const __NR_setrlimit: u32 = 75; +pub const __NR_getrlimit: u32 = 76; +pub const __NR_getrusage: u32 = 77; +pub const __NR_gettimeofday: u32 = 78; +pub const __NR_settimeofday: u32 = 79; +pub const __NR_getgroups: u32 = 80; +pub const __NR_setgroups: u32 = 81; +pub const __NR_select: u32 = 82; +pub const __NR_symlink: u32 = 83; +pub const __NR_oldlstat: u32 = 84; +pub const __NR_readlink: u32 = 85; +pub const __NR_uselib: u32 = 86; +pub const __NR_swapon: u32 = 87; +pub const __NR_reboot: u32 = 88; +pub const __NR_readdir: u32 = 89; +pub const __NR_mmap: u32 = 90; +pub const __NR_munmap: u32 = 91; +pub const __NR_truncate: u32 = 92; +pub const __NR_ftruncate: u32 = 93; +pub const __NR_fchmod: u32 = 94; +pub const __NR_fchown: u32 = 95; +pub const __NR_getpriority: u32 = 96; +pub const __NR_setpriority: u32 = 97; +pub const __NR_profil: u32 = 98; +pub const __NR_statfs: u32 = 99; +pub const __NR_fstatfs: u32 = 100; +pub const __NR_ioperm: u32 = 101; +pub const __NR_socketcall: u32 = 102; +pub const __NR_syslog: u32 = 103; +pub const __NR_setitimer: u32 = 104; +pub const __NR_getitimer: u32 = 105; +pub const __NR_stat: u32 = 106; +pub const __NR_lstat: u32 = 107; +pub const __NR_fstat: u32 = 108; +pub const __NR_olduname: u32 = 109; +pub const __NR_iopl: u32 = 110; +pub const __NR_vhangup: u32 = 111; +pub const __NR_idle: u32 = 112; +pub const __NR_vm86: u32 = 113; +pub const __NR_wait4: u32 = 114; +pub const __NR_swapoff: u32 = 115; +pub const __NR_sysinfo: u32 = 116; +pub const __NR_ipc: u32 = 117; +pub const __NR_fsync: u32 = 118; +pub const __NR_sigreturn: u32 = 119; +pub const __NR_clone: u32 = 120; +pub const __NR_setdomainname: u32 = 121; +pub const __NR_uname: u32 = 122; +pub const __NR_modify_ldt: u32 = 123; +pub const __NR_adjtimex: u32 = 124; +pub const __NR_mprotect: u32 = 125; +pub const __NR_sigprocmask: u32 = 126; +pub const __NR_create_module: u32 = 127; +pub const __NR_init_module: u32 = 128; +pub const __NR_delete_module: u32 = 129; +pub const __NR_get_kernel_syms: u32 = 130; +pub const __NR_quotactl: u32 = 131; +pub const __NR_getpgid: u32 = 132; +pub const __NR_fchdir: u32 = 133; +pub const __NR_bdflush: u32 = 134; +pub const __NR_sysfs: u32 = 135; +pub const __NR_personality: u32 = 136; +pub const __NR_afs_syscall: u32 = 137; +pub const __NR_setfsuid: u32 = 138; +pub const __NR_setfsgid: u32 = 139; +pub const __NR__llseek: u32 = 140; +pub const __NR_getdents: u32 = 141; +pub const __NR__newselect: u32 = 142; +pub const __NR_flock: u32 = 143; +pub const __NR_msync: u32 = 144; +pub const __NR_readv: u32 = 145; +pub const __NR_writev: u32 = 146; +pub const __NR_getsid: u32 = 147; +pub const __NR_fdatasync: u32 = 148; +pub const __NR__sysctl: u32 = 149; +pub const __NR_mlock: u32 = 150; +pub const __NR_munlock: u32 = 151; +pub const __NR_mlockall: u32 = 152; +pub const __NR_munlockall: u32 = 153; +pub const __NR_sched_setparam: u32 = 154; +pub const __NR_sched_getparam: u32 = 155; +pub const __NR_sched_setscheduler: u32 = 156; +pub const __NR_sched_getscheduler: u32 = 157; +pub const __NR_sched_yield: u32 = 158; +pub const __NR_sched_get_priority_max: u32 = 159; +pub const __NR_sched_get_priority_min: u32 = 160; +pub const __NR_sched_rr_get_interval: u32 = 161; +pub const __NR_nanosleep: u32 = 162; +pub const __NR_mremap: u32 = 163; +pub const __NR_setresuid: u32 = 164; +pub const __NR_getresuid: u32 = 165; +pub const __NR_query_module: u32 = 166; +pub const __NR_poll: u32 = 167; +pub const __NR_nfsservctl: u32 = 168; +pub const __NR_setresgid: u32 = 169; +pub const __NR_getresgid: u32 = 170; pub const __NR_prctl: u32 = 171; +pub const __NR_rt_sigreturn: u32 = 172; +pub const __NR_rt_sigaction: u32 = 173; +pub const __NR_rt_sigprocmask: u32 = 174; +pub const __NR_rt_sigpending: u32 = 175; +pub const __NR_rt_sigtimedwait: u32 = 176; +pub const __NR_rt_sigqueueinfo: u32 = 177; +pub const __NR_rt_sigsuspend: u32 = 178; +pub const __NR_pread64: u32 = 179; +pub const __NR_pwrite64: u32 = 180; +pub const __NR_chown: u32 = 181; +pub const __NR_getcwd: u32 = 182; +pub const __NR_capget: u32 = 183; +pub const __NR_capset: u32 = 184; +pub const __NR_sigaltstack: u32 = 185; +pub const __NR_sendfile: u32 = 186; +pub const __NR_getpmsg: u32 = 187; +pub const __NR_putpmsg: u32 = 188; +pub const __NR_vfork: u32 = 189; +pub const __NR_ugetrlimit: u32 = 190; +pub const __NR_readahead: u32 = 191; +pub const __NR_pciconfig_read: u32 = 198; +pub const __NR_pciconfig_write: u32 = 199; +pub const __NR_pciconfig_iobase: u32 = 200; +pub const __NR_multiplexer: u32 = 201; +pub const __NR_getdents64: u32 = 202; +pub const __NR_pivot_root: u32 = 203; +pub const __NR_madvise: u32 = 205; +pub const __NR_mincore: u32 = 206; +pub const __NR_gettid: u32 = 207; +pub const __NR_tkill: u32 = 208; +pub const __NR_setxattr: u32 = 209; +pub const __NR_lsetxattr: u32 = 210; +pub const __NR_fsetxattr: u32 = 211; +pub const __NR_getxattr: u32 = 212; +pub const __NR_lgetxattr: u32 = 213; +pub const __NR_fgetxattr: u32 = 214; +pub const __NR_listxattr: u32 = 215; +pub const __NR_llistxattr: u32 = 216; +pub const __NR_flistxattr: u32 = 217; +pub const __NR_removexattr: u32 = 218; +pub const __NR_lremovexattr: u32 = 219; +pub const __NR_fremovexattr: u32 = 220; +pub const __NR_futex: u32 = 221; +pub const __NR_sched_setaffinity: u32 = 222; +pub const __NR_sched_getaffinity: u32 = 223; +pub const __NR_tuxcall: u32 = 225; +pub const __NR_io_setup: u32 = 227; +pub const __NR_io_destroy: u32 = 228; +pub const __NR_io_getevents: u32 = 229; +pub const __NR_io_submit: u32 = 230; +pub const __NR_io_cancel: u32 = 231; +pub const __NR_set_tid_address: u32 = 232; +pub const __NR_fadvise64: u32 = 233; +pub const __NR_exit_group: u32 = 234; +pub const __NR_lookup_dcookie: u32 = 235; +pub const __NR_epoll_create: u32 = 236; +pub const __NR_epoll_ctl: u32 = 237; +pub const __NR_epoll_wait: u32 = 238; +pub const __NR_remap_file_pages: u32 = 239; +pub const __NR_timer_create: u32 = 240; +pub const __NR_timer_settime: u32 = 241; +pub const __NR_timer_gettime: u32 = 242; +pub const __NR_timer_getoverrun: u32 = 243; +pub const __NR_timer_delete: u32 = 244; +pub const __NR_clock_settime: u32 = 245; +pub const __NR_clock_gettime: u32 = 246; +pub const __NR_clock_getres: u32 = 247; +pub const __NR_clock_nanosleep: u32 = 248; +pub const __NR_swapcontext: u32 = 249; +pub const __NR_tgkill: u32 = 250; +pub const __NR_utimes: u32 = 251; +pub const __NR_statfs64: u32 = 252; +pub const __NR_fstatfs64: u32 = 253; +pub const __NR_rtas: u32 = 255; +pub const __NR_sys_debug_setcontext: u32 = 256; +pub const __NR_migrate_pages: u32 = 258; +pub const __NR_mbind: u32 = 259; +pub const __NR_get_mempolicy: u32 = 260; +pub const __NR_set_mempolicy: u32 = 261; +pub const __NR_mq_open: u32 = 262; +pub const __NR_mq_unlink: u32 = 263; +pub const __NR_mq_timedsend: u32 = 264; +pub const __NR_mq_timedreceive: u32 = 265; +pub const __NR_mq_notify: u32 = 266; +pub const __NR_mq_getsetattr: u32 = 267; +pub const __NR_kexec_load: u32 = 268; +pub const __NR_add_key: u32 = 269; +pub const __NR_request_key: u32 = 270; +pub const __NR_keyctl: u32 = 271; +pub const __NR_waitid: u32 = 272; +pub const __NR_ioprio_set: u32 = 273; +pub const __NR_ioprio_get: u32 = 274; +pub const __NR_inotify_init: u32 = 275; +pub const __NR_inotify_add_watch: u32 = 276; +pub const __NR_inotify_rm_watch: u32 = 277; +pub const __NR_spu_run: u32 = 278; +pub const __NR_spu_create: u32 = 279; +pub const __NR_pselect6: u32 = 280; +pub const __NR_ppoll: u32 = 281; +pub const __NR_unshare: u32 = 282; +pub const __NR_splice: u32 = 283; +pub const __NR_tee: u32 = 284; +pub const __NR_vmsplice: u32 = 285; +pub const __NR_openat: u32 = 286; +pub const __NR_mkdirat: u32 = 287; +pub const __NR_mknodat: u32 = 288; +pub const __NR_fchownat: u32 = 289; +pub const __NR_futimesat: u32 = 290; +pub const __NR_newfstatat: u32 = 291; +pub const __NR_unlinkat: u32 = 292; +pub const __NR_renameat: u32 = 293; +pub const __NR_linkat: u32 = 294; +pub const __NR_symlinkat: u32 = 295; +pub const __NR_readlinkat: u32 = 296; +pub const __NR_fchmodat: u32 = 297; +pub const __NR_faccessat: u32 = 298; +pub const __NR_get_robust_list: u32 = 299; +pub const __NR_set_robust_list: u32 = 300; +pub const __NR_move_pages: u32 = 301; +pub const __NR_getcpu: u32 = 302; +pub const __NR_epoll_pwait: u32 = 303; +pub const __NR_utimensat: u32 = 304; +pub const __NR_signalfd: u32 = 305; +pub const __NR_timerfd_create: u32 = 306; +pub const __NR_eventfd: u32 = 307; +pub const __NR_sync_file_range2: u32 = 308; +pub const __NR_fallocate: u32 = 309; +pub const __NR_subpage_prot: u32 = 310; +pub const __NR_timerfd_settime: u32 = 311; +pub const __NR_timerfd_gettime: u32 = 312; +pub const __NR_signalfd4: u32 = 313; +pub const __NR_eventfd2: u32 = 314; +pub const __NR_epoll_create1: u32 = 315; +pub const __NR_dup3: u32 = 316; +pub const __NR_pipe2: u32 = 317; +pub const __NR_inotify_init1: u32 = 318; +pub const __NR_perf_event_open: u32 = 319; +pub const __NR_preadv: u32 = 320; +pub const __NR_pwritev: u32 = 321; +pub const __NR_rt_tgsigqueueinfo: u32 = 322; +pub const __NR_fanotify_init: u32 = 323; +pub const __NR_fanotify_mark: u32 = 324; +pub const __NR_prlimit64: u32 = 325; +pub const __NR_socket: u32 = 326; +pub const __NR_bind: u32 = 327; +pub const __NR_connect: u32 = 328; +pub const __NR_listen: u32 = 329; +pub const __NR_accept: u32 = 330; +pub const __NR_getsockname: u32 = 331; +pub const __NR_getpeername: u32 = 332; +pub const __NR_socketpair: u32 = 333; +pub const __NR_send: u32 = 334; +pub const __NR_sendto: u32 = 335; +pub const __NR_recv: u32 = 336; +pub const __NR_recvfrom: u32 = 337; +pub const __NR_shutdown: u32 = 338; +pub const __NR_setsockopt: u32 = 339; +pub const __NR_getsockopt: u32 = 340; +pub const __NR_sendmsg: u32 = 341; +pub const __NR_recvmsg: u32 = 342; +pub const __NR_recvmmsg: u32 = 343; +pub const __NR_accept4: u32 = 344; +pub const __NR_name_to_handle_at: u32 = 345; +pub const __NR_open_by_handle_at: u32 = 346; +pub const __NR_clock_adjtime: u32 = 347; +pub const __NR_syncfs: u32 = 348; +pub const __NR_sendmmsg: u32 = 349; +pub const __NR_setns: u32 = 350; +pub const __NR_process_vm_readv: u32 = 351; +pub const __NR_process_vm_writev: u32 = 352; +pub const __NR_finit_module: u32 = 353; +pub const __NR_kcmp: u32 = 354; +pub const __NR_sched_setattr: u32 = 355; +pub const __NR_sched_getattr: u32 = 356; +pub const __NR_renameat2: u32 = 357; +pub const __NR_seccomp: u32 = 358; +pub const __NR_getrandom: u32 = 359; +pub const __NR_memfd_create: u32 = 360; +pub const __NR_bpf: u32 = 361; +pub const __NR_execveat: u32 = 362; +pub const __NR_switch_endian: u32 = 363; +pub const __NR_userfaultfd: u32 = 364; +pub const __NR_membarrier: u32 = 365; +pub const __NR_mlock2: u32 = 378; +pub const __NR_copy_file_range: u32 = 379; +pub const __NR_preadv2: u32 = 380; +pub const __NR_pwritev2: u32 = 381; +pub const __NR_kexec_file_load: u32 = 382; +pub const __NR_statx: u32 = 383; +pub const __NR_pkey_alloc: u32 = 384; +pub const __NR_pkey_free: u32 = 385; +pub const __NR_pkey_mprotect: u32 = 386; +pub const __NR_rseq: u32 = 387; +pub const __NR_io_pgetevents: u32 = 388; +pub const __NR_semtimedop: u32 = 392; +pub const __NR_semget: u32 = 393; +pub const __NR_semctl: u32 = 394; +pub const __NR_shmget: u32 = 395; +pub const __NR_shmctl: u32 = 396; +pub const __NR_shmat: u32 = 397; +pub const __NR_shmdt: u32 = 398; +pub const __NR_msgget: u32 = 399; +pub const __NR_msgsnd: u32 = 400; +pub const __NR_msgrcv: u32 = 401; +pub const __NR_msgctl: u32 = 402; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/mod.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/mod.rs index 5dbd7e71..3afae438 100644 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/mod.rs +++ b/tests/helper/src/gen/sys/powerpc64_linux_musl/mod.rs @@ -12,7 +12,421 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_fork; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_open; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_waitpid; +pub use linux_headers_asm_unistd::__NR_creat; +pub use linux_headers_asm_unistd::__NR_link; +pub use linux_headers_asm_unistd::__NR_unlink; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_time; +pub use linux_headers_asm_unistd::__NR_mknod; +pub use linux_headers_asm_unistd::__NR_chmod; +pub use linux_headers_asm_unistd::__NR_lchown; +pub use linux_headers_asm_unistd::__NR_break; +pub use linux_headers_asm_unistd::__NR_oldstat; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_umount; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_stime; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_alarm; +pub use linux_headers_asm_unistd::__NR_oldfstat; +pub use linux_headers_asm_unistd::__NR_pause; +pub use linux_headers_asm_unistd::__NR_utime; +pub use linux_headers_asm_unistd::__NR_stty; +pub use linux_headers_asm_unistd::__NR_gtty; +pub use linux_headers_asm_unistd::__NR_access; +pub use linux_headers_asm_unistd::__NR_nice; +pub use linux_headers_asm_unistd::__NR_ftime; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_rename; +pub use linux_headers_asm_unistd::__NR_mkdir; +pub use linux_headers_asm_unistd::__NR_rmdir; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_pipe; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_prof; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_signal; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_lock; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_mpx; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_ulimit; +pub use linux_headers_asm_unistd::__NR_oldolduname; +pub use linux_headers_asm_unistd::__NR_umask; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_ustat; +pub use linux_headers_asm_unistd::__NR_dup2; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getpgrp; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_sigaction; +pub use linux_headers_asm_unistd::__NR_sgetmask; +pub use linux_headers_asm_unistd::__NR_ssetmask; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_sigsuspend; +pub use linux_headers_asm_unistd::__NR_sigpending; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_select; +pub use linux_headers_asm_unistd::__NR_symlink; +pub use linux_headers_asm_unistd::__NR_oldlstat; +pub use linux_headers_asm_unistd::__NR_readlink; +pub use linux_headers_asm_unistd::__NR_uselib; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_readdir; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_profil; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_ioperm; +pub use linux_headers_asm_unistd::__NR_socketcall; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_stat; +pub use linux_headers_asm_unistd::__NR_lstat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_olduname; +pub use linux_headers_asm_unistd::__NR_iopl; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_idle; +pub use linux_headers_asm_unistd::__NR_vm86; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_ipc; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_sigreturn; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_modify_ldt; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_sigprocmask; +pub use linux_headers_asm_unistd::__NR_create_module; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_get_kernel_syms; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_bdflush; +pub use linux_headers_asm_unistd::__NR_sysfs; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_afs_syscall; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR__llseek; +pub use linux_headers_asm_unistd::__NR_getdents; +pub use linux_headers_asm_unistd::__NR__newselect; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR__sysctl; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_query_module; +pub use linux_headers_asm_unistd::__NR_poll; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_chown; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_getpmsg; +pub use linux_headers_asm_unistd::__NR_putpmsg; +pub use linux_headers_asm_unistd::__NR_vfork; +pub use linux_headers_asm_unistd::__NR_ugetrlimit; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_pciconfig_read; +pub use linux_headers_asm_unistd::__NR_pciconfig_write; +pub use linux_headers_asm_unistd::__NR_pciconfig_iobase; +pub use linux_headers_asm_unistd::__NR_multiplexer; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_tuxcall; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_epoll_create; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_wait; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_swapcontext; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_utimes; +pub use linux_headers_asm_unistd::__NR_statfs64; +pub use linux_headers_asm_unistd::__NR_fstatfs64; +pub use linux_headers_asm_unistd::__NR_rtas; +pub use linux_headers_asm_unistd::__NR_sys_debug_setcontext; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_inotify_init; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_spu_run; +pub use linux_headers_asm_unistd::__NR_spu_create; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_futimesat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_signalfd; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_eventfd; +pub use linux_headers_asm_unistd::__NR_sync_file_range2; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_subpage_prot; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_send; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recv; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_switch_endian; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_cputable; pub use linux_headers_asm_cputable::PPC_FEATURE_32; pub use linux_headers_asm_cputable::PPC_FEATURE_64; diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/machine_elf.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/machine_elf.rs new file mode 100644 index 00000000..f1dfebdc --- /dev/null +++ b/tests/helper/src/gen/sys/powerpc64_openbsd/machine_elf.rs @@ -0,0 +1,43 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT +// This file is @generated by portable-atomic-internal-codegen +// (gen function at tools/codegen/src/ffi.rs). +// It is not intended for manual editing. + +pub const PPC_FEATURE_32: u32 = 2147483648; +pub const PPC_FEATURE_64: u32 = 1073741824; +pub const PPC_FEATURE_601_INSTR: u32 = 536870912; +pub const PPC_FEATURE_HAS_ALTIVEC: u32 = 268435456; +pub const PPC_FEATURE_HAS_FPU: u32 = 134217728; +pub const PPC_FEATURE_HAS_MMU: u32 = 67108864; +pub const PPC_FEATURE_UNIFIED_CACHE: u32 = 16777216; +pub const PPC_FEATURE_HAS_SPE: u32 = 8388608; +pub const PPC_FEATURE_HAS_EFP_SINGLE: u32 = 4194304; +pub const PPC_FEATURE_HAS_EFP_DOUBLE: u32 = 2097152; +pub const PPC_FEATURE_NO_TB: u32 = 1048576; +pub const PPC_FEATURE_POWER4: u32 = 524288; +pub const PPC_FEATURE_POWER5: u32 = 262144; +pub const PPC_FEATURE_POWER5_PLUS: u32 = 131072; +pub const PPC_FEATURE_CELL: u32 = 65536; +pub const PPC_FEATURE_BOOKE: u32 = 32768; +pub const PPC_FEATURE_SMT: u32 = 16384; +pub const PPC_FEATURE_ICACHE_SNOOP: u32 = 8192; +pub const PPC_FEATURE_ARCH_2_05: u32 = 4096; +pub const PPC_FEATURE_HAS_DFP: u32 = 1024; +pub const PPC_FEATURE_POWER6_EXT: u32 = 512; +pub const PPC_FEATURE_ARCH_2_06: u32 = 256; +pub const PPC_FEATURE_HAS_VSX: u32 = 128; +pub const PPC_FEATURE_TRUE_LE: u32 = 2; +pub const PPC_FEATURE_PPC_LE: u32 = 1; +pub const PPC_FEATURE2_ARCH_2_07: u32 = 2147483648; +pub const PPC_FEATURE2_HTM: u32 = 1073741824; +pub const PPC_FEATURE2_DSCR: u32 = 536870912; +pub const PPC_FEATURE2_EBB: u32 = 268435456; +pub const PPC_FEATURE2_ISEL: u32 = 134217728; +pub const PPC_FEATURE2_TAR: u32 = 67108864; +pub const PPC_FEATURE2_HAS_VEC_CRYPTO: u32 = 33554432; +pub const PPC_FEATURE2_HTM_NOSC: u32 = 16777216; +pub const PPC_FEATURE2_ARCH_3_00: u32 = 8388608; +pub const PPC_FEATURE2_HAS_IEEE128: u32 = 4194304; +pub const PPC_FEATURE2_DARN: u32 = 2097152; +pub const PPC_FEATURE2_SCV: u32 = 1048576; +pub const PPC_FEATURE2_HTM_NOSUSPEND: u32 = 524288; diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/mod.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/mod.rs new file mode 100644 index 00000000..92196b5c --- /dev/null +++ b/tests/helper/src/gen/sys/powerpc64_openbsd/mod.rs @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT +// This file is @generated by portable-atomic-internal-codegen +// (gen function at tools/codegen/src/ffi.rs). +// It is not intended for manual editing. + +#![cfg_attr(rustfmt, rustfmt::skip)] +mod sys_sysctl; +pub use sys_sysctl::CTL_MACHDEP; +pub use sys_sysctl::sysctl; +mod sys_auxv; +pub use sys_auxv::AT_HWCAP; +pub use sys_auxv::AT_HWCAP2; +pub use sys_auxv::elf_aux_info; +mod machine_elf; +pub use machine_elf::PPC_FEATURE_32; +pub use machine_elf::PPC_FEATURE_64; +pub use machine_elf::PPC_FEATURE_601_INSTR; +pub use machine_elf::PPC_FEATURE_HAS_ALTIVEC; +pub use machine_elf::PPC_FEATURE_HAS_FPU; +pub use machine_elf::PPC_FEATURE_HAS_MMU; +pub use machine_elf::PPC_FEATURE_UNIFIED_CACHE; +pub use machine_elf::PPC_FEATURE_HAS_SPE; +pub use machine_elf::PPC_FEATURE_HAS_EFP_SINGLE; +pub use machine_elf::PPC_FEATURE_HAS_EFP_DOUBLE; +pub use machine_elf::PPC_FEATURE_NO_TB; +pub use machine_elf::PPC_FEATURE_POWER4; +pub use machine_elf::PPC_FEATURE_POWER5; +pub use machine_elf::PPC_FEATURE_POWER5_PLUS; +pub use machine_elf::PPC_FEATURE_CELL; +pub use machine_elf::PPC_FEATURE_BOOKE; +pub use machine_elf::PPC_FEATURE_SMT; +pub use machine_elf::PPC_FEATURE_ICACHE_SNOOP; +pub use machine_elf::PPC_FEATURE_ARCH_2_05; +pub use machine_elf::PPC_FEATURE_HAS_DFP; +pub use machine_elf::PPC_FEATURE_POWER6_EXT; +pub use machine_elf::PPC_FEATURE_ARCH_2_06; +pub use machine_elf::PPC_FEATURE_HAS_VSX; +pub use machine_elf::PPC_FEATURE_TRUE_LE; +pub use machine_elf::PPC_FEATURE_PPC_LE; +pub use machine_elf::PPC_FEATURE2_ARCH_2_07; +pub use machine_elf::PPC_FEATURE2_HTM; +pub use machine_elf::PPC_FEATURE2_DSCR; +pub use machine_elf::PPC_FEATURE2_EBB; +pub use machine_elf::PPC_FEATURE2_ISEL; +pub use machine_elf::PPC_FEATURE2_TAR; +pub use machine_elf::PPC_FEATURE2_HAS_VEC_CRYPTO; +pub use machine_elf::PPC_FEATURE2_HTM_NOSC; +pub use machine_elf::PPC_FEATURE2_ARCH_3_00; +pub use machine_elf::PPC_FEATURE2_HAS_IEEE128; +pub use machine_elf::PPC_FEATURE2_DARN; +pub use machine_elf::PPC_FEATURE2_SCV; +pub use machine_elf::PPC_FEATURE2_HTM_NOSUSPEND; +pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/sys_auxv.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/sys_auxv.rs new file mode 100644 index 00000000..edb66f8b --- /dev/null +++ b/tests/helper/src/gen/sys/powerpc64_openbsd/sys_auxv.rs @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT +// This file is @generated by portable-atomic-internal-codegen +// (gen function at tools/codegen/src/ffi.rs). +// It is not intended for manual editing. + +pub const AT_HWCAP: u32 = 25; +pub const AT_HWCAP2: u32 = 26; +extern "C" { + pub fn elf_aux_info( + aux: ::std::os::raw::c_int, + buf: *mut ::core::ffi::c_void, + buflen: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/sys_sysctl.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/sys_sysctl.rs new file mode 100644 index 00000000..1cbc15c8 --- /dev/null +++ b/tests/helper/src/gen/sys/powerpc64_openbsd/sys_sysctl.rs @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT +// This file is @generated by portable-atomic-internal-codegen +// (gen function at tools/codegen/src/ffi.rs). +// It is not intended for manual editing. + +pub type u_int = ::std::os::raw::c_uint; +pub const CTL_MACHDEP: u32 = 7; +extern "C" { + pub fn sysctl( + arg1: *const ::std::os::raw::c_int, + arg2: u_int, + arg3: *mut ::core::ffi::c_void, + arg4: *mut usize, + arg5: *mut ::core::ffi::c_void, + arg6: usize, + ) -> ::std::os::raw::c_int; +} diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/mod.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/mod.rs index 168d4561..5fc80f5d 100644 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/mod.rs +++ b/tests/helper/src/gen/sys/powerpc64le_freebsd/mod.rs @@ -7,8 +7,435 @@ mod sys_auxv; pub use sys_auxv::elf_aux_info; mod sys_syscall; +pub use sys_syscall::SYS_syscall; +pub use sys_syscall::SYS_exit; +pub use sys_syscall::SYS_fork; +pub use sys_syscall::SYS_read; +pub use sys_syscall::SYS_write; +pub use sys_syscall::SYS_open; +pub use sys_syscall::SYS_close; +pub use sys_syscall::SYS_wait4; +pub use sys_syscall::SYS_link; +pub use sys_syscall::SYS_unlink; +pub use sys_syscall::SYS_chdir; +pub use sys_syscall::SYS_fchdir; +pub use sys_syscall::SYS_freebsd11_mknod; +pub use sys_syscall::SYS_chmod; +pub use sys_syscall::SYS_chown; +pub use sys_syscall::SYS_break; pub use sys_syscall::SYS_getpid; +pub use sys_syscall::SYS_mount; +pub use sys_syscall::SYS_unmount; +pub use sys_syscall::SYS_setuid; +pub use sys_syscall::SYS_getuid; +pub use sys_syscall::SYS_geteuid; +pub use sys_syscall::SYS_ptrace; +pub use sys_syscall::SYS_recvmsg; +pub use sys_syscall::SYS_sendmsg; +pub use sys_syscall::SYS_recvfrom; +pub use sys_syscall::SYS_accept; +pub use sys_syscall::SYS_getpeername; +pub use sys_syscall::SYS_getsockname; +pub use sys_syscall::SYS_access; +pub use sys_syscall::SYS_chflags; +pub use sys_syscall::SYS_fchflags; +pub use sys_syscall::SYS_sync; +pub use sys_syscall::SYS_kill; +pub use sys_syscall::SYS_getppid; +pub use sys_syscall::SYS_dup; +pub use sys_syscall::SYS_freebsd10_pipe; +pub use sys_syscall::SYS_getegid; +pub use sys_syscall::SYS_profil; +pub use sys_syscall::SYS_ktrace; +pub use sys_syscall::SYS_getgid; +pub use sys_syscall::SYS_getlogin; +pub use sys_syscall::SYS_setlogin; +pub use sys_syscall::SYS_acct; +pub use sys_syscall::SYS_sigaltstack; +pub use sys_syscall::SYS_ioctl; +pub use sys_syscall::SYS_reboot; +pub use sys_syscall::SYS_revoke; +pub use sys_syscall::SYS_symlink; +pub use sys_syscall::SYS_readlink; +pub use sys_syscall::SYS_execve; +pub use sys_syscall::SYS_umask; +pub use sys_syscall::SYS_chroot; +pub use sys_syscall::SYS_msync; +pub use sys_syscall::SYS_vfork; +pub use sys_syscall::SYS_freebsd11_vadvise; +pub use sys_syscall::SYS_munmap; +pub use sys_syscall::SYS_mprotect; +pub use sys_syscall::SYS_madvise; +pub use sys_syscall::SYS_mincore; +pub use sys_syscall::SYS_getgroups; +pub use sys_syscall::SYS_setgroups; +pub use sys_syscall::SYS_getpgrp; +pub use sys_syscall::SYS_setpgid; +pub use sys_syscall::SYS_setitimer; +pub use sys_syscall::SYS_swapon; +pub use sys_syscall::SYS_getitimer; +pub use sys_syscall::SYS_getdtablesize; +pub use sys_syscall::SYS_dup2; +pub use sys_syscall::SYS_fcntl; +pub use sys_syscall::SYS_select; +pub use sys_syscall::SYS_fsync; +pub use sys_syscall::SYS_setpriority; +pub use sys_syscall::SYS_socket; +pub use sys_syscall::SYS_connect; +pub use sys_syscall::SYS_getpriority; +pub use sys_syscall::SYS_bind; +pub use sys_syscall::SYS_setsockopt; +pub use sys_syscall::SYS_listen; +pub use sys_syscall::SYS_gettimeofday; +pub use sys_syscall::SYS_getrusage; +pub use sys_syscall::SYS_getsockopt; +pub use sys_syscall::SYS_readv; +pub use sys_syscall::SYS_writev; +pub use sys_syscall::SYS_settimeofday; +pub use sys_syscall::SYS_fchown; +pub use sys_syscall::SYS_fchmod; +pub use sys_syscall::SYS_setreuid; +pub use sys_syscall::SYS_setregid; +pub use sys_syscall::SYS_rename; +pub use sys_syscall::SYS_flock; +pub use sys_syscall::SYS_mkfifo; +pub use sys_syscall::SYS_sendto; +pub use sys_syscall::SYS_shutdown; +pub use sys_syscall::SYS_socketpair; +pub use sys_syscall::SYS_mkdir; +pub use sys_syscall::SYS_rmdir; +pub use sys_syscall::SYS_utimes; +pub use sys_syscall::SYS_adjtime; +pub use sys_syscall::SYS_setsid; +pub use sys_syscall::SYS_quotactl; +pub use sys_syscall::SYS_nlm_syscall; +pub use sys_syscall::SYS_nfssvc; +pub use sys_syscall::SYS_lgetfh; +pub use sys_syscall::SYS_getfh; +pub use sys_syscall::SYS_sysarch; +pub use sys_syscall::SYS_rtprio; +pub use sys_syscall::SYS_semsys; +pub use sys_syscall::SYS_msgsys; +pub use sys_syscall::SYS_shmsys; +pub use sys_syscall::SYS_setfib; +pub use sys_syscall::SYS_ntp_adjtime; +pub use sys_syscall::SYS_setgid; +pub use sys_syscall::SYS_setegid; +pub use sys_syscall::SYS_seteuid; +pub use sys_syscall::SYS_freebsd11_stat; +pub use sys_syscall::SYS_freebsd11_fstat; +pub use sys_syscall::SYS_freebsd11_lstat; +pub use sys_syscall::SYS_pathconf; +pub use sys_syscall::SYS_fpathconf; +pub use sys_syscall::SYS_getrlimit; +pub use sys_syscall::SYS_setrlimit; +pub use sys_syscall::SYS_freebsd11_getdirentries; +pub use sys_syscall::SYS___syscall; pub use sys_syscall::SYS___sysctl; +pub use sys_syscall::SYS_mlock; +pub use sys_syscall::SYS_munlock; +pub use sys_syscall::SYS_undelete; +pub use sys_syscall::SYS_futimes; +pub use sys_syscall::SYS_getpgid; +pub use sys_syscall::SYS_poll; +pub use sys_syscall::SYS_freebsd7___semctl; +pub use sys_syscall::SYS_semget; +pub use sys_syscall::SYS_semop; +pub use sys_syscall::SYS_freebsd7_msgctl; +pub use sys_syscall::SYS_msgget; +pub use sys_syscall::SYS_msgsnd; +pub use sys_syscall::SYS_msgrcv; +pub use sys_syscall::SYS_shmat; +pub use sys_syscall::SYS_freebsd7_shmctl; +pub use sys_syscall::SYS_shmdt; +pub use sys_syscall::SYS_shmget; +pub use sys_syscall::SYS_clock_gettime; +pub use sys_syscall::SYS_clock_settime; +pub use sys_syscall::SYS_clock_getres; +pub use sys_syscall::SYS_ktimer_create; +pub use sys_syscall::SYS_ktimer_delete; +pub use sys_syscall::SYS_ktimer_settime; +pub use sys_syscall::SYS_ktimer_gettime; +pub use sys_syscall::SYS_ktimer_getoverrun; +pub use sys_syscall::SYS_nanosleep; +pub use sys_syscall::SYS_ffclock_getcounter; +pub use sys_syscall::SYS_ffclock_setestimate; +pub use sys_syscall::SYS_ffclock_getestimate; +pub use sys_syscall::SYS_clock_nanosleep; +pub use sys_syscall::SYS_clock_getcpuclockid2; +pub use sys_syscall::SYS_ntp_gettime; +pub use sys_syscall::SYS_minherit; +pub use sys_syscall::SYS_rfork; +pub use sys_syscall::SYS_issetugid; +pub use sys_syscall::SYS_lchown; +pub use sys_syscall::SYS_aio_read; +pub use sys_syscall::SYS_aio_write; +pub use sys_syscall::SYS_lio_listio; +pub use sys_syscall::SYS_freebsd11_getdents; +pub use sys_syscall::SYS_lchmod; +pub use sys_syscall::SYS_lutimes; +pub use sys_syscall::SYS_freebsd11_nstat; +pub use sys_syscall::SYS_freebsd11_nfstat; +pub use sys_syscall::SYS_freebsd11_nlstat; +pub use sys_syscall::SYS_preadv; +pub use sys_syscall::SYS_pwritev; +pub use sys_syscall::SYS_fhopen; +pub use sys_syscall::SYS_freebsd11_fhstat; +pub use sys_syscall::SYS_modnext; +pub use sys_syscall::SYS_modstat; +pub use sys_syscall::SYS_modfnext; +pub use sys_syscall::SYS_modfind; +pub use sys_syscall::SYS_kldload; +pub use sys_syscall::SYS_kldunload; +pub use sys_syscall::SYS_kldfind; +pub use sys_syscall::SYS_kldnext; +pub use sys_syscall::SYS_kldstat; +pub use sys_syscall::SYS_kldfirstmod; +pub use sys_syscall::SYS_getsid; +pub use sys_syscall::SYS_setresuid; +pub use sys_syscall::SYS_setresgid; +pub use sys_syscall::SYS_aio_return; +pub use sys_syscall::SYS_aio_suspend; +pub use sys_syscall::SYS_aio_cancel; +pub use sys_syscall::SYS_aio_error; +pub use sys_syscall::SYS_yield; +pub use sys_syscall::SYS_mlockall; +pub use sys_syscall::SYS_munlockall; +pub use sys_syscall::SYS___getcwd; +pub use sys_syscall::SYS_sched_setparam; +pub use sys_syscall::SYS_sched_getparam; +pub use sys_syscall::SYS_sched_setscheduler; +pub use sys_syscall::SYS_sched_getscheduler; +pub use sys_syscall::SYS_sched_yield; +pub use sys_syscall::SYS_sched_get_priority_max; +pub use sys_syscall::SYS_sched_get_priority_min; +pub use sys_syscall::SYS_sched_rr_get_interval; +pub use sys_syscall::SYS_utrace; +pub use sys_syscall::SYS_kldsym; +pub use sys_syscall::SYS_jail; +pub use sys_syscall::SYS_nnpfs_syscall; +pub use sys_syscall::SYS_sigprocmask; +pub use sys_syscall::SYS_sigsuspend; +pub use sys_syscall::SYS_sigpending; +pub use sys_syscall::SYS_sigtimedwait; +pub use sys_syscall::SYS_sigwaitinfo; +pub use sys_syscall::SYS___acl_get_file; +pub use sys_syscall::SYS___acl_set_file; +pub use sys_syscall::SYS___acl_get_fd; +pub use sys_syscall::SYS___acl_set_fd; +pub use sys_syscall::SYS___acl_delete_file; +pub use sys_syscall::SYS___acl_delete_fd; +pub use sys_syscall::SYS___acl_aclcheck_file; +pub use sys_syscall::SYS___acl_aclcheck_fd; +pub use sys_syscall::SYS_extattrctl; +pub use sys_syscall::SYS_extattr_set_file; +pub use sys_syscall::SYS_extattr_get_file; +pub use sys_syscall::SYS_extattr_delete_file; +pub use sys_syscall::SYS_aio_waitcomplete; +pub use sys_syscall::SYS_getresuid; +pub use sys_syscall::SYS_getresgid; +pub use sys_syscall::SYS_kqueue; +pub use sys_syscall::SYS_freebsd11_kevent; +pub use sys_syscall::SYS_extattr_set_fd; +pub use sys_syscall::SYS_extattr_get_fd; +pub use sys_syscall::SYS_extattr_delete_fd; +pub use sys_syscall::SYS___setugid; +pub use sys_syscall::SYS_eaccess; +pub use sys_syscall::SYS_afs3_syscall; +pub use sys_syscall::SYS_nmount; +pub use sys_syscall::SYS___mac_get_proc; +pub use sys_syscall::SYS___mac_set_proc; +pub use sys_syscall::SYS___mac_get_fd; +pub use sys_syscall::SYS___mac_get_file; +pub use sys_syscall::SYS___mac_set_fd; +pub use sys_syscall::SYS___mac_set_file; +pub use sys_syscall::SYS_kenv; +pub use sys_syscall::SYS_lchflags; +pub use sys_syscall::SYS_uuidgen; +pub use sys_syscall::SYS_sendfile; +pub use sys_syscall::SYS_mac_syscall; +pub use sys_syscall::SYS_freebsd11_getfsstat; +pub use sys_syscall::SYS_freebsd11_statfs; +pub use sys_syscall::SYS_freebsd11_fstatfs; +pub use sys_syscall::SYS_freebsd11_fhstatfs; +pub use sys_syscall::SYS_ksem_close; +pub use sys_syscall::SYS_ksem_post; +pub use sys_syscall::SYS_ksem_wait; +pub use sys_syscall::SYS_ksem_trywait; +pub use sys_syscall::SYS_ksem_init; +pub use sys_syscall::SYS_ksem_open; +pub use sys_syscall::SYS_ksem_unlink; +pub use sys_syscall::SYS_ksem_getvalue; +pub use sys_syscall::SYS_ksem_destroy; +pub use sys_syscall::SYS___mac_get_pid; +pub use sys_syscall::SYS___mac_get_link; +pub use sys_syscall::SYS___mac_set_link; +pub use sys_syscall::SYS_extattr_set_link; +pub use sys_syscall::SYS_extattr_get_link; +pub use sys_syscall::SYS_extattr_delete_link; +pub use sys_syscall::SYS___mac_execve; +pub use sys_syscall::SYS_sigaction; +pub use sys_syscall::SYS_sigreturn; +pub use sys_syscall::SYS_getcontext; +pub use sys_syscall::SYS_setcontext; +pub use sys_syscall::SYS_swapcontext; +pub use sys_syscall::SYS_freebsd13_swapoff; +pub use sys_syscall::SYS___acl_get_link; +pub use sys_syscall::SYS___acl_set_link; +pub use sys_syscall::SYS___acl_delete_link; +pub use sys_syscall::SYS___acl_aclcheck_link; +pub use sys_syscall::SYS_sigwait; +pub use sys_syscall::SYS_thr_create; +pub use sys_syscall::SYS_thr_exit; +pub use sys_syscall::SYS_thr_self; +pub use sys_syscall::SYS_thr_kill; +pub use sys_syscall::SYS_freebsd10__umtx_lock; +pub use sys_syscall::SYS_freebsd10__umtx_unlock; +pub use sys_syscall::SYS_jail_attach; +pub use sys_syscall::SYS_extattr_list_fd; +pub use sys_syscall::SYS_extattr_list_file; +pub use sys_syscall::SYS_extattr_list_link; +pub use sys_syscall::SYS_ksem_timedwait; +pub use sys_syscall::SYS_thr_suspend; +pub use sys_syscall::SYS_thr_wake; +pub use sys_syscall::SYS_kldunloadf; +pub use sys_syscall::SYS_audit; +pub use sys_syscall::SYS_auditon; +pub use sys_syscall::SYS_getauid; +pub use sys_syscall::SYS_setauid; +pub use sys_syscall::SYS_getaudit; +pub use sys_syscall::SYS_setaudit; +pub use sys_syscall::SYS_getaudit_addr; +pub use sys_syscall::SYS_setaudit_addr; +pub use sys_syscall::SYS_auditctl; +pub use sys_syscall::SYS__umtx_op; +pub use sys_syscall::SYS_thr_new; +pub use sys_syscall::SYS_sigqueue; +pub use sys_syscall::SYS_kmq_open; +pub use sys_syscall::SYS_kmq_setattr; +pub use sys_syscall::SYS_kmq_timedreceive; +pub use sys_syscall::SYS_kmq_timedsend; +pub use sys_syscall::SYS_kmq_notify; +pub use sys_syscall::SYS_kmq_unlink; +pub use sys_syscall::SYS_abort2; +pub use sys_syscall::SYS_thr_set_name; +pub use sys_syscall::SYS_aio_fsync; +pub use sys_syscall::SYS_rtprio_thread; +pub use sys_syscall::SYS_sctp_peeloff; +pub use sys_syscall::SYS_sctp_generic_sendmsg; +pub use sys_syscall::SYS_sctp_generic_sendmsg_iov; +pub use sys_syscall::SYS_sctp_generic_recvmsg; +pub use sys_syscall::SYS_pread; +pub use sys_syscall::SYS_pwrite; +pub use sys_syscall::SYS_mmap; +pub use sys_syscall::SYS_lseek; +pub use sys_syscall::SYS_truncate; +pub use sys_syscall::SYS_ftruncate; +pub use sys_syscall::SYS_thr_kill2; +pub use sys_syscall::SYS_freebsd12_shm_open; +pub use sys_syscall::SYS_shm_unlink; +pub use sys_syscall::SYS_cpuset; +pub use sys_syscall::SYS_cpuset_setid; +pub use sys_syscall::SYS_cpuset_getid; +pub use sys_syscall::SYS_cpuset_getaffinity; +pub use sys_syscall::SYS_cpuset_setaffinity; +pub use sys_syscall::SYS_faccessat; +pub use sys_syscall::SYS_fchmodat; +pub use sys_syscall::SYS_fchownat; +pub use sys_syscall::SYS_fexecve; +pub use sys_syscall::SYS_freebsd11_fstatat; +pub use sys_syscall::SYS_futimesat; +pub use sys_syscall::SYS_linkat; +pub use sys_syscall::SYS_mkdirat; +pub use sys_syscall::SYS_mkfifoat; +pub use sys_syscall::SYS_freebsd11_mknodat; +pub use sys_syscall::SYS_openat; +pub use sys_syscall::SYS_readlinkat; +pub use sys_syscall::SYS_renameat; +pub use sys_syscall::SYS_symlinkat; +pub use sys_syscall::SYS_unlinkat; +pub use sys_syscall::SYS_posix_openpt; +pub use sys_syscall::SYS_gssd_syscall; +pub use sys_syscall::SYS_jail_get; +pub use sys_syscall::SYS_jail_set; +pub use sys_syscall::SYS_jail_remove; +pub use sys_syscall::SYS_freebsd12_closefrom; +pub use sys_syscall::SYS___semctl; +pub use sys_syscall::SYS_msgctl; +pub use sys_syscall::SYS_shmctl; +pub use sys_syscall::SYS_lpathconf; +pub use sys_syscall::SYS___cap_rights_get; +pub use sys_syscall::SYS_cap_enter; +pub use sys_syscall::SYS_cap_getmode; +pub use sys_syscall::SYS_pdfork; +pub use sys_syscall::SYS_pdkill; +pub use sys_syscall::SYS_pdgetpid; +pub use sys_syscall::SYS_pselect; +pub use sys_syscall::SYS_getloginclass; +pub use sys_syscall::SYS_setloginclass; +pub use sys_syscall::SYS_rctl_get_racct; +pub use sys_syscall::SYS_rctl_get_rules; +pub use sys_syscall::SYS_rctl_get_limits; +pub use sys_syscall::SYS_rctl_add_rule; +pub use sys_syscall::SYS_rctl_remove_rule; +pub use sys_syscall::SYS_posix_fallocate; +pub use sys_syscall::SYS_posix_fadvise; +pub use sys_syscall::SYS_wait6; +pub use sys_syscall::SYS_cap_rights_limit; +pub use sys_syscall::SYS_cap_ioctls_limit; +pub use sys_syscall::SYS_cap_ioctls_get; +pub use sys_syscall::SYS_cap_fcntls_limit; +pub use sys_syscall::SYS_cap_fcntls_get; +pub use sys_syscall::SYS_bindat; +pub use sys_syscall::SYS_connectat; +pub use sys_syscall::SYS_chflagsat; +pub use sys_syscall::SYS_accept4; +pub use sys_syscall::SYS_pipe2; +pub use sys_syscall::SYS_aio_mlock; +pub use sys_syscall::SYS_procctl; +pub use sys_syscall::SYS_ppoll; +pub use sys_syscall::SYS_futimens; +pub use sys_syscall::SYS_utimensat; +pub use sys_syscall::SYS_fdatasync; +pub use sys_syscall::SYS_fstat; +pub use sys_syscall::SYS_fstatat; +pub use sys_syscall::SYS_fhstat; +pub use sys_syscall::SYS_getdirentries; +pub use sys_syscall::SYS_statfs; +pub use sys_syscall::SYS_fstatfs; +pub use sys_syscall::SYS_getfsstat; +pub use sys_syscall::SYS_fhstatfs; +pub use sys_syscall::SYS_mknodat; +pub use sys_syscall::SYS_kevent; +pub use sys_syscall::SYS_cpuset_getdomain; +pub use sys_syscall::SYS_cpuset_setdomain; +pub use sys_syscall::SYS_getrandom; +pub use sys_syscall::SYS_getfhat; +pub use sys_syscall::SYS_fhlink; +pub use sys_syscall::SYS_fhlinkat; +pub use sys_syscall::SYS_fhreadlink; +pub use sys_syscall::SYS_funlinkat; +pub use sys_syscall::SYS_copy_file_range; +pub use sys_syscall::SYS___sysctlbyname; +pub use sys_syscall::SYS_shm_open2; +pub use sys_syscall::SYS_shm_rename; +pub use sys_syscall::SYS_sigfastblock; +pub use sys_syscall::SYS___realpathat; +pub use sys_syscall::SYS_close_range; +pub use sys_syscall::SYS_rpctls_syscall; +pub use sys_syscall::SYS___specialfd; +pub use sys_syscall::SYS_aio_writev; +pub use sys_syscall::SYS_aio_readv; +pub use sys_syscall::SYS_fspacectl; +pub use sys_syscall::SYS_sched_getcpu; +pub use sys_syscall::SYS_swapoff; +pub use sys_syscall::SYS_kqueuex; +pub use sys_syscall::SYS_membarrier; +pub use sys_syscall::SYS_timerfd_create; +pub use sys_syscall::SYS_timerfd_gettime; +pub use sys_syscall::SYS_timerfd_settime; +pub use sys_syscall::SYS_kcmp; +pub use sys_syscall::SYS_MAXSYSCALL; mod sys_sysctl; pub use sys_sysctl::CTL_KERN; pub use sys_sysctl::KERN_PROC; diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_syscall.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_syscall.rs index 65a31135..89e910cc 100644 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_syscall.rs +++ b/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_syscall.rs @@ -3,5 +3,432 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const SYS_syscall: u32 = 0; +pub const SYS_exit: u32 = 1; +pub const SYS_fork: u32 = 2; +pub const SYS_read: u32 = 3; +pub const SYS_write: u32 = 4; +pub const SYS_open: u32 = 5; +pub const SYS_close: u32 = 6; +pub const SYS_wait4: u32 = 7; +pub const SYS_link: u32 = 9; +pub const SYS_unlink: u32 = 10; +pub const SYS_chdir: u32 = 12; +pub const SYS_fchdir: u32 = 13; +pub const SYS_freebsd11_mknod: u32 = 14; +pub const SYS_chmod: u32 = 15; +pub const SYS_chown: u32 = 16; +pub const SYS_break: u32 = 17; pub const SYS_getpid: u32 = 20; +pub const SYS_mount: u32 = 21; +pub const SYS_unmount: u32 = 22; +pub const SYS_setuid: u32 = 23; +pub const SYS_getuid: u32 = 24; +pub const SYS_geteuid: u32 = 25; +pub const SYS_ptrace: u32 = 26; +pub const SYS_recvmsg: u32 = 27; +pub const SYS_sendmsg: u32 = 28; +pub const SYS_recvfrom: u32 = 29; +pub const SYS_accept: u32 = 30; +pub const SYS_getpeername: u32 = 31; +pub const SYS_getsockname: u32 = 32; +pub const SYS_access: u32 = 33; +pub const SYS_chflags: u32 = 34; +pub const SYS_fchflags: u32 = 35; +pub const SYS_sync: u32 = 36; +pub const SYS_kill: u32 = 37; +pub const SYS_getppid: u32 = 39; +pub const SYS_dup: u32 = 41; +pub const SYS_freebsd10_pipe: u32 = 42; +pub const SYS_getegid: u32 = 43; +pub const SYS_profil: u32 = 44; +pub const SYS_ktrace: u32 = 45; +pub const SYS_getgid: u32 = 47; +pub const SYS_getlogin: u32 = 49; +pub const SYS_setlogin: u32 = 50; +pub const SYS_acct: u32 = 51; +pub const SYS_sigaltstack: u32 = 53; +pub const SYS_ioctl: u32 = 54; +pub const SYS_reboot: u32 = 55; +pub const SYS_revoke: u32 = 56; +pub const SYS_symlink: u32 = 57; +pub const SYS_readlink: u32 = 58; +pub const SYS_execve: u32 = 59; +pub const SYS_umask: u32 = 60; +pub const SYS_chroot: u32 = 61; +pub const SYS_msync: u32 = 65; +pub const SYS_vfork: u32 = 66; +pub const SYS_freebsd11_vadvise: u32 = 72; +pub const SYS_munmap: u32 = 73; +pub const SYS_mprotect: u32 = 74; +pub const SYS_madvise: u32 = 75; +pub const SYS_mincore: u32 = 78; +pub const SYS_getgroups: u32 = 79; +pub const SYS_setgroups: u32 = 80; +pub const SYS_getpgrp: u32 = 81; +pub const SYS_setpgid: u32 = 82; +pub const SYS_setitimer: u32 = 83; +pub const SYS_swapon: u32 = 85; +pub const SYS_getitimer: u32 = 86; +pub const SYS_getdtablesize: u32 = 89; +pub const SYS_dup2: u32 = 90; +pub const SYS_fcntl: u32 = 92; +pub const SYS_select: u32 = 93; +pub const SYS_fsync: u32 = 95; +pub const SYS_setpriority: u32 = 96; +pub const SYS_socket: u32 = 97; +pub const SYS_connect: u32 = 98; +pub const SYS_getpriority: u32 = 100; +pub const SYS_bind: u32 = 104; +pub const SYS_setsockopt: u32 = 105; +pub const SYS_listen: u32 = 106; +pub const SYS_gettimeofday: u32 = 116; +pub const SYS_getrusage: u32 = 117; +pub const SYS_getsockopt: u32 = 118; +pub const SYS_readv: u32 = 120; +pub const SYS_writev: u32 = 121; +pub const SYS_settimeofday: u32 = 122; +pub const SYS_fchown: u32 = 123; +pub const SYS_fchmod: u32 = 124; +pub const SYS_setreuid: u32 = 126; +pub const SYS_setregid: u32 = 127; +pub const SYS_rename: u32 = 128; +pub const SYS_flock: u32 = 131; +pub const SYS_mkfifo: u32 = 132; +pub const SYS_sendto: u32 = 133; +pub const SYS_shutdown: u32 = 134; +pub const SYS_socketpair: u32 = 135; +pub const SYS_mkdir: u32 = 136; +pub const SYS_rmdir: u32 = 137; +pub const SYS_utimes: u32 = 138; +pub const SYS_adjtime: u32 = 140; +pub const SYS_setsid: u32 = 147; +pub const SYS_quotactl: u32 = 148; +pub const SYS_nlm_syscall: u32 = 154; +pub const SYS_nfssvc: u32 = 155; +pub const SYS_lgetfh: u32 = 160; +pub const SYS_getfh: u32 = 161; +pub const SYS_sysarch: u32 = 165; +pub const SYS_rtprio: u32 = 166; +pub const SYS_semsys: u32 = 169; +pub const SYS_msgsys: u32 = 170; +pub const SYS_shmsys: u32 = 171; +pub const SYS_setfib: u32 = 175; +pub const SYS_ntp_adjtime: u32 = 176; +pub const SYS_setgid: u32 = 181; +pub const SYS_setegid: u32 = 182; +pub const SYS_seteuid: u32 = 183; +pub const SYS_freebsd11_stat: u32 = 188; +pub const SYS_freebsd11_fstat: u32 = 189; +pub const SYS_freebsd11_lstat: u32 = 190; +pub const SYS_pathconf: u32 = 191; +pub const SYS_fpathconf: u32 = 192; +pub const SYS_getrlimit: u32 = 194; +pub const SYS_setrlimit: u32 = 195; +pub const SYS_freebsd11_getdirentries: u32 = 196; +pub const SYS___syscall: u32 = 198; pub const SYS___sysctl: u32 = 202; +pub const SYS_mlock: u32 = 203; +pub const SYS_munlock: u32 = 204; +pub const SYS_undelete: u32 = 205; +pub const SYS_futimes: u32 = 206; +pub const SYS_getpgid: u32 = 207; +pub const SYS_poll: u32 = 209; +pub const SYS_freebsd7___semctl: u32 = 220; +pub const SYS_semget: u32 = 221; +pub const SYS_semop: u32 = 222; +pub const SYS_freebsd7_msgctl: u32 = 224; +pub const SYS_msgget: u32 = 225; +pub const SYS_msgsnd: u32 = 226; +pub const SYS_msgrcv: u32 = 227; +pub const SYS_shmat: u32 = 228; +pub const SYS_freebsd7_shmctl: u32 = 229; +pub const SYS_shmdt: u32 = 230; +pub const SYS_shmget: u32 = 231; +pub const SYS_clock_gettime: u32 = 232; +pub const SYS_clock_settime: u32 = 233; +pub const SYS_clock_getres: u32 = 234; +pub const SYS_ktimer_create: u32 = 235; +pub const SYS_ktimer_delete: u32 = 236; +pub const SYS_ktimer_settime: u32 = 237; +pub const SYS_ktimer_gettime: u32 = 238; +pub const SYS_ktimer_getoverrun: u32 = 239; +pub const SYS_nanosleep: u32 = 240; +pub const SYS_ffclock_getcounter: u32 = 241; +pub const SYS_ffclock_setestimate: u32 = 242; +pub const SYS_ffclock_getestimate: u32 = 243; +pub const SYS_clock_nanosleep: u32 = 244; +pub const SYS_clock_getcpuclockid2: u32 = 247; +pub const SYS_ntp_gettime: u32 = 248; +pub const SYS_minherit: u32 = 250; +pub const SYS_rfork: u32 = 251; +pub const SYS_issetugid: u32 = 253; +pub const SYS_lchown: u32 = 254; +pub const SYS_aio_read: u32 = 255; +pub const SYS_aio_write: u32 = 256; +pub const SYS_lio_listio: u32 = 257; +pub const SYS_freebsd11_getdents: u32 = 272; +pub const SYS_lchmod: u32 = 274; +pub const SYS_lutimes: u32 = 276; +pub const SYS_freebsd11_nstat: u32 = 278; +pub const SYS_freebsd11_nfstat: u32 = 279; +pub const SYS_freebsd11_nlstat: u32 = 280; +pub const SYS_preadv: u32 = 289; +pub const SYS_pwritev: u32 = 290; +pub const SYS_fhopen: u32 = 298; +pub const SYS_freebsd11_fhstat: u32 = 299; +pub const SYS_modnext: u32 = 300; +pub const SYS_modstat: u32 = 301; +pub const SYS_modfnext: u32 = 302; +pub const SYS_modfind: u32 = 303; +pub const SYS_kldload: u32 = 304; +pub const SYS_kldunload: u32 = 305; +pub const SYS_kldfind: u32 = 306; +pub const SYS_kldnext: u32 = 307; +pub const SYS_kldstat: u32 = 308; +pub const SYS_kldfirstmod: u32 = 309; +pub const SYS_getsid: u32 = 310; +pub const SYS_setresuid: u32 = 311; +pub const SYS_setresgid: u32 = 312; +pub const SYS_aio_return: u32 = 314; +pub const SYS_aio_suspend: u32 = 315; +pub const SYS_aio_cancel: u32 = 316; +pub const SYS_aio_error: u32 = 317; +pub const SYS_yield: u32 = 321; +pub const SYS_mlockall: u32 = 324; +pub const SYS_munlockall: u32 = 325; +pub const SYS___getcwd: u32 = 326; +pub const SYS_sched_setparam: u32 = 327; +pub const SYS_sched_getparam: u32 = 328; +pub const SYS_sched_setscheduler: u32 = 329; +pub const SYS_sched_getscheduler: u32 = 330; +pub const SYS_sched_yield: u32 = 331; +pub const SYS_sched_get_priority_max: u32 = 332; +pub const SYS_sched_get_priority_min: u32 = 333; +pub const SYS_sched_rr_get_interval: u32 = 334; +pub const SYS_utrace: u32 = 335; +pub const SYS_kldsym: u32 = 337; +pub const SYS_jail: u32 = 338; +pub const SYS_nnpfs_syscall: u32 = 339; +pub const SYS_sigprocmask: u32 = 340; +pub const SYS_sigsuspend: u32 = 341; +pub const SYS_sigpending: u32 = 343; +pub const SYS_sigtimedwait: u32 = 345; +pub const SYS_sigwaitinfo: u32 = 346; +pub const SYS___acl_get_file: u32 = 347; +pub const SYS___acl_set_file: u32 = 348; +pub const SYS___acl_get_fd: u32 = 349; +pub const SYS___acl_set_fd: u32 = 350; +pub const SYS___acl_delete_file: u32 = 351; +pub const SYS___acl_delete_fd: u32 = 352; +pub const SYS___acl_aclcheck_file: u32 = 353; +pub const SYS___acl_aclcheck_fd: u32 = 354; +pub const SYS_extattrctl: u32 = 355; +pub const SYS_extattr_set_file: u32 = 356; +pub const SYS_extattr_get_file: u32 = 357; +pub const SYS_extattr_delete_file: u32 = 358; +pub const SYS_aio_waitcomplete: u32 = 359; +pub const SYS_getresuid: u32 = 360; +pub const SYS_getresgid: u32 = 361; +pub const SYS_kqueue: u32 = 362; +pub const SYS_freebsd11_kevent: u32 = 363; +pub const SYS_extattr_set_fd: u32 = 371; +pub const SYS_extattr_get_fd: u32 = 372; +pub const SYS_extattr_delete_fd: u32 = 373; +pub const SYS___setugid: u32 = 374; +pub const SYS_eaccess: u32 = 376; +pub const SYS_afs3_syscall: u32 = 377; +pub const SYS_nmount: u32 = 378; +pub const SYS___mac_get_proc: u32 = 384; +pub const SYS___mac_set_proc: u32 = 385; +pub const SYS___mac_get_fd: u32 = 386; +pub const SYS___mac_get_file: u32 = 387; +pub const SYS___mac_set_fd: u32 = 388; +pub const SYS___mac_set_file: u32 = 389; +pub const SYS_kenv: u32 = 390; +pub const SYS_lchflags: u32 = 391; +pub const SYS_uuidgen: u32 = 392; +pub const SYS_sendfile: u32 = 393; +pub const SYS_mac_syscall: u32 = 394; +pub const SYS_freebsd11_getfsstat: u32 = 395; +pub const SYS_freebsd11_statfs: u32 = 396; +pub const SYS_freebsd11_fstatfs: u32 = 397; +pub const SYS_freebsd11_fhstatfs: u32 = 398; +pub const SYS_ksem_close: u32 = 400; +pub const SYS_ksem_post: u32 = 401; +pub const SYS_ksem_wait: u32 = 402; +pub const SYS_ksem_trywait: u32 = 403; +pub const SYS_ksem_init: u32 = 404; +pub const SYS_ksem_open: u32 = 405; +pub const SYS_ksem_unlink: u32 = 406; +pub const SYS_ksem_getvalue: u32 = 407; +pub const SYS_ksem_destroy: u32 = 408; +pub const SYS___mac_get_pid: u32 = 409; +pub const SYS___mac_get_link: u32 = 410; +pub const SYS___mac_set_link: u32 = 411; +pub const SYS_extattr_set_link: u32 = 412; +pub const SYS_extattr_get_link: u32 = 413; +pub const SYS_extattr_delete_link: u32 = 414; +pub const SYS___mac_execve: u32 = 415; +pub const SYS_sigaction: u32 = 416; +pub const SYS_sigreturn: u32 = 417; +pub const SYS_getcontext: u32 = 421; +pub const SYS_setcontext: u32 = 422; +pub const SYS_swapcontext: u32 = 423; +pub const SYS_freebsd13_swapoff: u32 = 424; +pub const SYS___acl_get_link: u32 = 425; +pub const SYS___acl_set_link: u32 = 426; +pub const SYS___acl_delete_link: u32 = 427; +pub const SYS___acl_aclcheck_link: u32 = 428; +pub const SYS_sigwait: u32 = 429; +pub const SYS_thr_create: u32 = 430; +pub const SYS_thr_exit: u32 = 431; +pub const SYS_thr_self: u32 = 432; +pub const SYS_thr_kill: u32 = 433; +pub const SYS_freebsd10__umtx_lock: u32 = 434; +pub const SYS_freebsd10__umtx_unlock: u32 = 435; +pub const SYS_jail_attach: u32 = 436; +pub const SYS_extattr_list_fd: u32 = 437; +pub const SYS_extattr_list_file: u32 = 438; +pub const SYS_extattr_list_link: u32 = 439; +pub const SYS_ksem_timedwait: u32 = 441; +pub const SYS_thr_suspend: u32 = 442; +pub const SYS_thr_wake: u32 = 443; +pub const SYS_kldunloadf: u32 = 444; +pub const SYS_audit: u32 = 445; +pub const SYS_auditon: u32 = 446; +pub const SYS_getauid: u32 = 447; +pub const SYS_setauid: u32 = 448; +pub const SYS_getaudit: u32 = 449; +pub const SYS_setaudit: u32 = 450; +pub const SYS_getaudit_addr: u32 = 451; +pub const SYS_setaudit_addr: u32 = 452; +pub const SYS_auditctl: u32 = 453; +pub const SYS__umtx_op: u32 = 454; +pub const SYS_thr_new: u32 = 455; +pub const SYS_sigqueue: u32 = 456; +pub const SYS_kmq_open: u32 = 457; +pub const SYS_kmq_setattr: u32 = 458; +pub const SYS_kmq_timedreceive: u32 = 459; +pub const SYS_kmq_timedsend: u32 = 460; +pub const SYS_kmq_notify: u32 = 461; +pub const SYS_kmq_unlink: u32 = 462; +pub const SYS_abort2: u32 = 463; +pub const SYS_thr_set_name: u32 = 464; +pub const SYS_aio_fsync: u32 = 465; +pub const SYS_rtprio_thread: u32 = 466; +pub const SYS_sctp_peeloff: u32 = 471; +pub const SYS_sctp_generic_sendmsg: u32 = 472; +pub const SYS_sctp_generic_sendmsg_iov: u32 = 473; +pub const SYS_sctp_generic_recvmsg: u32 = 474; +pub const SYS_pread: u32 = 475; +pub const SYS_pwrite: u32 = 476; +pub const SYS_mmap: u32 = 477; +pub const SYS_lseek: u32 = 478; +pub const SYS_truncate: u32 = 479; +pub const SYS_ftruncate: u32 = 480; +pub const SYS_thr_kill2: u32 = 481; +pub const SYS_freebsd12_shm_open: u32 = 482; +pub const SYS_shm_unlink: u32 = 483; +pub const SYS_cpuset: u32 = 484; +pub const SYS_cpuset_setid: u32 = 485; +pub const SYS_cpuset_getid: u32 = 486; +pub const SYS_cpuset_getaffinity: u32 = 487; +pub const SYS_cpuset_setaffinity: u32 = 488; +pub const SYS_faccessat: u32 = 489; +pub const SYS_fchmodat: u32 = 490; +pub const SYS_fchownat: u32 = 491; +pub const SYS_fexecve: u32 = 492; +pub const SYS_freebsd11_fstatat: u32 = 493; +pub const SYS_futimesat: u32 = 494; +pub const SYS_linkat: u32 = 495; +pub const SYS_mkdirat: u32 = 496; +pub const SYS_mkfifoat: u32 = 497; +pub const SYS_freebsd11_mknodat: u32 = 498; +pub const SYS_openat: u32 = 499; +pub const SYS_readlinkat: u32 = 500; +pub const SYS_renameat: u32 = 501; +pub const SYS_symlinkat: u32 = 502; +pub const SYS_unlinkat: u32 = 503; +pub const SYS_posix_openpt: u32 = 504; +pub const SYS_gssd_syscall: u32 = 505; +pub const SYS_jail_get: u32 = 506; +pub const SYS_jail_set: u32 = 507; +pub const SYS_jail_remove: u32 = 508; +pub const SYS_freebsd12_closefrom: u32 = 509; +pub const SYS___semctl: u32 = 510; +pub const SYS_msgctl: u32 = 511; +pub const SYS_shmctl: u32 = 512; +pub const SYS_lpathconf: u32 = 513; +pub const SYS___cap_rights_get: u32 = 515; +pub const SYS_cap_enter: u32 = 516; +pub const SYS_cap_getmode: u32 = 517; +pub const SYS_pdfork: u32 = 518; +pub const SYS_pdkill: u32 = 519; +pub const SYS_pdgetpid: u32 = 520; +pub const SYS_pselect: u32 = 522; +pub const SYS_getloginclass: u32 = 523; +pub const SYS_setloginclass: u32 = 524; +pub const SYS_rctl_get_racct: u32 = 525; +pub const SYS_rctl_get_rules: u32 = 526; +pub const SYS_rctl_get_limits: u32 = 527; +pub const SYS_rctl_add_rule: u32 = 528; +pub const SYS_rctl_remove_rule: u32 = 529; +pub const SYS_posix_fallocate: u32 = 530; +pub const SYS_posix_fadvise: u32 = 531; +pub const SYS_wait6: u32 = 532; +pub const SYS_cap_rights_limit: u32 = 533; +pub const SYS_cap_ioctls_limit: u32 = 534; +pub const SYS_cap_ioctls_get: u32 = 535; +pub const SYS_cap_fcntls_limit: u32 = 536; +pub const SYS_cap_fcntls_get: u32 = 537; +pub const SYS_bindat: u32 = 538; +pub const SYS_connectat: u32 = 539; +pub const SYS_chflagsat: u32 = 540; +pub const SYS_accept4: u32 = 541; +pub const SYS_pipe2: u32 = 542; +pub const SYS_aio_mlock: u32 = 543; +pub const SYS_procctl: u32 = 544; +pub const SYS_ppoll: u32 = 545; +pub const SYS_futimens: u32 = 546; +pub const SYS_utimensat: u32 = 547; +pub const SYS_fdatasync: u32 = 550; +pub const SYS_fstat: u32 = 551; +pub const SYS_fstatat: u32 = 552; +pub const SYS_fhstat: u32 = 553; +pub const SYS_getdirentries: u32 = 554; +pub const SYS_statfs: u32 = 555; +pub const SYS_fstatfs: u32 = 556; +pub const SYS_getfsstat: u32 = 557; +pub const SYS_fhstatfs: u32 = 558; +pub const SYS_mknodat: u32 = 559; +pub const SYS_kevent: u32 = 560; +pub const SYS_cpuset_getdomain: u32 = 561; +pub const SYS_cpuset_setdomain: u32 = 562; +pub const SYS_getrandom: u32 = 563; +pub const SYS_getfhat: u32 = 564; +pub const SYS_fhlink: u32 = 565; +pub const SYS_fhlinkat: u32 = 566; +pub const SYS_fhreadlink: u32 = 567; +pub const SYS_funlinkat: u32 = 568; +pub const SYS_copy_file_range: u32 = 569; +pub const SYS___sysctlbyname: u32 = 570; +pub const SYS_shm_open2: u32 = 571; +pub const SYS_shm_rename: u32 = 572; +pub const SYS_sigfastblock: u32 = 573; +pub const SYS___realpathat: u32 = 574; +pub const SYS_close_range: u32 = 575; +pub const SYS_rpctls_syscall: u32 = 576; +pub const SYS___specialfd: u32 = 577; +pub const SYS_aio_writev: u32 = 578; +pub const SYS_aio_readv: u32 = 579; +pub const SYS_fspacectl: u32 = 580; +pub const SYS_sched_getcpu: u32 = 581; +pub const SYS_swapoff: u32 = 582; +pub const SYS_kqueuex: u32 = 583; +pub const SYS_membarrier: u32 = 584; +pub const SYS_timerfd_create: u32 = 585; +pub const SYS_timerfd_gettime: u32 = 586; +pub const SYS_timerfd_settime: u32 = 587; +pub const SYS_kcmp: u32 = 588; +pub const SYS_MAXSYSCALL: u32 = 589; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_unistd.rs index ed5e8cdf..c7c14019 100644 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_unistd.rs @@ -3,4 +3,418 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_restart_syscall: u32 = 0; +pub const __NR_exit: u32 = 1; +pub const __NR_fork: u32 = 2; +pub const __NR_read: u32 = 3; +pub const __NR_write: u32 = 4; +pub const __NR_open: u32 = 5; +pub const __NR_close: u32 = 6; +pub const __NR_waitpid: u32 = 7; +pub const __NR_creat: u32 = 8; +pub const __NR_link: u32 = 9; +pub const __NR_unlink: u32 = 10; +pub const __NR_execve: u32 = 11; +pub const __NR_chdir: u32 = 12; +pub const __NR_time: u32 = 13; +pub const __NR_mknod: u32 = 14; +pub const __NR_chmod: u32 = 15; +pub const __NR_lchown: u32 = 16; +pub const __NR_break: u32 = 17; +pub const __NR_oldstat: u32 = 18; +pub const __NR_lseek: u32 = 19; +pub const __NR_getpid: u32 = 20; +pub const __NR_mount: u32 = 21; +pub const __NR_umount: u32 = 22; +pub const __NR_setuid: u32 = 23; +pub const __NR_getuid: u32 = 24; +pub const __NR_stime: u32 = 25; +pub const __NR_ptrace: u32 = 26; +pub const __NR_alarm: u32 = 27; +pub const __NR_oldfstat: u32 = 28; +pub const __NR_pause: u32 = 29; +pub const __NR_utime: u32 = 30; +pub const __NR_stty: u32 = 31; +pub const __NR_gtty: u32 = 32; +pub const __NR_access: u32 = 33; +pub const __NR_nice: u32 = 34; +pub const __NR_ftime: u32 = 35; +pub const __NR_sync: u32 = 36; +pub const __NR_kill: u32 = 37; +pub const __NR_rename: u32 = 38; +pub const __NR_mkdir: u32 = 39; +pub const __NR_rmdir: u32 = 40; +pub const __NR_dup: u32 = 41; +pub const __NR_pipe: u32 = 42; +pub const __NR_times: u32 = 43; +pub const __NR_prof: u32 = 44; +pub const __NR_brk: u32 = 45; +pub const __NR_setgid: u32 = 46; +pub const __NR_getgid: u32 = 47; +pub const __NR_signal: u32 = 48; +pub const __NR_geteuid: u32 = 49; +pub const __NR_getegid: u32 = 50; +pub const __NR_acct: u32 = 51; +pub const __NR_umount2: u32 = 52; +pub const __NR_lock: u32 = 53; +pub const __NR_ioctl: u32 = 54; +pub const __NR_fcntl: u32 = 55; +pub const __NR_mpx: u32 = 56; +pub const __NR_setpgid: u32 = 57; +pub const __NR_ulimit: u32 = 58; +pub const __NR_oldolduname: u32 = 59; +pub const __NR_umask: u32 = 60; +pub const __NR_chroot: u32 = 61; +pub const __NR_ustat: u32 = 62; +pub const __NR_dup2: u32 = 63; +pub const __NR_getppid: u32 = 64; +pub const __NR_getpgrp: u32 = 65; +pub const __NR_setsid: u32 = 66; +pub const __NR_sigaction: u32 = 67; +pub const __NR_sgetmask: u32 = 68; +pub const __NR_ssetmask: u32 = 69; +pub const __NR_setreuid: u32 = 70; +pub const __NR_setregid: u32 = 71; +pub const __NR_sigsuspend: u32 = 72; +pub const __NR_sigpending: u32 = 73; +pub const __NR_sethostname: u32 = 74; +pub const __NR_setrlimit: u32 = 75; +pub const __NR_getrlimit: u32 = 76; +pub const __NR_getrusage: u32 = 77; +pub const __NR_gettimeofday: u32 = 78; +pub const __NR_settimeofday: u32 = 79; +pub const __NR_getgroups: u32 = 80; +pub const __NR_setgroups: u32 = 81; +pub const __NR_select: u32 = 82; +pub const __NR_symlink: u32 = 83; +pub const __NR_oldlstat: u32 = 84; +pub const __NR_readlink: u32 = 85; +pub const __NR_uselib: u32 = 86; +pub const __NR_swapon: u32 = 87; +pub const __NR_reboot: u32 = 88; +pub const __NR_readdir: u32 = 89; +pub const __NR_mmap: u32 = 90; +pub const __NR_munmap: u32 = 91; +pub const __NR_truncate: u32 = 92; +pub const __NR_ftruncate: u32 = 93; +pub const __NR_fchmod: u32 = 94; +pub const __NR_fchown: u32 = 95; +pub const __NR_getpriority: u32 = 96; +pub const __NR_setpriority: u32 = 97; +pub const __NR_profil: u32 = 98; +pub const __NR_statfs: u32 = 99; +pub const __NR_fstatfs: u32 = 100; +pub const __NR_ioperm: u32 = 101; +pub const __NR_socketcall: u32 = 102; +pub const __NR_syslog: u32 = 103; +pub const __NR_setitimer: u32 = 104; +pub const __NR_getitimer: u32 = 105; +pub const __NR_stat: u32 = 106; +pub const __NR_lstat: u32 = 107; +pub const __NR_fstat: u32 = 108; +pub const __NR_olduname: u32 = 109; +pub const __NR_iopl: u32 = 110; +pub const __NR_vhangup: u32 = 111; +pub const __NR_idle: u32 = 112; +pub const __NR_vm86: u32 = 113; +pub const __NR_wait4: u32 = 114; +pub const __NR_swapoff: u32 = 115; +pub const __NR_sysinfo: u32 = 116; +pub const __NR_ipc: u32 = 117; +pub const __NR_fsync: u32 = 118; +pub const __NR_sigreturn: u32 = 119; +pub const __NR_clone: u32 = 120; +pub const __NR_setdomainname: u32 = 121; +pub const __NR_uname: u32 = 122; +pub const __NR_modify_ldt: u32 = 123; +pub const __NR_adjtimex: u32 = 124; +pub const __NR_mprotect: u32 = 125; +pub const __NR_sigprocmask: u32 = 126; +pub const __NR_create_module: u32 = 127; +pub const __NR_init_module: u32 = 128; +pub const __NR_delete_module: u32 = 129; +pub const __NR_get_kernel_syms: u32 = 130; +pub const __NR_quotactl: u32 = 131; +pub const __NR_getpgid: u32 = 132; +pub const __NR_fchdir: u32 = 133; +pub const __NR_bdflush: u32 = 134; +pub const __NR_sysfs: u32 = 135; +pub const __NR_personality: u32 = 136; +pub const __NR_afs_syscall: u32 = 137; +pub const __NR_setfsuid: u32 = 138; +pub const __NR_setfsgid: u32 = 139; +pub const __NR__llseek: u32 = 140; +pub const __NR_getdents: u32 = 141; +pub const __NR__newselect: u32 = 142; +pub const __NR_flock: u32 = 143; +pub const __NR_msync: u32 = 144; +pub const __NR_readv: u32 = 145; +pub const __NR_writev: u32 = 146; +pub const __NR_getsid: u32 = 147; +pub const __NR_fdatasync: u32 = 148; +pub const __NR__sysctl: u32 = 149; +pub const __NR_mlock: u32 = 150; +pub const __NR_munlock: u32 = 151; +pub const __NR_mlockall: u32 = 152; +pub const __NR_munlockall: u32 = 153; +pub const __NR_sched_setparam: u32 = 154; +pub const __NR_sched_getparam: u32 = 155; +pub const __NR_sched_setscheduler: u32 = 156; +pub const __NR_sched_getscheduler: u32 = 157; +pub const __NR_sched_yield: u32 = 158; +pub const __NR_sched_get_priority_max: u32 = 159; +pub const __NR_sched_get_priority_min: u32 = 160; +pub const __NR_sched_rr_get_interval: u32 = 161; +pub const __NR_nanosleep: u32 = 162; +pub const __NR_mremap: u32 = 163; +pub const __NR_setresuid: u32 = 164; +pub const __NR_getresuid: u32 = 165; +pub const __NR_query_module: u32 = 166; +pub const __NR_poll: u32 = 167; +pub const __NR_nfsservctl: u32 = 168; +pub const __NR_setresgid: u32 = 169; +pub const __NR_getresgid: u32 = 170; pub const __NR_prctl: u32 = 171; +pub const __NR_rt_sigreturn: u32 = 172; +pub const __NR_rt_sigaction: u32 = 173; +pub const __NR_rt_sigprocmask: u32 = 174; +pub const __NR_rt_sigpending: u32 = 175; +pub const __NR_rt_sigtimedwait: u32 = 176; +pub const __NR_rt_sigqueueinfo: u32 = 177; +pub const __NR_rt_sigsuspend: u32 = 178; +pub const __NR_pread64: u32 = 179; +pub const __NR_pwrite64: u32 = 180; +pub const __NR_chown: u32 = 181; +pub const __NR_getcwd: u32 = 182; +pub const __NR_capget: u32 = 183; +pub const __NR_capset: u32 = 184; +pub const __NR_sigaltstack: u32 = 185; +pub const __NR_sendfile: u32 = 186; +pub const __NR_getpmsg: u32 = 187; +pub const __NR_putpmsg: u32 = 188; +pub const __NR_vfork: u32 = 189; +pub const __NR_ugetrlimit: u32 = 190; +pub const __NR_readahead: u32 = 191; +pub const __NR_pciconfig_read: u32 = 198; +pub const __NR_pciconfig_write: u32 = 199; +pub const __NR_pciconfig_iobase: u32 = 200; +pub const __NR_multiplexer: u32 = 201; +pub const __NR_getdents64: u32 = 202; +pub const __NR_pivot_root: u32 = 203; +pub const __NR_madvise: u32 = 205; +pub const __NR_mincore: u32 = 206; +pub const __NR_gettid: u32 = 207; +pub const __NR_tkill: u32 = 208; +pub const __NR_setxattr: u32 = 209; +pub const __NR_lsetxattr: u32 = 210; +pub const __NR_fsetxattr: u32 = 211; +pub const __NR_getxattr: u32 = 212; +pub const __NR_lgetxattr: u32 = 213; +pub const __NR_fgetxattr: u32 = 214; +pub const __NR_listxattr: u32 = 215; +pub const __NR_llistxattr: u32 = 216; +pub const __NR_flistxattr: u32 = 217; +pub const __NR_removexattr: u32 = 218; +pub const __NR_lremovexattr: u32 = 219; +pub const __NR_fremovexattr: u32 = 220; +pub const __NR_futex: u32 = 221; +pub const __NR_sched_setaffinity: u32 = 222; +pub const __NR_sched_getaffinity: u32 = 223; +pub const __NR_tuxcall: u32 = 225; +pub const __NR_io_setup: u32 = 227; +pub const __NR_io_destroy: u32 = 228; +pub const __NR_io_getevents: u32 = 229; +pub const __NR_io_submit: u32 = 230; +pub const __NR_io_cancel: u32 = 231; +pub const __NR_set_tid_address: u32 = 232; +pub const __NR_fadvise64: u32 = 233; +pub const __NR_exit_group: u32 = 234; +pub const __NR_lookup_dcookie: u32 = 235; +pub const __NR_epoll_create: u32 = 236; +pub const __NR_epoll_ctl: u32 = 237; +pub const __NR_epoll_wait: u32 = 238; +pub const __NR_remap_file_pages: u32 = 239; +pub const __NR_timer_create: u32 = 240; +pub const __NR_timer_settime: u32 = 241; +pub const __NR_timer_gettime: u32 = 242; +pub const __NR_timer_getoverrun: u32 = 243; +pub const __NR_timer_delete: u32 = 244; +pub const __NR_clock_settime: u32 = 245; +pub const __NR_clock_gettime: u32 = 246; +pub const __NR_clock_getres: u32 = 247; +pub const __NR_clock_nanosleep: u32 = 248; +pub const __NR_swapcontext: u32 = 249; +pub const __NR_tgkill: u32 = 250; +pub const __NR_utimes: u32 = 251; +pub const __NR_statfs64: u32 = 252; +pub const __NR_fstatfs64: u32 = 253; +pub const __NR_rtas: u32 = 255; +pub const __NR_sys_debug_setcontext: u32 = 256; +pub const __NR_migrate_pages: u32 = 258; +pub const __NR_mbind: u32 = 259; +pub const __NR_get_mempolicy: u32 = 260; +pub const __NR_set_mempolicy: u32 = 261; +pub const __NR_mq_open: u32 = 262; +pub const __NR_mq_unlink: u32 = 263; +pub const __NR_mq_timedsend: u32 = 264; +pub const __NR_mq_timedreceive: u32 = 265; +pub const __NR_mq_notify: u32 = 266; +pub const __NR_mq_getsetattr: u32 = 267; +pub const __NR_kexec_load: u32 = 268; +pub const __NR_add_key: u32 = 269; +pub const __NR_request_key: u32 = 270; +pub const __NR_keyctl: u32 = 271; +pub const __NR_waitid: u32 = 272; +pub const __NR_ioprio_set: u32 = 273; +pub const __NR_ioprio_get: u32 = 274; +pub const __NR_inotify_init: u32 = 275; +pub const __NR_inotify_add_watch: u32 = 276; +pub const __NR_inotify_rm_watch: u32 = 277; +pub const __NR_spu_run: u32 = 278; +pub const __NR_spu_create: u32 = 279; +pub const __NR_pselect6: u32 = 280; +pub const __NR_ppoll: u32 = 281; +pub const __NR_unshare: u32 = 282; +pub const __NR_splice: u32 = 283; +pub const __NR_tee: u32 = 284; +pub const __NR_vmsplice: u32 = 285; +pub const __NR_openat: u32 = 286; +pub const __NR_mkdirat: u32 = 287; +pub const __NR_mknodat: u32 = 288; +pub const __NR_fchownat: u32 = 289; +pub const __NR_futimesat: u32 = 290; +pub const __NR_newfstatat: u32 = 291; +pub const __NR_unlinkat: u32 = 292; +pub const __NR_renameat: u32 = 293; +pub const __NR_linkat: u32 = 294; +pub const __NR_symlinkat: u32 = 295; +pub const __NR_readlinkat: u32 = 296; +pub const __NR_fchmodat: u32 = 297; +pub const __NR_faccessat: u32 = 298; +pub const __NR_get_robust_list: u32 = 299; +pub const __NR_set_robust_list: u32 = 300; +pub const __NR_move_pages: u32 = 301; +pub const __NR_getcpu: u32 = 302; +pub const __NR_epoll_pwait: u32 = 303; +pub const __NR_utimensat: u32 = 304; +pub const __NR_signalfd: u32 = 305; +pub const __NR_timerfd_create: u32 = 306; +pub const __NR_eventfd: u32 = 307; +pub const __NR_sync_file_range2: u32 = 308; +pub const __NR_fallocate: u32 = 309; +pub const __NR_subpage_prot: u32 = 310; +pub const __NR_timerfd_settime: u32 = 311; +pub const __NR_timerfd_gettime: u32 = 312; +pub const __NR_signalfd4: u32 = 313; +pub const __NR_eventfd2: u32 = 314; +pub const __NR_epoll_create1: u32 = 315; +pub const __NR_dup3: u32 = 316; +pub const __NR_pipe2: u32 = 317; +pub const __NR_inotify_init1: u32 = 318; +pub const __NR_perf_event_open: u32 = 319; +pub const __NR_preadv: u32 = 320; +pub const __NR_pwritev: u32 = 321; +pub const __NR_rt_tgsigqueueinfo: u32 = 322; +pub const __NR_fanotify_init: u32 = 323; +pub const __NR_fanotify_mark: u32 = 324; +pub const __NR_prlimit64: u32 = 325; +pub const __NR_socket: u32 = 326; +pub const __NR_bind: u32 = 327; +pub const __NR_connect: u32 = 328; +pub const __NR_listen: u32 = 329; +pub const __NR_accept: u32 = 330; +pub const __NR_getsockname: u32 = 331; +pub const __NR_getpeername: u32 = 332; +pub const __NR_socketpair: u32 = 333; +pub const __NR_send: u32 = 334; +pub const __NR_sendto: u32 = 335; +pub const __NR_recv: u32 = 336; +pub const __NR_recvfrom: u32 = 337; +pub const __NR_shutdown: u32 = 338; +pub const __NR_setsockopt: u32 = 339; +pub const __NR_getsockopt: u32 = 340; +pub const __NR_sendmsg: u32 = 341; +pub const __NR_recvmsg: u32 = 342; +pub const __NR_recvmmsg: u32 = 343; +pub const __NR_accept4: u32 = 344; +pub const __NR_name_to_handle_at: u32 = 345; +pub const __NR_open_by_handle_at: u32 = 346; +pub const __NR_clock_adjtime: u32 = 347; +pub const __NR_syncfs: u32 = 348; +pub const __NR_sendmmsg: u32 = 349; +pub const __NR_setns: u32 = 350; +pub const __NR_process_vm_readv: u32 = 351; +pub const __NR_process_vm_writev: u32 = 352; +pub const __NR_finit_module: u32 = 353; +pub const __NR_kcmp: u32 = 354; +pub const __NR_sched_setattr: u32 = 355; +pub const __NR_sched_getattr: u32 = 356; +pub const __NR_renameat2: u32 = 357; +pub const __NR_seccomp: u32 = 358; +pub const __NR_getrandom: u32 = 359; +pub const __NR_memfd_create: u32 = 360; +pub const __NR_bpf: u32 = 361; +pub const __NR_execveat: u32 = 362; +pub const __NR_switch_endian: u32 = 363; +pub const __NR_userfaultfd: u32 = 364; +pub const __NR_membarrier: u32 = 365; +pub const __NR_mlock2: u32 = 378; +pub const __NR_copy_file_range: u32 = 379; +pub const __NR_preadv2: u32 = 380; +pub const __NR_pwritev2: u32 = 381; +pub const __NR_kexec_file_load: u32 = 382; +pub const __NR_statx: u32 = 383; +pub const __NR_pkey_alloc: u32 = 384; +pub const __NR_pkey_free: u32 = 385; +pub const __NR_pkey_mprotect: u32 = 386; +pub const __NR_rseq: u32 = 387; +pub const __NR_io_pgetevents: u32 = 388; +pub const __NR_semtimedop: u32 = 392; +pub const __NR_semget: u32 = 393; +pub const __NR_semctl: u32 = 394; +pub const __NR_shmget: u32 = 395; +pub const __NR_shmctl: u32 = 396; +pub const __NR_shmat: u32 = 397; +pub const __NR_shmdt: u32 = 398; +pub const __NR_msgget: u32 = 399; +pub const __NR_msgsnd: u32 = 400; +pub const __NR_msgrcv: u32 = 401; +pub const __NR_msgctl: u32 = 402; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/mod.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/mod.rs index 5dbd7e71..3afae438 100644 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/mod.rs +++ b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/mod.rs @@ -12,7 +12,421 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_fork; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_open; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_waitpid; +pub use linux_headers_asm_unistd::__NR_creat; +pub use linux_headers_asm_unistd::__NR_link; +pub use linux_headers_asm_unistd::__NR_unlink; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_time; +pub use linux_headers_asm_unistd::__NR_mknod; +pub use linux_headers_asm_unistd::__NR_chmod; +pub use linux_headers_asm_unistd::__NR_lchown; +pub use linux_headers_asm_unistd::__NR_break; +pub use linux_headers_asm_unistd::__NR_oldstat; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_umount; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_stime; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_alarm; +pub use linux_headers_asm_unistd::__NR_oldfstat; +pub use linux_headers_asm_unistd::__NR_pause; +pub use linux_headers_asm_unistd::__NR_utime; +pub use linux_headers_asm_unistd::__NR_stty; +pub use linux_headers_asm_unistd::__NR_gtty; +pub use linux_headers_asm_unistd::__NR_access; +pub use linux_headers_asm_unistd::__NR_nice; +pub use linux_headers_asm_unistd::__NR_ftime; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_rename; +pub use linux_headers_asm_unistd::__NR_mkdir; +pub use linux_headers_asm_unistd::__NR_rmdir; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_pipe; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_prof; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_signal; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_lock; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_mpx; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_ulimit; +pub use linux_headers_asm_unistd::__NR_oldolduname; +pub use linux_headers_asm_unistd::__NR_umask; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_ustat; +pub use linux_headers_asm_unistd::__NR_dup2; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getpgrp; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_sigaction; +pub use linux_headers_asm_unistd::__NR_sgetmask; +pub use linux_headers_asm_unistd::__NR_ssetmask; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_sigsuspend; +pub use linux_headers_asm_unistd::__NR_sigpending; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_select; +pub use linux_headers_asm_unistd::__NR_symlink; +pub use linux_headers_asm_unistd::__NR_oldlstat; +pub use linux_headers_asm_unistd::__NR_readlink; +pub use linux_headers_asm_unistd::__NR_uselib; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_readdir; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_profil; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_ioperm; +pub use linux_headers_asm_unistd::__NR_socketcall; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_stat; +pub use linux_headers_asm_unistd::__NR_lstat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_olduname; +pub use linux_headers_asm_unistd::__NR_iopl; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_idle; +pub use linux_headers_asm_unistd::__NR_vm86; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_ipc; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_sigreturn; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_modify_ldt; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_sigprocmask; +pub use linux_headers_asm_unistd::__NR_create_module; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_get_kernel_syms; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_bdflush; +pub use linux_headers_asm_unistd::__NR_sysfs; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_afs_syscall; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR__llseek; +pub use linux_headers_asm_unistd::__NR_getdents; +pub use linux_headers_asm_unistd::__NR__newselect; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR__sysctl; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_query_module; +pub use linux_headers_asm_unistd::__NR_poll; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_chown; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_getpmsg; +pub use linux_headers_asm_unistd::__NR_putpmsg; +pub use linux_headers_asm_unistd::__NR_vfork; +pub use linux_headers_asm_unistd::__NR_ugetrlimit; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_pciconfig_read; +pub use linux_headers_asm_unistd::__NR_pciconfig_write; +pub use linux_headers_asm_unistd::__NR_pciconfig_iobase; +pub use linux_headers_asm_unistd::__NR_multiplexer; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_tuxcall; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_epoll_create; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_wait; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_swapcontext; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_utimes; +pub use linux_headers_asm_unistd::__NR_statfs64; +pub use linux_headers_asm_unistd::__NR_fstatfs64; +pub use linux_headers_asm_unistd::__NR_rtas; +pub use linux_headers_asm_unistd::__NR_sys_debug_setcontext; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_inotify_init; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_spu_run; +pub use linux_headers_asm_unistd::__NR_spu_create; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_futimesat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_signalfd; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_eventfd; +pub use linux_headers_asm_unistd::__NR_sync_file_range2; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_subpage_prot; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_send; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recv; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_switch_endian; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_cputable; pub use linux_headers_asm_cputable::PPC_FEATURE_32; pub use linux_headers_asm_cputable::PPC_FEATURE_64; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_unistd.rs index ed5e8cdf..c7c14019 100644 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_unistd.rs +++ b/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_unistd.rs @@ -3,4 +3,418 @@ // (gen function at tools/codegen/src/ffi.rs). // It is not intended for manual editing. +pub const __NR_restart_syscall: u32 = 0; +pub const __NR_exit: u32 = 1; +pub const __NR_fork: u32 = 2; +pub const __NR_read: u32 = 3; +pub const __NR_write: u32 = 4; +pub const __NR_open: u32 = 5; +pub const __NR_close: u32 = 6; +pub const __NR_waitpid: u32 = 7; +pub const __NR_creat: u32 = 8; +pub const __NR_link: u32 = 9; +pub const __NR_unlink: u32 = 10; +pub const __NR_execve: u32 = 11; +pub const __NR_chdir: u32 = 12; +pub const __NR_time: u32 = 13; +pub const __NR_mknod: u32 = 14; +pub const __NR_chmod: u32 = 15; +pub const __NR_lchown: u32 = 16; +pub const __NR_break: u32 = 17; +pub const __NR_oldstat: u32 = 18; +pub const __NR_lseek: u32 = 19; +pub const __NR_getpid: u32 = 20; +pub const __NR_mount: u32 = 21; +pub const __NR_umount: u32 = 22; +pub const __NR_setuid: u32 = 23; +pub const __NR_getuid: u32 = 24; +pub const __NR_stime: u32 = 25; +pub const __NR_ptrace: u32 = 26; +pub const __NR_alarm: u32 = 27; +pub const __NR_oldfstat: u32 = 28; +pub const __NR_pause: u32 = 29; +pub const __NR_utime: u32 = 30; +pub const __NR_stty: u32 = 31; +pub const __NR_gtty: u32 = 32; +pub const __NR_access: u32 = 33; +pub const __NR_nice: u32 = 34; +pub const __NR_ftime: u32 = 35; +pub const __NR_sync: u32 = 36; +pub const __NR_kill: u32 = 37; +pub const __NR_rename: u32 = 38; +pub const __NR_mkdir: u32 = 39; +pub const __NR_rmdir: u32 = 40; +pub const __NR_dup: u32 = 41; +pub const __NR_pipe: u32 = 42; +pub const __NR_times: u32 = 43; +pub const __NR_prof: u32 = 44; +pub const __NR_brk: u32 = 45; +pub const __NR_setgid: u32 = 46; +pub const __NR_getgid: u32 = 47; +pub const __NR_signal: u32 = 48; +pub const __NR_geteuid: u32 = 49; +pub const __NR_getegid: u32 = 50; +pub const __NR_acct: u32 = 51; +pub const __NR_umount2: u32 = 52; +pub const __NR_lock: u32 = 53; +pub const __NR_ioctl: u32 = 54; +pub const __NR_fcntl: u32 = 55; +pub const __NR_mpx: u32 = 56; +pub const __NR_setpgid: u32 = 57; +pub const __NR_ulimit: u32 = 58; +pub const __NR_oldolduname: u32 = 59; +pub const __NR_umask: u32 = 60; +pub const __NR_chroot: u32 = 61; +pub const __NR_ustat: u32 = 62; +pub const __NR_dup2: u32 = 63; +pub const __NR_getppid: u32 = 64; +pub const __NR_getpgrp: u32 = 65; +pub const __NR_setsid: u32 = 66; +pub const __NR_sigaction: u32 = 67; +pub const __NR_sgetmask: u32 = 68; +pub const __NR_ssetmask: u32 = 69; +pub const __NR_setreuid: u32 = 70; +pub const __NR_setregid: u32 = 71; +pub const __NR_sigsuspend: u32 = 72; +pub const __NR_sigpending: u32 = 73; +pub const __NR_sethostname: u32 = 74; +pub const __NR_setrlimit: u32 = 75; +pub const __NR_getrlimit: u32 = 76; +pub const __NR_getrusage: u32 = 77; +pub const __NR_gettimeofday: u32 = 78; +pub const __NR_settimeofday: u32 = 79; +pub const __NR_getgroups: u32 = 80; +pub const __NR_setgroups: u32 = 81; +pub const __NR_select: u32 = 82; +pub const __NR_symlink: u32 = 83; +pub const __NR_oldlstat: u32 = 84; +pub const __NR_readlink: u32 = 85; +pub const __NR_uselib: u32 = 86; +pub const __NR_swapon: u32 = 87; +pub const __NR_reboot: u32 = 88; +pub const __NR_readdir: u32 = 89; +pub const __NR_mmap: u32 = 90; +pub const __NR_munmap: u32 = 91; +pub const __NR_truncate: u32 = 92; +pub const __NR_ftruncate: u32 = 93; +pub const __NR_fchmod: u32 = 94; +pub const __NR_fchown: u32 = 95; +pub const __NR_getpriority: u32 = 96; +pub const __NR_setpriority: u32 = 97; +pub const __NR_profil: u32 = 98; +pub const __NR_statfs: u32 = 99; +pub const __NR_fstatfs: u32 = 100; +pub const __NR_ioperm: u32 = 101; +pub const __NR_socketcall: u32 = 102; +pub const __NR_syslog: u32 = 103; +pub const __NR_setitimer: u32 = 104; +pub const __NR_getitimer: u32 = 105; +pub const __NR_stat: u32 = 106; +pub const __NR_lstat: u32 = 107; +pub const __NR_fstat: u32 = 108; +pub const __NR_olduname: u32 = 109; +pub const __NR_iopl: u32 = 110; +pub const __NR_vhangup: u32 = 111; +pub const __NR_idle: u32 = 112; +pub const __NR_vm86: u32 = 113; +pub const __NR_wait4: u32 = 114; +pub const __NR_swapoff: u32 = 115; +pub const __NR_sysinfo: u32 = 116; +pub const __NR_ipc: u32 = 117; +pub const __NR_fsync: u32 = 118; +pub const __NR_sigreturn: u32 = 119; +pub const __NR_clone: u32 = 120; +pub const __NR_setdomainname: u32 = 121; +pub const __NR_uname: u32 = 122; +pub const __NR_modify_ldt: u32 = 123; +pub const __NR_adjtimex: u32 = 124; +pub const __NR_mprotect: u32 = 125; +pub const __NR_sigprocmask: u32 = 126; +pub const __NR_create_module: u32 = 127; +pub const __NR_init_module: u32 = 128; +pub const __NR_delete_module: u32 = 129; +pub const __NR_get_kernel_syms: u32 = 130; +pub const __NR_quotactl: u32 = 131; +pub const __NR_getpgid: u32 = 132; +pub const __NR_fchdir: u32 = 133; +pub const __NR_bdflush: u32 = 134; +pub const __NR_sysfs: u32 = 135; +pub const __NR_personality: u32 = 136; +pub const __NR_afs_syscall: u32 = 137; +pub const __NR_setfsuid: u32 = 138; +pub const __NR_setfsgid: u32 = 139; +pub const __NR__llseek: u32 = 140; +pub const __NR_getdents: u32 = 141; +pub const __NR__newselect: u32 = 142; +pub const __NR_flock: u32 = 143; +pub const __NR_msync: u32 = 144; +pub const __NR_readv: u32 = 145; +pub const __NR_writev: u32 = 146; +pub const __NR_getsid: u32 = 147; +pub const __NR_fdatasync: u32 = 148; +pub const __NR__sysctl: u32 = 149; +pub const __NR_mlock: u32 = 150; +pub const __NR_munlock: u32 = 151; +pub const __NR_mlockall: u32 = 152; +pub const __NR_munlockall: u32 = 153; +pub const __NR_sched_setparam: u32 = 154; +pub const __NR_sched_getparam: u32 = 155; +pub const __NR_sched_setscheduler: u32 = 156; +pub const __NR_sched_getscheduler: u32 = 157; +pub const __NR_sched_yield: u32 = 158; +pub const __NR_sched_get_priority_max: u32 = 159; +pub const __NR_sched_get_priority_min: u32 = 160; +pub const __NR_sched_rr_get_interval: u32 = 161; +pub const __NR_nanosleep: u32 = 162; +pub const __NR_mremap: u32 = 163; +pub const __NR_setresuid: u32 = 164; +pub const __NR_getresuid: u32 = 165; +pub const __NR_query_module: u32 = 166; +pub const __NR_poll: u32 = 167; +pub const __NR_nfsservctl: u32 = 168; +pub const __NR_setresgid: u32 = 169; +pub const __NR_getresgid: u32 = 170; pub const __NR_prctl: u32 = 171; +pub const __NR_rt_sigreturn: u32 = 172; +pub const __NR_rt_sigaction: u32 = 173; +pub const __NR_rt_sigprocmask: u32 = 174; +pub const __NR_rt_sigpending: u32 = 175; +pub const __NR_rt_sigtimedwait: u32 = 176; +pub const __NR_rt_sigqueueinfo: u32 = 177; +pub const __NR_rt_sigsuspend: u32 = 178; +pub const __NR_pread64: u32 = 179; +pub const __NR_pwrite64: u32 = 180; +pub const __NR_chown: u32 = 181; +pub const __NR_getcwd: u32 = 182; +pub const __NR_capget: u32 = 183; +pub const __NR_capset: u32 = 184; +pub const __NR_sigaltstack: u32 = 185; +pub const __NR_sendfile: u32 = 186; +pub const __NR_getpmsg: u32 = 187; +pub const __NR_putpmsg: u32 = 188; +pub const __NR_vfork: u32 = 189; +pub const __NR_ugetrlimit: u32 = 190; +pub const __NR_readahead: u32 = 191; +pub const __NR_pciconfig_read: u32 = 198; +pub const __NR_pciconfig_write: u32 = 199; +pub const __NR_pciconfig_iobase: u32 = 200; +pub const __NR_multiplexer: u32 = 201; +pub const __NR_getdents64: u32 = 202; +pub const __NR_pivot_root: u32 = 203; +pub const __NR_madvise: u32 = 205; +pub const __NR_mincore: u32 = 206; +pub const __NR_gettid: u32 = 207; +pub const __NR_tkill: u32 = 208; +pub const __NR_setxattr: u32 = 209; +pub const __NR_lsetxattr: u32 = 210; +pub const __NR_fsetxattr: u32 = 211; +pub const __NR_getxattr: u32 = 212; +pub const __NR_lgetxattr: u32 = 213; +pub const __NR_fgetxattr: u32 = 214; +pub const __NR_listxattr: u32 = 215; +pub const __NR_llistxattr: u32 = 216; +pub const __NR_flistxattr: u32 = 217; +pub const __NR_removexattr: u32 = 218; +pub const __NR_lremovexattr: u32 = 219; +pub const __NR_fremovexattr: u32 = 220; +pub const __NR_futex: u32 = 221; +pub const __NR_sched_setaffinity: u32 = 222; +pub const __NR_sched_getaffinity: u32 = 223; +pub const __NR_tuxcall: u32 = 225; +pub const __NR_io_setup: u32 = 227; +pub const __NR_io_destroy: u32 = 228; +pub const __NR_io_getevents: u32 = 229; +pub const __NR_io_submit: u32 = 230; +pub const __NR_io_cancel: u32 = 231; +pub const __NR_set_tid_address: u32 = 232; +pub const __NR_fadvise64: u32 = 233; +pub const __NR_exit_group: u32 = 234; +pub const __NR_lookup_dcookie: u32 = 235; +pub const __NR_epoll_create: u32 = 236; +pub const __NR_epoll_ctl: u32 = 237; +pub const __NR_epoll_wait: u32 = 238; +pub const __NR_remap_file_pages: u32 = 239; +pub const __NR_timer_create: u32 = 240; +pub const __NR_timer_settime: u32 = 241; +pub const __NR_timer_gettime: u32 = 242; +pub const __NR_timer_getoverrun: u32 = 243; +pub const __NR_timer_delete: u32 = 244; +pub const __NR_clock_settime: u32 = 245; +pub const __NR_clock_gettime: u32 = 246; +pub const __NR_clock_getres: u32 = 247; +pub const __NR_clock_nanosleep: u32 = 248; +pub const __NR_swapcontext: u32 = 249; +pub const __NR_tgkill: u32 = 250; +pub const __NR_utimes: u32 = 251; +pub const __NR_statfs64: u32 = 252; +pub const __NR_fstatfs64: u32 = 253; +pub const __NR_rtas: u32 = 255; +pub const __NR_sys_debug_setcontext: u32 = 256; +pub const __NR_migrate_pages: u32 = 258; +pub const __NR_mbind: u32 = 259; +pub const __NR_get_mempolicy: u32 = 260; +pub const __NR_set_mempolicy: u32 = 261; +pub const __NR_mq_open: u32 = 262; +pub const __NR_mq_unlink: u32 = 263; +pub const __NR_mq_timedsend: u32 = 264; +pub const __NR_mq_timedreceive: u32 = 265; +pub const __NR_mq_notify: u32 = 266; +pub const __NR_mq_getsetattr: u32 = 267; +pub const __NR_kexec_load: u32 = 268; +pub const __NR_add_key: u32 = 269; +pub const __NR_request_key: u32 = 270; +pub const __NR_keyctl: u32 = 271; +pub const __NR_waitid: u32 = 272; +pub const __NR_ioprio_set: u32 = 273; +pub const __NR_ioprio_get: u32 = 274; +pub const __NR_inotify_init: u32 = 275; +pub const __NR_inotify_add_watch: u32 = 276; +pub const __NR_inotify_rm_watch: u32 = 277; +pub const __NR_spu_run: u32 = 278; +pub const __NR_spu_create: u32 = 279; +pub const __NR_pselect6: u32 = 280; +pub const __NR_ppoll: u32 = 281; +pub const __NR_unshare: u32 = 282; +pub const __NR_splice: u32 = 283; +pub const __NR_tee: u32 = 284; +pub const __NR_vmsplice: u32 = 285; +pub const __NR_openat: u32 = 286; +pub const __NR_mkdirat: u32 = 287; +pub const __NR_mknodat: u32 = 288; +pub const __NR_fchownat: u32 = 289; +pub const __NR_futimesat: u32 = 290; +pub const __NR_newfstatat: u32 = 291; +pub const __NR_unlinkat: u32 = 292; +pub const __NR_renameat: u32 = 293; +pub const __NR_linkat: u32 = 294; +pub const __NR_symlinkat: u32 = 295; +pub const __NR_readlinkat: u32 = 296; +pub const __NR_fchmodat: u32 = 297; +pub const __NR_faccessat: u32 = 298; +pub const __NR_get_robust_list: u32 = 299; +pub const __NR_set_robust_list: u32 = 300; +pub const __NR_move_pages: u32 = 301; +pub const __NR_getcpu: u32 = 302; +pub const __NR_epoll_pwait: u32 = 303; +pub const __NR_utimensat: u32 = 304; +pub const __NR_signalfd: u32 = 305; +pub const __NR_timerfd_create: u32 = 306; +pub const __NR_eventfd: u32 = 307; +pub const __NR_sync_file_range2: u32 = 308; +pub const __NR_fallocate: u32 = 309; +pub const __NR_subpage_prot: u32 = 310; +pub const __NR_timerfd_settime: u32 = 311; +pub const __NR_timerfd_gettime: u32 = 312; +pub const __NR_signalfd4: u32 = 313; +pub const __NR_eventfd2: u32 = 314; +pub const __NR_epoll_create1: u32 = 315; +pub const __NR_dup3: u32 = 316; +pub const __NR_pipe2: u32 = 317; +pub const __NR_inotify_init1: u32 = 318; +pub const __NR_perf_event_open: u32 = 319; +pub const __NR_preadv: u32 = 320; +pub const __NR_pwritev: u32 = 321; +pub const __NR_rt_tgsigqueueinfo: u32 = 322; +pub const __NR_fanotify_init: u32 = 323; +pub const __NR_fanotify_mark: u32 = 324; +pub const __NR_prlimit64: u32 = 325; +pub const __NR_socket: u32 = 326; +pub const __NR_bind: u32 = 327; +pub const __NR_connect: u32 = 328; +pub const __NR_listen: u32 = 329; +pub const __NR_accept: u32 = 330; +pub const __NR_getsockname: u32 = 331; +pub const __NR_getpeername: u32 = 332; +pub const __NR_socketpair: u32 = 333; +pub const __NR_send: u32 = 334; +pub const __NR_sendto: u32 = 335; +pub const __NR_recv: u32 = 336; +pub const __NR_recvfrom: u32 = 337; +pub const __NR_shutdown: u32 = 338; +pub const __NR_setsockopt: u32 = 339; +pub const __NR_getsockopt: u32 = 340; +pub const __NR_sendmsg: u32 = 341; +pub const __NR_recvmsg: u32 = 342; +pub const __NR_recvmmsg: u32 = 343; +pub const __NR_accept4: u32 = 344; +pub const __NR_name_to_handle_at: u32 = 345; +pub const __NR_open_by_handle_at: u32 = 346; +pub const __NR_clock_adjtime: u32 = 347; +pub const __NR_syncfs: u32 = 348; +pub const __NR_sendmmsg: u32 = 349; +pub const __NR_setns: u32 = 350; +pub const __NR_process_vm_readv: u32 = 351; +pub const __NR_process_vm_writev: u32 = 352; +pub const __NR_finit_module: u32 = 353; +pub const __NR_kcmp: u32 = 354; +pub const __NR_sched_setattr: u32 = 355; +pub const __NR_sched_getattr: u32 = 356; +pub const __NR_renameat2: u32 = 357; +pub const __NR_seccomp: u32 = 358; +pub const __NR_getrandom: u32 = 359; +pub const __NR_memfd_create: u32 = 360; +pub const __NR_bpf: u32 = 361; +pub const __NR_execveat: u32 = 362; +pub const __NR_switch_endian: u32 = 363; +pub const __NR_userfaultfd: u32 = 364; +pub const __NR_membarrier: u32 = 365; +pub const __NR_mlock2: u32 = 378; +pub const __NR_copy_file_range: u32 = 379; +pub const __NR_preadv2: u32 = 380; +pub const __NR_pwritev2: u32 = 381; +pub const __NR_kexec_file_load: u32 = 382; +pub const __NR_statx: u32 = 383; +pub const __NR_pkey_alloc: u32 = 384; +pub const __NR_pkey_free: u32 = 385; +pub const __NR_pkey_mprotect: u32 = 386; +pub const __NR_rseq: u32 = 387; +pub const __NR_io_pgetevents: u32 = 388; +pub const __NR_semtimedop: u32 = 392; +pub const __NR_semget: u32 = 393; +pub const __NR_semctl: u32 = 394; +pub const __NR_shmget: u32 = 395; +pub const __NR_shmctl: u32 = 396; +pub const __NR_shmat: u32 = 397; +pub const __NR_shmdt: u32 = 398; +pub const __NR_msgget: u32 = 399; +pub const __NR_msgsnd: u32 = 400; +pub const __NR_msgrcv: u32 = 401; +pub const __NR_msgctl: u32 = 402; +pub const __NR_pidfd_send_signal: u32 = 424; +pub const __NR_io_uring_setup: u32 = 425; +pub const __NR_io_uring_enter: u32 = 426; +pub const __NR_io_uring_register: u32 = 427; +pub const __NR_open_tree: u32 = 428; +pub const __NR_move_mount: u32 = 429; +pub const __NR_fsopen: u32 = 430; +pub const __NR_fsconfig: u32 = 431; +pub const __NR_fsmount: u32 = 432; +pub const __NR_fspick: u32 = 433; +pub const __NR_pidfd_open: u32 = 434; +pub const __NR_clone3: u32 = 435; +pub const __NR_close_range: u32 = 436; +pub const __NR_openat2: u32 = 437; +pub const __NR_pidfd_getfd: u32 = 438; +pub const __NR_faccessat2: u32 = 439; +pub const __NR_process_madvise: u32 = 440; +pub const __NR_epoll_pwait2: u32 = 441; +pub const __NR_mount_setattr: u32 = 442; +pub const __NR_quotactl_fd: u32 = 443; +pub const __NR_landlock_create_ruleset: u32 = 444; +pub const __NR_landlock_add_rule: u32 = 445; +pub const __NR_landlock_restrict_self: u32 = 446; +pub const __NR_process_mrelease: u32 = 448; +pub const __NR_futex_waitv: u32 = 449; +pub const __NR_set_mempolicy_home_node: u32 = 450; +pub const __NR_cachestat: u32 = 451; +pub const __NR_fchmodat2: u32 = 452; +pub const __NR_map_shadow_stack: u32 = 453; +pub const __NR_futex_wake: u32 = 454; +pub const __NR_futex_wait: u32 = 455; +pub const __NR_futex_requeue: u32 = 456; +pub const __NR_statmount: u32 = 457; +pub const __NR_listmount: u32 = 458; +pub const __NR_lsm_get_self_attr: u32 = 459; +pub const __NR_lsm_set_self_attr: u32 = 460; +pub const __NR_lsm_list_modules: u32 = 461; +pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/mod.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/mod.rs index 5dbd7e71..3afae438 100644 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/mod.rs +++ b/tests/helper/src/gen/sys/powerpc64le_linux_musl/mod.rs @@ -12,7 +12,421 @@ pub use linux_headers_linux_auxvec::AT_HWCAP4; mod linux_headers_linux_prctl; pub use linux_headers_linux_prctl::PR_GET_AUXV; mod linux_headers_asm_unistd; +pub use linux_headers_asm_unistd::__NR_restart_syscall; +pub use linux_headers_asm_unistd::__NR_exit; +pub use linux_headers_asm_unistd::__NR_fork; +pub use linux_headers_asm_unistd::__NR_read; +pub use linux_headers_asm_unistd::__NR_write; +pub use linux_headers_asm_unistd::__NR_open; +pub use linux_headers_asm_unistd::__NR_close; +pub use linux_headers_asm_unistd::__NR_waitpid; +pub use linux_headers_asm_unistd::__NR_creat; +pub use linux_headers_asm_unistd::__NR_link; +pub use linux_headers_asm_unistd::__NR_unlink; +pub use linux_headers_asm_unistd::__NR_execve; +pub use linux_headers_asm_unistd::__NR_chdir; +pub use linux_headers_asm_unistd::__NR_time; +pub use linux_headers_asm_unistd::__NR_mknod; +pub use linux_headers_asm_unistd::__NR_chmod; +pub use linux_headers_asm_unistd::__NR_lchown; +pub use linux_headers_asm_unistd::__NR_break; +pub use linux_headers_asm_unistd::__NR_oldstat; +pub use linux_headers_asm_unistd::__NR_lseek; +pub use linux_headers_asm_unistd::__NR_getpid; +pub use linux_headers_asm_unistd::__NR_mount; +pub use linux_headers_asm_unistd::__NR_umount; +pub use linux_headers_asm_unistd::__NR_setuid; +pub use linux_headers_asm_unistd::__NR_getuid; +pub use linux_headers_asm_unistd::__NR_stime; +pub use linux_headers_asm_unistd::__NR_ptrace; +pub use linux_headers_asm_unistd::__NR_alarm; +pub use linux_headers_asm_unistd::__NR_oldfstat; +pub use linux_headers_asm_unistd::__NR_pause; +pub use linux_headers_asm_unistd::__NR_utime; +pub use linux_headers_asm_unistd::__NR_stty; +pub use linux_headers_asm_unistd::__NR_gtty; +pub use linux_headers_asm_unistd::__NR_access; +pub use linux_headers_asm_unistd::__NR_nice; +pub use linux_headers_asm_unistd::__NR_ftime; +pub use linux_headers_asm_unistd::__NR_sync; +pub use linux_headers_asm_unistd::__NR_kill; +pub use linux_headers_asm_unistd::__NR_rename; +pub use linux_headers_asm_unistd::__NR_mkdir; +pub use linux_headers_asm_unistd::__NR_rmdir; +pub use linux_headers_asm_unistd::__NR_dup; +pub use linux_headers_asm_unistd::__NR_pipe; +pub use linux_headers_asm_unistd::__NR_times; +pub use linux_headers_asm_unistd::__NR_prof; +pub use linux_headers_asm_unistd::__NR_brk; +pub use linux_headers_asm_unistd::__NR_setgid; +pub use linux_headers_asm_unistd::__NR_getgid; +pub use linux_headers_asm_unistd::__NR_signal; +pub use linux_headers_asm_unistd::__NR_geteuid; +pub use linux_headers_asm_unistd::__NR_getegid; +pub use linux_headers_asm_unistd::__NR_acct; +pub use linux_headers_asm_unistd::__NR_umount2; +pub use linux_headers_asm_unistd::__NR_lock; +pub use linux_headers_asm_unistd::__NR_ioctl; +pub use linux_headers_asm_unistd::__NR_fcntl; +pub use linux_headers_asm_unistd::__NR_mpx; +pub use linux_headers_asm_unistd::__NR_setpgid; +pub use linux_headers_asm_unistd::__NR_ulimit; +pub use linux_headers_asm_unistd::__NR_oldolduname; +pub use linux_headers_asm_unistd::__NR_umask; +pub use linux_headers_asm_unistd::__NR_chroot; +pub use linux_headers_asm_unistd::__NR_ustat; +pub use linux_headers_asm_unistd::__NR_dup2; +pub use linux_headers_asm_unistd::__NR_getppid; +pub use linux_headers_asm_unistd::__NR_getpgrp; +pub use linux_headers_asm_unistd::__NR_setsid; +pub use linux_headers_asm_unistd::__NR_sigaction; +pub use linux_headers_asm_unistd::__NR_sgetmask; +pub use linux_headers_asm_unistd::__NR_ssetmask; +pub use linux_headers_asm_unistd::__NR_setreuid; +pub use linux_headers_asm_unistd::__NR_setregid; +pub use linux_headers_asm_unistd::__NR_sigsuspend; +pub use linux_headers_asm_unistd::__NR_sigpending; +pub use linux_headers_asm_unistd::__NR_sethostname; +pub use linux_headers_asm_unistd::__NR_setrlimit; +pub use linux_headers_asm_unistd::__NR_getrlimit; +pub use linux_headers_asm_unistd::__NR_getrusage; +pub use linux_headers_asm_unistd::__NR_gettimeofday; +pub use linux_headers_asm_unistd::__NR_settimeofday; +pub use linux_headers_asm_unistd::__NR_getgroups; +pub use linux_headers_asm_unistd::__NR_setgroups; +pub use linux_headers_asm_unistd::__NR_select; +pub use linux_headers_asm_unistd::__NR_symlink; +pub use linux_headers_asm_unistd::__NR_oldlstat; +pub use linux_headers_asm_unistd::__NR_readlink; +pub use linux_headers_asm_unistd::__NR_uselib; +pub use linux_headers_asm_unistd::__NR_swapon; +pub use linux_headers_asm_unistd::__NR_reboot; +pub use linux_headers_asm_unistd::__NR_readdir; +pub use linux_headers_asm_unistd::__NR_mmap; +pub use linux_headers_asm_unistd::__NR_munmap; +pub use linux_headers_asm_unistd::__NR_truncate; +pub use linux_headers_asm_unistd::__NR_ftruncate; +pub use linux_headers_asm_unistd::__NR_fchmod; +pub use linux_headers_asm_unistd::__NR_fchown; +pub use linux_headers_asm_unistd::__NR_getpriority; +pub use linux_headers_asm_unistd::__NR_setpriority; +pub use linux_headers_asm_unistd::__NR_profil; +pub use linux_headers_asm_unistd::__NR_statfs; +pub use linux_headers_asm_unistd::__NR_fstatfs; +pub use linux_headers_asm_unistd::__NR_ioperm; +pub use linux_headers_asm_unistd::__NR_socketcall; +pub use linux_headers_asm_unistd::__NR_syslog; +pub use linux_headers_asm_unistd::__NR_setitimer; +pub use linux_headers_asm_unistd::__NR_getitimer; +pub use linux_headers_asm_unistd::__NR_stat; +pub use linux_headers_asm_unistd::__NR_lstat; +pub use linux_headers_asm_unistd::__NR_fstat; +pub use linux_headers_asm_unistd::__NR_olduname; +pub use linux_headers_asm_unistd::__NR_iopl; +pub use linux_headers_asm_unistd::__NR_vhangup; +pub use linux_headers_asm_unistd::__NR_idle; +pub use linux_headers_asm_unistd::__NR_vm86; +pub use linux_headers_asm_unistd::__NR_wait4; +pub use linux_headers_asm_unistd::__NR_swapoff; +pub use linux_headers_asm_unistd::__NR_sysinfo; +pub use linux_headers_asm_unistd::__NR_ipc; +pub use linux_headers_asm_unistd::__NR_fsync; +pub use linux_headers_asm_unistd::__NR_sigreturn; +pub use linux_headers_asm_unistd::__NR_clone; +pub use linux_headers_asm_unistd::__NR_setdomainname; +pub use linux_headers_asm_unistd::__NR_uname; +pub use linux_headers_asm_unistd::__NR_modify_ldt; +pub use linux_headers_asm_unistd::__NR_adjtimex; +pub use linux_headers_asm_unistd::__NR_mprotect; +pub use linux_headers_asm_unistd::__NR_sigprocmask; +pub use linux_headers_asm_unistd::__NR_create_module; +pub use linux_headers_asm_unistd::__NR_init_module; +pub use linux_headers_asm_unistd::__NR_delete_module; +pub use linux_headers_asm_unistd::__NR_get_kernel_syms; +pub use linux_headers_asm_unistd::__NR_quotactl; +pub use linux_headers_asm_unistd::__NR_getpgid; +pub use linux_headers_asm_unistd::__NR_fchdir; +pub use linux_headers_asm_unistd::__NR_bdflush; +pub use linux_headers_asm_unistd::__NR_sysfs; +pub use linux_headers_asm_unistd::__NR_personality; +pub use linux_headers_asm_unistd::__NR_afs_syscall; +pub use linux_headers_asm_unistd::__NR_setfsuid; +pub use linux_headers_asm_unistd::__NR_setfsgid; +pub use linux_headers_asm_unistd::__NR__llseek; +pub use linux_headers_asm_unistd::__NR_getdents; +pub use linux_headers_asm_unistd::__NR__newselect; +pub use linux_headers_asm_unistd::__NR_flock; +pub use linux_headers_asm_unistd::__NR_msync; +pub use linux_headers_asm_unistd::__NR_readv; +pub use linux_headers_asm_unistd::__NR_writev; +pub use linux_headers_asm_unistd::__NR_getsid; +pub use linux_headers_asm_unistd::__NR_fdatasync; +pub use linux_headers_asm_unistd::__NR__sysctl; +pub use linux_headers_asm_unistd::__NR_mlock; +pub use linux_headers_asm_unistd::__NR_munlock; +pub use linux_headers_asm_unistd::__NR_mlockall; +pub use linux_headers_asm_unistd::__NR_munlockall; +pub use linux_headers_asm_unistd::__NR_sched_setparam; +pub use linux_headers_asm_unistd::__NR_sched_getparam; +pub use linux_headers_asm_unistd::__NR_sched_setscheduler; +pub use linux_headers_asm_unistd::__NR_sched_getscheduler; +pub use linux_headers_asm_unistd::__NR_sched_yield; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; +pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; +pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; +pub use linux_headers_asm_unistd::__NR_nanosleep; +pub use linux_headers_asm_unistd::__NR_mremap; +pub use linux_headers_asm_unistd::__NR_setresuid; +pub use linux_headers_asm_unistd::__NR_getresuid; +pub use linux_headers_asm_unistd::__NR_query_module; +pub use linux_headers_asm_unistd::__NR_poll; +pub use linux_headers_asm_unistd::__NR_nfsservctl; +pub use linux_headers_asm_unistd::__NR_setresgid; +pub use linux_headers_asm_unistd::__NR_getresgid; pub use linux_headers_asm_unistd::__NR_prctl; +pub use linux_headers_asm_unistd::__NR_rt_sigreturn; +pub use linux_headers_asm_unistd::__NR_rt_sigaction; +pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; +pub use linux_headers_asm_unistd::__NR_rt_sigpending; +pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; +pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; +pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; +pub use linux_headers_asm_unistd::__NR_pread64; +pub use linux_headers_asm_unistd::__NR_pwrite64; +pub use linux_headers_asm_unistd::__NR_chown; +pub use linux_headers_asm_unistd::__NR_getcwd; +pub use linux_headers_asm_unistd::__NR_capget; +pub use linux_headers_asm_unistd::__NR_capset; +pub use linux_headers_asm_unistd::__NR_sigaltstack; +pub use linux_headers_asm_unistd::__NR_sendfile; +pub use linux_headers_asm_unistd::__NR_getpmsg; +pub use linux_headers_asm_unistd::__NR_putpmsg; +pub use linux_headers_asm_unistd::__NR_vfork; +pub use linux_headers_asm_unistd::__NR_ugetrlimit; +pub use linux_headers_asm_unistd::__NR_readahead; +pub use linux_headers_asm_unistd::__NR_pciconfig_read; +pub use linux_headers_asm_unistd::__NR_pciconfig_write; +pub use linux_headers_asm_unistd::__NR_pciconfig_iobase; +pub use linux_headers_asm_unistd::__NR_multiplexer; +pub use linux_headers_asm_unistd::__NR_getdents64; +pub use linux_headers_asm_unistd::__NR_pivot_root; +pub use linux_headers_asm_unistd::__NR_madvise; +pub use linux_headers_asm_unistd::__NR_mincore; +pub use linux_headers_asm_unistd::__NR_gettid; +pub use linux_headers_asm_unistd::__NR_tkill; +pub use linux_headers_asm_unistd::__NR_setxattr; +pub use linux_headers_asm_unistd::__NR_lsetxattr; +pub use linux_headers_asm_unistd::__NR_fsetxattr; +pub use linux_headers_asm_unistd::__NR_getxattr; +pub use linux_headers_asm_unistd::__NR_lgetxattr; +pub use linux_headers_asm_unistd::__NR_fgetxattr; +pub use linux_headers_asm_unistd::__NR_listxattr; +pub use linux_headers_asm_unistd::__NR_llistxattr; +pub use linux_headers_asm_unistd::__NR_flistxattr; +pub use linux_headers_asm_unistd::__NR_removexattr; +pub use linux_headers_asm_unistd::__NR_lremovexattr; +pub use linux_headers_asm_unistd::__NR_fremovexattr; +pub use linux_headers_asm_unistd::__NR_futex; +pub use linux_headers_asm_unistd::__NR_sched_setaffinity; +pub use linux_headers_asm_unistd::__NR_sched_getaffinity; +pub use linux_headers_asm_unistd::__NR_tuxcall; +pub use linux_headers_asm_unistd::__NR_io_setup; +pub use linux_headers_asm_unistd::__NR_io_destroy; +pub use linux_headers_asm_unistd::__NR_io_getevents; +pub use linux_headers_asm_unistd::__NR_io_submit; +pub use linux_headers_asm_unistd::__NR_io_cancel; +pub use linux_headers_asm_unistd::__NR_set_tid_address; +pub use linux_headers_asm_unistd::__NR_fadvise64; +pub use linux_headers_asm_unistd::__NR_exit_group; +pub use linux_headers_asm_unistd::__NR_lookup_dcookie; +pub use linux_headers_asm_unistd::__NR_epoll_create; +pub use linux_headers_asm_unistd::__NR_epoll_ctl; +pub use linux_headers_asm_unistd::__NR_epoll_wait; +pub use linux_headers_asm_unistd::__NR_remap_file_pages; +pub use linux_headers_asm_unistd::__NR_timer_create; +pub use linux_headers_asm_unistd::__NR_timer_settime; +pub use linux_headers_asm_unistd::__NR_timer_gettime; +pub use linux_headers_asm_unistd::__NR_timer_getoverrun; +pub use linux_headers_asm_unistd::__NR_timer_delete; +pub use linux_headers_asm_unistd::__NR_clock_settime; +pub use linux_headers_asm_unistd::__NR_clock_gettime; +pub use linux_headers_asm_unistd::__NR_clock_getres; +pub use linux_headers_asm_unistd::__NR_clock_nanosleep; +pub use linux_headers_asm_unistd::__NR_swapcontext; +pub use linux_headers_asm_unistd::__NR_tgkill; +pub use linux_headers_asm_unistd::__NR_utimes; +pub use linux_headers_asm_unistd::__NR_statfs64; +pub use linux_headers_asm_unistd::__NR_fstatfs64; +pub use linux_headers_asm_unistd::__NR_rtas; +pub use linux_headers_asm_unistd::__NR_sys_debug_setcontext; +pub use linux_headers_asm_unistd::__NR_migrate_pages; +pub use linux_headers_asm_unistd::__NR_mbind; +pub use linux_headers_asm_unistd::__NR_get_mempolicy; +pub use linux_headers_asm_unistd::__NR_set_mempolicy; +pub use linux_headers_asm_unistd::__NR_mq_open; +pub use linux_headers_asm_unistd::__NR_mq_unlink; +pub use linux_headers_asm_unistd::__NR_mq_timedsend; +pub use linux_headers_asm_unistd::__NR_mq_timedreceive; +pub use linux_headers_asm_unistd::__NR_mq_notify; +pub use linux_headers_asm_unistd::__NR_mq_getsetattr; +pub use linux_headers_asm_unistd::__NR_kexec_load; +pub use linux_headers_asm_unistd::__NR_add_key; +pub use linux_headers_asm_unistd::__NR_request_key; +pub use linux_headers_asm_unistd::__NR_keyctl; +pub use linux_headers_asm_unistd::__NR_waitid; +pub use linux_headers_asm_unistd::__NR_ioprio_set; +pub use linux_headers_asm_unistd::__NR_ioprio_get; +pub use linux_headers_asm_unistd::__NR_inotify_init; +pub use linux_headers_asm_unistd::__NR_inotify_add_watch; +pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; +pub use linux_headers_asm_unistd::__NR_spu_run; +pub use linux_headers_asm_unistd::__NR_spu_create; +pub use linux_headers_asm_unistd::__NR_pselect6; +pub use linux_headers_asm_unistd::__NR_ppoll; +pub use linux_headers_asm_unistd::__NR_unshare; +pub use linux_headers_asm_unistd::__NR_splice; +pub use linux_headers_asm_unistd::__NR_tee; +pub use linux_headers_asm_unistd::__NR_vmsplice; +pub use linux_headers_asm_unistd::__NR_openat; +pub use linux_headers_asm_unistd::__NR_mkdirat; +pub use linux_headers_asm_unistd::__NR_mknodat; +pub use linux_headers_asm_unistd::__NR_fchownat; +pub use linux_headers_asm_unistd::__NR_futimesat; +pub use linux_headers_asm_unistd::__NR_newfstatat; +pub use linux_headers_asm_unistd::__NR_unlinkat; +pub use linux_headers_asm_unistd::__NR_renameat; +pub use linux_headers_asm_unistd::__NR_linkat; +pub use linux_headers_asm_unistd::__NR_symlinkat; +pub use linux_headers_asm_unistd::__NR_readlinkat; +pub use linux_headers_asm_unistd::__NR_fchmodat; +pub use linux_headers_asm_unistd::__NR_faccessat; +pub use linux_headers_asm_unistd::__NR_get_robust_list; +pub use linux_headers_asm_unistd::__NR_set_robust_list; +pub use linux_headers_asm_unistd::__NR_move_pages; +pub use linux_headers_asm_unistd::__NR_getcpu; +pub use linux_headers_asm_unistd::__NR_epoll_pwait; +pub use linux_headers_asm_unistd::__NR_utimensat; +pub use linux_headers_asm_unistd::__NR_signalfd; +pub use linux_headers_asm_unistd::__NR_timerfd_create; +pub use linux_headers_asm_unistd::__NR_eventfd; +pub use linux_headers_asm_unistd::__NR_sync_file_range2; +pub use linux_headers_asm_unistd::__NR_fallocate; +pub use linux_headers_asm_unistd::__NR_subpage_prot; +pub use linux_headers_asm_unistd::__NR_timerfd_settime; +pub use linux_headers_asm_unistd::__NR_timerfd_gettime; +pub use linux_headers_asm_unistd::__NR_signalfd4; +pub use linux_headers_asm_unistd::__NR_eventfd2; +pub use linux_headers_asm_unistd::__NR_epoll_create1; +pub use linux_headers_asm_unistd::__NR_dup3; +pub use linux_headers_asm_unistd::__NR_pipe2; +pub use linux_headers_asm_unistd::__NR_inotify_init1; +pub use linux_headers_asm_unistd::__NR_perf_event_open; +pub use linux_headers_asm_unistd::__NR_preadv; +pub use linux_headers_asm_unistd::__NR_pwritev; +pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; +pub use linux_headers_asm_unistd::__NR_fanotify_init; +pub use linux_headers_asm_unistd::__NR_fanotify_mark; +pub use linux_headers_asm_unistd::__NR_prlimit64; +pub use linux_headers_asm_unistd::__NR_socket; +pub use linux_headers_asm_unistd::__NR_bind; +pub use linux_headers_asm_unistd::__NR_connect; +pub use linux_headers_asm_unistd::__NR_listen; +pub use linux_headers_asm_unistd::__NR_accept; +pub use linux_headers_asm_unistd::__NR_getsockname; +pub use linux_headers_asm_unistd::__NR_getpeername; +pub use linux_headers_asm_unistd::__NR_socketpair; +pub use linux_headers_asm_unistd::__NR_send; +pub use linux_headers_asm_unistd::__NR_sendto; +pub use linux_headers_asm_unistd::__NR_recv; +pub use linux_headers_asm_unistd::__NR_recvfrom; +pub use linux_headers_asm_unistd::__NR_shutdown; +pub use linux_headers_asm_unistd::__NR_setsockopt; +pub use linux_headers_asm_unistd::__NR_getsockopt; +pub use linux_headers_asm_unistd::__NR_sendmsg; +pub use linux_headers_asm_unistd::__NR_recvmsg; +pub use linux_headers_asm_unistd::__NR_recvmmsg; +pub use linux_headers_asm_unistd::__NR_accept4; +pub use linux_headers_asm_unistd::__NR_name_to_handle_at; +pub use linux_headers_asm_unistd::__NR_open_by_handle_at; +pub use linux_headers_asm_unistd::__NR_clock_adjtime; +pub use linux_headers_asm_unistd::__NR_syncfs; +pub use linux_headers_asm_unistd::__NR_sendmmsg; +pub use linux_headers_asm_unistd::__NR_setns; +pub use linux_headers_asm_unistd::__NR_process_vm_readv; +pub use linux_headers_asm_unistd::__NR_process_vm_writev; +pub use linux_headers_asm_unistd::__NR_finit_module; +pub use linux_headers_asm_unistd::__NR_kcmp; +pub use linux_headers_asm_unistd::__NR_sched_setattr; +pub use linux_headers_asm_unistd::__NR_sched_getattr; +pub use linux_headers_asm_unistd::__NR_renameat2; +pub use linux_headers_asm_unistd::__NR_seccomp; +pub use linux_headers_asm_unistd::__NR_getrandom; +pub use linux_headers_asm_unistd::__NR_memfd_create; +pub use linux_headers_asm_unistd::__NR_bpf; +pub use linux_headers_asm_unistd::__NR_execveat; +pub use linux_headers_asm_unistd::__NR_switch_endian; +pub use linux_headers_asm_unistd::__NR_userfaultfd; +pub use linux_headers_asm_unistd::__NR_membarrier; +pub use linux_headers_asm_unistd::__NR_mlock2; +pub use linux_headers_asm_unistd::__NR_copy_file_range; +pub use linux_headers_asm_unistd::__NR_preadv2; +pub use linux_headers_asm_unistd::__NR_pwritev2; +pub use linux_headers_asm_unistd::__NR_kexec_file_load; +pub use linux_headers_asm_unistd::__NR_statx; +pub use linux_headers_asm_unistd::__NR_pkey_alloc; +pub use linux_headers_asm_unistd::__NR_pkey_free; +pub use linux_headers_asm_unistd::__NR_pkey_mprotect; +pub use linux_headers_asm_unistd::__NR_rseq; +pub use linux_headers_asm_unistd::__NR_io_pgetevents; +pub use linux_headers_asm_unistd::__NR_semtimedop; +pub use linux_headers_asm_unistd::__NR_semget; +pub use linux_headers_asm_unistd::__NR_semctl; +pub use linux_headers_asm_unistd::__NR_shmget; +pub use linux_headers_asm_unistd::__NR_shmctl; +pub use linux_headers_asm_unistd::__NR_shmat; +pub use linux_headers_asm_unistd::__NR_shmdt; +pub use linux_headers_asm_unistd::__NR_msgget; +pub use linux_headers_asm_unistd::__NR_msgsnd; +pub use linux_headers_asm_unistd::__NR_msgrcv; +pub use linux_headers_asm_unistd::__NR_msgctl; +pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; +pub use linux_headers_asm_unistd::__NR_io_uring_setup; +pub use linux_headers_asm_unistd::__NR_io_uring_enter; +pub use linux_headers_asm_unistd::__NR_io_uring_register; +pub use linux_headers_asm_unistd::__NR_open_tree; +pub use linux_headers_asm_unistd::__NR_move_mount; +pub use linux_headers_asm_unistd::__NR_fsopen; +pub use linux_headers_asm_unistd::__NR_fsconfig; +pub use linux_headers_asm_unistd::__NR_fsmount; +pub use linux_headers_asm_unistd::__NR_fspick; +pub use linux_headers_asm_unistd::__NR_pidfd_open; +pub use linux_headers_asm_unistd::__NR_clone3; +pub use linux_headers_asm_unistd::__NR_close_range; +pub use linux_headers_asm_unistd::__NR_openat2; +pub use linux_headers_asm_unistd::__NR_pidfd_getfd; +pub use linux_headers_asm_unistd::__NR_faccessat2; +pub use linux_headers_asm_unistd::__NR_process_madvise; +pub use linux_headers_asm_unistd::__NR_epoll_pwait2; +pub use linux_headers_asm_unistd::__NR_mount_setattr; +pub use linux_headers_asm_unistd::__NR_quotactl_fd; +pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; +pub use linux_headers_asm_unistd::__NR_landlock_add_rule; +pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; +pub use linux_headers_asm_unistd::__NR_process_mrelease; +pub use linux_headers_asm_unistd::__NR_futex_waitv; +pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; +pub use linux_headers_asm_unistd::__NR_cachestat; +pub use linux_headers_asm_unistd::__NR_fchmodat2; +pub use linux_headers_asm_unistd::__NR_map_shadow_stack; +pub use linux_headers_asm_unistd::__NR_futex_wake; +pub use linux_headers_asm_unistd::__NR_futex_wait; +pub use linux_headers_asm_unistd::__NR_futex_requeue; +pub use linux_headers_asm_unistd::__NR_statmount; +pub use linux_headers_asm_unistd::__NR_listmount; +pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; +pub use linux_headers_asm_unistd::__NR_lsm_list_modules; +pub use linux_headers_asm_unistd::__NR_mseal; mod linux_headers_asm_cputable; pub use linux_headers_asm_cputable::PPC_FEATURE_32; pub use linux_headers_asm_cputable::PPC_FEATURE_64; diff --git a/tools/build.sh b/tools/build.sh index dfd86a37..b57c32fb 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -85,9 +85,13 @@ default_targets=( armv5te-unknown-linux-gnueabi arm-linux-androideabi + # riscv32 # riscv32 with atomic riscv32imac-unknown-none-elf riscv32imc-esp-espidf + # riscv64 + # rustc --print target-list | grep -E '^riscv64' + # rustc -Z unstable-options --print all-target-specs-json | jq -r '. | to_entries[].value | if .arch == "riscv64" then .os else empty end' | LC_ALL=C sort -u # riscv64 with atomic riscv64gc-unknown-linux-gnu @@ -100,6 +104,7 @@ default_targets=( powerpc64le-unknown-linux-musl powerpc64-unknown-freebsd powerpc64le-unknown-freebsd + powerpc64-unknown-openbsd # s390x # rustc --print target-list | grep -E '^s390x' diff --git a/tools/codegen/src/ffi.rs b/tools/codegen/src/ffi.rs index e6fa5616..34390c11 100644 --- a/tools/codegen/src/ffi.rs +++ b/tools/codegen/src/ffi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT -// Run-time feature detection on aarch64 usually requires the use of +// Run-time CPU feature detection on non-x86 systems usually requires the use of // platform APIs, and we define our own FFI bindings to those APIs. // // We use only one or two function(s) and a few types/constants per platform, @@ -43,6 +43,9 @@ static TARGETS: &[Target] = &[ "powerpc64le-unknown-linux-gnu", "powerpc64-unknown-linux-musl", "powerpc64le-unknown-linux-musl", + // "riscv64gc-unknown-linux-gnu", + // "riscv64gc-unknown-linux-musl", + // "riscv64-linux-android", ], headers: &[ Header { @@ -68,7 +71,7 @@ static TARGETS: &[Target] = &[ Header { path: "linux-headers:asm/unistd.h", types: &[], - vars: &["__NR_prctl"], + vars: &["__NR_.*"], functions: &[], arch: &[], os: &[], @@ -94,6 +97,16 @@ static TARGETS: &[Target] = &[ os: &[], env: &[], }, + Header { + // https://github.com/torvalds/linux/blob/HEAD/arch/riscv/include/uapi/asm/hwprobe.h + path: "linux-headers:asm/hwprobe.h", + types: &["riscv_hwprobe"], + vars: &["RISCV_HWPROBE_.*"], + functions: &[], + arch: &[riscv64], + os: &[], + env: &[], + }, Header { // https://github.com/bminor/glibc/blob/HEAD/misc/sys/auxv.h // https://github.com/bminor/musl/blob/HEAD/include/sys/auxv.h @@ -133,7 +146,9 @@ static TARGETS: &[Target] = &[ ], }, Target { - triples: &["aarch64-apple-darwin"], + triples: &[ + "aarch64-apple-darwin", + ], headers: &[ Header { // https://github.com/apple-oss-distributions/xnu/blob/HEAD/bsd/sys/sysctl.h @@ -152,6 +167,7 @@ static TARGETS: &[Target] = &[ "aarch64-unknown-freebsd", "powerpc64-unknown-freebsd", "powerpc64le-unknown-freebsd", + // "riscv64gc-unknown-freebsd", ], headers: &[ Header { @@ -168,7 +184,7 @@ static TARGETS: &[Target] = &[ // https://github.com/freebsd/freebsd-src/blob/HEAD/sys/sys/syscall.h path: "sys/syscall.h", types: &[], - vars: &["SYS_getpid", "SYS___sysctl"], + vars: &["SYS_.*"], functions: &[], arch: &[], os: &[], @@ -240,6 +256,7 @@ static TARGETS: &[Target] = &[ triples: &[ "aarch64-unknown-netbsd", "aarch64_be-unknown-netbsd", + // "riscv64gc-unknown-netbsd", ], headers: &[ Header { @@ -256,7 +273,7 @@ static TARGETS: &[Target] = &[ // https://github.com/NetBSD/src/blob/HEAD/sys/sys/syscall.h path: "sys/syscall.h", types: &[], - vars: &["SYS___sysctl"], + vars: &["SYS_.*"], functions: &[], arch: &[], os: &[], @@ -275,7 +292,11 @@ static TARGETS: &[Target] = &[ ], }, Target { - triples: &["aarch64-unknown-openbsd"], + triples: &[ + "aarch64-unknown-openbsd", + "powerpc64-unknown-openbsd", + // "riscv64gc-unknown-openbsd", + ], headers: &[ Header { // https://github.com/openbsd/src/blob/HEAD/sys/sys/sysctl.h @@ -287,6 +308,16 @@ static TARGETS: &[Target] = &[ os: &[], env: &[], }, + Header { + // https://github.com/openbsd/src/blob/HEAD/sys/sys/auxv.h + path: "sys/auxv.h", + types: &[], + vars: &["AT_HWCAP.*"], + functions: &["elf_aux_info"], + arch: &[], + os: &[], + env: &[], + }, Header { // https://github.com/openbsd/src/blob/HEAD/sys/arch/arm64/include/cpu.h path: "machine/cpu.h", @@ -297,10 +328,33 @@ static TARGETS: &[Target] = &[ os: &[], env: &[], }, + Header { + // https://github.com/openbsd/src/blob/HEAD/sys/arch/arm64/include/elf.h + path: "machine/elf.h", + types: &[], + vars: &["HWCAP.*"], + functions: &[], + arch: &[aarch64], + os: &[], + env: &[], + }, + Header { + // https://github.com/openbsd/src/blob/HEAD/sys/arch/powerpc/include/elf.h + path: "machine/elf.h", + types: &[], + vars: &["PPC_FEATURE.*"], + functions: &[], + arch: &[powerpc64], + os: &[], + env: &[], + }, ], }, Target { - triples: &["aarch64-unknown-fuchsia"], + triples: &[ + "aarch64-unknown-fuchsia", + // "riscv64gc-unknown-fuchsia", + ], headers: &[ // TODO: zx_system_get_features Header { @@ -327,7 +381,7 @@ static TARGETS: &[Target] = &[ // https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/zircon/system/public/zircon/features.h path: "zircon/system/public/zircon/features.h", types: &[], - vars: &["ZX_FEATURE_KIND_CPU", "ZX_ARM64_FEATURE_ISA_.*"], + vars: &["ZX_FEATURE_KIND_CPU", "ZX_ARM64_FEATURE_.*"], functions: &[], arch: &[aarch64], os: &[], @@ -423,7 +477,7 @@ pub(crate) fn gen() -> Result<()> { ); let out_path = out_dir.join(&out_file); - let target_flag = &*format!("--target={triple}"); + let target_flag = &*format!("--target={}", target.llvm_target); let mut clang_args = vec![target_flag, "-nostdinc"]; macro_rules! define { ($name:ident) => {{ @@ -706,7 +760,7 @@ fn download_headers(target: &TargetSpec, download_dir: &Utf8Path) -> Result &'static str { match target.arch { aarch64 => "aarch64", powerpc64 => "powerpc/powerpc64", + riscv32 | riscv64 => "riscv", _ => todo!("{target:?}"), } } @@ -914,12 +969,14 @@ fn musl_arch(target: &TargetSpec) -> &'static str { aarch64 => "aarch64", arm => "arm", x86 => "i386", + loongarch64 => "loongarch64", m68k => "m68k", mips | mips32r6 => "mips", mips64 | mips64r6 if target.target_pointer_width == "64" => "mips64", mips64 | mips64r6 if target.target_pointer_width == "32" => "mipsn32", powerpc => "powerpc", powerpc64 => "powerpc64", + riscv32 => "riscv32", riscv64 => "riscv64", s390x => "s390x", x86_64 if target.target_pointer_width == "32" => "x32", @@ -932,6 +989,7 @@ fn uclibc_arch(target: &TargetSpec) -> &'static str { match target.arch { aarch64 => "aarch64", arm => "arm", + riscv32 => "riscv32", riscv64 => "riscv64", _ => todo!("{target:?}"), }