This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH 1/2] sparc32: Mark sendmsg and recvmsg system calls as unsupported
- From: David Miller <davem at davemloft dot net>
- To: andreas at gaisler dot com
- Cc: libc-alpha at sourceware dot org, adhemerval dot zanella at linaro dot org, carlos at redhat dot com, triegel at redhat dot com, software at gaisler dot com
- Date: Fri, 04 Nov 2016 14:36:26 -0400 (EDT)
- Subject: Re: [RFC][PATCH 1/2] sparc32: Mark sendmsg and recvmsg system calls as unsupported
- Authentication-results: sourceware.org; auth=none
- References: <1478012867-6031-1-git-send-email-andreas@gaisler.com> <1478012867-6031-2-git-send-email-andreas@gaisler.com>
From: Andreas Larsson <andreas@gaisler.com>
Date: Tue, 1 Nov 2016 16:07:46 +0100
> @@ -32,8 +32,10 @@
> #include_next <kernel-features.h>
>
> /* 32-bit SPARC kernels do not support
> - futex_atomic_cmpxchg_inatomic. */
> + futex_atomic_cmpxchg_inatomic or sendmsg/recvmsg. */
> #if !defined __arch64__ && !defined __sparc_v9__
> # undef __ASSUME_REQUEUE_PI
> # undef __ASSUME_SET_ROBUST_LIST
> +# undef __ASSUME_SENDMSG_SYSCALL
> +# undef __ASSUME_RECVMSG_SYSCALL
> #endif
As mentioned elsewhere, these are available on 4.4. and later kernels.