Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] With --disable-dynamic-nss, not all functions calls are protected
- X-seq: zsh-workers 49414
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [BUG] With --disable-dynamic-nss, not all functions calls are protected
- Date: Thu, 16 Sep 2021 16:37:31 +0900
- Archived-at: <https://zsh.org/workers/49414>
- In-reply-to: <CAH+w=7aScd=FUM3f03fhBSyi5hqdt1_Y+Z95_bf2LOT-wr9RWA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20210908011251.GA2387366@zira.vinc17.org> <20210915143102.pw5uup7bvufi7wse@sym.noone.org> <CAH+w=7aScd=FUM3f03fhBSyi5hqdt1_Y+Z95_bf2LOT-wr9RWA@mail.gmail.com>
> 2021/09/16 4:13、Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Based on the strace, my guess would be that getrlimit() is what's
> attempting to link to the dynamic library. This is based on the
> success of the uname() call and on what does NOT appear in the
> subsequent trace output.
Probably getrlimit() is implemented by prlimit64() that appears
in the strace log, I guess.
Modules/tcp.c uses
gethostbyname2(), gethostbyadr(), getservbyname()
that are NSS-functions?
How about disabling the tcp module by setting
link=no
in config.modules, for the module name=zsh/net/tcp?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author