Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7959154rwr; Wed, 10 May 2023 15:32:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6DvBpie3MOLIok9oHg/jqm3tdvteofkrEg6FJW0f/bNgY8kkz2NUTqfkFDXH8BxijUqKOl X-Received: by 2002:a05:6a21:3399:b0:ec:e5bb:1bc4 with SMTP id yy25-20020a056a21339900b000ece5bb1bc4mr25124953pzb.6.1683757942869; Wed, 10 May 2023 15:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683757942; cv=none; d=google.com; s=arc-20160816; b=qkklcsu2sDXJUnjrXLvTVdOHETKCgaW0RYGKO2zD/u7AUtYJpqtWNOQQ4HG0Ji9bH0 PaFerYMBVeIxjiFTLexZs8aRBIhkJJL9xjVO9nivScrq1yestCeaFh4pS3twI5sVsZ/p 945YqLczJKjRQMNTXEN3D3QZ1MAM5tuDFiq62eH/IEXoZq8dN/LuN8Ow07GFE4WmTBYT tljarntrJ3TVsdTyCCsJ1Fe/PSfx65C7sqdkIPNILMTAAYYA4ftB6FayiTR16LCmTP78 0K7jLszVVVXzlnlyN7NSfQNyPsrFw3V/LrJ/8qtimh1Y+DskMo2rEtIVY4pwch4CySdg XmiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:to:from:subject:dkim-signature :dkim-signature; bh=PAmJSmidmu2ZrpzdtjiVp9n0VBi1WvWtG9Dt6sCh2FI=; b=bAj0m+WnNHmKoTvfEMw5FqiwJJKaEkhNWkqJKE5m/KhQiF86tVc01iE0oh795O+U2t 7u4JQq58+PYhRLKLpTfZ55dYjFy9PR2sMCIYtz4Ks0ieNIv1oKgzJHSVx1o/MpTBCXPk XdX5rzF4wNGOXnbFA8mWYiQJP6D7nWcqL15id2buBRARL6PRs1upDZqX27NAOVwfFELY +JmtlUCQhGLCXeHokwa6DDccSQOh8LeM72Q0jAY4DY9f187f4rUdFkodMFF3Fkv/jvqY wY4GE6fQOJjMIYDXTxl7ppggBQDRYSs3CaauMqZzbaMe323Z2jGdgJ97dVrPK5E0lMqb Y/0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qLR8rUlR; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a639313000000b0052170d22eadsi4964415pge.743.2023.05.10.15.32.07; Wed, 10 May 2023 15:32:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qLR8rUlR; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232071AbjEJWVJ (ORCPT + 99 others); Wed, 10 May 2023 18:21:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbjEJWVI (ORCPT ); Wed, 10 May 2023 18:21:08 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81992198 for ; Wed, 10 May 2023 15:21:04 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3F4921FD72; Wed, 10 May 2023 22:21:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683757263; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PAmJSmidmu2ZrpzdtjiVp9n0VBi1WvWtG9Dt6sCh2FI=; b=qLR8rUlRlmtjixFsQ3up5G4jxySW5j/pG+HrbC+UJPqDQxfJuRbaP2y/TwlVSrDl7e/cSr loAB1lzlKeAZmm6sa58451jn8PzeAhOhzHEh5+6z4LIZvdTMlEBZITylKzqktN/QjuJcuy Y0RPsy0wUJb0lt0/VkW/17uKSWLLrxc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683757263; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PAmJSmidmu2ZrpzdtjiVp9n0VBi1WvWtG9Dt6sCh2FI=; b=GAwKYun8H1FoUW+rsOEcnTuyaDpIgQ+Dumk743ep0Fsem2SZlQlQaAO+JfFwHyWHuZhCgn 25vQzvxhNODRRYBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 36D7413519; Wed, 10 May 2023 22:21:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id nlrcN8wYXGQNCgAAMHmgww (envelope-from ); Wed, 10 May 2023 22:21:00 +0000 Subject: [PATCH 0/3] Support abstract addresses for rpcbind in libtirpc From: NeilBrown To: Jeff Layton , Trond Myklebust Cc: linux-nfs@vger.kernel.org, Petr Vorel , Nikita Yushchenko , Steve Dickson Date: Thu, 11 May 2023 08:20:45 +1000 Message-ID: <168375715312.25049.2010665843445641504.stgit@noble.brown> User-Agent: StGit/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org To accompany the kernel patches, these patches enhance libtirpc to work with abstract addresses, and to attempt to reach rpcbind using the proposed new abstract address: "\0/run/rpcbind.sock" NeilBrown --- NeilBrown (3): Allow working with abstract AF_UNIX addresses. Change local_rpcb() to take a targaddr pointer. Try using a new abstract address when connecting rpcbind src/rpc_com.h | 6 +++ src/rpc_generic.c | 18 ++++--- src/rpc_soc.c | 6 ++- src/rpcb_clnt.c | 112 ++++++++++++++++++++++-------------------- tirpc/rpc/rpcb_prot.h | 1 + tirpc/rpc/rpcb_prot.x | 1 + 6 files changed, 85 insertions(+), 59 deletions(-) -- Signature