Commit Graph

110281 Commits

Author SHA1 Message Date
martin 358b4d4e49 When being passed bogus file descriptors make close(2) return EBADF.
From Stephen Ma in PR kern/20762.
2003-03-17 07:57:13 +00:00
wiz a798d4ff8e Consistent tab usage. 2003-03-17 07:45:04 +00:00
wiz 0385ba9e85 Fix section in Xref. 2003-03-17 07:30:38 +00:00
wiz 644690013e Replace some man macros with mdoc macros, and clean up a bit. 2003-03-17 07:28:59 +00:00
rafal 090fac3d8b Update for devopen() change. 2003-03-17 03:07:14 +00:00
rafal 5bd093cfbd If the boot device starts with a PCI bus spec, skip over that when looking
for a boot device type; this gets the boot.ip32 booting a kernel off disk.

While here remove some unrolled string compares in favor of strncmp() to
make code more readable.
2003-03-17 03:04:51 +00:00
martin b38f12bdd4 Fix a race condition where a writer could already have closed the fifo
before the reader woke up - this made the reader loop again, waiting
for another writer, even though there was input available.

Thanks to Jaromir for spotting the real cause and sugesting a solution.

This should fix PR port-sparc64/20283.
2003-03-17 00:06:24 +00:00
wiz 5ef9540a69 hexadecimal, not hexidecimal. 2003-03-16 21:55:14 +00:00
wiz 447edbab8d hexadecimal, not hexidecimal. Reported to the authors. 2003-03-16 21:54:46 +00:00
wiz 8d68f8869a hexadecimal, not hexidecimal. PR 20738 by Igor Sobrado. 2003-03-16 20:41:33 +00:00
fvdl 3306d06ea7 Don't use bitfields, make the fxsave structure packed instead. Makes
life a bit easier (for i.e. taking the address of a field).
2003-03-16 20:35:28 +00:00
cjep de21c5e413 kernal -> kernel 2003-03-16 19:42:09 +00:00
jdolecek 4b261fc76f allocate majors for vmmon/vmnet - VMware pseudo devices
we have the sources in othersrc tree now, so it's useful to have some
other bits in tree as well to simplify module use
2003-03-16 18:04:08 +00:00
martin c43762a960 Don't access memory before the start of a file. 2003-03-16 17:44:15 +00:00
jdolecek 9f465ef9fb fix typo
from PR misc/20751 by Igor Sobrado
2003-03-16 16:58:46 +00:00
jdolecek 8de2ac78dc fix typos
from PR misc/20752 by Igor Sobrado
2003-03-16 16:57:53 +00:00
toshii 36a24737cd Fix recording with formats other than 16 bit slinear_le, based on the
patch submitted as kern/20620.
2003-03-16 16:33:48 +00:00
fvdl cc8c490f0c Adapt for changed struct reg 2003-03-16 16:26:58 +00:00
fvdl f6215de412 Sync with other reg state structures. 2003-03-16 16:26:11 +00:00
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