Commit Graph

52382 Commits

Author SHA1 Message Date
peter
0bc814931e Missing quote
PR:		misc/19745
Submitted by:	Tony Finch <dot@dotat.at>
2000-09-25 18:23:34 +00:00
nsayer
e922a4d3fc In theory, m_dup should not be necessary, as m_copypacket should be
sifficient. But somewhere (I believe in the UDP stuff), someone is
overwriting an mbuf without calling m_pullup() first. This results in
broad- and multi-cast traffic that is passed through the bridge getting
corrupted.

This should be backed out when there is some assurance that the upper
layers (and I suppose all of the device drivers) are fixed.

Suggested by: archie
2000-09-25 17:24:02 +00:00
alc
94c3aaec98 Remove (long) unused fields from struct __aiocb_private. 2000-09-25 17:02:47 +00:00
ache
25ad27fd84 Re-add -P option (for POSIX-like command line interface) 2000-09-25 16:24:22 +00:00
bp
0d4e34a116 Fix vnode locking bugs in the nullfs.
Add correct support for v_object management, so mmap() operation should
work properly.
Add support for extattrctl() routine (submitted by semenu).

At this point nullfs can be considered as functional and much more stable.
In fact, it should behave as a "hard" "symlink" to underlying filesystem.

Reviewed in general by:		mckusick, dillon
Parts of logic obtained from:	NetBSD
2000-09-25 15:38:32 +00:00
bp
e5f935eef3 Add a lock structure to vnode structure. Previously it was either allocated
separately (nfs, cd9660 etc) or keept as a first element of structure
referenced by v_data pointer(ffs). Such organization leads to known problems
with stacked filesystems.

From this point vop_no*lock*() functions maintain only interlock lock.
vop_std*lock*() functions maintain built-in v_lock structure using lockmgr().
vop_sharedlock() is compatible with vop_stdunlock(), but maintains a shared
lock on vnode.

If filesystem wishes to export lockmgr compatible lock, it can put an address
of this lock to v_vnlock field. This indicates that the upper filesystem
can take advantage of it and use single lock structure for entire (or part)
of stack of vnodes. This field shouldn't be examined or modified by VFS code
except for initialization purposes.

Reviewed in general by:	mckusick
2000-09-25 15:24:04 +00:00
bp
4fe5f3477d Increase pollution of LK_* name space and add flag LK_THISLAYER which
limits locking depth in the vnode stack by current layer.
2000-09-25 15:04:15 +00:00
phk
417071227f Use "make LINT" to create our LINT config 2000-09-25 12:40:39 +00:00
phk
e03bdcefec GC some old no longer supported options. 2000-09-25 12:38:55 +00:00
ru
5a11dbce06 Do not call freeaddrinfo(res0) twice.
PR:		bin/21476
2000-09-25 11:38:28 +00:00
dcs
3af5bb3e3e Get rid of garbage left on the stack. 2000-09-25 11:36:55 +00:00
markm
3d1f9b0eb3 Huge improvement to the mutex man page.
o Document all the mutex calls, not just the entry and exit.

o Fix the mtx_t typedef (now is struct mtx).
2000-09-25 11:21:49 +00:00
markm
9236128b6a Remove references to the defunct kern.timecounter.method sysctl variable. 2000-09-25 11:18:51 +00:00
dcs
4117f945f3 What could possibly have possessed me to forget the "0 (arguments)"
in two of the three boot words in the "boot" redefinition, I have no
clue. Fix it.

Noticed by: bp
Noticed by: adrian
2000-09-25 11:18:02 +00:00
marko
4455a7db67 Fix typo 2000-09-25 10:49:10 +00:00
dcs
7123809437 Add definitions of hardware and software. 2000-09-25 10:42:04 +00:00
marko
ad22c711eb Make the ``-r'' option actually do something :)
Also tidy up it's output.

Approved by:	jkh
2000-09-25 07:27:05 +00:00
jkh
46fab06d29 Fix a small bogon with a boolean yes/no question check. 2000-09-25 07:15:19 +00:00
tanimura
780bcd572a Allocate memory resource to access the attribute memory of a card.
Reviewed by:	imp
2000-09-25 06:01:42 +00:00
iwasaki
6129908999 Formatting fix on ACPI options. Sort them, comment out negative options.
Suggested by:	bde
2000-09-25 02:43:51 +00:00
ume
e00d2d8dd3 - reject numeric address
- validate scope in sockaddr comparison logic

patch was originally submitted by itojun and slightly modified by me.

Reviewed by:	itojun, kris
2000-09-25 00:41:55 +00:00
jhb
0cc1eddc2e Fix the assmebly mutex macros to handle saving/restoring interrupt state
properly.  Fix the recursive mutex macros to actually compile.  At the
moment we only use MTX_EXIT anyways.
2000-09-24 23:34:21 +00:00
sos
bccd050c1a Fix the breakage that snatched the ioports from the fdc device.
Fix promise support.
2000-09-24 18:19:43 +00:00
des
5486e42184 Work around buggy servers such as NCSA httpd which send an incomplete
HTTP-Version on the Status-Line (see RFC2616 sections 3.1 and 6.1).
2000-09-24 12:22:12 +00:00
asmodai
76aef421fa Do IANA update maintenance: list synched up to the latest version.
Document that 254 (divert) is not IANA assigned.
2000-09-24 11:20:27 +00:00
alex
679bd1eba8 Add Makefile to build an if_ed kernel module. Works on both, i386 and
alpha.

No response from:	the world
2000-09-24 09:13:54 +00:00
jkh
9732291fa5 Add Lithuania.
Submitted by:	Domas Mituzas <midom@dammit.lt>
2000-09-24 06:53:04 +00:00
jkh
abcd503f0c One small tweak on the security profile code; don't be verbose if
setting up default values for an express/custom install.  It would
be confusing to see the informational popup completely out of context.
2000-09-24 06:44:00 +00:00
bmilekic
0a3e6d7055 Get rid of a panic that occurs in ether_demux() by dereferencing a NULL mbuf
pointer, when bridging and bridge_ipfw are enabled, and when bdg_forward()
happens to free the packet and make our pointer NULL. There may be
more similar problems like this one with calls to bdg_forward().

PR: Related to kern/19551
Reviewed by: jlemon
2000-09-24 04:08:38 +00:00
wollman
3da774a231 Don't assume ai0->ai_canonname will always be filled in. Print the
user-supplied host name if we can't get a canonical name.

Obtained from:	contrib/tcp_wrappers/socket.c rev. 1.4 (in spirit)
2000-09-24 01:54:49 +00:00
jhb
087265d109 Add a KASSERT() to catch instances where the mutex that we pass in to
msleep() are recursed.

Suggested by:	cp
2000-09-24 00:33:51 +00:00
archie
38c1554b73 Use m_dup() instead of m_copypacket() for the time being. Not all
of the code in the kernel properly checks for read-onlyness before
writing into an mbuf data area. When that code is fixed, the m_dup()
can go back to being m_copypacket().

Requested by:	nsayer
2000-09-23 23:22:27 +00:00
alfred
d49bef6eca Add forgotten -n option to SYNOPSIS section
Submitted by: Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>
2000-09-23 22:38:56 +00:00
cg
17ec0f39f6 add feeder_fmt.c 2000-09-23 22:21:39 +00:00
cg
0ded15533c prepare for adding a rate conversion feeder.
move format conversion feeders to feeder_fmt.c - no pertinent history so no
repo-copy.
2000-09-23 22:11:32 +00:00
cg
21085086cf only probe mandatory channels on known bad codecs 2000-09-23 22:00:09 +00:00
ume
74f2c68161 Make ip6fw as loadable module. 2000-09-23 18:50:59 +00:00
jhb
e191d560c4 Enable the snd_maestro module and have the snd_driver module depend on it.
Approved by:	cg
2000-09-23 17:35:37 +00:00
jhb
b91ba24bda Enable the ESS Maesto driver.
Approved by:	cg
2000-09-23 17:10:40 +00:00
alex
3af7e2e72a Print "Enable PC-card." before anything else is done with
PC-card stuff.  Also print a NEWLINE (!!) after that.

I'm driving mad each time when I see messages related to pccard before
"Enable PC-card." and particulary when I see
"Doing initial network setup". on the same line w/o a break.
2000-09-23 17:09:04 +00:00
ume
2dd97c55c7 Don't touch ai_canonname without checking NULL. Current
implementation of getaddrinfo() may return NULL ai_canonname.
There is no consensus how getaddrinfo() should fill ai_canonname
when numeric hostname is given.

Reported by:	kris
2000-09-23 15:40:12 +00:00
ps
cff9b6299a Move MAXCPU from machine/smp.h to machine/param.h to fix breakage
with !SMP kernels.  Also, replace NCPUS with MAXCPU since they are
redundant.
2000-09-23 12:18:06 +00:00
nyan
21c6f0caf4 The 'pci' device is not needed for SMALL floppy, but the 'pcic' device is
needed.
2000-09-23 07:53:01 +00:00
kato
6c789d68ba Merged from sys/i386/i386/machdep.c revision 1.411. 2000-09-23 06:38:59 +00:00
kato
542dd63257 Merged from sys/i386/conf/GENERIC revision 1.279. 2000-09-23 06:38:04 +00:00
kato
72f63c353d Merged from sys/conf/options.i386 revision 1.139. 2000-09-23 06:36:46 +00:00
kato
838bb46849 Added the pcn device into the list for SMALL kernel. 2000-09-23 06:20:59 +00:00
grog
bb066cbe3e Add 'setupstate' to RAID-10 example.
Tripped-over-by:	Nicole Harrington <nicole@picturetrail.com>
2000-09-23 00:18:31 +00:00
msmith
7db0dc1b13 Don't include proc.h now that mutex.h does it for us. 2000-09-23 00:12:31 +00:00
jasone
8dc7d18398 Don't #include <sys/proc.h>, since machine/mutex.h does it now. 2000-09-23 00:01:37 +00:00