[PATCH RESEND 1/2] Permit %L and %l percent escapes in Include

rsbecker at nexbridge.com rsbecker at nexbridge.com
Tue Jul 2 08:55:58 AEST 2024


On Monday, July 1, 2024 6:37 PM, Ronan Pigott wrote:
>July 1, 2024 at 2:47 PM, rsbecker at nexbridge.com wrote:
>
>> Would you be able to document that "thisHost" may be ambiguous,
>> depending on the DNS and host resolver configuration? gethostname() is
>> not entirely predictable if the localhost has multiple values.
>
>Hm? On linux/glibc, gethostname just uses uname(2). It does not use dns or
the
>name service switch.

That is correct for linux/glibc. Other platforms do not necessarily use
uname(2). Glibc is not available everywhere and gcc is not available
everywhere.



More information about the openssh-unix-dev mailing list