summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-26Be more careful when walking the tree looking for a non-empty element,Claudio Jeker
we may actually hit the end of the tree (at least in theory).
2010-03-26sync with kristaps@ version of mandoc_char(7) in mdocml-1.9.17Ingo Schwarze
* additional predefined strings needed for Perl manuals, now also supported by mandoc(1) - but not recommended for general use because they are non-portable * remove irrelevant STANDARDS ok jmc@
2010-03-26Correct details for BIOCCREATERAID/BIOCDELETERAID.Joel Sing
ok marco@ jmc@
2010-03-26Add storage for the boot block and boot loader to the softraid metadata.Joel Sing
Also add a new optional metadata type for boot data. This is the first step (of many) towards being able to boot from softraid volumes. WARNING: This version of the softraid metadata is not compatible with previous versions. As a result, any softraid volumes created with older kernels will not assemble. Data on existing softraid volumes should be backed up before upgrading. The volume should then be recreated and the data restored. ok marco@
2010-03-26tweak previous;Jason McIntyre
2010-03-26Make the source of process TIME for displaying and sorting the same.lum
top(1) and ps(1) now display the same info. ok tedu@ millert@ otto@ and tested on sparc64 by landry@
2010-03-26allow buffer_get_int_ret/buffer_get_int64_ret to take a NULL pointerDamien Miller
argument to allow skipping past values in a buffer
2010-03-26syncStuart Henderson
2010-03-26More Broadcom IDs, from Brad:Stuart Henderson
- BCM5709S (id from FreeBSD, for fibre bnx) - BCM5481/5482 (id from Linux, low-power PHY, for embedded boards etc)
2010-03-26merge 1.9.17, keeping local patchesIngo Schwarze
* much improved pod2man support and low-level roff robustness * have -Tlint imply -Wall and -fstrict * use fewer macros and more enum in libman * and various bug fixes
2010-03-26Reformat default value of PreferredAuthentications entry (current formattingDarren Tucker
implies ", " is acceptable as a separator, which it's not. ok djm@
2010-03-26mention that -S none disables connection sharing; from Colin WatsonDamien Miller
2010-03-25from portable: getcwd(NULL, 0) doesn't work on all platforms, soDamien Miller
use a stack buffer; ok dtucker@
2010-03-25merge 1.9.16, keeping local patchesIngo Schwarze
This is mostly cleanup by kristaps@ after my rather hackish patch to tolerate the non-text macros .na, .sp, .br in next-line scope; plus some nesting issues fixed by him, all in man(7). This survived a full cd /usr/src; make man.
2010-03-25syncOwain Ainsworth
2010-03-25add Radeon HD3470Owain Ainsworth
2010-03-25Fix & vs. && in the kqfilter code.Owain Ainsworth
Based on a comparison with the apm code. ok deraadt@, kettenis@
2010-03-25Make the i386 and amd64 bus_dma functions for isa less stupid:Owain Ainsworth
1) when you have a wrapper function in a dmatag that just calls the _bus_dmamem original, you don't need it, just put the original function in the tag 2) don't trunc_page the avail_end/ISA_BOUNCE_THRESHOLD stuff (see icb for a discussion of why this is wrong about 00:00 gmt). make i386 and amd64 both do this the same (the amd64 way is cleaner and makes the third diff actually possible without a lot of pain). just do dmamem_alloc_range(0, threshold) and if that fails do a alloc_range(0, -1) and assume we'll bounce to pick up the pieces. Also using avail_end for alloc_range is not nice (miod has been trying to avoid these abuses iirc), so just use (paddr_t)-1, which is equivalent since you want "any" memory. 3) now this is the funny one. consider point 2. then considering why using the same bloody function to allocate your bouncebuffer is just f'ing wrong. instead allocate with alloc_range(0, threshold) to make sure that our bouncebuffer is actually uner 16megs. ok deraadt@, kettenis@. Tested by several people.
2010-03-25The "\\" escape sequence is low-level roff, don't use it in mdoc(7);Ingo Schwarze
instead, use "\e". This patch does not change rendering with (g)roff, but it lets mandoc render the page correctly. ok jmc@
2010-03-25architectures which expect to hand-count the number of cpus must clearTheo de Raadt
ncpufound before counting, because it defaults to 1 (for those architectures which do not count) ok kettenis
2010-03-25Update to match renamed product id.Michael Knudsen
ok armani
2010-03-25syncMichael Knudsen
2010-03-25Rename product id. It seems to be used for several Android basedMichael Knudsen
phones. ok armani
2010-03-25conform to gnum4 AND traditional m4 (solaris) behavior, namely,Marc Espie
translit(`ab',`aa',`cd') -> `cb' (first occurrence matches) okay miod@, sthen@ fixes minor autoconf issues, like HAVE_VOID__ instead of HAVE_VOID_P
2010-03-25Fix from readline 5.0 via Alexandr Shadchin to for a bug that preventsNicholas Marriott
some programs working correctly in tmux and screen. From the readline changelog: w. Fixed a bug in the callback read-char interface to make it work when a readline function pushes some input onto the input stream with rl_execute_next (like the incremental search functions). ok deraadt
2010-03-25be more strict in check_option().Kevin Steves
ISC dhclient had a buffer overflow: http://www.kb.cert.org/vuls/id/410676 and while our dhclient is not vulnerable to that, it got us looking at how the subnet mask option is handled. this limits specific ip address options to length 4 in conformance with RFC 2132. discussion started by william@ and with input from krw@ ok krw@
2010-03-25s/parititon/partition/ in error messageStuart Henderson
2010-03-25Add MP lock support for OpenBSD/hppa.Joel Sing
ok kettenis@
2010-03-25fix fallout of previous; ok dlg@Otto Moerbeek
2010-03-25Kroute updates from the LDE are per FEC so do the lookup in kroute withClaudio Jeker
prefix/len and nexthop but do not consider the priority. send_rtmsg() needs to use the kroute element and not the one sent from the LDE since that one has no priority set (which is needed). This seems to solve a problem where ldpd modified the wrong routes. OK michele
2010-03-25sort the list of controllers.Igor Sobrado
ok jmc@
2010-03-25disable MSI on Intel devicesJacob Meuser
2010-03-25fix a stupid out-of-bounds read access introduced in the previousIngo Schwarze
revision, in the code searching for the end of a sentence
2010-03-25test blank and newline handling in xargs(1) with and without -0 and -LIngo Schwarze
ok guenther@
2010-03-25Regarding -L, consider a line ending in unescaped white space and the nextIngo Schwarze
non-empty line to form one single line, as required by XPG 4. While here, use isblank(3) to identify white space instead of assuming that only blank and tab are white space characters. Geoff Clare <gwc at opengroup dot org> agrees that the standard for -L should say "A line is considered to end with the first <newline> unless the last character of the line is an *unescaped* <blank>; an *unescaped* trailing <blank> signals continuation to the next non-empty line, inclusive." The word *unescaped* is missing from the standard, but we regard that as a goof in the standard. Bug noticed by, much feedback from, and "should go in now" guenther@
2010-03-25regenChris Kuethe
2010-03-25remove duplicate definition. "Commit right away." deraadt@Chris Kuethe
2010-03-24Add a rwlock around the filehead and allproc lists, mainly to protectTed Unangst
list walkers in sysctl that can block. As a reward, no more vslock. With some feedback from art, guenther, phessler. ok guenther.
2010-03-24syncTheo de Raadt
2010-03-24be even more exact about the TI pcie switchesTheo de Raadt
2010-03-24sncTheo de Raadt
2010-03-24correct IDTheo de Raadt
2010-03-24We need to set the rtm_priority when changing a route so that we do notClaudio Jeker
modify a possible better route instead. A bit more is still needed. OK michele@
2010-03-24DSR got broken with the move towards the new pf.Pierre-Yves Ritschard
This fixes it. Found out by Laurent Lavaud & myself. "looks olrite" henning@
2010-03-24Modify example not to use an assignment in the if statement. We shouldn'tMark Kettenis
teach people bad habits! ok krw@, jmc@, dlg@, thib@
2010-03-24tests for ${name#pat} and ${name%pat} issue.Federico G. Schwindt
millert@ ok'd a previous version.
2010-03-24fix the cases where ${name#pat} and ${name%pat} will generate an empty wordFederico G. Schwindt
when they shouldn't. originally from mksh but modified to handle the case when the expr is quoted as noticed by halex@. input from guenther@ and halex@, millert@ ok
2010-03-24options must be sorted.Joerg Goltermann
OK: henning@, claudio@
2010-03-24vdsk_scsi_cmd doesnt need to return now, so fix some of its scsi commandDavid Gwynne
emulation to not return values either. i think this is right, but cant test just yet. found by deraadt@
2010-03-24Document updating the display using the space-bar.lum
ok jmc@ otto@