John-Mark Gurney
e98b5a89de
remove duplicate sizeof vnode entry (debug.sizeof.vnode already existed)...
...
move ncsize into debug.sizeof and rename to namecache...
2006-04-16 18:38:30 +00:00
Sam Leffler
4a3ac3fc61
Improve ath_draintxq debug info: dump the packet as well
...
as the descriptor and handle the beacon q like other q's
MFC after: 1 month
2006-04-16 18:24:27 +00:00
Sam Leffler
2af90c547b
Unbreak cabq handling: check the s/w q, not the h/w q as the frames
...
have not been passed to the h/w yet. This remedies watchdog timeout
of buffered multicast frames in hostap mode.
While here eliminate an extraneous check; ieee80211_beacon_update sets
the tim bit based on ncabq != 0 so there's no reason to check it too.
Noticed by: Christophe Prevotaux
2006-04-16 18:14:01 +00:00
Maxim Konovalov
beb66b02a4
o Close an output file -o flag opened before execvp(3) in a child.
...
PR: bin/89666
Submitted by: Arne H Juul
MFC after: 1 month
2006-04-16 17:44:49 +00:00
Maxim Konovalov
9b63b79ee0
o dbm_close(3) returns void not zero or anything else. Touch .Dd.
...
PR: docs/80070
Submitted by: Aleksej Saushev
MFC after: 2 weeks
2006-04-16 16:33:26 +00:00
Maxim Konovalov
a5e8745ad9
o Correct a path to include.
2006-04-16 15:35:12 +00:00
Marius Strobl
f2189783c9
For _Qp_{fge,fgt,fle,flt}() the SCD states that "Exceptions mimic fcmpeq",
...
this means they should set the cmpe flag when calling __fpu_compare().
Submitted by: stefanf
MFC after: 2 weeks
2006-04-16 14:32:53 +00:00
Maxim Konovalov
2edf0a4432
o Do not mangle current session user login name with jail -u|-U.
...
PR: bin/94730
Submitted by: Frank Behrens
MFC after: 1 month
2006-04-16 12:32:04 +00:00
Jens Schweikhardt
0ef05a46fd
Correct assorted grammos and typos.
2006-04-16 11:54:01 +00:00
Christian Brueffer
dd09eba412
Fix indentation for "Ostersonntag".
...
Obtained from: OpenBSD
2006-04-16 10:34:56 +00:00
Scott Long
bb141be10a
Take a better stab at making this compile.
2006-04-15 18:54:56 +00:00
Pawel Jakub Dawidek
cd0d707eb7
Correct debug: we are sending child bio here, not parent bio.
...
MFC after: 1 week
2006-04-15 18:30:42 +00:00
Scott Long
83bc5d54c8
Take a stab at making this compile.
2006-04-15 18:04:04 +00:00
Maxim Konovalov
1805d92b32
o Document /dev/fido.
...
PR: docs/85425
Approved by: phk
MFC after: 2 weeks
2006-04-15 17:52:02 +00:00
Maxim Konovalov
26ca704dbd
o s/you health/your health/.
...
PR: conf/95810
Submitted by: Gavin Atkinson
2006-04-15 17:07:32 +00:00
Hajimu UMEMOTO
d3ac2b30d4
- make reentrant version of netdb functions glibc style API, and
...
expose them to outside of libc.
- make netdb functions NSS friendly.
Reviewed by: arch@ and current@ (no objection)
2006-04-15 16:20:27 +00:00
Mitsuru IWASAKI
1b9518293e
Oops, untested code was included accidentally.
...
Fixed.
2006-04-15 16:10:53 +00:00
Daniel Eischen
797f4fb875
Don't export __gdtoa. The only known ports that rely on
...
this or the deprecated POSIX functions {e,g,f}cvt() have
newer versions that do not (rely on them).
Requested by: marius
2006-04-15 15:35:20 +00:00
Maxim Konovalov
6ad8b89261
o Document SO_NOSIGPIPE, touch .Dd.
...
PR: docs/78479
Submitted by: Mikko Tyolajarvi
MFC after: 2 weeks
2006-04-15 13:37:35 +00:00
Mitsuru IWASAKI
858a52f464
Import ACPI Dock Station support. Note that this is still very young.
...
Additional detach implementaions (or maybe improvement) for other
deivce drivers is required.
Reviewed by: njl, imp
MFC after: 1 week
2006-04-15 12:31:34 +00:00
Maxim Konovalov
be9365a9f2
o Fix prototype for SYSCALL_MODULE(9): the third argument
...
is a pointer to struct sysent. Correct its description.
PR: docs/84790
Submitted by: Dirk Gouders
MFC after: 2 weeks
2006-04-15 12:04:18 +00:00
Maxim Konovalov
727e7d8621
o Fix printf(9) formatting: do not use hardcode "0x" and "#" flags
...
simultaneously. Remove "#' flag to match a style of the rest of
file.
PR: kern/85477
Submitted by: Oliver Fromme
2006-04-15 11:41:40 +00:00
Maxim Konovalov
a09367f089
o s/PsuedoRAID/PseudoRAID/.
...
PR: kern/94306
Submitted by: Esa Karkkainen
2006-04-15 10:27:41 +00:00
Maxim Konovalov
089418247a
o Be pedantic and do fts_close() when done.
...
PR: bin/95292
Submitted by: Charles Hardin
Obtained from: NetBSD via OpenBSD, PR
2006-04-15 09:26:23 +00:00
Scott Long
f30cbfc63b
Fix the interrupt handler to do the mandatory PCI flush before looking at
...
DMA memory. The could contribute towards missed link state changes under
heavy bus load.
2006-04-15 08:13:06 +00:00
Xin LI
a2a926dd44
MFen:
...
hardware/common/dev.sgml 1.296 -> 1.299
relnotes/common/new.sgml 1.910 -> 1.911
Obtained from: The FreeBSD Simplified Chinese Project
2006-04-15 05:32:12 +00:00
Robert Watson
086dafc15b
Mirror IPv4 pcb locking into in6_setsockaddr() and in6_setpeeraddr():
...
acquire inpcb lock when reading inpcb port+address in order to prevent
races with other threads that may be changing them.
MFC after: 3 months
2006-04-15 05:24:23 +00:00
John Birrell
992879a026
Copy the new CLOCK_ defines from sys/time.h for SUSv3 compatibility.
...
Approved by: rwatson
2006-04-15 03:08:55 +00:00
Warner Losh
78fd9f198c
Fix style nit noticed by bde.
2006-04-15 02:51:53 +00:00
John Baldwin
76447e5618
Mark the thread pointer used during an adaptive spin volatile so that the
...
compiler doesn't decide to cache td_state. Cachine the state would cause
the spinning thread to not notice when the owning thread stopped executing
(if it was preempted for example) which could result in livelock.
2006-04-14 19:51:50 +00:00
Ruslan Ermilov
1427d59bee
List pwritev in the NAME section.
2006-04-14 19:34:07 +00:00
Jung-uk Kim
566ae23a6f
Fix copy-and-pasto in comment.
2006-04-14 18:34:57 +00:00
Jung-uk Kim
a3ca22fc1f
Fix minimal installation check. 'X' was not displayed when it was selected.
...
Reported by: Ian J. Hart <ianjhart at ntlworld dot com>
Pieter de Goeje <pieter at degoeje dot nl>
2006-04-14 18:18:43 +00:00
Andrey A. Chernov
1107d0af30
1) Fix hang at the end of line buffer (PR 95715)
...
2) Localize
PR: 95715
Submitted by: Li-Lun Wang <llwang@infor.org> (slightly edited by me)
2006-04-14 17:32:27 +00:00
Matteo Riondato
1fe5a490ab
Whitespace fix
...
Pointed out by: Nate Lawson
2006-04-14 17:26:04 +00:00
Søren Schmidt
3559734cee
Dont poll for ATA_IDLE on a detached channel in suspend.
2006-04-14 16:25:42 +00:00
Doug Ambrisko
bc971e44ed
Reduce the Linux ioctl range to what is needed. I didn't know what
...
I was doing when I first set the range up.
2006-04-14 16:13:28 +00:00
John Baldwin
a29b4f6eec
Drop the kqueue global mutex as soon as we are finished with it rather
...
than keeping it locked until we exit the function to optimize the case
where the lock would be dropped and later reacquired. The optimization
was broken when kevent's were moved from UFS to VFS and the knote list
lock for a vnode kevent became the lockmgr vnode lock. If one tried
to use a kqueue that contained events for a kqueue fd followed by a vnode,
then the kq global lock would end up being held when the vnode lock was
acquired which could result in sleeping with a mutex held (and subsequent
panics) if the vnode lock was contested.
Reviewed by: jmg
Tested by: ps (on 6.x)
MFC after: 3 days
2006-04-14 14:27:28 +00:00
Jens Schweikhardt
62463f6768
Output something reasonable for regular and expanded here-documents.
...
I would have chosen the EOF markers, but they are no longer available
AFAICS, so output "<<HERE" and "<<XHERE" instead.
(NOTE: These changes only affect DEBUG output.)
2006-04-14 13:59:03 +00:00
Ruslan Ermilov
d5bd01d213
Fix markup and some typos.
2006-04-14 09:20:25 +00:00
Matteo Riondato
c943ffcc29
Add device ID for Intel Pro/100 VE Network Connection card
...
PR: kern/95729
Submitted by: Nicky Bulthuis
MFC after: 1 day
2006-04-14 07:49:52 +00:00
Maxim Konovalov
4a3050fc46
o Yacc's lineno variable holds a total number of parsed lines.
...
Reset it to 1 for each devd config file so if the parser finds
a syntax error devd(8) will report a correct line number.
Submitted by: Niki Denev
MFC after: 2 weeks
2006-04-14 07:20:42 +00:00
David Xu
cfd6f8cd6c
Clear TDF_SINTR in sleepq_resume_thread, also sleepq_catch_signal does
...
not need to clear it now, this should fix panic when msleep is recursivly
called. Patch is slightly adjusted after review.
Reviewed by: jhb
Tested by: Csaba Henk, csaba-ml at creo.hu
MFC after: 3 days
2006-04-13 23:29:25 +00:00
Martin Cracauer
3f4f4a1465
Make CCD be able to read and write Linux software raids.
...
Supported for raid-0 with <n> disks, raid-1 with 2 disks.
Manpages have examples, warnings etc.
Test scripts on
http://www.cons.org/cracauer/ccdconfig-linux/
Reviewed by: alfred
2006-04-13 20:35:31 +00:00
Martin Cracauer
447be3f1e4
Repair ext2fs writes.
...
Strong candidate for backport to 6.x.
When allocating new blocks, the search for block group beginnings
would fail with a segfault. There was a side-effect read access with
an off-by-one errors. The results were not used in the error case so
the code worked in the past. But now the FreeBSD kernel has tighter
mappings and the word accessed is not mapped (for me).
The Linux kernel has rewritten most of the allocation strategy by now.
Also, the Linux kernel cleaned up the integration of these files and
it look feasable to wrap the original Linux files in wrapper that
provides their favorite arguments instead of dragging around our own
code.
2006-04-13 19:37:32 +00:00
Brooks Davis
c1ba2105e8
Spell synchronous with required silent 'h'.
...
Reported by: ru, ceri
Pointy hat: brooks
2006-04-13 18:34:14 +00:00
Brooks Davis
ebd1e9136f
Add missing _ to $_punct.
...
Submitted by: Dmitry Pryanishnikov <dmitry at atlantis.dp.ua>
2006-04-13 18:27:49 +00:00
Jens Schweikhardt
e4b2624f46
s/soley/solely
2006-04-13 18:19:44 +00:00
Christian Brueffer
b1d4eb6678
bce(4) does polling too.
...
MFC after: 3 days
2006-04-13 17:44:40 +00:00
Warner Losh
e43d852f65
Add commented out define for TSC board's boot0.
2006-04-13 17:44:05 +00:00