]> granicus.if.org Git - sudo/commit
Avoid using HOST_NAME_MAX directly and use sysconf(_SC_HOST_NAME_MAX)
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 20 Feb 2015 03:28:02 +0000 (20:28 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 20 Feb 2015 03:28:02 +0000 (20:28 -0700)
commitbe8dbeb22e9317ab2801c682fdd4c0049972deef
tree446ae25f0dc566402b51d06a5bb1132da00212ae
parent9b514ed83c523db706d264c257c6412125221d23
Avoid using HOST_NAME_MAX directly and use sysconf(_SC_HOST_NAME_MAX)
instead.
13 files changed:
MANIFEST
config.h.in
configure
configure.ac
include/sudo_compat.h
include/sudo_util.h
lib/util/Makefile.in
lib/util/gethostname.c [new file with mode: 0644]
lib/util/util.exp.in
plugins/sudoers/match.c
plugins/sudoers/testsudoers.c
plugins/sudoers/visudo.c
src/sudo.c