summaryrefslogtreecommitdiffstats
path: root/src/sbus/sssd_dbus_connection.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-05-31 19:06:56 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-06-03 14:46:17 +0200
commit8269d3c385ac1686f2dcf778827f04435f1ec4bf (patch)
treecf875dac5ad676d2cb5ecb16daa948d33a0b01f8 /src/sbus/sssd_dbus_connection.c
parent973f2f3d0056f0150715db8b6c40a2eb5d964ea9 (diff)
downloadsssd-8269d3c385ac1686f2dcf778827f04435f1ec4bf.tar.gz
sssd-8269d3c385ac1686f2dcf778827f04435f1ec4bf.tar.xz
sssd-8269d3c385ac1686f2dcf778827f04435f1ec4bf.zip
Unify usage of function gethostname
man gethostanme says: NOTES SUSv2 guarantees that "Host names are limited to 255 bytes". POSIX.1-2001 guarantees that "Host names (not including the terminating null byte) are limited to HOST_NAME_MAX bytes". On Linux, HOST_NAME_MAX is defined with the value 64, which has been the limit since Linux 1.0 (earlier kernels imposed a limit of 8 bytes). Reviewed-by: Pavel Březina <pbrezina@redhat.com> (cherry picked from commit bf6f1b3d49e17b1adf0448c0b06e94b1e52ddffd)
Diffstat (limited to 'src/sbus/sssd_dbus_connection.c')
0 files changed, 0 insertions, 0 deletions