Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [BUG] With --disable-dynamic-nss, not all functions calls are protected



> 2021/09/17 1:48, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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?




Messages sorted by: Reverse Date, Date, Thread, Author