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 23178 invoked from network); 16 Sep 2021 18:22:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 16 Sep 2021 18:22:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1631816547; b=ISGGPlEcV6sp4o/iGkp8/yLmu1nJdnWJTvi/IzRj25ccx3j/WMk2os2Z7KzOkBirQYQ293gLjb ipJ2/6Blk3AiBEluDLS9JqaHlVcMztPEHHEiGiIkAzh9JX7myZBg9IPJ1qRmygcW23nkb6tMhW Rf+pUl/YpkNldw3r6I/Y/I05dnmu3Tme8GNxP0yqye6ZEy7RD+SQpIk8tjCwvUJMJVKg8xBgWs mgwhNa/2ediD8La5S8lXhuEQ9piDEWQu79AbPbbxmSQchF0MORrSNJnwN5g3teQnnOhfSV3wrE Z3MKG4Y0xKFdlJAPA6WjkzYeZU+QQKNnt/vK2DqZS0SPRg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd01008-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.24; dmarc=none header.from=kba.biglobe.ne.jp; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1631816547; bh=kcoHxDtlVhI6FDcZXPs5Oxo20A5ALxpnvcuNrm5yRFg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:In-Reply-To:To:References:Date:Subject: MIME-Version:Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=G9B9DZxJfTPcOjFgbWtfIrAx0+8x2GME96t9OOK0iHDixxOFLp0hZEDZ/FJ+zeNUST5biUrkXO Bf6AJfy+qytr+H/2xTQ8AulYHy6DSsfm8shnFKts9EeY1ulxStBLfjoOuxWpWqHQjhpXgZg9Fi iwnhbrdwPrwTI5T0jnFL/mfYk4Nyzi4Kai4JKJ2qVnQdInWtMO9lFDP1sOfqigsKhMjRD3abEM wPveQ1FmpCBaQmQynOCh57YP7UO59rvh+PZGh1j5jkdhUH1U4W6WFjpOR5bf9LHgYilPRYOROx qt7OdKcO1O7QYbnmwZ+/W19J1q4gHMvak1dTLwRnu6aH6A==; 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:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=rjthPUkHfh33qstArGv1gHAuao5qfc3zf1cSjVZv+vI=; b=OeVYK7PCxSPejFC/WXy2TGt3ZP b9lwdcvrjRsFa4SUDdISIEEbmFdepmTuJgxkTRA1zhhp9W2cY9LMfWgR3g4rF/WeamSCzBdnjQvk+ s+h4IZASDRABP+GeORGzweMA5bdSG19QqQUhu+/ADgpokaLEtoZ7cpmt9btcle3YNfqRsM2/NDGaG dXHDFpWCigVGyRW9uG2roz9rTbjDpqm+pwsbVPI2jPrGo7z95F/bR/XygSAk5Vi0O7HcKo2iz0v/v W5t0Q9Zz1U42KJLySTwg06AKVhQY6Ub3+pMsQaH3MtdjvdCvwZUONen8ULUyRMCF2HhqWL2IbZexC 1tMexHAg==; Received: from authenticated user by zero.zsh.org with local id 1mQw1i-000D4j-7d; Thu, 16 Sep 2021 18:22:26 +0000 Authentication-Results: zsh.org; iprev=pass (snd01008-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.24; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd01008-bg.im.kddi.ne.jp ([27.86.113.24]:1984 helo=dfmta1015.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mQw18-000ClZ-DW; Thu, 16 Sep 2021 18:21:52 +0000 Received: from mail.biglobe.ne.jp by omta1015.biglobe.ne.jp with ESMTP id <20210916182144381.CJWI.129695.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Fri, 17 Sep 2021 03:21:44 +0900 From: "Jun. T" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [BUG] With --disable-dynamic-nss, not all functions calls are protected Date: Fri, 17 Sep 2021 03:21:43 +0900 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> To: zsh-workers@zsh.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.21) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 49417 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: > 2021/09/17 1:48, Bart Schaefer wrote: > > Hmm. There are two calls to uname() in the strace. Sorry, I missed the second one. The first one is before readlink("/proc/self/exe", "/home/abe/tmp/zsh-static", 4096) and I guess it is not from zsh code. So I think the second one is from createparamtable(), and createparamtable() seems to have finished, but getrlimit() are not called, as you pointed out. But it is not be probable that getrlimit(0 = RLIMIT_CPU) uses NSS. (prlimit64() has succeeded for RLIMIT_NOFILE) Is adjustwinsize() called? If it is called, ioctl() should be in strace log?