diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2022-10-19 19:14:24 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-12-07 14:11:53 -0300 |
commit | 377a14a22a202a0a161778b31a86d3cb6958dc43 (patch) | |
tree | 6602b27e863952750300d32cd7443f6e13b837e4 /sysdeps/unix/sysv/linux/sparc | |
parent | d00783653a56020be669c304f18d39c10dc9eae9 (diff) | |
download | glibc-377a14a22a202a0a161778b31a86d3cb6958dc43.tar.gz glibc-377a14a22a202a0a161778b31a86d3cb6958dc43.tar.xz glibc-377a14a22a202a0a161778b31a86d3cb6958dc43.zip |
Linux: Assume and consolidate listen wire-up syscall
And disable if kernel does not support it. Checked on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc')
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/kernel-features.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/kernel-features.h b/sysdeps/unix/sysv/linux/sparc/kernel-features.h index f43e5c384f..7070aaa1ae 100644 --- a/sysdeps/unix/sysv/linux/sparc/kernel-features.h +++ b/sysdeps/unix/sysv/linux/sparc/kernel-features.h @@ -45,12 +45,9 @@ #endif /* These syscalls were added for both 32-bit and 64-bit in 4.4. */ -#if __LINUX_KERNEL_VERSION >= 0x040400 -# define __ASSUME_LISTEN_SYSCALL 1 -#endif - #if __LINUX_KERNEL_VERSION < 0x040400 # undef __ASSUME_BIND_SYSCALL +# undef __ASSUME_LISTEN_SYSCALL #endif #ifdef __arch64__ |