Files
Martin Coufal bec480cbe6 misc: add a new test for gethostname
Add a simple test that runs in a UTS namespace: checks gethostname
after various sethostname values (including empty and HOST_NAME_MAX),
verifies ENAMETOOLONG when the buffer is too small for a maximal name,
EINVAL when sethostname is given a name longer than HOST_NAME_MAX.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2026-05-29 13:58:58 -03:00
..
2026-05-29 13:58:58 -03:00