Page MenuHome GnuPG

(MYPROC_SELF_EXE): Support illumos and Solaris
Closed, ResolvedPublic

Description

Both illumos and Solaris provide a link to the running binary as /proc/self/path/a.out but gnupg is trying to readlink /proc/curproc/file

Please could something like the following be added to common/homedir.c?

#elif defined(__illumos__) || defined(__sun)
# define MYPROC_SELF_EXE "/proc/self/path/a.out"

I'd submit a patch myself but I don't have contributor access, thanks!

Details

Version
2.3.3