Commit Graph

111547 Commits

Author SHA1 Message Date
simonb
3a00c85d38 Add a KASSERT to make sure that "sizeof(struct mbuf)" is MSIZE.
Extra insurance for Steve Woodford's recent <sys/mbuf.h> patch.
2003-04-18 01:24:20 +00:00
mason
d1b448c6e5 From current-users:
On Thu, Apr 17, 2003 at 11:26:26AM -0500, Dave Huang wrote:

> Typo police here :) "whose," not "who's."
2003-04-18 00:35:14 +00:00
thorpej
3088c62122 Bump file system size to 2300k. 2003-04-17 23:00:49 +00:00
thorpej
091e93c002 Bump ramdisk size to 4600 blocks. 2003-04-17 22:57:16 +00:00
salo
f35804411a depreceated->deprecated 2003-04-17 22:55:29 +00:00
thorpej
f72721d957 Add man4 acorn32 dirs. 2003-04-17 22:23:47 +00:00
thorpej
817eb1cb2e We need -I., too. 2003-04-17 22:12:50 +00:00
perry
6545393afc Update date 2003-04-17 21:24:18 +00:00
perry
f15285a4b0 Improve the language and description. 2003-04-17 21:23:45 +00:00
wiz
b2c4fe3bde Mention info page for am-utils. Closes PR 20167 by Ben Collver. 2003-04-17 21:05:38 +00:00
matt
062bcd3204 acpi.c needs sysmon_power too. 2003-04-17 20:56:29 +00:00
tron
ea6c5e2cf1 Forgot "./usr/share/man/cat8/wizd.0" in last commit. 2003-04-17 20:53:43 +00:00
jdolecek
f331bb3205 do not show nodes corresponding to directory descriptors for process
in fd/ subdirectory, nor allow lookup/open for the nodes
this fixes PR kern/21187 for good, and also avoids interesting directory
locking issues
2003-04-17 20:50:46 +00:00
tron
088e2da85b Add manual page for wizd(8). 2003-04-17 20:48:33 +00:00
jdolecek
884bdfdbaf procfs_readdir(): in Pfd case, only show descriptors of types we want
how to represent (vnodes, fifo, pipes); also use fd_getfile() et al

this avoids annoying EOPNOTSUPP error messages from ls -F and such
2003-04-17 20:33:17 +00:00
jdolecek
be4c900d41 procfs_lookup(): use fd_getfile() et al in Pfd case 2003-04-17 20:19:18 +00:00
wiz
c77eae368f Convert to mdoc, except for a gruesome example. 2003-04-17 20:04:29 +00:00
fvdl
1279513402 Need PAGE_SIZE definition for mptramp.S 2003-04-17 20:00:03 +00:00
thorpej
ee5b1a7c61 Protect the definition of offsetof(). 2003-04-17 19:58:57 +00:00
wiz
365962d31f Convert to mdoc. 2003-04-17 19:48:37 +00:00
wiz
335e44b3ef Convert to mdoc. 2003-04-17 19:35:03 +00:00
wiz
93ebe1c2f3 Punctuation nit. 2003-04-17 19:32:17 +00:00
fvdl
046ec6c887 FIx kernel set names. Add 'toolchain' set for the time being. 2003-04-17 19:30:19 +00:00
wiz
7e06307f35 Convert to mdoc. 2003-04-17 19:18:01 +00:00
wiz
0a1b8c0e9c Increase width in a list. 2003-04-17 19:17:48 +00:00
jdolecek
ed9a5a7448 use fd_getfile() in procfs_getfp(), and FILE_USE()/FILE_UNUSE() the
returned file descriptor pointer appropriately
2003-04-17 19:04:25 +00:00
fvdl
c3065b2a37 Create two ptys in the init case. You never know, you might need them
(sysinst does).
2003-04-17 18:51:23 +00:00
wiz
6fa350b93d Convert to mdoc. 2003-04-17 18:48:28 +00:00
fvdl
5b38542fe2 Bump MSIZE to 512. 2003-04-17 18:20:17 +00:00
jdolecek
b5bca36101 g/c, it's outdated and the info wouldn't belong here anyway 2003-04-17 18:14:57 +00:00
wiz
f77fff8c0b Convert to mdoc. 2003-04-17 18:14:21 +00:00
jdolecek
64b598bf33 make some local arrays/variables static + const 2003-04-17 18:08:28 +00:00
fvdl
9f959f87e7 Call MAKEDEV with "init" 2003-04-17 18:04:47 +00:00
fvdl
750b5b8327 Add an 'init' target, that creates the device nodes in the case where
MAKEDEV is being called from init(8) to create an MFS /dev. For most
ports, this is the same as 'all'. The only exceptions are i386 and
x86_64.
2003-04-17 18:03:10 +00:00
wiz
4472b40375 Convert to mdoc. Fix an error (two many arguments to a function). 2003-04-17 17:57:12 +00:00
wiz
df25ca4551 Convert to mdoc. Fix one or two bugs while here, hope I didn't introduce
more :)
2003-04-17 17:02:48 +00:00
tron
2dcd4d2952 Clear hardware checksum flags before reusing a mbuf for an ICMP reply as
suggested by Enami Tsugutomo. This fixes PR kern/21203 by myself.
2003-04-17 16:57:49 +00:00
jdolecek
9d23bccfba add quirk for Avance Logic USB Audio
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:43:44 +00:00
jdolecek
8d4a0cf374 regen:
fix handle for Avance Logic (AVANCELOGIC, not ADVANCELOGIC), and add
id for their USB Audio Speaker
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:41:48 +00:00
jdolecek
e566bf6b6e fix handle for Avance Logic (AVANCELOGIC, not ADVANCELOGIC), and add
id for their USB Audio Speaker
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:41:00 +00:00
jdolecek
5e0c8413f3 uaudio_match_alt_sub(): fix the rate check in UA_SAMP_CONTNUOUS case
to match if UA_SAMP_LO() == UA_SAMP_HI() == rate
problem reported and fix provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:38:02 +00:00
scw
d97029d2df Fix a problem first reported by Simon Burge when paddr_t is 64-bits on an
ILP32 platform.

What happens is that the compiler inserts padding in struct mbuf between the
MH_pkthdr and MH_dat members, due to the paddr_t in struct _m_ext.

Unfortunately, the old MLEN/MHLEN macroes fail to take into account this
padding and, thus, wind up making sizeof(struct mbuf) > MSIZE. This causes
mbuf corruption, which eventually leads to all sorts of bogosity on ILP32
platforms with a 64-bit paddr_t.

Thanks to simonb@ and fvdl@ for helping to track down this bug.
2003-04-17 16:15:36 +00:00
sjg
414c86b6d1 math.h is not needed and including it introduces uncessary dependencies
on some systems.

PR: 21204
2003-04-17 15:57:52 +00:00
fvdl
f41a4264a0 Remove some items to save space. 2003-04-17 14:45:33 +00:00
grant
6bc4824cf3 crank PKGTOOLS_VERSION for pkg_admin getcwd() fix. 2003-04-17 13:38:02 +00:00
fvdl
41aa5664b5 Add mpt. 2003-04-17 13:32:28 +00:00
grant
5cea86225d don't pass NULL as the 2nd arg to getcwd(), ala lib/path.c.
fixes 'pkg_admin lsall' and 'pkg_admin lsbest' on Solaris and probably
other platforms where getcwd() doesn't allocate a buffer when the 2nd
arg is NULL.

ok'd by simonb@
2003-04-17 13:32:21 +00:00
fvdl
2807f6e56a A bit of an ugly workaround to avoid a warning for a larger MSIZE.
Shouldn't make a difference in the generated code.
2003-04-17 13:12:39 +00:00
nakayama
72911290d9 Comment fixes from OpenBSD. 2003-04-17 12:58:18 +00:00
fvdl
00abb49877 if 0 out some redundant asserts. 2003-04-17 12:52:21 +00:00