bp
c2ae01d2e9
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
6110b03d24
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
520f100579
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
f113db530b
Use "make LINT" to create our LINT config
2000-09-25 12:40:39 +00:00
phk
6da2b22ce5
GC some old no longer supported options.
2000-09-25 12:38:55 +00:00
ru
061b585fd0
Do not call freeaddrinfo(res0) twice.
...
PR: bin/21476
2000-09-25 11:38:28 +00:00
dcs
ee7b6df7c6
Get rid of garbage left on the stack.
2000-09-25 11:36:55 +00:00
markm
b07f6c50af
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
6402d3f40e
Remove references to the defunct kern.timecounter.method sysctl variable.
2000-09-25 11:18:51 +00:00
dcs
dddc67f913
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
970af0d044
Fix typo
2000-09-25 10:49:10 +00:00
dcs
ffa3cb1c69
Add definitions of hardware and software.
2000-09-25 10:42:04 +00:00
marko
61a769a285
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
74e251e27d
Fix a small bogon with a boolean yes/no question check.
2000-09-25 07:15:19 +00:00
tanimura
25b044e9f1
Allocate memory resource to access the attribute memory of a card.
...
Reviewed by: imp
2000-09-25 06:01:42 +00:00
iwasaki
d375eaba6b
Formatting fix on ACPI options. Sort them, comment out negative options.
...
Suggested by: bde
2000-09-25 02:43:51 +00:00
ume
6070b584b1
- 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
b996fd3a9d
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
1e62854c84
Fix the breakage that snatched the ioports from the fdc device.
...
Fix promise support.
2000-09-24 18:19:43 +00:00
des
6fe9a920d1
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
771938854f
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
0b637591f8
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
02a48c21cc
Add Lithuania.
...
Submitted by: Domas Mituzas <midom@dammit.lt>
2000-09-24 06:53:04 +00:00
jkh
197520a6f5
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
894e597ec7
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
314abdc184
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
98932a243c
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
7280bb2b3d
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
a4ea0721fb
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
65ed2208ec
add feeder_fmt.c
2000-09-23 22:21:39 +00:00
cg
3e27c54902
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
27a6dc9c5a
only probe mandatory channels on known bad codecs
2000-09-23 22:00:09 +00:00
ume
ee306bc4d0
Make ip6fw as loadable module.
2000-09-23 18:50:59 +00:00
jhb
a307605d91
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
19a6882909
Enable the ESS Maesto driver.
...
Approved by: cg
2000-09-23 17:10:40 +00:00
alex
40f66cd17b
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
7478417f78
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
54345fd41b
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
7d508e1a38
The 'pci' device is not needed for SMALL floppy, but the 'pcic' device is
...
needed.
2000-09-23 07:53:01 +00:00
kato
ffffca70d7
Merged from sys/i386/i386/machdep.c revision 1.411.
2000-09-23 06:38:59 +00:00
kato
3c596ee04e
Merged from sys/i386/conf/GENERIC revision 1.279.
2000-09-23 06:38:04 +00:00
kato
17105db15e
Merged from sys/conf/options.i386 revision 1.139.
2000-09-23 06:36:46 +00:00
kato
5f63be6781
Added the pcn device into the list for SMALL kernel.
2000-09-23 06:20:59 +00:00
grog
5015ce0260
Add 'setupstate' to RAID-10 example.
...
Tripped-over-by: Nicole Harrington <nicole@picturetrail.com>
2000-09-23 00:18:31 +00:00
msmith
99afdbd41c
Don't include proc.h now that mutex.h does it for us.
2000-09-23 00:12:31 +00:00
jasone
0633919abe
Don't #include <sys/proc.h>, since machine/mutex.h does it now.
2000-09-23 00:01:37 +00:00
jasone
27bf3e86c9
#include <sys/proc.h> in order to get curproc. This seems to be the lesser
...
of two evils; the greater evil is requiring sys/proc.h to be included
before including machine/mutex.h.
2000-09-23 00:00:50 +00:00
sanpei
38c8bc22f0
add ``xe'' driver
...
Approved by: jkh
2000-09-22 23:48:27 +00:00
ps
ab88cc6719
Remove the NCPU, NAPIC, NBUS, NINTR config options. Make NAPIC,
...
NBUS, NINTR dynamic and set NCPU to a maximum of 16 under SMP.
Reviewed by: peter
2000-09-22 23:40:10 +00:00
rwatson
9b419172b9
o Introduce vn_extattr_rm(), a helper function in the style of
...
vn_extattr_get() and vn_extattr_set(). vn_extattr_rm() removes the
specified extended attribute from a vnode, authorizing the change as
the kernel (NULL cred).
Obtained from: TrustedBSD Project
2000-09-22 22:33:13 +00:00