[PATCH] move exec_free_args() into do_execve()

John Baldwin jhb at freebsd.org
Mon Oct 31 13:10:30 PST 2005


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


More information about the freebsd-current mailing list