On 11/29/2016 10:11 AM, Florian Weimer wrote:
How are you going to avoid interposing the implementation in glibc?
That will depend on how glibc is implemented. Simplest might be to use
compile-time interposition, which is common in Gnulib. E.g., Gnulib
would supply its own getentropy.h which does "#define getentropy
rpl_getentropy", so that Gnulib-using applications always call
rpl_getentropy from the linker's point of view. This sort of thing is OK
for Gnulib, as it's not intended to be a separate library.