(MYPROC_SELF_EXE): Support illumos and Solaris
Closed, ResolvedPublic

Assigned To
Authored By
omnios
Oct 27 2021, 11:17 AM
Subscribers

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