Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9291019rwr; Thu, 11 May 2023 12:42:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6sbjBsuQWKPyiMqrd/5q8x+FCD32GZsJd/HfTqIzImC9I66Itta/hMcFHoK1o9B1jAAcER X-Received: by 2002:a17:902:ec8c:b0:1a9:80a0:47ef with SMTP id x12-20020a170902ec8c00b001a980a047efmr34053689plg.20.1683834124544; Thu, 11 May 2023 12:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683834124; cv=none; d=google.com; s=arc-20160816; b=AeZBiscuUe7sM1rXLprvy0tiWZZRJCrp3axtcY+qqojVWAWxz4bDbiuDM0cad/QxVz gFjpzTuXzgaUGs5ssglJ+cmHhfM+prYbiX1gncBmxNYSAp8SDeJ4tS5YPcmYIdZrH0fd uBoov+zhAiQ58VWleV2KyJpe0uMJ2CsvkDgKclwiBM21P5lFumVw5Zk8wO9uh5tMvB+v lk5GndNupO0SeZiihAm3nIdnk6GASihS9n2Q2P5QFhmq65o1Wce6ltYmEGW78053FfOG scwtH876OgoFYP6UhtHujV4B9TJQVuoCQyIGdUmMgeBC/sdIxUTAp8agKdDyOn+jA5+9 +9/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=c4y9ehrg743FuJsYRQgdFBgKVGOgrzengkNpj2cvWQc=; b=tGmr+aGrHU7MeqJmPdqrMyrCGDQ7fUjGjOnU7lFEVmchOqRSUse0GDb24GXyEim24B Uk4eWIZtzw+R7QZDV2cPoxsHRrfn7Q6OAzDpxn5vsGDj7dY19f25oEPfNJZUsoLXXXgk NEDKX0AZw/mexETnxzXuTv0e6GgHJI1huS1sbDJiaAE/iJ5Rz5ZHYdPfdCbNATXZmCaR z6lspC/AjZwineygNqyi/bA/DnEdYvAhYI+Zt4Q18pCGwPY7ys6ws446UYTbyFH2Bv7t nmrTPfZb7ofLaa17QBTrZKow8y+u17P2EYRC88Y1KX2ahwQAgxQNTGBc1pLnBE+16dSB 2YpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XZAx9SlI; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a170902eb4600b001ab0b0e194dsi7305776pli.175.2023.05.11.12.41.42; Thu, 11 May 2023 12:42:04 -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=@redhat.com header.s=mimecast20190719 header.b=XZAx9SlI; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239447AbjEKTlR (ORCPT + 99 others); Thu, 11 May 2023 15:41:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239446AbjEKTkr (ORCPT ); Thu, 11 May 2023 15:40:47 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFC811981 for ; Thu, 11 May 2023 12:39:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683833949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c4y9ehrg743FuJsYRQgdFBgKVGOgrzengkNpj2cvWQc=; b=XZAx9SlIp8CuLqJflZm/y+OJrcgAs7HtKrxb/MdKVnwArLnreTmcNTjjUTaIP5Ptr41kQL dniftJhduIZy3G+wKxeDk/7j3o1lFVJIdIhc39MW4TOtP4OBkhswbM1c9+uYBcoiSFP25H P0xBR/rKfGy2uP0X1vvWBQ5dIkK4cMk= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-203-qGWMNa5_NdamXgUJwSJVCg-1; Thu, 11 May 2023 15:39:07 -0400 X-MC-Unique: qGWMNa5_NdamXgUJwSJVCg-1 Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-757829463dfso14235285a.0 for ; Thu, 11 May 2023 12:39:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683833946; x=1686425946; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c4y9ehrg743FuJsYRQgdFBgKVGOgrzengkNpj2cvWQc=; b=YvzhxTfD2AHPOTU7QXLb3lh7kbObSixlA8pANhJBhiR32IeXaVRAaH36OSmMZyoeBW KSL0IlWYtUebMLebyDCJeF9D8SdUXsJOSE9OfFv23cu+yQn8N/7I+msS7z7iBdH20KMw RpcI34ygCrNc8JSAddo72yeKA5AfCItZtPnHKft6Yy77QGoJu0RG5K2p865t3zzo3blV d3D30boxokn3/augGThGRrj9CeXF32h6E0+kipq8a0jAMavda17QW/dPY1mNO6AsB1WD S9FHdWxuyV4jOcqwv7nY3GzBO08JGN5HdqudjAlfuPDx85zvq6zWsVyp8ZYdOWxgT8Q8 YYqg== X-Gm-Message-State: AC+VfDyMKJHnjQFlAyVLKTTqfx95uPFHGXYwru2bDBIvf8kJm7HnBGNS i8VOrSQ8j8ndyBQjqoSFJEVwCRdzt3UFE01kfGmaRQgbl/YeCQIQbmHQDkyD/NsjgxNHjfNZ9zN Rt//SO1oot4OqkhvU2AoDArAYz+c1 X-Received: by 2002:a05:622a:1807:b0:3f3:98b7:7df with SMTP id t7-20020a05622a180700b003f398b707dfmr16413880qtc.6.1683833945832; Thu, 11 May 2023 12:39:05 -0700 (PDT) X-Received: by 2002:a05:622a:1807:b0:3f3:98b7:7df with SMTP id t7-20020a05622a180700b003f398b707dfmr16413858qtc.6.1683833945554; Thu, 11 May 2023 12:39:05 -0700 (PDT) Received: from [10.19.60.48] (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id z29-20020ac8431d000000b003f3941ba4d9sm2494515qtm.32.2023.05.11.12.39.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 12:39:04 -0700 (PDT) Message-ID: <9914d172-986f-7c86-fe03-4378e64383f1@redhat.com> Date: Thu, 11 May 2023 15:39:04 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 0/2] Minor improvements for fsidd in nfs-utils Content-Language: en-US To: NeilBrown , Richard Weinberger Cc: linux-nfs@vger.kernel.org References: <168352657591.17279.393573102599959056.stgit@noble.brown> From: Steve Dickson In-Reply-To: <168352657591.17279.393573102599959056.stgit@noble.brown> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 On 5/8/23 2:19 AM, NeilBrown wrote: > nfs-utils in openSUSE was recently updated to a version with fsidd and a > routine security audit was performed. No real security issues were > found but a couple of oddities were highlighted. The follow two patches > propose ways to clean up these oddities. > > NeilBrown > > > --- > > NeilBrown (2): > fsidd: don't use assert() on expr with side-effect. > fsidd: provide better default socket name. > > > support/reexport/fsidd.c | 38 +++++++++++++++++++++---------------- > support/reexport/reexport.c | 3 +++ > support/reexport/reexport.h | 2 +- > 3 files changed, 26 insertions(+), 17 deletions(-) > > -- > Signature > Committed... (tag: nfs-utils-2-6-4-rc1) steved