Commit Graph

84 Commits

Author SHA1 Message Date
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 dccfb7e206 make strcpy "normal" and get rid of extra (random) spacing... 1993-06-02 23:47:23 +00:00
cgd 462e59fb61 two fixes from ws:
if resource cur/max limits hosed, fix
	copy the correct amount from the rusage struct
1993-06-02 23:46:28 +00:00
cgd d6e1f01ad4 nextpid & maxproc fixes from ws 1993-06-02 23:10:52 +00:00
cgd c26bdfdb86 kill processes outright if they've exceeded their hard CPU limit. 1993-06-02 23:03:45 +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
mycroft 2be76c2f59 Clean up deleted files. 1993-05-31 01:44:57 +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
cgd 2b422f4029 have setregs copy the stack pointer, too 1993-05-30 18:52:39 +00:00
cgd 7cef199976 make the sleeps on socket open interruptable. 1993-05-27 15:38:18 +00:00
deraadt ada4945e6b patches to make kernel malloc() retryable. from <MDICKSON@CSI.compuserve.com> 1993-05-27 14:34:29 +00:00
deraadt b671aede02 slight functionality change to make the rbpack() and
rbunpack() code that I wrote before work cleaner. Many old drivers
call nnn = q_to_b(queue, buf, len), where nnn gets set to len.
for those who are porting:
	q_to_b(queue, buf, len) --> rbunpack(queue, buf, len)
	b_to_q(buf, queue, len) --> rbpack(buf, queue, len)
ie. they are essentialy drop in replacements now.
1993-05-27 09:29:40 +00:00
deraadt 2f0c0eb674 tty dynamic allocation 1993-05-26 10:06:41 +00:00
cgd a8a67cbfaf fix dependencies on M_LAST's old off-by-one error...
(arguably, the old error wasn't an error, but, given some
of the old usage of M_LAST and its name, i say it was)
1993-05-25 18:04:17 +00:00
cgd 44dcf397e8 move sipcreg into i386/include/reg.h where it belongs, right next to ipcreg. 1993-05-24 11:37:12 +00:00
cgd fe1802950b add include of select.h if necessary for protos, or delete if extraneous 1993-05-22 11:40:42 +00:00
deraadt 6fb28b3c74 more disklabel changes 1993-05-20 23:12:53 +00:00
cgd 4be87870bf the id strings are now made immutable by rcs. 1993-05-20 16:20:12 +00:00
cgd 9b611f165b do something better with version strings for created files,
also inclusion protect syscall.h
1993-05-20 16:17:38 +00:00
cgd cdcb81b16e hack on the uname "machine name" stuff for hopefully the last time.
now it uses MACHINE, as defined in param.h
1993-05-20 15:36:20 +00:00
cgd b95f963973 add rcs ids, and clean up headers where necessary 1993-05-20 03:53:21 +00:00
cgd 48e0fa217b fix for new syscalls.master versioning 1993-05-20 02:59:55 +00:00
cgd 342129da5d kill the "chmod 444" of the syscall-dependent files. makes running
makesyscalls.sh again somewhat more difficult than necessary, sometimes.
1993-05-20 02:57:57 +00:00
cgd 230dcf0d05 add $Id$ strings, and clean up file headers where necessary 1993-05-20 02:54:09 +00:00
cgd 99a13fab8d make uname stuff in init_main machine independent 1993-05-20 02:05:39 +00:00
cgd 8d6c77881c make kernel select interface be one-stop shopping & clean it all up. 1993-05-18 18:18:40 +00:00
cgd 23af7ea092 clean up comment/rcsid... 1993-05-18 15:38:35 +00:00
cgd f9350c73f0 getpgrp actually takes void. ask the IEEE... 1993-05-16 01:51:51 +00:00
deraadt 5760558f80 various 8-bit patches from Andrew Chernov <ache@astral.msk.su>
tty_compat.c is cleaned up, as is STOP+TIOCSTI in tty.c
1993-05-13 20:58:26 +00:00
cgd 37b890c63c from Luke Mewburn <zak@rmit.edu.au>:
add TIOCSTAT ioctl to give load average stats if requested (for tcsh)
1993-05-13 06:42:56 +00:00
cgd 62781e28ba fix kernel printf %b format.
from Gordon Burditt <gordon@sneaky.lonestar.org>
1993-05-13 06:17:51 +00:00
deraadt 64f341ec2a ring buffer now uses rbchar's (shorts) instead of chars. 1993-05-10 23:15:37 +00:00
cgd e9be58fa40 add dcfclock support from patchkit patch 113 1993-05-07 07:15:19 +00:00
cgd e27c0ba7bc update for bde's useracc changes. from patchkit patch 137. 1993-05-07 07:06:42 +00:00
cgd 7fb852403d fix uname initialization 1993-05-07 04:09:18 +00:00
cgd c5d886aff7 diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org> 1993-05-06 10:46:12 +00:00
cgd e811352a74 oops, forgot a c! 1993-05-04 05:48:17 +00:00
cgd 501ba00c04 fix accidental 2dd, and fix comm handling for debug 1993-05-03 02:49:27 +00:00
cgd a70911f1aa add starting, elapsed, user, and system times, and clean up a bit 1993-05-02 20:40:31 +00:00
cgd bd05104f48 add barebones accounting, enabled w/"options ACCOUNTING", via /dev/acct 1993-05-02 09:22:31 +00:00
mycroft 58f76c7974 Clean up deleted files. 1993-05-02 09:14:24 +00:00
cgd a823bc627d fix other half of the text file busy problem:
don't allow user to exec a file if it's open for writing
1993-04-29 10:12:42 +00:00
cgd c94345dd9a JOLITZ MANGLED MY PROFILING PATCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
get the i386 profiling assembly in the right ifdef...
1993-04-29 05:38:52 +00:00
mycroft c6be5fba43 Give processes 0 and 2 more appropriate names (`scheduler' and `swapper', respectively). 1993-04-28 04:19:25 +00:00