This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix __ASSUME_RECVMMSG issues (bug 16610)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Cc: Chris Metcalf <cmetcalf at tilera dot com>
- Date: Thu, 20 Feb 2014 02:26:36 +0000
- Subject: Re: Fix __ASSUME_RECVMMSG issues (bug 16610)
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1402200038330 dot 5004 at digraph dot polyomino dot org dot uk>
On Thu, 20 Feb 2014, Joseph S. Myers wrote:
> diff --git a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
> index 413b4a0..ec3c3a2 100644
> --- a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
> +++ b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
> @@ -29,9 +29,11 @@
> #define __ASSUME_SIGNALFD4 1
> #define __ASSUME_DUP3 1
>
> -/* Support for the accept4 syscall was added in 2.6.33. */
> +/* Support for the accept4 and recvmmsg syscalls was added in 2.6.33. */
> #if __LINUX_KERNEL_VERSION >= 0x020621
> # define __ASSUME_ACCEPT4_SYSCALL 1
> +# define __ASSUME_RECVMMSG_SYSCALL 1
> +# define __ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL 1
> #endif
Correction: the __ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL definition
should be unconditional, presume that change would be made at commit time.
--
Joseph S. Myers
joseph@codesourcery.com