Commit Graph

107441 Commits

Author SHA1 Message Date
Max Laier
27bc4862bd Update the passive OS fingerprint database from OpenBSD.
Obtained from:	lcamtuf.coredump.cx (via OpenBSD)
2004-09-14 00:30:14 +00:00
Julian Elischer
1f9f5df61d Commit a fix for some panics we've been seeing with preemption.
MFC after:	2 days
2004-09-13 23:06:39 +00:00
Julian Elischer
b2578c6c06 Add some kasserts 2004-09-13 23:02:52 +00:00
Julian Elischer
077c971c86 whitespace fix
MFC after:	3 days
2004-09-13 23:01:50 +00:00
Julian Elischer
a3aa559270 make some of these conditions apply equally to both threading systems. 2004-09-13 22:10:04 +00:00
Jun Kuriyama
0c1691334a Fix a condition where the hole would be inserted in the wrong
place during a split.

Obtained from:	NetBSD
2004-09-13 22:07:24 +00:00
Diomidis Spinellis
9a2ef7d172 Refactoring: move two similar code blocks into a seprate function. 2004-09-13 21:04:30 +00:00
Lukas Ertl
12653dec9d Give the DRIVE geom a worker thread that picks up incoming bios,
sends them down, and takes care of the finished bios.  This makes it
easier to handle I/O errors at drive level.
2004-09-13 21:01:36 +00:00
Alan Cox
4711f8d71d Lock the kernel pmap in pmap_kenter().
Tested by: gallatin@
2004-09-13 20:36:01 +00:00
John Baldwin
c3ebab0638 Tidy a comment. 2004-09-13 19:46:59 +00:00
Andre Oppermann
bda337d05e Do not allow 'ipfw fwd' command when IPFIREWALL_FORWARD is not compiled into
the kernel.  Return EINVAL instead.
2004-09-13 19:27:23 +00:00
Andre Oppermann
f91248c1ad If we have to 'ipfw fwd'-tag a packet the second time in ipfw_pfil_out() don't
prepend an already existing tag again.  Instead unlink it and prepend it again
to have it as the first tag in the chain.

PR:		kern/71380
2004-09-13 19:20:14 +00:00
Ruslan Ermilov
1ffcdfc986 Fixed the NONETGRAPH build.
Reported by:	wsk@gddsn.org.cn
2004-09-13 19:04:03 +00:00
Diomidis Spinellis
08e019a888 Fix for the following behavior:
$ crontab -e
[Add an entry with an error in the crontab file.]
crontab: errors in crontab file, can't install
Do you want to retry the same edit? yes
[Exit the editor without any changes.]
crontab: no changes made to crontab
[Entry is lost.]

Now crontab will loop until the error is fixed, or the
user answers no.
2004-09-13 18:39:04 +00:00
Lukas Ertl
fce2deb197 Rename gv_kill_thread() to gv_kill_plex_thread(), since there are more
threads to come.
2004-09-13 17:44:47 +00:00
Ruslan Ermilov
e114c8953a A power failure left the temporary /var/.diskless directory
on my system, and since then my /var was always created as
MFS which was very surprising.  Fix this for /tmp and /var.
2004-09-13 17:40:14 +00:00
Lukas Ertl
a0781b98f3 Save the config back to disk when a drive goes down. 2004-09-13 17:33:52 +00:00
Lukas Ertl
ea29a30466 Read a whole sector instead of GV_HDR_LEN, since a sector might be
bigger (i.e. on CD-ROMs).
2004-09-13 17:27:58 +00:00
Andre Oppermann
f4fca2d8d3 Make comments more clear for the packet changed cases after pfil hooks. 2004-09-13 17:09:06 +00:00
Bill Paul
3c44fd1b17 Oops. ZX1701 and ZX1702 are the chip designations (ZyXEL rebadged the
the VIA chips with their own numbers). The actual card names are
GN650-T (64-bit) and GN670-T (32-bit). Also capitalize ZyXEL correctly.
2004-09-13 17:05:07 +00:00
Andre Oppermann
eedc0a7535 Fix ip_input() fallback for the destination modified cases (from the packet
filters).  After the ipfw to pfil move ip_input() expects M_FASTFWD_OURS
tagged packets to have ip_len and ip_off in host byte order instead of
network byte order.

PR:		kern/71652
Submitted by:	mlaier (patch)
2004-09-13 17:01:53 +00:00
Robert Watson
e8929330e7 Add a very basic README for tcpstream. 2004-09-13 16:53:40 +00:00
Bill Paul
a7d5415eba Add the Zyxel ZX1701 and ZX1702 adapters to the HARDWARE list. Clean up
a few small things.
2004-09-13 16:49:36 +00:00
Andre Oppermann
7c0102f575 Make 'ipfw tee' behave as inteded and designed. A tee'd packet is copied
and sent to the DIVERT socket while the original packet continues with the
next rule.  Unlike a normally diverted packet no IP reassembly attemts are
made on tee'd packets and they are passed upwards totally unmodified.

Note: This will not be MFC'd to 4.x because of major infrastucture changes.

PR:		kern/64240 (and many others collapsed into that one)
2004-09-13 16:46:05 +00:00
Pawel Jakub Dawidek
08aa5a1ddb We have now so many GEOM classes that it is better to just skip unknown
classes than exiting.

Reviewed by:	le
OK'ed by:	phk
2004-09-13 16:06:14 +00:00
Scott Long
4c2ca0f7c8 Pull the correct clock frequency value out of OFW. Why the helper function
doesn't do this is beyond me, but that will be investigated later.  This
results in programming the chip with the correct frequency, which in turn
allows devices to negotiate up to the full 20MB/s.
2004-09-13 15:15:38 +00:00
Pawel Jakub Dawidek
7e8ca741ca Make kern.geom.debugflags sysctl tunable from /boot/loader.conf.
It will help to debug problems when booting.

Approved by:	phk
2004-09-13 14:58:27 +00:00
Denis Peplin
8f6f154ee8 Translation fixes
MFC after: 2 days
2004-09-13 14:24:46 +00:00
Denis Peplin
d1fd273054 Sync with recent English versions
MFC after: 2 days
2004-09-13 14:23:18 +00:00
Dima Dorfman
d490759ae8 Remove a broken URL reference. The submitter reports that the
"documentation on the AceNIC cards are no longer after Nortel acquired
Alteon".

PR:		71600
Submitted by:	Linh Pham <question+freebsdpr@closedsrc.org>
2004-09-13 13:18:27 +00:00
Lukas Ertl
6ce35ad043 Ignore geom_stripe providers.
MFC in: one week
2004-09-13 11:28:54 +00:00
Christian Brueffer
afcfcc5d86 Autogenerate device listings for lnc(4), ng_ubt(4) and pcn(4)
MFC after:	3 days
2004-09-13 10:48:34 +00:00
Christian Brueffer
b35e5fa056 Add lnc(4), ng_ubt(4) and pcn(4), firewire works on ia64
MFC after:	3 days
2004-09-13 10:44:20 +00:00
Christian Brueffer
3888500615 - add a HARDWARE section
- grammar fixes
- wording improvements
- bump document date

MFC after:	3 days
2004-09-13 10:36:44 +00:00
Christian Brueffer
f9c1b5827f - fix capitalization
- add HARDWARE section based on the hardware notes
- bump document date

MFC after:	3 days
2004-09-13 10:35:29 +00:00
Christian Brueffer
c1b92c8230 - remove device count
- add a HARDWARE section
- bump document date

MFC after:	3 days
2004-09-13 10:33:53 +00:00
Dima Dorfman
3ee6bbffb0 Remove unused variable and clamp down with WARNS=2
PR:		71662
Submitted by:	Dan Lukes <dan@obluda.cz>
Tested on:	i386, sparc64, ia64, amd64
2004-09-13 08:14:55 +00:00
Poul-Henning Kamp
67673e6677 Create struct snapdata which contains the snapshot fields from cdev
and the previously malloc'ed snapshot lock.

Malloc struct snapdata instead of just the lock.

Replace snapshot fields in cdev with pointer to snapdata (saves 16 bytes).

While here, give the private readblock() function a vnode argument
in preparation for moving UFS to access GEOM directly.
2004-09-13 07:29:45 +00:00
Poul-Henning Kamp
883d3c0c07 Remove the buffercache/vnode side of BIO_DELETE processing in
preparation for integration of p4::phk_bufwork.  In the future,
local filesystems will talk to GEOM directly and they will consequently
be able to issue BIO_DELETE directly.  Since the removal of the fla
driver, BIO_DELETE has effectively been a no-op anyway.
2004-09-13 06:50:42 +00:00
Robert Watson
cb5e18f34e Add tcpstream, a simple TCP stream generator that uses a pseudo-random
sequence to detect data corruption visible to an application.
2004-09-13 03:17:22 +00:00
Christian Brueffer
d43ba3dd8e Fix an entity
MFC after:	3 days
2004-09-13 02:47:48 +00:00
Christian Brueffer
62a0ff0941 - note ia64 support for several drivers
- remove drivers that work on all supported architectures

MFC after:	3 days
2004-09-12 23:08:43 +00:00
Christian Brueffer
5983c3e785 - start new sentences on new lines
- misc fixes
2004-09-12 22:37:37 +00:00
Christian Brueffer
687236f75b - add vge(4)
- bump document date
2004-09-12 22:03:38 +00:00
Alan Cox
031102cc7b Use an atomic op to update the pte in pmap_protect(). This is to prevent
the loss of a page modified (PG_M) bit in a race between processors.

Quoting Tor:
	One scenario where the old code could cause a lost PG_M bit is a
	multithreaded linux program (or FreeBSD program using the
	linuxthreads port) where one thread was starting a subprocess.
	The thread doing fork() would call vmspace_fork(), which would then
	call vm_map_copy_entry() which would call pmap_protect() on an area
	possibly accessed by other threads.

Additionally, make the clearing of PG_M by pmap_protect() unconditional if
write permission is removed.  Previously, PG_M could persist on a read-only
unmanaged page.  That seems inconsistent and confusing.

In collaboration with: tegge@

MT5 candidate
PR: 61852
2004-09-12 20:20:40 +00:00
Simon L. B. Nielsen
d78fc68a15 - Auto generate device listings for the fwohci(4), hifh(4), safe(4),
and ubsec(4) drivers.

MFC after:	3 days
2004-09-12 19:46:33 +00:00
Simon L. B. Nielsen
d1e59440e5 Add fwohci, hifn, safe, sbp, and ubsec.
MFC after:	3 days
2004-09-12 19:41:03 +00:00
Simon L. B. Nielsen
da603228b5 - Add a HARDWARE section which lists supported devices.
MFC after:	3 days
2004-09-12 19:39:09 +00:00
Hiroki Sato
6b7224a0d0 - s/gigabit/Gigabit/
- s/filesystem/file system/
- grammar fix

Pointed out by:	ru
2004-09-12 19:11:49 +00:00
Simon L. B. Nielsen
46efac32e0 - Change DESCRIPTION section to a HARDWARE section.
- Sync list of supported devices with source code.

MFC after:	3 days
2004-09-12 19:11:28 +00:00