Page MenuHome GnuPG
Feed Advanced Search

Oct 29 2018

gniibe changed the status of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config from Open to Testing.

New gpg-error.m4 detects gpgrt-config, too.
And configure supplies --libdir when it invokes gpgrt-config.
For other *.m4 (libassuan, ksba, libgcrypt, ntbtls), it is possible for them to check GPGRT_CONFIG to use gpgrt-config if any.
For npth.m4, it can do that too, with no hard dependency to libgpg-error.

Oct 29 2018, 5:57 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe changed the status of T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, from Open to Testing.
Oct 29 2018, 5:50 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 26 2018

werner added a subtask for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config: T3982: libgcrypt.m4 is not multilib friendly.
Oct 26 2018, 12:44 PM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 25 2018

gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

A bit tricky, but this would be good to use gpgrt-config by gpg-error.m4.
I say "tricky", because its name is gpg-error.m4 but it configure GPGRT_CONFIG to access to GPG_ERROR_CONFIG.

Oct 25 2018, 8:33 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

It might be good idea to provide libgcrypt.pc in libgcrypt 1.8.x for forward compatibility with libgpg-error 1.33.

Oct 25 2018, 3:49 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

Well, I changed my mind. Use of new gpgrt-config requires software update to introduce gpgrt.m4 and update of configure.ac to switch gpgrt from gpg-error, in standard way.
That's too much this time. It's good to defer this change.

Oct 25 2018, 3:06 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

OK, I'll change to use gpgrt-config, along with requiring newer version of libgpg-error.

Oct 25 2018, 1:14 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 24 2018

werner added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

May I suggest to use a (new) gpgrt-config instead of the current name libgpg-error-config. The long term plan is to change the name of the library.

Oct 24 2018, 9:06 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe updated the task description for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:37 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe updated the task description for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:33 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

This is the dependency graph:

Oct 24 2018, 2:32 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe created T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:15 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Jul 16 2018

werner closed T3980: gpg-agent: error allocating thread attributes when starting as daemon as Resolved.
Jul 16 2018, 9:50 AM · npth, Bug Report
werner closed T4027: npth 1.6 as Resolved.
Jul 16 2018, 9:49 AM · npth
werner closed T4027: npth 1.6, a subtask of T3980: gpg-agent: error allocating thread attributes when starting as daemon, as Resolved.
Jul 16 2018, 9:49 AM · npth, Bug Report

Jun 20 2018

gniibe added a subtask for T3283: Set 'mym4_revision' to 0 if not a git repo: T4027: npth 1.6.
Jun 20 2018, 10:06 AM · libgcrypt, Bug Report
gniibe added a parent task for T4027: npth 1.6: T3283: Set 'mym4_revision' to 0 if not a git repo.
Jun 20 2018, 10:06 AM · npth
gniibe added a parent task for T4027: npth 1.6: T3980: gpg-agent: error allocating thread attributes when starting as daemon.
Jun 20 2018, 10:01 AM · npth
gniibe added a subtask for T3980: gpg-agent: error allocating thread attributes when starting as daemon: T4027: npth 1.6.
Jun 20 2018, 10:01 AM · npth, Bug Report

Jun 18 2018

gniibe created T4027: npth 1.6.
Jun 18 2018, 10:20 AM · npth

May 28 2018

gniibe changed the status of T3980: gpg-agent: error allocating thread attributes when starting as daemon from Open to Testing.
May 28 2018, 2:11 AM · npth, Bug Report

May 25 2018

jhirsch added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

Thanks, that allowed npth to make successfully without the unsatisfied symbols.

May 25 2018, 7:48 PM · npth, Bug Report
gniibe added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

Apparently, the check of sem_init function was not done (in config.log).
Could you please make sure to update npth/configure by npth/autogen.sh?

May 25 2018, 12:31 AM · npth, Bug Report

May 24 2018

jhirsch added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

config.log is attached.

May 24 2018, 4:05 PM · npth, Bug Report
gniibe added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

Could you please put the config.log of npth with the patch?
The intention of change is: we need to link -lpthread and -lrt

May 24 2018, 3:17 AM · npth, Bug Report

May 23 2018

jhirsch added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

I tried with the updated patch, but I still see the same unsatisfied symbols during link. I verified that the patch was in place in configure.ac and also patched a clean version of configure.ac so that there would be only one instance of hpux in the case statement:

May 23 2018, 7:46 PM · npth, Bug Report
gniibe added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

I realized that the test case is already there.
I'm not sure the reason why make check for npth works well on HP-UX (before the my patch). It uses npth_attr_init (hence, pthread_attr_init) in tests/t-thread.c.
Perhaps, libtool is clever enough to detect -lpthread into src/libnpth.la (dependency_libs), I suppose.

May 23 2018, 4:25 AM · npth, Bug Report
gniibe added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

Thanks for your testing, it's near. Here is updated patch:


I think that HP-UX is just like *BSD for pthread and POSIX semaphore.
It is also good to add a test case. I will.

May 23 2018, 4:09 AM · npth, Bug Report

May 22 2018

jhirsch added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

Rebuilding npth results in three unsatisfied symbols:

May 22 2018, 5:18 PM · npth, Bug Report
gniibe added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

Thanks for config.log of GnuPG. I think that I located the problem; While gpg-agent should be linked to -lpthread, it was not. The configure variable NPTH_LIBS in config.log doesn't have -lpthread. Thus, pthread_* are linked to the ones of stub, and it resulted the error.

May 22 2018, 6:46 AM · npth, Bug Report

May 18 2018

jhirsch added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

I have uploaded config.log. Let me know if you need any additional information/files. Thanks!

May 18 2018, 3:55 PM · npth, Bug Report
gniibe claimed T3980: gpg-agent: error allocating thread attributes when starting as daemon.

Thanks for quick feedback.
Yes, it is a build problem, which should be handled by configure + make.
Could you please upload the build log here, so that I can check it to fix configure.ac+Makefile.am?

May 18 2018, 8:37 AM · npth, Bug Report

May 17 2018

jhirsch added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

Thanks. That appears to be the exact issue. I was able to get around it with export LD_PRELOAD as indicated in the man page. Any ideas on how to address it in the make? This is what I see when I do an ldd on gpg-agent:

May 17 2018, 10:53 PM · npth, Bug Report
gniibe added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

ENOSYS means it's linked to stub.
http://nixdoc.net/man-pages/HP-UX/man5/pthread_stubs.5.html
Somehow the build process may be wrong for the gpg-agent executable.

May 17 2018, 8:22 PM · npth, Bug Report

May 14 2018

werner triaged T3980: gpg-agent: error allocating thread attributes when starting as daemon as High priority.

That comes directly from pthread_attr_init - need to check what's special on HP/UX here.

May 14 2018, 10:10 PM · npth, Bug Report

Nov 16 2017

gniibe added a project to T3283: Set 'mym4_revision' to 0 if not a git repo: npth.

Add the tag of npth (forgotten).

Nov 16 2017, 12:19 AM · libgcrypt, Bug Report

Oct 11 2017

gniibe added a comment to T3206: npth-1.3 failed to build on NetBSD-7.

From my viewpoint, it works well. Just you don't have a permission to install the library to the directory.

Oct 11 2017, 6:56 AM · npth, Bug Report

Oct 10 2017

aa added a comment to T3206: npth-1.3 failed to build on NetBSD-7.

Indeed. Van is a wonderful person.

Oct 10 2017, 6:55 PM · npth, Bug Report

Aug 25 2017

werner added a comment to T3206: npth-1.3 failed to build on NetBSD-7.

Nice talk, just watched it.

Aug 25 2017, 12:55 PM · npth, Bug Report
aa added a comment to T3206: npth-1.3 failed to build on NetBSD-7.
In T3206#99005, @werner wrote:

1.4 has build fixes for NetBSD. Thus I _assume_ this bug has been fixed.

@aa can you please try npth 1.5 ?

Aug 25 2017, 11:48 AM · npth, Bug Report

Aug 3 2017

gniibe closed T3206: npth-1.3 failed to build on NetBSD-7 as Resolved.

For me, it works. Please re-open if you still have any issue for NetBSD.

Aug 3 2017, 2:46 AM · npth, Bug Report

Jun 23 2017

werner added a comment to T3206: npth-1.3 failed to build on NetBSD-7.

1.4 has build fixes for NetBSD. Thus I _assume_ this bug has been fixed.

Jun 23 2017, 4:55 PM · npth, Bug Report

Jun 14 2017

justus triaged T3206: npth-1.3 failed to build on NetBSD-7 as Normal priority.
Jun 14 2017, 9:49 AM · npth, Bug Report

May 23 2017

gniibe closed T2886: nPth often needs -lpthread but does not detect this as Resolved.

Fixed in npth 1.4.

May 23 2017, 7:47 AM · In Progress, Bug Report, npth
gniibe closed T2886: nPth often needs -lpthread but does not detect this, a subtask of T3099: nPth is ready for new release of 1.4, as Resolved.
May 23 2017, 7:47 AM · g10code Sprint (KW 20), npth
gniibe closed T2998: link error in tests on NetBSD, a subtask of T3099: nPth is ready for new release of 1.4, as Resolved.
May 23 2017, 7:46 AM · g10code Sprint (KW 20), npth
gniibe closed T2998: link error in tests on NetBSD as Resolved.

Fixed in npth 1.4.

May 23 2017, 7:46 AM · In Progress, Bug Report, npth
gniibe closed T2202: struct timespec is already defined in MINGW32 as Resolved.

Fixed in npth 1.4.

May 23 2017, 7:46 AM · In Progress, Bug Report, Windows, npth
gniibe closed T2202: struct timespec is already defined in MINGW32, a subtask of T3099: nPth is ready for new release of 1.4, as Resolved.
May 23 2017, 7:46 AM · g10code Sprint (KW 20), npth

May 16 2017

werner closed T3099: nPth is ready for new release of 1.4 as Resolved.

I added an npth_is_protected function which is sometimes useful for debugging.
I also changed the license to LGPLv2+.

May 16 2017, 9:57 AM · g10code Sprint (KW 20), npth

May 15 2017

marcus edited projects for T3099: nPth is ready for new release of 1.4, added: g10code Sprint (KW 20); removed g10code Sprint (KW 19).
May 15 2017, 10:35 AM · g10code Sprint (KW 20), npth

May 11 2017

marcus edited projects for T3099: nPth is ready for new release of 1.4, added: g10code Sprint (KW 19); removed g10code Sprint (KW 18).
May 11 2017, 6:20 PM · g10code Sprint (KW 20), npth

May 8 2017

werner triaged T3099: nPth is ready for new release of 1.4 as High priority.
May 8 2017, 3:35 PM · g10code Sprint (KW 20), npth

May 2 2017

werner edited projects for T3099: nPth is ready for new release of 1.4, added: g10code Sprint (KW 18); removed g10code Sprint (KW 17).
May 2 2017, 10:08 AM · g10code Sprint (KW 20), npth

Apr 24 2017

marcus added a comment to T3099: nPth is ready for new release of 1.4.

@werner Oops, sorry.

Apr 24 2017, 3:46 PM · g10code Sprint (KW 20), npth
werner claimed T3099: nPth is ready for new release of 1.4.

That's me with the key

Apr 24 2017, 3:34 PM · g10code Sprint (KW 20), npth
marcus assigned T3099: nPth is ready for new release of 1.4 to wk.
Apr 24 2017, 10:35 AM · g10code Sprint (KW 20), npth
marcus edited projects for T3099: nPth is ready for new release of 1.4, added: g10code Sprint (KW 17); removed g10code Sprint (KW 16).
Apr 24 2017, 10:29 AM · g10code Sprint (KW 20), npth

Apr 21 2017

gniibe added a project to T3099: nPth is ready for new release of 1.4: g10code Sprint (KW 16).
Apr 21 2017, 1:51 AM · g10code Sprint (KW 20), npth
gniibe updated the task description for T3099: nPth is ready for new release of 1.4.
Apr 21 2017, 1:50 AM · g10code Sprint (KW 20), npth
gniibe updated the task description for T3099: nPth is ready for new release of 1.4.
Apr 21 2017, 1:49 AM · g10code Sprint (KW 20), npth
gniibe added a parent task for T2886: nPth often needs -lpthread but does not detect this: T3099: nPth is ready for new release of 1.4.
Apr 21 2017, 1:46 AM · In Progress, Bug Report, npth
gniibe added subtasks for T3099: nPth is ready for new release of 1.4: T2886: nPth often needs -lpthread but does not detect this, T2998: link error in tests on NetBSD, T2202: struct timespec is already defined in MINGW32.
Apr 21 2017, 1:46 AM · g10code Sprint (KW 20), npth
gniibe added a parent task for T2998: link error in tests on NetBSD: T3099: nPth is ready for new release of 1.4.
Apr 21 2017, 1:46 AM · In Progress, Bug Report, npth
gniibe added a parent task for T2202: struct timespec is already defined in MINGW32: T3099: nPth is ready for new release of 1.4.
Apr 21 2017, 1:46 AM · In Progress, Bug Report, Windows, npth
gniibe created T3099: nPth is ready for new release of 1.4.
Apr 21 2017, 1:42 AM · g10code Sprint (KW 20), npth

Apr 20 2017

gniibe claimed T2202: struct timespec is already defined in MINGW32.
Apr 20 2017, 9:41 AM · In Progress, Bug Report, Windows, npth
gniibe edited projects for T2202: struct timespec is already defined in MINGW32, added: In Progress; removed Windows 64, Windows 32.

I confirmed that mingw-w64 version 1.0 defines timespec.
So, for older versions of mingw-w64, we need a fix to avoid errors.
But, your suggestion of __MINGW32__ != 1 seems wrong to me (I think it is always defined as 1).

Apr 20 2017, 9:41 AM · In Progress, Bug Report, Windows, npth

Apr 6 2017

gniibe added a comment to T2998: link error in tests on NetBSD.

Err... npth repo is not yet added under dev.gnupg.org.
I requested as T3064.

Apr 6 2017, 12:23 AM · In Progress, Bug Report, npth

Apr 5 2017

wiz added a comment to T2998: link error in tests on NetBSD.

Thank you. I just tried:

autoreconf -fiv && ./configure && make && make check
...
Making check in src
Making check in tests
make  check-TESTS
PASS: t-mutex
PASS: t-thread
PASS: t-fork
==================
All 3 tests passed
==================

on NetBSD-7.99.67/amd64.

Apr 5 2017, 3:05 PM · In Progress, Bug Report, npth
werner added a comment to T2998: link error in tests on NetBSD.

git://git.gnupg.org/npth.git

Apr 5 2017, 3:00 PM · In Progress, Bug Report, npth
wiz added a comment to T2998: link error in tests on NetBSD.

Thanks for working on this.
I can't seem to find a link to the repository for testing, can you please point me in the right direction?

Apr 5 2017, 2:06 PM · In Progress, Bug Report, npth
gniibe added a comment to T2886: nPth often needs -lpthread but does not detect this.

I found that FreeBSD also requires -lpthread thing. I also commit the change to the repo.
Tested with FreeBSD 11.0.
I think that TrueOS can be considered as FreeBSD variant.

Apr 5 2017, 8:34 AM · In Progress, Bug Report, npth
gniibe added a project to T2886: nPth often needs -lpthread but does not detect this: In Progress.

Fixed in the repo for DragonFlyBSD 4.8 too.

Apr 5 2017, 7:44 AM · In Progress, Bug Report, npth
gniibe added a comment to T2886: nPth often needs -lpthread but does not detect this.

In T2998, NetBSD was fixed.
I'll check for DragonFlyBSD.
IIUC, FreeBSD and OpenBSD has no issue.

Apr 5 2017, 5:21 AM · In Progress, Bug Report, npth
gniibe added a project to T2998: link error in tests on NetBSD: In Progress.

It works for me on NetBSD 7.1. Please test.

Apr 5 2017, 5:02 AM · In Progress, Bug Report, npth
gniibe lowered the priority of T2998: link error in tests on NetBSD from High to Normal.
Apr 5 2017, 4:52 AM · In Progress, Bug Report, npth
gniibe added a comment to T2998: link error in tests on NetBSD.

I tested with NetBSD 7.1 and -lrt is not required.
Nevertheless, it would be required for older NetBSD, so I leave -lrt check for NetBSD.
I'm going to push the change of D415 now.

Apr 5 2017, 4:51 AM · In Progress, Bug Report, npth

Apr 4 2017

gniibe claimed T2886: nPth often needs -lpthread but does not detect this.

Could you please look at https://dev.gnupg.org/T2998 ?

Apr 4 2017, 3:15 AM · In Progress, Bug Report, npth

Mar 30 2017

admin created npth.
Mar 30 2017, 6:42 PM

Mar 28 2017

gniibe added a comment to T2998: link error in tests on NetBSD.

I think that NetBSD also defines single thread version of pthread_* functions in
libc.
How about attached patch in configure.ac?
(You need to generate configure)

Mar 28 2017, 7:31 AM · In Progress, Bug Report, npth
gniibe added a comment to T2998: link error in tests on NetBSD.

D415: 990_npth-netbsd-20170328.diff

Mar 28 2017, 7:31 AM · In Progress, Bug Report, npth
gniibe added a comment to T2998: link error in tests on NetBSD.

It seems that -lrt is required on NetBSD.

Mar 28 2017, 6:28 AM · In Progress, Bug Report, npth

Mar 22 2017

werner added a comment to T2998: link error in tests on NetBSD.

Oh yes, then we should include NetBSD at least into the nPth and libgpg-error
builds.

Mar 22 2017, 1:05 PM · In Progress, Bug Report, npth
wiz added a comment to T2998: link error in tests on NetBSD.

NetBSD has its own pthread library (different from OpenBSD and FreeBSD), so I
think this would be a good idea.

Mar 22 2017, 12:49 PM · In Progress, Bug Report, npth
werner added a comment to T2998: link error in tests on NetBSD.

Our jenkins has no problems building nPth for OpenBSD 6.0.
wiz: Do you think that NetBSD (x86 I assume) is much different than OpenBSD so
that we would benefit from adding NetBSD to our Jenkins builds?

Mar 22 2017, 12:41 PM · In Progress, Bug Report, npth
werner updated subscribers of T2998: link error in tests on NetBSD.
Mar 22 2017, 12:37 PM · In Progress, Bug Report, npth
werner assigned T2998: link error in tests on NetBSD to gniibe.
Mar 22 2017, 12:37 PM · In Progress, Bug Report, npth
werner added a comment to T2998: link error in tests on NetBSD.

gniibe: Do you have time to look into this?

Mar 22 2017, 12:37 PM · In Progress, Bug Report, npth

Mar 16 2017

wiz added projects to T2998: link error in tests on NetBSD: npth, Bug Report.
Mar 16 2017, 4:07 PM · In Progress, Bug Report, npth

Dec 22 2016

werner added projects to T2886: nPth often needs -lpthread but does not detect this: npth, Bug Report.
Dec 22 2016, 11:51 AM · In Progress, Bug Report, npth

Nov 30 2016

gniibe closed T2260: npth resource locking not working on AIX as Resolved.
Nov 30 2016, 2:36 AM · Bug Report, npth
gniibe added a comment to T2260: npth resource locking not working on AIX.

Fixed in 1.3.

Nov 30 2016, 2:36 AM · Bug Report, npth

Nov 28 2016

werner closed T2842: npth_init called too late in gpg-agent? as Resolved.
Nov 28 2016, 10:19 AM · gnupg, Bug Report, npth

Nov 24 2016

mazhe reopened T2842: npth_init called too late in gpg-agent? as "Open".
Nov 24 2016, 4:21 PM · gnupg, Bug Report, npth
mazhe added a comment to T2842: npth_init called too late in gpg-agent?.

Indeed, I confirm that the newly updated version 2.1.16 fix this issue, thanks a
lot for doing this portability work!

Nov 24 2016, 4:21 PM · gnupg, Bug Report, npth

Nov 20 2016

werner added a comment to T2842: npth_init called too late in gpg-agent?.

It has been confirmed that 2.1.16 solves the problem.

The reason for the crash is that 2.1.15 is calling gpgrt_set_syscall_clamp
before nPth is initialized. The nPth initialization was changed in 2.1.15 so to
solve problems on some other platforms.

Nov 20 2016, 5:17 PM · gnupg, Bug Report, npth
werner closed T2842: npth_init called too late in gpg-agent? as Resolved.
Nov 20 2016, 5:17 PM · gnupg, Bug Report, npth

Nov 17 2016

werner added projects to T2842: npth_init called too late in gpg-agent?: npth, gnupg.
Nov 17 2016, 8:28 PM · gnupg, Bug Report, npth

Jun 21 2016

gniibe added a comment to T2260: npth resource locking not working on AIX.

uldis: Thanks for your comment. Let me show my opinion.
There are three ways (at least) to create a semaphore.
Each has different semantics, how it can be shared among different processes.

(1) sem_init with pshared=0: Not shared among processes
(2) sem_init with pshared=1: Shared among children processes of particular parent
(3) sem_open: Shared among any processes (with relevant permission)

For AIX, npth doesn't work well with (1). You suggested (3), while I proposed (2).
It is true that (2) and (3) would open up some attack vector(s),
but I believe that (2) is smaller, if any.

Jun 21 2016, 3:07 AM · Bug Report, npth