Re: [PATCH] POSIX-hostname up to 255 characters

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

 



Jan Engelhardt <[email protected]> writes:

>>> It is written (on so-called compatible machines like my Sun) as:
>>> 
>>> #define MAXHOSTNAMELEN _POSIX_HOST_NAME_MAX
>>> 
>>> Then in limits.h, I see:
>>> 
>>> #define _POSIX_HOST_NAME_MAX 64
>>
>>That's wrong.  The value must be 255, at least for the current spec.
>>You really should verify your statements before making them public.  The
>>POSIX spec is available in HTML for for viewing for free from the
>>OpenGroup.  What a specific implementation does is not authoritative.
>>
>
> Let's all be happy with it that some systens have the maximum hostname length
> at 64 or 255... thay way, applications do not tend to depend on it.
> (Cf. Linux and the 100->1000 Hz change which _did_ turn up something.)

For all of the kibitzers please reread Rolands original post, where he
included the urls of the appropriate pieces of the Posix spec.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux