about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2022-10-19 19:14:21 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-12-07 13:42:05 -0300
commit215bf99347be78f80ea1e9d7d717a4b67616e28d (patch)
tree10e3902413668921347b400f32932f2ce63dbc03 /sysdeps/unix/sysv/linux/kernel-features.h
parenta33919698b8b7e556f2eaf7d8550842ee654f2ae (diff)
downloadglibc-215bf99347be78f80ea1e9d7d717a4b67616e28d.tar.gz
glibc-215bf99347be78f80ea1e9d7d717a4b67616e28d.tar.xz
glibc-215bf99347be78f80ea1e9d7d717a4b67616e28d.zip
Linux: Assume and consolidate bind 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/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 74adc3956b..3dc93f5b11 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -79,6 +79,7 @@
 #define __ASSUME_SENDMMSG_SYSCALL	1
 #define __ASSUME_GETSOCKOPT_SYSCALL	1
 #define __ASSUME_SETSOCKOPT_SYSCALL	1
+#define __ASSUME_BIND_SYSCALL		1
 
 /* Support for SysV IPC through wired syscalls.  All supported architectures
    either support ipc syscall and/or all the ipc correspondent syscalls.  */