Commit Graph

12450 Commits

Author SHA1 Message Date
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
0856d94781 patch from rodney grimes (patch 118):
added CFLAGS so that include files could be found by mkdep,
and so that make depend would invoke the g++ version of cpp.
1993-04-09 13:13:30 +00:00
cgd
5f10e8acea from rodney grimes (patch 120):
added depend and tags targets (no-ops).
1993-04-09 13:10:30 +00:00
cgd
dab5e017db added, from net/2 (patch 124). 1993-04-09 12:58:42 +00:00
cgd
a6cd7e84d0 added, from net/2 (patch 119). 1993-04-09 12:58:06 +00:00
cgd
e07dae8a85 added the following dirs from net/2 (patch 119):
error	fpr	fsplit	indent	lastcomm
	look	quota	sccs	tcopy	tset
	vgrind	vmstat	window
1993-04-09 12:57:44 +00:00
cgd
564a27b415 from patch 110, by bostic:
dump not mapping last inode in fs
1993-04-09 12:29:06 +00:00
cgd
80179fde68 from patch 108, by jordan hubbard:
The value of endp returned by strtod() was off by one.  There was also a
const char * vs char * assignment that I took the opportunity to fix.
1993-04-09 12:27:23 +00:00
cgd
015e147f48 from patch 107:
This is a patch for ar(1) and ranlib(1) which fixes a problem for object
modules names longer than 16 characters and odd in length.  The problem
was that such records are padded to make sure the next record started on
an even byte boundary, but during reads the padding character was forgotten,
resulting in an "Inappropriate file type or format" error.
1993-04-09 12:25:43 +00:00
cgd
c06b7907ef doesn't need -lcompat 1993-04-09 12:22:07 +00:00
cgd
641cb7d4ac added msgs 1993-04-09 12:21:10 +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
cf98284671 added accton, edquota, flcopy, gettable, htable, iostat, quotaon,
repquota, trpt, and trsp, per (currently alpha) patch 125.
1993-04-09 12:15:37 +00:00
cgd
db622a7428 added netccitt, netiso, and netns support, from (currently
alpha) patch 126
1993-04-09 12:00:07 +00:00
cgd
3b63e56cdf patch 2.0.12u8, from prep.ai.mit.edu. this is not under the GPL. 1993-04-09 11:33:50 +00:00
cgd
33508c1873 added entry for `patch' 1993-04-09 11:33:20 +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
cgd
dc621b97bd make sure directory for calendar files exists before installing them 1993-04-09 10:26:42 +00:00
cgd
a7a0d9856e fix find & deletion of old files so that it doesn't look in kernfs
or fdesc fs
1993-04-09 10:25:02 +00:00
cgd
c050664467 make install copy, rather than move, the binary. 1993-04-09 09:47:42 +00:00
cgd
c16e9bf66b add y.tab.h to CLEANFILES. 1993-04-09 09:46:14 +00:00
cgd
39fb9671d3 make sure directories to install stuff exist before installing 1993-04-09 09:43:43 +00:00
cgd
09774aaf36 term manpage is missing 1993-04-09 09:43:20 +00:00
cgd
00224c37e8 actually do subdirs; they aren't missing! 1993-04-09 09:43:03 +00:00
cgd
80b652e0f4 make sure directory to install stuff exists before installing 1993-04-09 09:39:59 +00:00
cgd
630d08dbe3 make sure directory to install stuff exists before installing,
and copy libs rather than mv'ing them, on install
1993-04-09 09:39:34 +00:00
cgd
77b12ae35f make sure directory to install stuff exists before installing 1993-04-09 09:38:47 +00:00
cgd
e5864485a1 copy deck of cards, rather than moving it, on install 1993-04-09 09:38:35 +00:00
cgd
e76b286f06 make sure directory to install stuff exists before installing 1993-04-09 09:38:08 +00:00
cgd
0594fb5686 fix various install problems. 1993-04-09 09:37:17 +00:00
cgd
e195ce030d add man page to CLEANFILES (because of strange way man page
is generated).
1993-04-09 09:36:09 +00:00
cgd
e736635733 make sure directory to install stuff exists before installing 1993-04-09 09:35:33 +00:00
cgd
8619bdc913 try to do the right thing, in terms making directories before we
install into them, and get the manpage cleans _OUT_ of "clean".
they don't belong there, only in cleandir, WFJ be damned.
1993-04-08 17:18:42 +00:00
cgd
f99488bf5a stop removing when done 1993-04-08 14:31:36 +00:00
cgd
31bc51cdec make it copy when installing 1993-04-08 14:13:46 +00:00
cgd
d870cfd2bd fixed typos... 1993-04-08 14:10:30 +00:00
cgd
e74ea3abfa (silently) make sure we have directories before installing 1993-04-08 14:02:00 +00:00
cgd
e318f3396e make install copy 1993-04-08 13:53:28 +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
e43b6d9d27 patched w/changes from blymn@mulga.awadi.com.AU (Brett Lymn) to
fix things like flow control support, SLIP option support etc.
1993-04-08 04:15:41 +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