diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-10-18 16:29:48 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-20 10:20:44 -0300 |
commit | 48d256dee780e6e637a9d34b4232005e779786c2 (patch) | |
tree | 6c59a50bfd4b242e0c0c931a6b80cff97d46f1d1 /sysdeps/unix/sysv/linux/sh | |
parent | a7bf5f4e699a77529171a5fd3eccd842c5c29827 (diff) | |
download | glibc-48d256dee780e6e637a9d34b4232005e779786c2.zip glibc-48d256dee780e6e637a9d34b4232005e779786c2.tar.gz glibc-48d256dee780e6e637a9d34b4232005e779786c2.tar.bz2 |
Linux: Assume and consolidate getpeername 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/sh')
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/kernel-features.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/kernel-features.h b/sysdeps/unix/sysv/linux/sh/kernel-features.h index 76e2de7..953fa8d 100644 --- a/sysdeps/unix/sysv/linux/sh/kernel-features.h +++ b/sysdeps/unix/sysv/linux/sh/kernel-features.h @@ -24,7 +24,6 @@ /* These syscalls were added for SH in 2.6.37. */ #define __ASSUME_CONNECT_SYSCALL 1 -#define __ASSUME_GETPEERNAME_SYSCALL 1 #define __ASSUME_SEND_SYSCALL 1 #define __ASSUME_RECV_SYSCALL 1 |