Commit Graph

109962 Commits

Author SHA1 Message Date
christos d5632de9bf Don't do:
if ((xdrp->x_handy -= need) < 0)
		return FALSE;

because by repeatedly calling this we can cause overflow, and then overwrite
valid memory. Instead do:

	if (xdrp->x_handy < need)
		return FALSE;
	xdrp->x_handy -= need;
2003-03-16 15:42:22 +00:00
jdc 0dfeec7835 Add tc=xterm entries to xterm+sl and xterm+sl-twm entries.
From Monroe Williams in PR misc/20606.
2003-03-16 15:06:25 +00:00
toshii 6e79d819f7 Remove a couple of false comments, as pointed out in kern/20620. 2003-03-16 13:34:24 +00:00
darcy 795a64ffd8 Text on pkg_add assumes sh(1). This fix adds text describing how to
set environment under csh(1) as well.

Closes PR install/14797.
2003-03-16 13:10:01 +00:00
jdolecek 66c83f4d8e union fs moved from miscfs/union to fs/union
omission pointed out by Martti Kuparinen
2003-03-16 11:50:27 +00:00
jdolecek 9fe8da698b we really don't need to print random stack garbage on the end of dump 2003-03-16 09:59:09 +00:00
jdolecek 75f054650f constify ptrace_ops[] 2003-03-16 09:44:25 +00:00
yamt f9cc84c69d getlock: detect duplicated locks slightly correctly.
XXX how should we do for byte range lock?
2003-03-16 09:05:56 +00:00
he cea7b7a329 Add the newly separated-out ether_sprintf.c here, so that the booters
can be allowed to link with no unresolved symbols again.
2003-03-16 08:39:58 +00:00
jdolecek a0deb3e9c4 move union filesystem code from sys/miscfs/union to sys/fs/union 2003-03-16 08:26:46 +00:00
matt 77533df068 Remove some debugging code. 2003-03-16 08:12:26 +00:00
matt e86e032c61 Make cfroots const. 2003-03-16 08:09:58 +00:00
matt 137a763c9b Only define POOL_LOGSIZE/pool_size if POOL_DIAGNOSTIC is defined. 2003-03-16 08:06:51 +00:00
jdolecek 0d2891bece need a prototype for union_lkmentry() to compile 2003-03-16 08:01:13 +00:00
matt f5110f7988 EV64260 now gets to single user prompt using COM1 (2nd uart) as console
with PPCBOOT as firmware.  XXX PCI devices are not found.
2003-03-16 07:07:17 +00:00
matt 08ea2a499c Cleanup. Move much of the code to bus_space instead of using
private mechanisms.
2003-03-16 07:05:33 +00:00
matt 7f87f176b2 Add obio attachment for things like rtcs, com, and flash. 2003-03-16 07:03:30 +00:00
matt 5504cc0c26 Use "b" constraint so r0 won't be used. 2003-03-16 06:57:31 +00:00
matt 1d04c635f2 Make the result an early clobber so gcc won't get clever. 2003-03-16 06:56:47 +00:00
yamt acc9d6c0f9 for lock/unlock requests, log svid as well as client name. 2003-03-16 06:55:47 +00:00
matt 8524a72241 Honor PMAP_NC for pmap_kenter_pa. Fix goof in pmap_pte_to_va. 2003-03-16 06:54:46 +00:00
matt ea542f761a addi is not the same as add. :) 2003-03-16 06:52:39 +00:00
matt 8a37a3ec5d Fix bus_dmamap_sync (add offset to ds->ds_addr when needed).
Add a set of parenthesis to PMAP_NC so it evaluates properly.
2003-03-16 05:37:37 +00:00
lukem b1026bf11c Enable check in in_pcbbind() to enforce sin_family == AF_INET.
If there are any "old programs which incorrectly set this" left,
they will now fail with EAFNOSUPPORT.
This make in_pcbbind() consistent with in_pcbconnect() and the other
protocol families.

As per my PR [kern/4441], which has the comment:
	Steven's "TCP/IP Illustrated, Volume 2", page 730, notes that
	in_pcbbind() has the check which determines if sin_family == AF_INET
	commented out, but the same check in in_pcbconnect() is still active.
2003-03-16 03:33:28 +00:00
kristerw 3735c66934 Add snprintf, divdi3, moddi3, and qdivrem so that ufsboot builds. 2003-03-16 01:29:04 +00:00
wiz 83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
fvdl c5eb2581e1 Make struct sigcontext consistent with other regstate-holding structures. 2003-03-15 23:41:25 +00:00
wiz 76c4d78af3 eliminating, not elimininating. From Igor Sobrado in PR 20723. 2003-03-15 22:38:46 +00:00
wiz 65daab973d retransmit, not restransmit. From Igor Sobrado in PR 20723. 2003-03-15 22:34:25 +00:00
he dace8f1df0 Do not try to build LKMs on evbppc, because we cannot predetermine
the PPC_INTR_IMPL, which is used to include a file in <machine/intr.h>.
To allow evbppc to complete a ``make release'', we also need to
factor out the LKM files to a new set list file, and tweak makeflist
to not include this file for evbppc.

Discussed with Matt Thomas.
2003-03-15 22:32:07 +00:00
wiz 66793552fe Fix two typos, from Igor Sobrado in PR 20722. 2003-03-15 22:30:37 +00:00
wiz 4163cb2aee Fix some typos. From Igor Sobrado in PR 20722. 2003-03-15 22:25:37 +00:00
wiz 7d23ed38db IPsec, not ipsec. From Igor Sobrado in PR 20722. 2003-03-15 22:24:18 +00:00
jhawk d935301e6f Xr vfork(2); not worth a Dd bump 2003-03-15 22:06:34 +00:00
wiz da8cf668e4 Fix spelling of acknowledgement. From Soren Jacobsen in PR 20726. 2003-03-15 22:04:56 +00:00
hubertf 89b4984304 Catch one more place that could result in Current not being set properly
(and thus in the execution of "rm -fr /") if ^C is pressed at the wrong time.

See also PR 19436.
2003-03-15 20:54:25 +00:00
agc 9d52ce445c Bump version string for pkgdb_dump changes. 2003-03-15 20:50:13 +00:00
agc 2c442ad8d2 Introduce a pkgdb_dump() function, which dumps the cache file of
(filename, package) pairs.

Modify calling functions to use pkgdb_dump() directly, rather than
sequences of
	pkgdb_open
	{ pkgdb_iter, pkgdb_retrieve }
	pkgdb_close
calls.

Remove the now unnecessary pkgdb_iter function.
2003-03-15 20:49:25 +00:00
matt 640bee3010 Reduce visible globals. (gt_handle is now gt_memh and is only known to
machdep.c, gt_mainbus.c, and extintr.c)
2003-03-15 19:51:48 +00:00
matt 101a152db1 This contains no marvell specific code now. It now completely hides the
underlying PCI MD implementation.  XXX want to move this to
powerpc/include/ someday.
2003-03-15 19:50:31 +00:00
jmmv d69e6401db Note the DDB_ONPANIC option (commented out). Closes my own PR port-i386/17649. 2003-03-15 19:34:16 +00:00
wiz 49e9f32df4 source, not sourse. From Igor Sobrado in PR 20721. 2003-03-15 19:29:11 +00:00
wiz 628f423c52 IPv4, not IPV4. From Igor Sobrado in PR 20718. 2003-03-15 19:27:17 +00:00
wiz c9ac698957 IPv4, not IPV4. 2003-03-15 19:26:42 +00:00
wiz 37a402fc28 IPv4/IPv6, not IPV4/IPV6. 2003-03-15 19:26:08 +00:00
wiz 46ebb6111a Correct spelling of "overridden". Found in follow-up to PR 20718. 2003-03-15 19:24:02 +00:00
wiz 839680dfba Correct spelling of "overridden". From PR 20718 by Igor Sobrado. 2003-03-15 19:22:16 +00:00
wiz 5606e5cc70 Correct spelling of "specification". From PR 20717 by Igor Sobrado. 2003-03-15 19:18:41 +00:00
wiz a6bd266319 Correct spelling of "preferred". From PR 20716 by Igor Sobrado. 2003-03-15 19:15:58 +00:00
thorpej c165d23d2b Back out rev. 1.4. The problem only occurs when using pre-compiled
headers, which we turn off.  (Nevermind the mis-placed #endif which
would cause incorrect output from a non-Apple host, sigh.)
2003-03-15 17:40:33 +00:00