summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-24tsleep on a static and private handle, since our goal is to not beTheo de Raadt
woken up by a wakeup, but only by the actual timeout expiry. On architectures which share a kva upage area between processes, we would not want an accidental wakeup (too short). discussed with various
2010-09-24Now that HW_DISKNAMES returns xx0: or xx0:uid entries, we must truncateTheo de Raadt
the : and uid components out -- otherwise these two programs will work poorly.
2010-09-24fix a overflow found by parfaitJonathan Gray
ok jakob@
2010-09-23When the HEAD of an .Nm block in the SYNOPSIS might be widerIngo Schwarze
than the column containing it, the TERMP_HANG flag is required, but avoid the flag when we know that the HEAD is shorter, because in that case, the flag might ruin the alignment. Problem originally reported by jmc@, who also spotted a regression in an earlier version of this patch. "feel free to commit" kristaps@
2010-09-23Count trailing escaped blanks correctly;Ingo Schwarze
those ruined the alignment of columns. Tested by jmc@, and kristaps@ agrees with the direction.
2010-09-23syncPaul Irofti
2010-09-23Remove tn3270 reference.Paul Irofti
2010-09-23Kill tn3270.Paul Irofti
Okay deraadt@, millert@ and all around general approval.
2010-09-23Unlink tn3270 from the build.Paul Irofti
Okay deraadt@, millert@ and all around general approval.
2010-09-23The only sensible argument for VOP_* calls that take a struct proc pointer isOwain Ainsworth
curproc. A bunch of callers were passing in 0 (not even NULL, 0) as this pointer, which was fine until the called vnode function tried to do something with it. Typically, this code was then copy/pasted to various parts of the tree. Accept the facts of life and switch all of these over to passing curproc for now until the argument can be removed. Discovered by stsp trying to create a softraid on top of a vnd, which crashed with a NULL deref in vndioctl. softraid bits tested by mikeb and jsing. raidframe bits tested by pea, matthieu and naddy. The rest tested by at least thib, jsing and myself. ok thib@, jsing@.
2010-09-23In procfs_root(), while the vn_lock on a newly-allocated vnode can notOwain Ainsworth
fail it is still good practise to either check the return value or to provide a flag that won't (to avoid copy pasted code that gets it wrong). So change LK_EXCLUSIVE to LK_EXCLUSIVE | LK_RETRY, removing the one caller of vn_lock in the tree that doesn't either pass LK_RETRY or check the return value. ok thib@, jsing@ as part of a larger diff.
2010-09-23Change:Owain Ainsworth
/* something */ if (error) { VOP_UNLOCK(); return; } VOP_UNLOCK(); to the clearer and shorter: VOP_UNLOCK(); if (error) return; ok thib@, jsing@ as part of a larger diff.
2010-09-23- first stab at documenting the haskell moduleJasper Lievisse Adriaanse
feedback/ok kili@
2010-09-23document FSTAB_RQ; ok deraadt thibJason McIntyre
2010-09-23Add cvs_mkdir() for recursive directory creation on import, based on aNicholas Marriott
diff from Michael W Bombardieri in PR 6398. tested by & ok jasper
2010-09-23Plug memory leak in rcs_getrev, from zinovik.Nicholas Marriott
ok me stsp
2010-09-23tweak the disklabel uid stuff; ok jsingJason McIntyre
2010-09-23remove dying flag in the detach() function.Yojiro Uo
the device driver which has DEACTIVATE processing seems to no need to set dying flag in the detach() function because the flag will be set in the DEACTIVATE process before detach(). ok jsg@, ok for experiment deraadt@
2010-09-23remove m_pad in favor of m_inject as it's equivalent to m_injectMike Belopuhov
with an offset equal to the actual data length. ok henning blambert
2010-09-23enable utwitch(4) (formely uyurex(4)) by defaultYojiro Uo
ok deraadt@
2010-09-23tweak previous;Jason McIntyre
2010-09-23NOTES->CAVEATS; ok millertJason McIntyre
2010-09-23add RCSID and Mdocdate to these pages; ok millertJason McIntyre
2010-09-23since msgs no longer exists, replace the example msgs alias with the oneJason McIntyre
from vacation(8); ok millert
2010-09-23add EXIT STATUS here too;Jason McIntyre
2010-09-23rename uyurex(4) to utwitch(4).Yojiro Uo
ok deraadt@
2010-09-23rename uyurex(4) to utwitch(4)Yojiro Uo
ok deraadt@
2010-09-23"British defeat the French at the Plains of Abraham" was 1759, not 1788;Jason McIntyre
from Douglas Berry, freebsd pr misc/150504
2010-09-23use an EXIT STATUS section for these pages;Jason McIntyre
2010-09-23Break out rule counter update code into a separate function, makes theRyan Thomas McBride
behaviour consistent between IPv4 and IPv6. From martin.pelikan@gmail.com
2010-09-23Move clock attachment later in the game. This is needed for cpu scaling.Paul Irofti
Okay miod@.
2010-09-23update struct disk; ok jsingJason McIntyre
2010-09-23Correctly identify mount points when they are specified in /etc/fstab usingJoel Sing
a disklabel UID. Based on a diff from josh@elsasser.org. Resolves PR6471. ok krw@
2010-09-23Print disklabel UIDs using printf/fprintf instead of using the hand rolledJoel Sing
uid_print() function. ok krw@
2010-09-23add KexAlgorithms to the -o list;Jason McIntyre
2010-09-23add [-l limit] to usage();Jason McIntyre
2010-09-23Teach the installer how to process the new hw.disknames output.Joel Sing
ok krw@
2010-09-23Include the disklabel UID in hw.disknames.Joel Sing
ok deraadt@ krw@
2010-09-23When a disk is attached create a workq task to read the disklabel,Joel Sing
providing the DKF_NOLABELREAD flag is not set. This provides the kernel with the actual disklabel which includes the disklabel UID. ok deraadt@ miod@ krw@
2010-09-23Introduce a DKF_NOLABELREAD flag, which is used by a device to preventJoel Sing
automatic reading of disklabel on attach. ok deraadt@ miod@ krw@
2010-09-23translate WRITE SAME 16 into DSM TRIM.David Gwynne
2010-09-23change description for AES-GMAC a bit.Mike Belopuhov
prompted by reyk
2010-09-23support for aes-gcmMike Belopuhov
OK reyk
2010-09-23commands and bits for data set management.David Gwynne
2010-09-23fix indentation to not confusingly align with an unassociated while() statementBret Lambert
ok claudio@
2010-09-23descripe a few bits of the write same commands.David Gwynne
2010-09-23tweak the mclgeti algorithm to behave better under load.David Gwynne
instead of letting hardware rings grow on every interrupt, restrict it so it can only grow once per softclock tick. we can only punish the rings on softclock ticks, so it make sense to only grow on softclock tick boundaries too. the rings are now punished after >1 lost softclock tick rather than >2. mclgeti is now more aggressive at detecting livelock. the rings get punished by an 8th, rather than by half. we now allow the rings to be punished again even if the system is already considered in livelock. without this diff a livelocked system will have its rx ring sizes scale up and down very rapidly, while holding the rings low for too long. this affected throughput significantly. discussed and tested heavily at j2k10. there are still some games with softnet we can play, but this is a good first step. "put it in" and ok deraadt@ ok claudio@ krw@ henning@ mcbride@ if we find out that it sucks we can pull it out again later. till then we'll run with it and see how it goes.
2010-09-23Do not declare the domain and protosw structures in at.h fixes build withClaudio Jeker
netatalk enabled.
2010-09-23returning here can cause the usb task thread to go to sleep forever,Jacob Meuser
becaue it skips a wakeup() later on. this is the only error condition that returns before the wakeup. not sure why this particular case is handled differently, and not certain what the error code should be, but this is better than breaking all of usb because of a problem on one port. dicussed with deraadt
2010-09-23add two members to struct usb_taskJacob Meuser
* usbd_device_handle dev - the device responsible for the task. use this to not run the task if the device's hub is dying. * int running - a flag to be set when the task is running. add usb_rem_wait_task(), a wrapper for usb_rem_task() that waits for the task to complete if the task is already running. s/usb_rem_task/usb_rem_wait_task/ in usb_detach(). probably most drivers using usb_tasks should do this as well. although device attach/detach is serialized in normal cases, in the special case where the usb bus is hotpluggable (like cardbus/pcmcia), devices are not detached in the task thread.