mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
* sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new
syscalls, too.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2008-07-25 Ulrich Drepper <drepper@redhat.com>
|
2008-07-25 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new
|
||||||
|
syscalls, too.
|
||||||
|
|
||||||
* nscd/connections.c (nscd_init): Clean up fcntl call.
|
* nscd/connections.c (nscd_init): Clean up fcntl call.
|
||||||
|
|
||||||
* nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and
|
* nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and
|
||||||
|
@ -501,7 +501,7 @@
|
|||||||
/* Support for various CLOEXEC and NONBLOCK flags was added for x86 and
|
/* Support for various CLOEXEC and NONBLOCK flags was added for x86 and
|
||||||
x86-64 in 2.6.27. */
|
x86-64 in 2.6.27. */
|
||||||
#if __LINUX_KERNEL_VERSION >= 0x02061b \
|
#if __LINUX_KERNEL_VERSION >= 0x02061b \
|
||||||
&& (defined __i386__ || defined __x86_64__)
|
&& (defined __i386__ || defined __x86_64__ || defined __powerpc__)
|
||||||
# define __ASSUME_SOCK_CLOEXEC 1
|
# define __ASSUME_SOCK_CLOEXEC 1
|
||||||
# define __ASSUME_IN_NONBLOCK 1
|
# define __ASSUME_IN_NONBLOCK 1
|
||||||
# define __ASSUME_PACCEPT 1
|
# define __ASSUME_PACCEPT 1
|
||||||
|
Reference in New Issue
Block a user