From patchwork Fri May 18 15:43:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 916439 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-92606-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="GK9kffvH"; dkim-atps=neutral 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 40nXWf06kSz9s08 for ; Sat, 19 May 2018 01:43:25 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=AG/1nnU/9o3jR+vEz6KjY7FlmsIH/ Aepfiuto7UYz7Nsmu0bQZ6bkWT5Dkfj9RCfr+k8hmifd9hr9oRseSL0qhq4YONkG xp83DHqUftsNBaF9dnY4PpQULwCQq6sCB1qf18t78U4sxjJJeFbUHETHYTEx4CFR xxPR85F5bEG4hY= 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:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=Y6TB3UEACYNwsDLMwaQxQR2Qn1U=; b=GK9 kffvHUFbr26IEPYKKrmXlRt5MDuKIIKQw4Tpn4pQ2GLx8IGnLENVYrQlfI78GhyR 9ZUddRl52CLxheYyqSbfz3lwbheuoFv797RUpFHDc85wcq0pvFD6bxxYOHq//oOf KUVs/ITbTy70M2LDHilGW8tgTdvVEdbakTzWN6Cg= Received: (qmail 80117 invoked by alias); 18 May 2018 15:43:20 -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 80098 invoked by uid 89); 18 May 2018 15:43:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Fri, 18 May 2018 15:43:12 +0000 From: Joseph Myers To: Subject: Obsolete nfsservctl Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) The Linux nfsservctl syscall was removed in Linux 3.1. Since the minimum kernel version for use with glibc is 3.2, the glibc wrapper for this syscall can no longer usefully be called. This patch makes it into a compat symbol, not provided at all for static linking or new ports. (It was already the case that there was no header declaration of this function.) Tested for x86_64. 2018-05-18 Joseph Myers * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a compat symbol, disabled for minimum symbol version GLIBC_2.28 and later. diff --git a/NEWS b/NEWS index 4899a0a..bade9e4 100644 --- a/NEWS +++ b/NEWS @@ -69,6 +69,11 @@ Deprecated and removed features, and other changes affecting compatibility: binaries; the headers and have been removed. This function has been deprecated in favor of fstatfs and statfs. +* The obsolete function nfsservctl is no longer available to newly linked + binaries. This function was specific to systems using the Linux kernel + and could not usefully be used with the GNU C Library on systems with + version 3.1 or later of the Linux kernel. + Changes to build and runtime requirements: [Add changes to build and runtime requirements here] diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list index e3dfd0c..e24ea29 100644 --- a/sysdeps/unix/sysv/linux/syscalls.list +++ b/sysdeps/unix/sysv/linux/syscalls.list @@ -41,7 +41,7 @@ mount EXTRA mount i:sssip __mount mount mremap EXTRA mremap b:ainip __mremap mremap munlock - munlock i:ai munlock munlockall - munlockall i: munlockall -nfsservctl EXTRA nfsservctl i:ipp nfsservctl +nfsservctl EXTRA nfsservctl i:ipp __compat_nfsservctl nfsservctl@GLIBC_2.0:GLIBC_2.28 pipe - pipe i:f __pipe pipe pipe2 - pipe2 i:fi __pipe2 pipe2 pivot_root EXTRA pivot_root i:ss pivot_root