From patchwork Wed Mar 2 08:25:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 590883 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 B357E14029E for ; Wed, 2 Mar 2016 19:26:03 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=xXvQewu1; 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=lpO+YlZ3hOPRjD+TixjiUmdMd3s37jz r+f1Z1LC1seots9ZzpKBXW9JWega+iGzLzXT7QLfbqjMobMzPx/3uN7tfEf9iR5T WhC9kOgXEngO3X6hfNtBcxw7iXEfk3gV3pt7hYZssqhaYW4VAXeITDOywR1srCZM C3Y4IJG0G7uA= 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=dcQBTAa+msfevyP/5Hpt/FyOup8=; b=xXvQe wu1u5pIfOAelobsQRIrs00l3CPw6HM6nd9Qkr2lmDAWHoPjIBFiK9mGdyf6ktIw1 O21W65g85UmMzj4Hpp/Vc6Q+e5Xl34bcl6EB16JZOFi2kW/7pisc/plHyB2+Bovf tAI+kxf3esQyRPG1AdTavnU3lqcPca6/Qui1O4= Received: (qmail 84587 invoked by alias); 2 Mar 2016 08:25:48 -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 84525 invoked by uid 89); 2 Mar 2016 08:25:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=2.7.0, U*aurelien, sk:aurelie, aurelien@aurel32.net X-HELO: hall.aurel32.net From: Aurelien Jarno To: libc-alpha@sourceware.org Cc: "David S . Miller" , Aurelien Jarno Subject: [PATCH v2 1/2] sparc64: remove bind, listen and setsockopt from syscalls.list Date: Wed, 2 Mar 2016 09:25:22 +0100 Message-Id: <1456907123-6199-2-git-send-email-aurelien@aurel32.net> In-Reply-To: <1456907123-6199-1-git-send-email-aurelien@aurel32.net> References: <1456907123-6199-1-git-send-email-aurelien@aurel32.net> The bind, listen and setsockopt syscalls have recently been added in kernel 4.4. They should therefore not appear in syscalls.list as it means they are use inconditionally instead of possibly using the the socketcall fallback. All other syscalls from syscalls.list with an equivalent socketcall version are available in kernel 3.2, which is the required minimum. Changelog: * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind, listen, setsockopt): Remove. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) I plan to backport this change into version 2.21, 2.22 and 2.23. I can also backport it to older versions if requested. diff --git a/ChangeLog b/ChangeLog index 787fef1..f01786b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-03-02 Aurelien Jarno + + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind, listen, + setsockopt): Remove. + 2016-03-01 H.J. Lu * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list b/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list index 3d1c1da..cf18eb4 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list @@ -3,18 +3,15 @@ # Override select.S in parent directory: select - select C:5 __select select accept - accept C:3 __libc_accept __accept accept -bind - bind 3 __bind bind connect - connect C:3 __libc_connect __connect connect getpeername - getpeername 3 __getpeername getpeername getsockname - getsockname 3 __getsockname getsockname getsockopt - getsockopt 5 __getsockopt getsockopt -listen - listen 2 __listen listen recv - recv C:4 __libc_recv __recv recv recvfrom - recvfrom C:6 __libc_recvfrom __recvfrom recvfrom recvmsg - recvmsg C:3 __libc_recvmsg __recvmsg recvmsg send - send C:4 __libc_send __send send sendmsg - sendmsg C:3 __libc_sendmsg __sendmsg sendmsg sendto - sendto C:6 __libc_sendto __sendto sendto -setsockopt - setsockopt 5 __setsockopt setsockopt shutdown - shutdown 2 __shutdown shutdown socketpair - socketpair 4 __socketpair socketpair