Commit Graph

132 Commits

Author SHA1 Message Date
cgd
0ffdd71a7e mark the buffer busy immediately when we acquire it,
also, sleep at a slightly higher priority (so says mw...)
1993-07-08 10:29:26 +00:00
cgd
8f29c4b498 specification of mountroot now handled by config 1993-07-07 10:55:00 +00:00
cgd
06d372686f revert code base back to net/2. in particular,
fix jolitz's trapsignal() change (it's only supposed to work on curproc)
and add a panic if called w/something other than curproc, and also
fix a relic of his crappy exec implementation
1993-07-07 08:12:33 +00:00
mycroft
38e4cf5f34 Clean up deleted files. 1993-07-07 06:03:57 +00:00
cgd
419b16b0f6 add rcsid, and get rid of extraneous debugging printf 1993-07-07 06:00:15 +00:00
cgd
ac8fe993ef add rmap routines written by Wolfgang Solfrank to the tree,
so that they can be used to (eventually) replace rlists.
1993-07-06 00:25:26 +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
cgd
2f1182cf07 biodone returns void... 1993-07-04 04:01:38 +00:00
cgd
1fd0e7e71f shminit has void return type. 1993-07-04 03:59:55 +00:00
mycroft
c5fdaf369a Blasted ftpd! 1993-07-02 03:11:11 +00:00
mycroft
50974047ed Fix bugs in rb_write and rb_cwrite, and make tab handling use rb_cwrite. 1993-07-02 03:04:51 +00:00
mycroft
c414ffef06 Fix a situation where we might forget to splx(). 1993-07-01 00:22:10 +00:00
mycroft
789d3e468d Fix broken prototype. 1993-06-30 13:43:03 +00:00
andrew
09ff7fc9f4 #endif was somehow missing from the end of a DDB conditional! 1993-06-27 06:22:32 +00:00
andrew
3e701a1438 * ansifications
* Yuval Yarom's socket recv(2) fixes - access rights problems (see also
  uipc_socket.c).
1993-06-27 06:08:40 +00:00
andrew
d46fb2c3fb * ansifications
* Yuval Yarom's socket recv(2) fixes, to prevent incorrect blocking and
  lack thereof with recv(2) and MSG_WAITALL.  Fixes a sbdrop() panic during
  some MSG_WAITALL recv(2) sleeps.  Access rights fix (also in
  uipc_syscalls.c) too.  A test program which shows these problems is
  available.
1993-06-27 06:08:15 +00:00
andrew
6535028529 * ansifications
* fixed the arguments given to the line discipline l_open function in
  ptsopen()
* should ptsstart() return 1 if (tp->t_state & TS_TTSTOP)?
1993-06-27 06:06:47 +00:00
andrew
4d08b29158 * ansifications
* question about whether the "tp->t_state |= TS_ISOPEN" in ttyopen() should
  be shifted to the end of the block in which it appears.
1993-06-27 06:06:14 +00:00
andrew
f74843ee98 * ansifications
* cleaned up hardclock() to avoid checking "p" multiple times, and avoid a
  gcc2 possible-use-before-initialisation warning.
* changed softclock() timeout callback functions to be of type timeout_t -
  a pointer to a void fn(int).  No-one was using the second, tick, argument
  that was being passed to these callbacks - it is much cleaner to drop the
  thing entirely, rather than add a whole heap of casts of dubious
  correctness to calls to timeout(), etc.  The old style is kept in an
  #ifdef, for future reference.
1993-06-27 06:05:32 +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
c34ec14c78 another NDDB -> DDB change. why did DDB invade kern/*? 1993-06-27 01:05:56 +00:00
mycroft
0ee0a87c29 Fix uninitialized variable. 1993-06-24 21:34:54 +00:00
cgd
b2285d45d0 special case raw disk handling return values 1993-06-22 05:19:14 +00:00
glass
b7545aa929 fixing more ansi-style function definitions... 1993-06-22 02:33:21 +00:00
glass
ac6d9dc22e more damn ansi function declarations. damn you chris.... 1993-06-22 01:59:39 +00:00
glass
ee8d969be4 ansi-style function definitions 1993-06-22 01:31:53 +00:00
deraadt
1ca1339919 > NetBSD 0.8a (TDR) #2: Mon Jun 21 11:06:03 MDT 1993
produces "uname -v" output "TDR#2"
"uname -a"  then is..
> NetBSD gecko 0.8a TDR#2 i386
1993-06-21 02:06:10 +00:00
andrew
4c0169f317 Fixed ECHONL. 1993-06-20 04:52:53 +00:00
cgd
c8bdad0560 convert magic numbers to network byte order, and attendent changes 1993-06-18 06:49:30 +00:00
brezak
ce4562fd4b Find version number for uname. 1993-06-18 02:11:20 +00:00
mycroft
9ef827c1e0 Clean up deleted files. 1993-06-16 22:06:45 +00:00
cgd
0dde03704d use/add new physio... 1993-06-16 22:06:33 +00:00
cgd
9751bf77a7 include the (stupid and ugly) patch for the i386 interrupt stuff.
it seems to help stability, when included.
1993-06-15 01:28:29 +00:00
cgd
53eb1ac38c a few changes to select. most notable: don't sleep forever unless
user actually wants to.  (it could happen in strange circumstances...)
1993-06-14 05:11:58 +00:00
mycroft
85387a3dea Believe it or not, selrecord() was broken... 1993-06-13 07:39:32 +00:00
cgd
4d785d18cc handle jolitz physio bug which i mentioned in mail;
if you malloc, and get nothing back, panic.
this is totally done wrong, anyway.
1993-06-12 19:54:35 +00:00
andrew
d790308a20 Yuval Yarom's 'panic:closef: count < 0' fix to unp_discard(). 1993-06-12 14:01:23 +00:00
brezak
224ca11730 Leave a hole for AFS 1993-06-10 16:25:01 +00:00
cgd
b907fbcbb9 add preliminary support for devfs (e.g. MOUNT_DEVFS #define, etc.) 1993-06-10 01:02:59 +00:00
cgd
77e24b59b2 allow modules to be loaded only if device is open for writing 1993-06-07 23:10:09 +00:00
cgd
57d3a6d525 add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
1993-06-07 19:51:59 +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
f1b8c74730 make getc() and ungetc() be rb{un,}getc(), so getc() and ungetc()
don't conflict w/ansi prototypes...
1993-06-06 23:04:42 +00:00
cgd
f17f8f678b make strlen return a size_t 1993-06-06 03:35:39 +00:00
cgd
7489eff03c fix stoopid location to label problem 1993-06-06 02:36:22 +00:00
cgd
f67174d697 patch from David Greenman and Rod Grimes (davidg@implode.rain.com and
rgrimes@agora.rain.com) to support 57600 and 115200 baud
1993-06-05 22:40:40 +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