[PATCH] move exec_free_args() into do_execve()

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 31 Oct 2005 17:11:49 -0500
This patch removes some duplicate cleanup code from do_execve() failure cases 
and also moves the responsibility for exec_free_args() out of the callers of 
kern_execve() and into do_execve() instead:

http://www.FreeBSD.org/~jhb/patches/exec_free_args.patch

Please test, especially with various ABI binaries and with MAC policies 
enabled to make sure it doesn't break anything.  Thanks!

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Mon Oct 31 2005 - 20:10:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC