From patchwork Tue Mar 1 15:17:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 590569 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 5E3BD140324 for ; Wed, 2 Mar 2016 02:17:56 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=Kht17uA+; 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; q=dns; s= default; b=ZQA5pSblhd3EG7a+0p0lFQPew9U1g7buSeGwvqHqDJrEgyMJvl8X5 21pUNl7Iu3dHPiljCBzRNQfQBk1WQ7YRatIt+vO/y1t24kOPeQUw9TGtxQslUTKL TMh74M2XGErKYBxUyrfnz43CS5StT0upeE4VZkzPGpzeRENcD+iNbk= 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; s=default; bh=v/s0uUBJQYlfX/nQH/54hfJmPfg=; b=Kht17uA+6s9+TjnSwrwIGJRMJehr o757Wm1kyQCNn+1gzUMnJdEB5R5RROU5zeyLxfRA/m/SkEovlxJPmZvjHL67wdeU 0A9Ijudfy9bv/Kq7OZjW7lyREJi0kIkPpBN+yvgpP6tLRGZs6HaoVDKMzU6QI0Vy L7z8zLqQZ2OXmX8= Received: (qmail 13337 invoked by alias); 1 Mar 2016 15:17:50 -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 13321 invoked by uid 89); 1 Mar 2016 15:17:50 -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=4.4, 2.7.0, jarno, Aurelien X-HELO: hall.aurel32.net From: Aurelien Jarno To: libc-alpha@sourceware.org Cc: "David S . Miller" , Aurelien Jarno Subject: [PATCH] sparc64: remove bind, listen and setsockopt from syscalls.list Date: Tue, 1 Mar 2016 16:17:29 +0100 Message-Id: <1456845449-1871-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(-) diff --git a/ChangeLog b/ChangeLog index 9dabeca..fb14699 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-03-01 Aurelien Jarno + + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind, listen, + setsockopt): Remove. + 2016-02-26 Joseph Myers * sysdeps/unix/sysv/linux/alpha/kernel-features.h 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