2.1 beta or release

Patrick Brunschwig patrick at enigmail.net
Wed Oct 29 14:47:53 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 29.10.14 12:35, Werner Koch wrote:
> Hi,
> 
> [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 
> npth?

I applied the patch the patch -- it works fine on OS X :-).

- -Patrick

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJUUPAIAAoJEMk25cDiHiw+XnUIAIlL73VYZeR6k3NySLy0H0a1
ePUyOku+uY54KoJSP2Uderb2VCwrwvD3+ss7QfDjUbesrI3G4VNK1IxJhks1NTol
UCNZyGEc/7npytO3Jz90P21wrHswnh+qAlE2czIIYXCXcPL7RdcnKPSB19XkFanW
kX5Goy57gFj1KlkABWtAxlgLuiifloovdSybkRyAIMeW9foV2vkV5C19Uixn1UuS
tGsJQtiTcljJom+OIr4pqc2J022iTqol9R4TtoY5FZRyHD9fDJfac4HF2xoTriUX
N7QT5QEFNboNzQdFDOYal3MckhqUW6vmVkW0gZPha73BfcvGITSPxwESnQyPsmk=
=0uUj
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list