Home GnuPG

spawn:posix: Take care of POSIX semaphore "shared" semantics.

Description

spawn:posix: Take care of POSIX semaphore "shared" semantics.

* src/spawn-posix.c (spawn_detached): Don't call _gpgrt_post_syscall
on the child process.
(_gpgrt_process_spawn): Likewise.

On NetBSD, a POSIX semaphore is somehow shared among processes, even
if sem_init is called with PSHARED=0.

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

Details

Provenance
gniibeAuthored on Tue, Feb 3, 5:23 AM
Parents
rE9b7c3438a3c9: po: Update Swedish translation.
Branches
Unknown
Tags
Unknown
References
gniib/t8065
Tasks
T8065: gnupg self test hang: clean migration