Re: [PATCH] tests: Handle system-wide tunables in rseq tests

DJ Delorie <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
Michael Jeanson <[email protected]> writes:
> Also one more question, are system-wide tunables supposed to work with 
> statically linked executables? In my test environment I'm able to make 
> tst-rseq fail with a suitable /etc/tunables.conf but it seem to have no 
> impact on tst-rseq-static.

The current code is conditional on both SHARED and USE_LDCONFIG, as the
data comes from /etc/ld.so.cache.

I don't remember exactly what the blocker here was, as we do support
calling dlopen() from a static binary, and I assume that must load
/etc/ld.so.cache.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.