Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2005 17:11:49 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        current@freebsd.org
Subject:   [PATCH] move exec_free_args() into do_execve()
Message-ID:  <200510311711.49927.jhb@freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510311711.49927.jhb>