search for: _posix_host_name_max

Displaying 3 results from an estimated 3 matches for "_posix_host_name_max".

2015 Feb 24
4
Call for testing: OpenSSH 6.8
On Tue, 24 Feb 2015, Tom G. Christensen wrote: > I've switched to HEAD in the git repo and it now builds on Solaris > 2.6, 7, 8 and 9 but the testsuite still cannot be built due to the > missing <err.h>. > > I noticed one of the changes was about HOST_NAME_MAX but I don't > think that change addresses the real issue on at least these old > Solaris systems. It
2001 Jul 23
1
forwarded message from mouring@etoh.eviladmin.org
....h> on specific implementations where the corresponding value is equal to or greater than the stated minimum, but is unspecified. {HOST_NAME_MAX} Maximum length of a host name (not including the terminating null) as returned from the gethostname( ) function. Minimum Acceptable Value: {_POSIX_HOST_NAME_MAX} {_POSIX_HOST_NAME_MAX} Maximum length of a host name (not including the terminating null) as returned from the gethostname( ) function. Value: 255" (note that _POSIX_HOST_NAME_MAX defines the minimum acceptable value in an implementation). Please note that because the length of...
2014 May 06
6
[Bug 2239] New: ssh-keygen cannot handle Linux with 64 char long hostname
...6.5 (2.6.32-431.3.1.el6 kernel) and openssh-5.3p1-94.el6.x86_64 OEL 6.5 (2.6.32-431.3.1.el6 kernel) and OpenSSH_6.6p1 Fedora 20 (3.15.0-rc2+ kernel) and openssh-6.4p1-3.fc20.x86_64 The above root cause seems like a intentional design decision in Linux kernel. Unlike OpenBSD where MAXHOSTNAMELEN is _POSIX_HOST_NAME_MAX + trailing zero /usr/include/limits.h:#define _POSIX_HOST_NAME_MAX 255 /usr/include/sys/param.h:#define MAXHOSTNAMELEN 256 /* max hostname size */ in Linux they are same and is up to program to reserve enough space /usr/include/bits/local_lim.h:#define HOST_NAME_MAX 6...