Commit Graph

74286 Commits

Author SHA1 Message Date
david
d0ec21672f Increase psbuf size as in FreeBSD patch. We don't have jail(8), so the
recent bugtraq exploit doesn't apply, but it could be exploitable in
other ways.
2000-12-30 23:14:52 +00:00
jdolecek
c860130fa0 term_beep(): if terminal supports both visual and ordinary bell, 'ring' both 2000-12-30 22:46:05 +00:00
assar
a4ceca4dc2 krb4 has been upgraded to 1.0.5 2000-12-30 22:30:01 +00:00
ragge
9bbf84e4ca Changes for dzkbd/dzms. This is not yet finished, but at least the
kernel is useable.
2000-12-30 22:11:46 +00:00
martin
8679c35174 More va_list vs. _BSD_VA_LIST_ lossage 2000-12-30 21:45:44 +00:00
martin
8d2fdb358e Don't duplicate system declarations (vsprintf and friends) already
present in system headers. Even worse: those declarations have slightly
different argument types (va_list vs. _BSD_VA_LIST_)
2000-12-30 21:36:23 +00:00
matt
d962f9c52e Add a kludge that makes stack tracebacks work. 2000-12-30 20:16:34 +00:00
matt
8a55dd0d98 Make this compile without having a SMG device. 2000-12-30 20:15:02 +00:00
matt
c03997bb51 Make this compile again. 2000-12-30 20:11:54 +00:00
mjacob
462ff196a4 [ dummy checkin to add to previous CVS ]
It's probably not really a compiler bug- somebody pointed out
that it was the kernel making strings readonly. But I do think it's
a bug. The actual code was really more like:

	char *revname;

	...

	revname = "2X00";

	...
	revname[1] = '2'; <<<<<<<<< BOOOM


The variable revname is not a const. If I had said

	const char *revname = "2X00"
	...
	revname[1] = '2';

that would indeed be breaking const rules.
2000-12-30 19:47:20 +00:00
mjacob
366352e859 Enable Qlogic PCI cards 2000-12-30 19:30:50 +00:00
mjacob
8adadc9bda There's a compiler bug for sparc64 that makes the construct:
char *foo = "XXXX";
	...
	foo[1] = 'Y';

blow up (in the kernel) with the 2nd assignment. Work around it here-
it's probably just as well- I was spending more in cpu instructions doing
the assignment than I was saving in string space (it would have been
cheap on a pdp11 or a 68k- but the address loads and assignments on something
like sparc or alpha way outweigh the savings in space. Tsk.).
2000-12-30 19:30:09 +00:00
itojun
209b37f0e1 fix argument validation mistake in setpeer().
From: Hiroyuki YAMAMORI <h-yamamo@db3.so-net.ne.jp>
2000-12-30 18:00:18 +00:00
sommerfeld
83454472f9 ${PRINTOBJDIR}ify 2000-12-30 17:51:26 +00:00
sommerfeld
1d442ae998 ${MAKE} print-objdir -> ${PRINTOBJDIR} 2000-12-30 17:29:24 +00:00
sommerfeld
a0bc06eb92 parallelize (mostly ${MAKE} print-objdir -> ${PRINTOBJDIR}) 2000-12-30 17:21:44 +00:00
martin
2c14d88958 va_list -> _BSD_VA_LIST_ to be consistent with prototype
(doesn't compile on sparc64 otherwise)
2000-12-30 17:20:55 +00:00
wiz
1a40e855c8 Undo pci_intr_map change in non-NetBSD part of the file. 2000-12-30 17:02:53 +00:00
wiz
1796fa4bd8 Fix pasto in comment. 2000-12-30 16:55:24 +00:00
wiz
2ad3fd958d Merge 2.18 to trunk. 2000-12-30 16:52:36 +00:00
sommerfeld
1ef47ae656 Include token counts in trace output.
Don't let tokensFree go negative.
2000-12-30 16:38:22 +00:00
martin
7c10055175 Be consistent with argument types vs. prototype; use _BSD_VA_LIST_ as
the argument, instead of va_list. Might not make a difference on most
ports, depending on toolchain/MD typedefs. Does make a difference on sparc64,
where it wouldn't compile otherwise.
2000-12-30 16:27:33 +00:00
hubertf
69939b09cd Add -m option, similar to -k, but display output in 1024*1024 byte units.
Patch submitted by Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk> in PR 11849,
adjusted for NetBSD-current by me.
2000-12-30 16:20:58 +00:00
augustss
eb24c4857c Change indentation and wording a little. 2000-12-30 16:18:13 +00:00
hubertf
9c8977ca73 Option similar to -k, only to use megabyte (1024**2) as display unit.
Patch contributed by Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk> in PR 11848.
2000-12-30 16:00:33 +00:00
sommerfeld
dd9c50102d Fix token accounting for .BEGIN/.END jobs 2000-12-30 15:58:34 +00:00
wiz
4b4b4ba4ae Fix typo in v1.38. 2000-12-30 15:32:19 +00:00
sommerfeld
0cc78169f3 Fix oversights in last commit. 2000-12-30 15:25:19 +00:00
wiz
f81de5856b sprinkle some const's 2000-12-30 15:03:23 +00:00
wiz
369f36b84f ANSIfy and de-__P() 2000-12-30 15:01:42 +00:00
sommerfeld
64cf1af58d Let src/usr.bin build with recursive parallel make..
- add .WAIT and .NOTPARALLEL in a few places
 - change ${MAKE} print-objdir to ${PRINTOBJDIR}
 - convert other ad-hoc forms to use ${PRINTOBJDIR}
2000-12-30 14:54:39 +00:00
toshii
3a0975845b Enable TCP_NODELAY socket option also for interactive IPv6 connections.
TCP_NODELAY isn't IPv4 only.
2000-12-30 14:54:38 +00:00
wiz
fb109fb5fa Handle NULL return value by fgets after shell prompt better. Also
improve '\n' slightly. Addresses bin/11847.
2000-12-30 14:46:21 +00:00
sommerfeld
26d86ec404 Fix indentation.. 2000-12-30 14:44:49 +00:00
sommerfeld
92b01a91b8 Correct typos (SUBDIR, not SUBDIRS).
Document use of .WAIT in SUBDIR
2000-12-30 14:34:51 +00:00
sommerfeld
fd805ed302 Change ${PRINTOBJDIR} to a "safer" but more complex form which avoids
infinite recursion when directories reference each other or themselves
(most common when a FOOOBJDIR is defined in a common Makefile.inc).
2000-12-30 14:34:09 +00:00
sommerfeld
3459e6c590 Change SUBDIR expansions so that a .WAIT in a subdirs list turns into
.WAIT (rather than a ${targ}-.WAIT) in the ${targ}'s subdir dependancy list.

This allows .WAIT to be used in SUBDIR as a synchronization barrier
for recursive parallel builds.
2000-12-30 14:32:04 +00:00
sommerfeld
6553cce562 on multiprocessor, display last cpu for SSLEEP state, too. 2000-12-30 14:26:50 +00:00
sommerfeld
663ff035b1 Avoid token leaks when aborting after an error. 2000-12-30 14:21:22 +00:00
augustss
26ebe4297f Add a flag to show the device driver(s) associated with each device. 2000-12-30 13:57:44 +00:00
bjh21
c1ad66d687 Whitespace cleanup. 2000-12-30 13:53:26 +00:00
augustss
7f426f36c1 ANSIfy. 2000-12-30 13:50:43 +00:00
bjh21
66c70101f3 Add a cache flush to pmap_fault() when it adds a r/w mapping, since there's
probably an old mapping around that we don't want to get stale.
2000-12-30 13:42:12 +00:00
bjh21
e9d5e8f1e5 Overhaul v(un)mapbuf: Don't worry about unmapping things (the pmap can handle
multiple wired mappings now).  Do worry about seeding referenced/modified
information correctly.
2000-12-30 13:33:15 +00:00
bjh21
e4c6b6f4e5 pmap_kenter_pa(): Seed referenced/modified information correctly. 2000-12-30 13:31:50 +00:00
augustss
f431253c4a Add usbhidaction. 2000-12-30 13:11:34 +00:00
augustss
ba3249597d Add copyright notice. 2000-12-30 13:10:12 +00:00
augustss
6a55a964fc Add a command to perform commands when USB HID items take on certain
values.
Some sample uses: controlling USB speakers with the HID buttons on them,
	invoking the proper programs from the HID buttons on modern USB
	keyboards.
2000-12-30 13:07:48 +00:00
mjacob
c6b9ad5aeb Use bootverbose to now set whether or not we add
ISP_LOGCONFIG and ISP_LOGINFO messages into the
default logging mask.
2000-12-30 08:49:11 +00:00
castor
02d83a4c77 Fix PR port-hpcmips/11477 "only hpcmips panics with wireless network cards"
Adjust the payload of receive mbufs so the data following the
ethernet header is aligned.
2000-12-30 07:57:52 +00:00