tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pam-saml/cy2-saml -lpthread and NetBSD 6.0



On Jan 20,  6:12pm, manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
-- Subject: Re: pam-saml/cy2-saml -lpthread and NetBSD 6.0

| Christos Zoulas <christos%zoulas.com@localhost> wrote:
| 
| > Sorry, I did not mean that. I meant that we would remove NOLOAD from
| > libpthread, and move the mutex and condvar code to libc.
| 
| But then we do not prevent a program that is not linked with -lpthread
| to dlopen libpthread and call pthread_create. I though NOLOAD was there
| for this purpose.

NOLOAD is there so that if a program that was not linked with libpthread
dlopened libpthread and tried anything would break in unpredictable ways.
Moving the mutex and condvar code to libc prevents some of that lossage.

christos


Home | Main Index | Thread Index | Old Index