Commit Graph

70 Commits

Author SHA1 Message Date
cgd c0334ef92c break args structs out, into syscallname_args structs, so gcc2 doesn't
whine so much.
1993-07-13 22:13:15 +00:00
brezak b5236e7d0f Roundup stack len to naturally aligned address. This fixes emacs aborting due to an odd address in alloca'ed memory. 1993-07-10 02:07:48 +00:00
brezak 31d24dc82e Ignore the flags field in midmag. 1993-07-08 16:48:18 +00:00
cgd b274bb4126 add support for checking entry against max user address 1993-07-05 01:53:56 +00:00
cgd 955ae6a915 change exit() to kexit(), so prototypes are "safe" with stdio.h, etc. 1993-07-04 23:30:33 +00:00
cgd b21025e4f3 call setregs with a retval, too, so the hp300 & mac, and more works. 1993-07-04 09:48:29 +00:00
andrew 0e6cb953ea ANSIfications - removed all implicit function return types and argument
definitions.  Ensured that all files include "systm.h" to gain access to
general prototypes.  Casts where necessary.
1993-06-27 06:01:27 +00:00
glass ee8d969be4 ansi-style function definitions 1993-06-22 01:31:53 +00:00
cgd c8bdad0560 convert magic numbers to network byte order, and attendent changes 1993-06-18 06:49:30 +00:00
cgd 24fe3e4563 fixed bug where extra spaces at the end of a shell name would
cause shell scripts to be executed incorrectly.  shells would
receive an *empty* arg for name of script, open it, the kernel
would say "oh, that's ." or something similar, and the results
would be interesting...  found, diagnosed, and killed by me.
1993-06-07 03:09:29 +00:00
cgd 7489eff03c fix stoopid location to label problem 1993-06-06 02:36:22 +00:00
cgd 165b917efe add fixes supplied by markus wild 1993-06-05 19:38:13 +00:00
cgd 23f01c5982 call a cpu-dependent function to check executable's a_mid type. 1993-06-03 01:31:43 +00:00
cgd 654e213804 when copying out signal trampoline code, make sure that
the copyout actually succeeds.
1993-06-02 04:43:54 +00:00
cgd d2bf51450c fixed minor typo in sigcode copying code 1993-06-02 03:15:36 +00:00
cgd af4017c23f general cleanup including, but not limited to:
better-integreate vmcmd building and exec hdr interpretation,
	get stack sigcode copying right
	etc.
1993-06-02 02:49:40 +00:00
cgd 956c046db5 do address mapping in a new way...
it works, but the code needs to be cleaned some...
1993-06-02 00:20:07 +00:00
cgd 4206d7f100 break before letting child run, if tracing, and do the right
thing with stack limits
1993-06-01 04:52:40 +00:00
cgd 0656a4bbbe final patchups, also add support for finding argv/env via PS_STRINGS 1993-06-01 01:31:39 +00:00
cgd eb4c4de385 replace exec.
new one based on one by Wolfgang Solfrank, but majorly hacked
(as it: it didn't have a chance in hell of working, before; didn't
even bother copying out argc, for one...)
1993-05-31 01:44:55 +00:00