lkml.org 
[lkml]   [2006]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] POSIX-hostname up to 255 characters
From
Date
Jan Engelhardt <jengelh@linux01.gwdg.de> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-26 23:36    [W:0.341 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site