Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new
Browse files Browse the repository at this point in the history
	syscalls, too.
  • Loading branch information
Ulrich Drepper committed Jul 25, 2008
1 parent 9dd8477 commit bb0277b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
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/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/kernel-features.h
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@
/* Support for various CLOEXEC and NONBLOCK flags was added for x86 and
x86-64 in 2.6.27. */
#if __LINUX_KERNEL_VERSION >= 0x02061b \
&& (defined __i386__ || defined __x86_64__)
&& (defined __i386__ || defined __x86_64__ || defined __powerpc__)
# define __ASSUME_SOCK_CLOEXEC 1
# define __ASSUME_IN_NONBLOCK 1
# define __ASSUME_PACCEPT 1
Expand Down

0 comments on commit bb0277b

Please sign in to comment.