master
for some time now mandoc has not required MLINKS to function correctly - logically complete that now by removing MLINKS from base;
grep: Add missing unistd.h and limits.h includes
procline: only reduce mcount once per line, not once per match. This makes "grep -m" behave like GNU grep (where the -m option originated). From Crystal Kolipe.
POSIX requires in chapter 12.2, Utility Syntax Guideline 9: "All options should precede operands on the command line." https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap12.html#tag_1202 and grep(1) is explicitly required to conform right below OPTIONS: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/grep.html
grep: add --null flag
mmap support was broken in previous submitted diff from lauri tirkkonen
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)