Please help us test the behavior of different Unices
Justus Winter
justus at g10code.com
Thu Mar 2 13:00:53 CET 2017
Hi,
NIIBE Yutaka <gniibe at fsij.org> writes:
> $ ./test-unix-sockets
> System: AIX:1:7
> sizeof addr.sun_path: 1023
That is amazing. Well, I guess we wouldn't have these kind of problems
on AIX in the first place.
> Running test with strlen (cwd): 22, name: '/tmp/test-unix-sockets/socket'
> getsockname returned '/tmp/test-unix-sockets/socket', addrlen: 1025
> Running test with strlen (cwd): 22, name: 'socket'
> getsockname returned 'socket', addrlen: 1025
> chdir: File name too long
I guess we're hitting PATH_MAX here, and AIX is actually serious about
it.
I have revised the test program to be a little more conservative here.
Would you be so kind to rerun it?
(There is no need to rerun the test on systems where the previous
version succeeded.)
Thanks,
Justus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: </pipermail/attachments/20170302/b28d2a38/attachment-0001.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-unix-sockets.c
Type: text/x-csrc
Size: 4124 bytes
Desc: The revised test.
URL: </pipermail/attachments/20170302/b28d2a38/attachment-0001.c>
More information about the Gnupg-devel
mailing list