From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22723 invoked from network); 21 Sep 2021 03:39:17 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 21 Sep 2021 03:39:17 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1632195557; b=ngwP3dCSmyLNPV6jSWZ6TQLcTYBY2sHsLoB9iv6pZrrXSdrK58Z/tl1IgjaiQ4JoRUcAd2v8kM FSfER6W7F52cKah3f/KXP38nB2KEbMTFzZlJUd2MBUxem5uuFvozZO1PWSbL72o5SrWdOG0BmJ X1mgObY8dlcKYB5fQxwadBktMwYHZ1qT/bggQkVPJtK59MyeyWKbuqUe6eWbcBHzEmodDspatL 5Kq+gpZRbhR8EDgbRuGhq0cwA+VbBPp1IMjnTujPHAa3ohEZiAeDmaLKq5DLyLgHmeZHk6E6El j0k14SP1ZKlbOSpdzPKwg+cEjQWzGisV21AHWiJs+Xn6/w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-qk1-f179.google.com) smtp.remote-ip=209.85.222.179; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1632195557; bh=R8aEAt+6XqKz4ce25rnK0AfLI5cD/faAv3MyUfwakMc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=daueWxA9VlOo1P0W4Vds3B5hUvlKrsxG2IgyYFMZBYxZ251RkxmRAVuDPfX8ZKPpei9BGQ/9pH o6hng05kP0mzEI5OFkFu4Cd815V9fuAKszRsjKTom9IaYj46yV3564oVcMcWtTE35ufNckrWUD yeK0CNE17GeRU5mjjKkgvKskhKpax+vsVEtP/EqIaXsGNnVitGl8JG0vJv0oWNXHGs+VqPX0YY QqGDYbnBlg6hq/bdLT5E2RMb9td8FMSwdUewt3B6XHwc930lhDPxAZYtDB9MaWDU4ynP3b8IsL HDMVExtOQzLsQ2cIiamSNKC4f+W0GMz0ISAujCiFG4mYPw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=R8aEAt+6XqKz4ce25rnK0AfLI5cD/faAv3MyUfwakMc=; b=oXksjuwzcPGinxEnDq9kU363Pr NpZ0UBrLBQhOkN7V1KKnMqhHPkaNICElp3iZ57GbO24o0T3eRi6SoUHKbyC2/jJZ8Hl08l6759ktR UEGhlPrZL66JVBC8CtjStDLVUQCpNmtq4KYZ/YvuWDYul4PEGC6og0R4wOwgCsHCpgPvfqziS8WVQ 2manhIBFSge+QLnOK9J7/TnegFihJIKm4DhN6lDjjetq/pHEEM+dIzk9kz7cy8fu+Hqvczg2v/tL+ 3AxgQXC8gUPD0geBZ6IJ3AjFWKmxEA1SkmD/G9KtPRs995x2QT9tDArezK6s1QLQV+A6g3mwJ2uDs 23IaOPrQ==; Received: from authenticated user by zero.zsh.org with local id 1mSWcn-000GXJ-Hx; Tue, 21 Sep 2021 03:39:17 +0000 Authentication-Results: zsh.org; iprev=pass (mail-qk1-f179.google.com) smtp.remote-ip=209.85.222.179; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-qk1-f179.google.com ([209.85.222.179]:35636) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mSWcD-000GFF-KJ; Tue, 21 Sep 2021 03:38:43 +0000 Received: by mail-qk1-f179.google.com with SMTP id c7so44664750qka.2 for ; Mon, 20 Sep 2021 20:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=R8aEAt+6XqKz4ce25rnK0AfLI5cD/faAv3MyUfwakMc=; b=2e1UWUup93kSI9scBqjr1U52DeIchCBxuLNCt2/w6O8fDtKko8sS90Ayq9qjfbWC8o hBuc9/Oy0oW6uHv/SE+/DEKgPog9bDxYt8/eD2VmUyGWjpb3t123WkJMwpu1+PGF9FbZ +KoY6Dj/RE70LLTMdVuI8de2Qqdv8vFtSmPqotlwpMQTlFiaWIai3WYMMi82qUxtB+Xm wf7Pc26JO1fI4b9s7sodbn4TaG3dOZRkYtzgk/3vOy1dDFvqWXXknD+WG4YdaYOGPWdj I1Y8j4c+irZRy2pfsJa3yIA8YK3FKKDUEsBJHO1CwAdFep2cLapZPLFmCGsMJBXtAoAi e91A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=R8aEAt+6XqKz4ce25rnK0AfLI5cD/faAv3MyUfwakMc=; b=lbhbUj+kUvw+QB8BzjBDkUGTETXL72eO3QXA3V+QvmHkkeF7jl0eV3eWeaqZ2CwlIR +x/HzClQFfyMi4mnuQSP4oOMmiCZkyiCU1U0yQNf10PKhiLas9h+on7SG90zvhRGFbL2 qOM3Ymxd6UOdNSVJQ4qQzloKKIwDL2JK0uhiJrmbY5Pdmqw8LOz8YopsOTJAAiL8visL 3qCF056P2BTd3nW2bwdLNZebC5A4Y5N4qHUdPutUOeVdq9IpPTpVr6uHW5f2GZHJVmvo hirj3po8pLh6gBM9wyY7K0bctfjOCjsNWFIzqXCNb3WvNJ4kzagOwjcEOnIi6+ZiSaf4 Wo2A== X-Gm-Message-State: AOAM532wob5rIMxZnHyMPvNiYASrnc9IjrKbUVBpSADhYgURQ/xMHUyo 89UE2ZYcagBqIGhdFu0bCmJRc411RUbIVE1AtFLlhA== X-Google-Smtp-Source: ABdhPJyFPI7ecjOnkh50foWrjSwR01gD7p7zw5wSjZz+K3fpDssb0LpwQZTgNV9sBlR59CZDq2t44tvmIhQEtJ3Ie0M= X-Received: by 2002:a25:ba08:: with SMTP id t8mr36963071ybg.111.1632195519909; Mon, 20 Sep 2021 20:38:39 -0700 (PDT) MIME-Version: 1.0 References: <20210908011251.GA2387366@zira.vinc17.org> <20210915143102.pw5uup7bvufi7wse@sym.noone.org> <887BC7E8-0D19-4D16-BFE6-9AE8EA5E9040@kba.biglobe.ne.jp> <20210916121056.p4zainnlnoi74yiw@sym.noone.org> <799F2EE5-EB83-49FB-9E5F-6C20CAB4CA6B@kba.biglobe.ne.jp> <37692D6F-E674-4306-B197-07F34511D5BC@kba.biglobe.ne.jp> In-Reply-To: <37692D6F-E674-4306-B197-07F34511D5BC@kba.biglobe.ne.jp> From: Bart Schaefer Date: Mon, 20 Sep 2021 20:38:29 -0700 Message-ID: Subject: Re: [BUG] With --disable-dynamic-nss, not all functions calls are protected To: Jun T Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 49429 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Mon, Sep 20, 2021 at 5:54 PM Jun T wrote: > > > 2021/09/18 0:02=E3=80=81Bart Schaefer =E3=81= =AE=E3=83=A1=E3=83=BC=E3=83=AB: > > > > On Fri, Sep 17, 2021 at 1:46 AM Jun T wr= ote: > >> > >> (1) issue an error message when user try to use $usergroups > >> (2) do not issue an error but the parameter exists > >> The patch below uses (1), but I have no idea which is the best. > > > > I think I'd go with (2) but add the new PM_DEFAULTED flag so that the > > parameter is permanently unset. > > Do you suggest adding another configure flag? I was not considering that, no. On closer examination of the patch, I see you're just changing the error message, not adding a new case where an error might occur, so ultimately I think it's fine the way you have already patched it.