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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Monday, July 1, 2024 6:37 PM, Ronan Pigott wrote:
>July 1, 2024 at 2:47 PM, rsbecker@xxxxxxxxxxxxx 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.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux