trociny ce852d7df6 Add new sysctls, KERN_PROC_ENV and KERN_PROC_AUXV, to return
environment strings and ELF auxiliary vectors from a process stack.

Make sysctl_kern_proc_args to read not cached arguments from the
process stack.

Export proc_getargv() and proc_getenvv() so they can be reused by
procfs and linprocfs.

Suggested by:	kib
Reviewed by:	kib
Discussed with:	kib, rwatson, jilles
Tested by:	pho
MFC after:	2 weeks
2011-11-22 20:40:18 +00:00
..
2011-10-30 14:55:00 +00:00
2011-10-27 14:15:26 +00:00
MFC
2011-05-09 18:53:13 +00:00
2011-11-22 19:42:17 +00:00
2011-11-22 19:39:27 +00:00
2011-11-16 18:42:43 +00:00