]> granicus.if.org Git - sudo/commit
Almost no systems actually define OPEN_MAX since it is dynamic on
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 19 Feb 2015 16:59:25 +0000 (09:59 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 19 Feb 2015 16:59:25 +0000 (09:59 -0700)
commit96eddddc12cacc0f5cd767431ae8e1436559bb94
tree81166b66e361214becdfc9159e7b5d37a37db7e3
parent7d1ee771368cda539a886d8c8135eec01049d03a
Almost no systems actually define OPEN_MAX since it is dynamic on
modern OSes.  If sysconf(_SC_OPEN_MAX) ever fails, fall back on
_POSIX_OPEN_MAX instead.  We can assume modern systems have sysconf().
Also remove checks for strrchr() and strtoll() for which the HAVE_*
defines are no longer used.
config.h.in
configure
configure.ac
include/sudo_compat.h
lib/util/closefrom.c
lib/util/setgroups.c
plugins/sudoers/pwutil_impl.c
src/sudo.c