diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2023-08-24 13:42:16 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-09-05 10:15:48 -0300 |
commit | ad77b1bcca2499f422528c0af4b6f5565512d8bd (patch) | |
tree | bc81901ac25aae5adcc0574a87f3b07f35179176 /sysdeps/unix/sysv/linux/ia64 | |
parent | e7d1c5866448bf3c56a61def84021e6fc19f57e7 (diff) | |
download | glibc-ad77b1bcca2499f422528c0af4b6f5565512d8bd.tar.gz glibc-ad77b1bcca2499f422528c0af4b6f5565512d8bd.tar.xz glibc-ad77b1bcca2499f422528c0af4b6f5565512d8bd.zip |
linux: Define __ASSUME_CLONE3 to 0 for alpha, ia64, nios2, sh, and sparc
Not all architectures added clone3 syscall. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/kernel-features.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/kernel-features.h b/sysdeps/unix/sysv/linux/ia64/kernel-features.h index 98ebfb74bf..398ec37328 100644 --- a/sysdeps/unix/sysv/linux/ia64/kernel-features.h +++ b/sysdeps/unix/sysv/linux/ia64/kernel-features.h @@ -34,4 +34,8 @@ #undef __ASSUME_CLONE_DEFAULT #define __ASSUME_CLONE2 +/* ia64 does not provide clone3. */ +#undef __ASSUME_CLONE3 +#define __ASSUME_CLONE3 0 + #endif /* _KERNEL_FEATURES_H */ |