tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dlopen() and libpthread
Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:
> Rmoving the requirement for libpthread to be linked at startup time will
> not be easy. linking with -lpthreead any program that can use dlopen seems
> overkill. Let the administrator set LD_PRELOAD=/usr/lib/lipbthread.so.1
> seems an acceptable workaround.
>
> We could have a generic way of setting envirnoement variables for setuid
> binaries. What about something like /etc/suenv.d/$progname?
Another idea: is it possible to patch an already linked binary to add
-lpthread?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index