Commit Graph

384 Commits

Author SHA1 Message Date
chopps 0622d87221 fix incorect check of nprocs vs. maxproc. 1994-02-21 23:10:46 +00:00
mycroft f663fac02d Return a legitimate value from ttylclose(). 1994-02-20 17:24:19 +00:00
mycroft 6adb7d5015 Don't send SIGINFO if ISIG off. 1994-02-20 16:56:56 +00:00
mycroft 678e80720a Some formatting changes. 1994-02-20 16:55:10 +00:00
mycroft 75029eb7b4 #include proc.h. 1994-02-17 14:50:38 +00:00
pk 96fc0a6188 Check `uio_resid' separately (and panic if invalid). 1994-02-16 17:34:01 +00:00
pk c90756358c read(): return EINVAL if `count' argument is negative. 1994-02-16 17:23:03 +00:00
cgd a790e23e87 simplify error returns, and fix bugs 1994-02-16 01:21:00 +00:00
mycroft d78c3ff463 Some cleanup. 1994-02-15 14:17:07 +00:00
mycroft e69b4e2e08 We don't use Aztec C. 1994-02-15 14:02:59 +00:00
mycroft 83be6ac4f5 Some more cleanup. 1994-02-15 13:35:53 +00:00
cgd 022a8ce9c5 add a proc ptr to the syscall debug info 1994-02-15 06:58:07 +00:00
cgd 95e17fef9f add scdebug variable, to enable printing, defaulting to on, and change args 1994-02-15 06:52:25 +00:00
cgd 9740a53c8b add SYSCALL_DEBUG stuff for glass 1994-02-15 06:38:33 +00:00
ws fbf99acae8 (Hopefully) do the right thing with VTIME > 0 and select 1994-02-14 18:22:39 +00:00
mycroft f2fe1704b1 Fix typo. 1994-02-13 11:32:46 +00:00
mycroft 3406139426 Format police, the end. 1994-02-13 11:31:16 +00:00
mycroft 22a8203482 Format police, second pass. 1994-02-13 10:20:02 +00:00
mycroft e3c4154717 Format police, first pass. 1994-02-13 09:57:12 +00:00
mycroft aa8b8cf7c4 Format police. 1994-02-13 09:36:09 +00:00
mycroft 78bca19b28 KNFify uname code. 1994-02-13 04:18:06 +00:00
cgd a0bdba3231 always good to think about patches before they're included:
NEVER pass a "NULL" proc to an ioctl; you never know when a 'real'
proc will be needed.  pass curproc, if you don't have one.
1994-02-13 00:10:47 +00:00
glass 2afef02671 undefined variable fix from Mark_Weaver@brown.edu 1994-02-12 15:52:49 +00:00
mycroft 974e9ba226 Fix typo in last change. 1994-02-12 07:19:11 +00:00
cgd 3a46cb73c6 ditto on the last; weird failure modes are the cause of the day. 1994-02-12 07:02:34 +00:00
cgd 64517d6f7f don't forget to deallocate vmcmds if exec fails bounds checks.
thanks to charles for pointing it out.
1994-02-12 04:13:43 +00:00
cgd 32c2dba8da Mike Karels' solution to Andrew Herbert <andrew@werple.apana.org.au>'s
kern_exit race condition problem.  this is a hack:
	don't vrele() or vgoneall() if we don't have the vnode
	any more.  no vgoneall() is necessary, because if the refcnt
	is zero, there's nobody to take it away from!
a possible "real" long term solution would be to change the extra ref
into a bit in the vnode's flags, and DTRT in the places where the last
ref is killed.  That has some problems, too.
1994-02-11 03:09:17 +00:00
mycroft f834e39cf5 Don't need back pointers for disksort(). 1994-02-10 15:43:20 +00:00
mycroft bbb3e7618c All ioctl routines take a struct proc * now. 1994-02-09 21:06:46 +00:00
mycroft a8aa70d4a5 Remove l_rend and l_meta. 1994-02-09 20:18:17 +00:00
cgd 9ea6d6571f kill support for 'dcfclk' ; shouldn't pollute tree for things not in NetBSD. 1994-02-07 07:33:49 +00:00
mycroft 57892d4faf Remove another use of b_actl. 1994-02-06 17:39:48 +00:00
mycroft adeebc448e Use b_actf, not av_forw. 1994-02-06 10:00:30 +00:00
cgd 114cf35108 dtrt with exec header size 1994-02-05 02:23:30 +00:00
pk a2e2253e6c Remove out-dated comments 1994-02-03 16:17:25 +00:00
deraadt 425f5d3170 more untimouts needed, from someone at freebsd 1994-02-01 15:09:52 +00:00
deraadt c1d3660b28 pass around a `clockframe *' instead of a `clockframe' 1994-02-01 01:50:38 +00:00
mycroft 1b37a40b3d Fix that last bug correctly. 1994-02-01 01:04:07 +00:00
pk 92f1bd1c60 Replace a bogus pointer-dereference with something that at least *looks*
more sensible.
1994-02-01 00:29:14 +00:00
deraadt fa2aa77517 make panic a varargs function 1994-01-30 13:22:05 +00:00
jtc 5235180083 Fix spelling error in Copyright notice 1994-01-28 23:43:26 +00:00
cgd 55d2821ec0 make sure PT_STEP's are in #ifdefs 1994-01-28 19:06:17 +00:00
deraadt 6aac4eb9f1 undo totally misguided changes from Andrew Chernov in rev. 1.7:
RTS has nothing to do with ttyblock()
also, close a race.
1994-01-28 11:32:43 +00:00
cgd 1b2497a000 if you define PT_[GS]ETFPREGS, then you'd better define struct fpreg, etc. 1994-01-28 06:51:13 +00:00
cgd 4dc27cd628 add new type 1994-01-28 04:55:41 +00:00
cgd 1758eaf2cb kill hack for vfs_bio jolitz-ish hack 1994-01-27 07:45:21 +00:00
cgd 07c0d9025d get rid of jolitz hack, and add panic() where appropriate 1994-01-27 07:39:32 +00:00
cgd ad869e40c0 kill two patchkit bogons 1994-01-27 03:26:48 +00:00
mw 1a3cc08a27 All hp300 ifdefs apply for amiga too. 1994-01-26 21:58:43 +00:00
mw 9c81b541aa amiga wants RTC started early, too (like i386 and mac) 1994-01-26 21:55:44 +00:00