From patchwork Tue Nov 1 15:07:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Larsson X-Patchwork-Id: 17084 Received: (qmail 79303 invoked by alias); 1 Nov 2016 15:08:35 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 79289 invoked by uid 89); 1 Nov 2016 15:08:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*Ad:U*davem, H*MI:sk:1478012, H*F:U*andreas, Hx-spam-relays-external:ESMTPA X-HELO: bin-vsp-out-03.atm.binero.net X-Halon-ID: 0b81d735-a045-11e6-99f1-0050569116f7 Authorized-sender: andreas@gaisler.com From: Andreas Larsson To: GNU C Library Cc: Adhemerval Zanella , Carlos O'Donell , David Miller , Torvald Riegel , software@gaisler.com Subject: [RFC][PATCH 1/2] sparc32: Mark sendmsg and recvmsg system calls as unsupported Date: Tue, 1 Nov 2016 16:07:46 +0100 Message-Id: <1478012867-6031-2-git-send-email-andreas@gaisler.com> In-Reply-To: <1478012867-6031-1-git-send-email-andreas@gaisler.com> References: <1478012867-6031-1-git-send-email-andreas@gaisler.com> This fixes a bug introduced by abf29edd4a3918 that missed fixing up sparc32 in the change. * sysdeps/unix/sysv/linux/sparc/kernel-features.h: Undefine __ASSUME_SENDMSG_SYSCALL and __ASSUME_RECVMSG_SYSCALL for 32-bit sparcv8 --- sysdeps/unix/sysv/linux/sparc/kernel-features.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/sparc/kernel-features.h b/sysdeps/unix/sysv/linux/sparc/kernel-features.h index 69c9c7c..db3f5cd 100644 --- a/sysdeps/unix/sysv/linux/sparc/kernel-features.h +++ b/sysdeps/unix/sysv/linux/sparc/kernel-features.h @@ -32,8 +32,10 @@ #include_next /* 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