mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
Linux: Assume and consolidate shutdown 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>
This commit is contained in:
committed by
Adhemerval Zanella
parent
377a14a22a
commit
127945c561
@@ -40,8 +40,6 @@
|
||||
# undef __ASSUME_SENDTO_SYSCALL
|
||||
# undef __ASSUME_GETSOCKOPT_SYSCALL
|
||||
# undef __ASSUME_SETSOCKOPT_SYSCALL
|
||||
#else
|
||||
# define __ASSUME_SHUTDOWN_SYSCALL 1
|
||||
#endif
|
||||
|
||||
/* These syscalls were added for both 32-bit and 64-bit in 4.4. */
|
||||
|
Reference in New Issue
Block a user