Import sendmail 8.14.6
Fix regression in sendmail 8.14.6 release based on errata published at:

http://www.sendmail.com/sm/open_source/download/8.14.6/
Make libprocstat(3) extract procstat notes from a process core file.

PR:		kern/173723
Suggested by:	jhb
Glanced by:	kib
MFC after:	1 month
Add procstat_getvmmap function to get VM layout of a process.

MFC after:	1 month
Use procstat_getprocs(3) for retrieving thread information instead of
direct sysctl calls.

MFC after:	1 month
Use more generic procstat_getvmmap(3) for retrieving VM layout of a process.

MFC after:	1 month
Add procstat_getgroups function to retrieve process groups.

MFC after:	1 month
Use procstat_getgroups(3) for retrieving groups information instead of
direct sysctl.

MFC after:	1 month
Add procstat_getumask function to retrieve a process umask.

MFC after:	1 month
Use procstat_getumask(3) for retrieving umaks information instead of
direct sysctl.

MFC after:	1 month
Add procstat_getrlimit function to retrieve a process resource limits info.

MFC after:	1 month
Use procstat_getrlimit(3) for retrieving rlimit information instead of
direct sysctl calls.

MFC after:	1 month
Add procstat_getpathname function to retrieve a process executable.

MFC after:	1 month
Add procstat_getosrel function to retrieve a process osrel info.

MFC after:	1 month
Use libprocstat(3) when retrieving binary information for a process.

MFC after:	1 month
Extend libprocstat with functions to retrieve process command line
arguments and environment variables.

Suggested by:	stas
Reviewed by:	jhb and stas (initial version)
MFC after:	1 month
Use libprocstat(3) to retrieve process command line arguments and
environment variables.

MFC after:	1 month
Add procstat_getauxv function to retrieve a process auxiliary vector.

MFC after:	1 month
This should have been committed in r249666.

MFC after:	1 month
Use libprocstat(3) to retrieve ELF auxiliary vector.

MFC after:	1 month