From patchwork Mon Jul 6 19:03:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 39923 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A37963861896; Mon, 6 Jul 2020 19:03:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A37963861896 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1594062197; bh=iGv8R+a4LUb2BsVEF3BuQmHQoBfnEvaQcRGAYgJ2LtE=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=vEZukScMmEAzEkB+zjinPAXdFslk1PiGjk9mW4xC+6Mj17Htd32j4rO/rMg4pjkth cIs2PH1FvFD9rh32ff7PVo0dM7oI2r1LywrA86wDmOQBTENC+fHdNqrZDdreaYmaoT Gbi++Szu4V/jweGfZI03WUIfpiYhY7hlP7ZpRzho= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by sourceware.org (Postfix) with ESMTP id 7663D3858D37 for ; Mon, 6 Jul 2020 19:03:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7663D3858D37 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-94-4Lzlz5W8OXeUFZO0s32gSQ-1; Mon, 06 Jul 2020 15:03:09 -0400 X-MC-Unique: 4Lzlz5W8OXeUFZO0s32gSQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C97C0800D5C for ; Mon, 6 Jul 2020 19:03:08 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-112-118.ams2.redhat.com [10.36.112.118]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2A94D10013C2; Mon, 6 Jul 2020 19:03:04 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH 0/4] sunrpc symbol cleanups Message-Id: Date: Mon, 06 Jul 2020 21:03:03 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Florian Weimer via Libc-alpha From: Florian Weimer Reply-To: Florian Weimer Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" This series clears up a few unintentional symbol exports. What's left are the the NSS RPC functions, which do not have full equivalents in libtirpc as of today (only some of these functions are implemented there). Tested with and without --enable-obsolete-rpc --enable-obsolete-nsl, and built with build-many-glibcs.py. Florian Weimer (4): sunrpc: Turn clnt_sperrno into a libc_hidden_nolink_sunrpc symbol sunrpc: Do not export key handling hooks by default sunrpc: Do not export getrpcport by default nss: Remove cryptographic key support from nss_files, nss_nis, nss_nisplus NEWS | 6 + nis/Makefile | 2 +- nis/nss_nis/nis-publickey.c | 234 ---------------- nis/nss_nisplus/nisplus-publickey.c | 411 ---------------------------- nss/Makefile | 3 +- nss/nss_files/files-key.c | 113 -------- sunrpc/clnt_perr.c | 4 + sunrpc/getrpcport.c | 5 + sunrpc/key_call.c | 17 +- 9 files changed, 32 insertions(+), 763 deletions(-) delete mode 100644 nis/nss_nis/nis-publickey.c delete mode 100644 nis/nss_nisplus/nisplus-publickey.c delete mode 100644 nss/nss_files/files-key.c