K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-12T16:14:55.000000Z K 7 svn:log V 418 - Avoid dropping the proc lock around a simple permissions check and just hold hold it across the check to avoid extra lock operations in the common case. - Copy in the new args to a temporary pargs structure before we drop the reference to the old one. Thus, if the copyin() fails, the process arguments are unchanged rather than being deleted. Also, p_args is no longer NULL during the sysctl operation. END