summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_aout.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1994-08-24 11:52:21 +0000
committersos <sos@FreeBSD.org>1994-08-24 11:52:21 +0000
commitecc424b57bcdf651d67766c458bc8c3e1bcde1f7 (patch)
treed44c9b6cf2bf87e21fea043e3f7e37e7b55833e1 /sys/kern/imgact_aout.c
parent905367d1b840c512e15cb6243dbc3c4b14370cfc (diff)
downloadFreeBSD-src-ecc424b57bcdf651d67766c458bc8c3e1bcde1f7.zip
FreeBSD-src-ecc424b57bcdf651d67766c458bc8c3e1bcde1f7.tar.gz
Changes preparing for iBCS support
Reviewed by: Submitted by:
Diffstat (limited to 'sys/kern/imgact_aout.c')
-rw-r--r--sys/kern/imgact_aout.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c
index 31705a2..fcd7af5 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);
}
OpenPOWER on IntegriCloud