[Swan] From Linux Fedora 18 crypt man - Issue with threads

Harald Jenny harald at a-little-linux-box.at
Fri Mar 8 20:24:07 EET 2013


On Thu, Mar 07, 2013 at 11:50:50AM -0500, Paul Wouters wrote:
> On Thu, 7 Mar 2013, Philippe Vouters wrote:
> 
> >crypt_r requires -D_GNU_SOURCE. Not sure crypt_r is implemented
> >under OpenBSD and FreeBSD.
> >crypt requires -D_XOPEN_SOURCE and thus should be implemented on
> >every Unix/Unix-like. The pthread library is even implemented
> >under Windows/Cygwin. It is implemented on Linux/HP-UX/Tru64 (both
> >HP's Unix). So the pthread library should as well be under
> >OpenBSD/FreeBSD. Hence my proposal keeping the crypt call in
> >xauth.c, protecting the call with a mutex.
> 
> Thanks for clarifying that. I will use your method of locking the crypt
> call to keep things more portable.

Speaking about this how are future plans for FreeBSD? Making openswan
usable on Debian KFreeBSD may improve overall user experience...

> 
> Paul

Harald

> _______________________________________________
> Swan mailing list
> Swan at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan


More information about the Swan mailing list