Commit Graph

98 Commits

Author SHA1 Message Date
glass
33d009a09c Prevents you from creating double faults and such mmaping stuff on top
of the kernel, etc. Tested.  Derived from BSDI public patches
1993-04-10 15:06:01 +00:00
cgd
658490ec17 print out useful information on boot, and do something
a bit more intelligent with the extended memory size...
1993-04-10 13:47:49 +00:00
cgd
aa545c2955 we don't config as0 in, let alone swap on it... 1993-04-10 12:50:17 +00:00
cgd
bb14fa85f6 bump number of ptys up to 16, and maxusers to 24... 1993-04-10 12:30:35 +00:00
glass
034707f9e5 fixed to be compliant, subservient, and to take advantage of the newly
hacked config(8)
1993-04-10 12:04:35 +00:00
glass
d909074def fixed to be compliant, subservient, and to take advantage of the newly
hacked config(8)
ALL config file should gradually get all the configurable options,drivers,etc
1993-04-10 12:03:30 +00:00
glass
d6cd25222a fixed to be compliant, subservient, and to take advantage of the newly
hacked config(8)
1993-04-10 12:02:29 +00:00
mycroft
7e2dd68b3a Back out previous change. 1993-04-10 03:26:18 +00:00
mycroft
e00e3624d7 Changes for PCFS. 1993-04-10 03:20:59 +00:00
mycroft
743ec551cf Check for malloc() failure in pmap_enter(). 1993-04-10 00:52:34 +00:00
cgd
f16a01db9c bump slip MTU back down to 296... 1993-04-09 20:42:06 +00:00
cgd
5cc382fc66 add support for PCFS, the MSDOS filesystem.
written by Paul Popelka (paulp@uts.amdahl.com) (patch 129)

invoke w/"options PCFS" in kernel config file.
1993-04-09 19:37:49 +00:00
cgd
4493ba8058 fixed stupid typo (missing comma) in hand-applied diff 1993-04-09 17:19:02 +00:00
cgd
a128c34f9c From: Guido van Rooij <guido@gvr.win.tue.nl>
when mmapping a file, permissions are checked as it should be. When
mprotect()-ing the address range afterwards, no protection was checked
regarding the protection of the file originally opened. So
when you open /usr/bin/su RDONLY and SHARED you could afterwards change
the mmapped region to READ|WRITE. This gave the possibility to obtain
root privs obviously.
1993-04-09 17:16:30 +00:00
cgd
202313150e changes, running on sef's machine to good effect, likely contributed
by torek.  (sef told me to get them, and their origin...)
1993-04-09 17:13:17 +00:00
cgd
827c75471f From: andrew@werple.apana.org.au (Andrew Herbert)
Here are some fixes I derived from the mach 3.0 VM system a couple of months
ago.  At the time, I was giving the memory object routines a good looking
at, trying to fix the long-standing problem where vm_object_collapse()
sometimes fails to collapse objects left over from the exit of a forked
child.  As bde has noted, the problem seems to occur when portions of the
parent are paged out.  These "lost" memory objects, which can eat up a huge
amount of swap space, are reclaimed when the parent responsible for the
fork()s is killed.
1993-04-09 16:53:46 +00:00
cgd
fa76d62392 have probe return size of io space on successful return, rather
than simply 1.
1993-04-09 16:43:56 +00:00
cgd
c2176edbac have probe return size of io space on successful return, rather
than simply 1.
1993-04-09 16:25:07 +00:00
cgd
2bbe287e49 make printing of i/o addresses a bit prettier, and fix off-by-one error. 1993-04-09 16:24:26 +00:00
cgd
3cac22992d from sean eric fagan:
it seems to keep the vm system from deadlocking the system when it runs
out of swap + physical memory.
prevents the system from giving the last page(s) to anything but the
referenced "processes" (especially important is the pager process,
which should never have to wait for a free page).
1993-04-09 15:54:56 +00:00
cgd
cf15785585 from Rodney W. Grimes (rgrimes@agora.rain.com) (patchkit patch 117):
This patch adds the symbol names to icu.s that vmstat expects
the interrupt counters to be called.  It also adds code to config
so that the names of the interrupts are written at the end of vectors.s
so vmstat can report real device names.  It also cleans up and enables
the logging of stray interrupts.  The counters for false interrupts
are added but the fix for them is not (the fix I have is not done
very good.) A false interrupt is when a device asserts it's interrupt
signal, then removes it before the 8259 can latch it.  This is the number
one cause of stray IRQ7's and IRQ15's.

        Additional device probe information is now printed.  This includes
ending I/O address (many drivers do not return the correct value from a
probe this still needs to be fixed), memory address and size, driver
flags passed in by config.
1993-04-09 13:43:40 +00:00
cgd
9dc3975ffe from Rodney W. Grimes (rgrimes@agora.rain.com) (patchkit patch 117):
This patch adds the symbol names to icu.s that vmstat expects
the interrupt counters to be called.  It also adds code to config
so that the names of the interrupts are written at the end of vectors.s
so vmstat can report real device names.  It also cleans up and enables
the logging of stray interrupts.  The counters for false interrupts
are added but the fix for them is not (the fix I have is not done
very good.) A false interrupt is when a device asserts it's interrupt
signal, then removes it before the 8259 can latch it.  This is the number
one cause of stray IRQ7's and IRQ15's.

	Additional device probe information is now printed.  This includes
ending I/O address (many drivers do not return the correct value from a
probe this still needs to be fixed), memory address and size, driver
flags passed in by config.
1993-04-09 13:27:46 +00:00
cgd
d9bc91c0ac fix from Chris Torek (patch 106):
386BSD inherits a bug from the 4.3 Reno port for contiguous block allocation.
1993-04-09 12:19:12 +00:00
cgd
db622a7428 added netccitt, netiso, and netns support, from (currently
alpha) patch 126
1993-04-09 12:00:07 +00:00
glass
696d0f1953 fixes stupid piece of bpf code that duplicates cdefs.h's handling of
'inline' in such a way as to cause stupid warnings.
1993-04-09 11:02:51 +00:00
deraadt
b9bd4b25de dmesg output at boottime now tries to print out information as
soon as it is available. The output looks much more like Sunos.
1993-04-08 08:26:46 +00:00
cgd
161d9cd1a9 to get scsi system, you now use "options SCSI" rather
than "controller scbus0" -- makes more sense
1993-04-08 04:08:00 +00:00
cgd
3c5df8a123 put scsi system file list in the right place (finally) 1993-04-08 04:05:33 +00:00
glass
0d718ac79e attempting to open an already opened tape drive should get you EBUSY, not
ENXIO.
1993-04-08 00:20:02 +00:00
deraadt
fe6c03e9c7 /* ... /* ... */ problem in an include file 1993-04-07 09:15:28 +00:00
deraadt
76a489d2f4 wd7000 entry 1993-04-06 20:59:57 +00:00
deraadt
de24d978d5 wd7000 device driver, put in IO_WDS entry in isa.h. You can now build a
kernel with it. Hope your dma works better than mine <grr>
1993-04-06 20:58:01 +00:00
cgd
5b67f9cea5 changed order of copyright/version notice (to match 4.4 boot string)... 1993-04-06 14:23:00 +00:00
deraadt
a2b4863160 ripped out a message 1993-04-06 12:09:55 +00:00
deraadt
65ac2c0ded <no drive> message gone. 1993-04-06 12:04:04 +00:00
deraadt
5190737035 fd.c -- changed type=0 to correspond to "drive not found" 1993-04-06 11:52:35 +00:00
deraadt
5aa76ea692 Modified floppy and WD enties for mod-barsoom controller type. 1993-04-06 10:49:30 +00:00
glass
8d58080ba3 used by makesyscalls.sh to produce init_sysent.c, syscalls.c ../sys/syscall.h
edit this to add/delete/ifdef system calls
1993-04-06 10:39:51 +00:00
glass
2a0fbbf7d6 added 'makesyscalls.sh' from BNR/2. Edit only 'syscalls.master'
recreates init_sysent.c syscalls.c ../sys/syscall.h which should
then be checked back in.
1993-04-06 10:37:09 +00:00
deraadt
8ed3c049a1 deraadt@fsa.ca's kernel config file 1993-04-06 10:08:17 +00:00
deraadt
9b67a6d7ad Mod-barsoom wd additions. config program + kernel config files changed too.
fd support had to change slightly too.
1993-04-06 10:06:28 +00:00
deraadt
c3d2e42be0 added: incomplete wd7000-asc scsi controller device driver. 1993-04-06 10:04:46 +00:00
deraadt
bacbdac9c8 commit damnit! 1993-04-06 06:50:20 +00:00
deraadt
d64d6e2c56 selwakeup() takes a "pid_t" rather than "struct proc *" now. 1993-04-05 22:04:09 +00:00
cgd
e9e7ae8a6e now uses maxfdescs' to bound openfiles' resource limit. 1993-04-04 04:32:14 +00:00
cgd
8fe7f325cd added maxfdescs definition 1993-04-04 04:31:05 +00:00
cgd
95d13869d1 got rid of accidental extra newline 1993-04-03 11:19:42 +00:00
cgd
2633c2e52a added `options KTRACE' 1993-04-03 07:33:10 +00:00
cgd
086e97be7e converted date in kernel version to standard date output format. 1993-04-03 03:53:00 +00:00
cgd
5d07e08579 added changes from Steven Reiz <sreiz@aie.nl> (based on
those by Poul-Henning Kamp <phk@data.fls.dk>) to get the kernel
to compile properly when gcc2.* is cc.  (should still work
when gcc1.39 is in use.)
1993-04-03 02:15:18 +00:00