diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-07-05 13:44:26 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-07-06 11:45:35 -0300 |
commit | 1c46663a70d7225102b9c7adda542d3782353db6 (patch) | |
tree | 5fa77bf1de1cf2bec11954a68d7cb0e63f37b7bd /sysdeps/unix/sysv/linux/ia64 | |
parent | b156c5f0a72eca8b28e1e5a5e51f29cf5ffb3bfb (diff) | |
download | glibc-1c46663a70d7225102b9c7adda542d3782353db6.tar glibc-1c46663a70d7225102b9c7adda542d3782353db6.tar.gz glibc-1c46663a70d7225102b9c7adda542d3782353db6.tar.bz2 glibc-1c46663a70d7225102b9c7adda542d3782353db6.zip |
linux: Consolidate Linux getsockopt implementation
This patch consolidates the getsockopt Linux syscall implementation on
sysdeps/unix/sysv/linux/getsockopt.c. The changes are:
1. Remove it from auto-generation syscalls.list on all architectures.
2. Add __ASSUME_GETSOCKOPT_SYSCALL as default and undef if for
specific kernel versions on some architectures.
This also fix a potential issue where 32-bit time_t ABI should use the
linux getsockopt which overrides the underlying SO_* constants used for
socket timestamping for _TIME_BITS=64.
Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/syscalls.list | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/syscalls.list b/sysdeps/unix/sysv/linux/ia64/syscalls.list index bd39441d3c..c0e9ea207c 100644 --- a/sysdeps/unix/sysv/linux/ia64/syscalls.list +++ b/sysdeps/unix/sysv/linux/ia64/syscalls.list @@ -6,7 +6,6 @@ getpriority - getpriority i:ii __getpriority getpriority bind - bind i:ipi __bind bind getpeername - getpeername i:ipp __getpeername getpeername getsockname - getsockname i:ipp __getsockname getsockname -getsockopt - getsockopt i:iiiBN __getsockopt getsockopt listen - listen i:ii __listen listen setsockopt - setsockopt i:iiibn __setsockopt setsockopt shutdown - shutdown i:ii __shutdown shutdown |