2.1 beta or release
patrick at enigmail.net
Wed Oct 29 14:47:53 CET 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 29.10.14 12:35, Werner Koch wrote:
> [Patrick told me that he send a patch to the list but it doesn't
> made it].
> I have taken your patched as base for my patch. My version is not
> OSX specific but relies on the fact that sem_init returns ENOSYS.
> That seems to be used on other platforms as well. POSIX is a bit
> unclear on this.
> I tested this on Linux by replacing sem_init with (-1) and setting
> errno. I also loop over sem_open using a counter for the name,
> so that it is hard for another process to DoS us by guessing our
> pid and creating a semaphore with that name. Also the use of more
> than one '/' in the name is implementation defined and does for
> example not work on Linux.
> Can you or the other OS X folks please test the attached patch to
I applied the patch the patch -- it works fine on OS X :-).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----
More information about the Gnupg-devel