Bjoern A. Zeeb c2ded8aefb Rather than using the cred from curthread, take it from the thread
referenced in the sysctl req argument.

Reviewed by:	rwatson
MFC after:	2 weeks
2009-01-09 23:57:59 +00:00
..
2008-12-31 07:38:04 +00:00
2008-11-12 12:21:18 +00:00