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: 689953 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t7ZPQ1j16z9t25 for ; Wed, 2 Nov 2016 02:08:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=lHdu0O1P; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=w8Br/OsEOuTJkNC/wO1CXUoLXpR5y8d UjtmUQRY3/u0gGqXm9LlerAMpyZC/51Hp9NpkygRh+Zao5WJBaFva66jG/Tb5IO1 TL4k+0WjpbUFia2iHJ1YZf2NXMpbNYvoIq4UYEOfUNhTRcPHN7TZTiGkt3yBr2RN H0bE+Hm951Iw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=72oopisA8DUrIbwT+OwNK27KFN4=; b=lHdu0 O1PRuUk67jswJgVZKO8IvcFQcQVq/wjhZQHc0E9Z3sq7Uhqa7BRkAf1Eqt6x4MYM fxH0P1aGGVdpdzYszoUvFxHoIGjoXdK+maTGcAAM9o+9GBAoUnlSK8tDDKu+JjFu 39ibNIarqfNV83RMBUAKl60ma7RvjwlybtGbiY= 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