Home GnuPG
Diffusion nPth 6e69a440d2be

Fix for semaphore access by child.
6e69a440d2beUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix for semaphore access by child.

* configure.ac (HAVE_FORK_UNSAFE_SEMAPHORE): New.
* src/npth.c (sem_init): Use NPTH_SEMAPHORE_PSHARED.
* tests/t-fork.c: New.

Thanks to Uldis Anšmits.

  • GnuPG-bug-id: T2260
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 5 2016, 10:28 AM
Parents
rPTHe345e0133ba7: w32: Include io.h for read(2) and write(2).
Branches
Unknown
Tags
Unknown