Re: [PATCH v3] gethostname02: Accept EOVERFLOW on alpha
panzhe <panzhe-UOlijcLmZ/[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
Hi Cyril, Thanks for your review. The ENAMETOOLONG note in man describes the mainstream glibc implementation based on uname(2), but alpha has its own arch-specific implementation calling raw gethostname syscall and returning EOVERFLOW. Alpha glibc source: https://codebrowser.dev/glibc/glibc/sysdeps/unix/sysv/linux/alpha/gethostname.c.html POSIX does not specify required errno here, this is existing upstream glibc behavior. I suggest accepting both errnos to resolve alpha test failures. Regards, panzhe -- Mailing list info: https://lists.linux.it/listinfo/ltp