Fix __ASSUME_RECVMMSG issues (bug 16610)
Joseph S. Myers
joseph@codesourcery.com
Thu Feb 20 02:26:00 GMT 2014
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
More information about the Libc-alpha
mailing list