aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sh
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2023-08-24 13:42:16 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-09-05 10:15:48 -0300
commitad77b1bcca2499f422528c0af4b6f5565512d8bd (patch)
treebc81901ac25aae5adcc0574a87f3b07f35179176 /sysdeps/unix/sysv/linux/sh
parente7d1c5866448bf3c56a61def84021e6fc19f57e7 (diff)
downloadglibc-ad77b1bcca2499f422528c0af4b6f5565512d8bd.zip
glibc-ad77b1bcca2499f422528c0af4b6f5565512d8bd.tar.gz
glibc-ad77b1bcca2499f422528c0af4b6f5565512d8bd.tar.bz2
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/sh')
-rw-r--r--sysdeps/unix/sysv/linux/sh/kernel-features.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/kernel-features.h b/sysdeps/unix/sysv/linux/sh/kernel-features.h
index 953fa8d..3eaf9e0 100644
--- a/sysdeps/unix/sysv/linux/sh/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/sh/kernel-features.h
@@ -55,4 +55,8 @@
# undef __ASSUME_STATX
#endif
+/* sh does not provide clone3. */
+#undef __ASSUME_CLONE3
+#define __ASSUME_CLONE3 0
+
#endif