diff options
author | Søren Schmidt <sos@FreeBSD.org> | 1994-08-24 11:52:21 +0000 |
---|---|---|
committer | Søren Schmidt <sos@FreeBSD.org> | 1994-08-24 11:52:21 +0000 |
commit | f3f0ca6051bef86fa8962f675d6eea17a29c2940 (patch) | |
tree | d44c9b6cf2bf87e21fea043e3f7e37e7b55833e1 /sys/kern/imgact_aout.c | |
parent | c9177dd5f0d460d384fd14601029f162cc53f8c1 (diff) | |
download | src-test2-f3f0ca6051bef86fa8962f675d6eea17a29c2940.tar.gz src-test2-f3f0ca6051bef86fa8962f675d6eea17a29c2940.zip |
Notes
Diffstat (limited to 'sys/kern/imgact_aout.c')
-rw-r--r-- | sys/kern/imgact_aout.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c index 31705a2e6f04..fcd7af5bf1f7 100644 --- a/sys/kern/imgact_aout.c +++ b/sys/kern/imgact_aout.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_aout.c,v 1.5 1994/05/25 09:02:00 rgrimes Exp $ + * $Id: imgact_aout.c,v 1.6 1994/08/18 22:34:55 wollman Exp $ */ #include <sys/param.h> @@ -38,6 +38,7 @@ #include <sys/mman.h> #include <sys/imgact.h> #include <sys/kernel.h> +#include <sys/sysent.h> #include <vm/vm.h> @@ -50,6 +51,7 @@ exec_aout_imgact(iparams) unsigned long vmaddr, virtual_offset, file_offset; unsigned long bss_size; int error, len; + extern struct sysentvec aout_sysvec; /* * Set file/virtual offset based on a.out variant. @@ -177,6 +179,7 @@ exec_aout_imgact(iparams) iparams->interpreted = 0; iparams->entry_addr = a_out->a_entry; + iparams->proc->p_sysent = &aout_sysvec; return (0); } |