[LTP] [PATCH v3] gethostname02: Accept EOVERFLOW on alpha

Cyril Hrubis chrubis@suse.cz
Thu Jun 4 10:43:51 CEST 2026


Hi!
> 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

This really looks like a inconsistency in glibc. I suggest to ask a
question if this should be fixed in glibc on libc-alpha mailing list
first. Please CC ltp mailing list when you ask this question.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list