summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-10"please apply the same diff as for rt2860 to if_run.c" damien@Owain Ainsworth
original log message: fix a theoretical (but not possible) array bound overflow. since we will always match on a rate, we won't overflow, but in that case, make it more obvious by if the first 11 rates don't match, we assume the 12th. should shut up parfait. ok damien@ who came up with an identical diff
2009-12-10fix a theoretical (but not possible) array bound overflow.Owain Ainsworth
since we will always match on a rate, we won't overflow, but in that case, make it more obvious by if the first 11 rates don't match, we assume the 12th. should shut up parfait. ok damien@ who came up with an identical diff.
2009-12-10memory leak, and off by one buffer overflow - spotted by parfaitBob Beck
ok deraadt@
2009-12-10Change nasty realloc call to a more correct looking ideom - noticed whileBob Beck
looking at some parfait false positives in here. ok deraadt@
2009-12-10careless fscanf, found by parfait, ok jsgTheo de Raadt
2009-12-10memory leak, found by parfait, ok jsgTheo de Raadt
2009-12-10ansiTheo de Raadt
2009-12-10spacingTheo de Raadt
2009-12-10"fix" from freebsd to hide potential race in silly renames, whereBob Beck
a directory gets reclaimed on a forced unmount before the silly file in it gets blown away... fixes an issue seen by phessler@ ok oga@, art@
2009-12-10a few sizeof(array)/sizeof(array[0]) -> nitems(array) conversions found whileOwain Ainsworth
looking for something else. sha1(1) tells me there's no binary change.
2009-12-10unify; ok jmcTheo de Raadt
2009-12-10do not leak memory, found by parfait, ok millert ottoTheo de Raadt
(one case was a false positive, but one is a modified copy of the other)
2009-12-10plug some memory leaks; found by parfait, ok henningTheo de Raadt
2009-12-10Fix a case when 2yz status would not override existing 4yz one.Jacek Masiulaniec
Reported by jsing@
2009-12-10Fix few read overruns found by parfait.Jacek Masiulaniec
Nudge by deraadt@
2009-12-10better wording for 1 option from jmcTed Unangst
2009-12-10add an option '1' to display all cpu stats combined. helps save spaceTed Unangst
with increasing processor counts. ok deraadt (kettenis otto)
2009-12-10Add "server options" which are server-wide and not bound to a session orNicholas Marriott
window. Set and displayed with "set -s" and "show -s". Currently the only option is "quiet" (like command-line -q, allowing it to be set from .tmux.conf), but others will come along.
2009-12-10tweak previous;Jason McIntyre
2009-12-10Make sure to use 64 bit instructions in the assembly statements (addi -> daddi)Miod Vallat
in the prologue; this gives a chance for binaries loaded with their stack over 2GB virtual, to run. Who's your daddi now?
2009-12-10various bits of knf; ok yuoTheo de Raadt
2009-12-10plug memory leak, spotted by parfait; ok krwTheo de Raadt
2009-12-10o stop reordering ifconfig arguments (e.g. after 'up ..')Todd T. Fries
o only stop processing if inet or inet6 lines are malformed o everything not a specially handled bit is passed to ifconfig unmangled noticed by several after the move from bridgename.bridge0 -> hostname.bridge0 prodded by deraadt@, tested by and feedback from several man page bits 'look fine' jmc@
2009-12-10Eliminate the confusing term "find codes database" which is used nowhere else.Ingo Schwarze
It made people miss the fact we are just talking about /var/db/locate.database. Expicitely say that output will be sent to that file. Problem noted by, feedback and OK jmc@.
2009-12-10remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok dlg@ marco@
2009-12-10syncTheo de Raadt
2009-12-10remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ marco@
2009-12-09Resubmit any pending SCSI commands when we sucessfully (re)connect toMark Kettenis
a vDisk server. This makes OpenBSD running in a guest domain survive a reboot of a control domain or service domain.
2009-12-09this does not even compileTheo de Raadt
2009-12-09mention uhts(4). suggested by jmc@Matthieu Herrb
2009-12-09add uhts(4).Matthieu Herrb
2009-12-09add uhts(4) a driver for USB HID touchscreens. ok miod@.Matthieu Herrb
Man page advices by jmc@.
2009-12-09off by one in carp configuration; found by parfait, ok jsgTheo de Raadt
2009-12-09Nuke stray comment referencing deceased TRY_AGAIN_LATER that dlg@Kenneth R Westerback
snuck back in. Noticed by kettenis@.
2009-12-09By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-12-09By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-12-09sloppy oga, tsk tsk, you are scaring usTheo de Raadt
spotted by ckuethe and must be in immediately before my build gets there..
2009-12-09Don't try to shove I/O down the LDC if we're disconnected from the virtualMark Kettenis
disk server.
2009-12-09Do not count input errors twice. We always read input errors fromChristian Weisgerber
the MAC in bge_tick(). Previously this would result in bge(4) claiming a greater number of input errors than what has actually occurred. From FreeBSD via Brad
2009-12-09syncTheo de Raadt
2009-12-09Add entries in compat signal mapping arrays for SIGTHR.Jonathan Gray
Prompted by parfait noticing overflows in ibcs2/svr4 which are now changed to being NSIG sized like the others as suggested by tedu. ok tedu@ miod@ guenther@
2009-12-09Remove the clean gdt bit and leave the idt part in.Paul Irofti
Fixes most laptops out there on resume. Okay deraadt@.
2009-12-09add two new MD only pmap apis to amd64 and i386 (not to be used in MIOwain Ainsworth
code): pmap_flush_cache(vaddr_t, vsize_t) and pmap_flush_page(paddr_t) to flush the cache for virtual addresses and physical pages respectively using the clflush instruction. These apis will shortly be used by the agp bus_dma functions to avoid doing a wbinvd on each dmamap_sync. ok kettenis@, some comments from miod@
2009-12-09add cpufunc functions for the clflush instruction and the mfenceOwain Ainsworth
instruction. ok kettenis@ as part of a larger diff.
2009-12-09Detect the cache line size for the clflush instruction when we identifyOwain Ainsworth
the cpu. ok kettenis@ as part of a larger diff.
2009-12-09We only need to fchdir(dotfd) for the -exec and -ok primaries soTodd C. Miller
defer the check for dotfd != -1 until we know we will need it. Based on a diff from schwarze@
2009-12-09parsecommunity() always works on a struct filter_community. So pass aClaudio Jeker
pointer to the struct instead of two int pointers.
2009-12-09Enable parsing of the optional Transport Address TLV in the helloMichele Marchetto
message. ok claudio@
2009-12-09parsecommunity() does not allow to set unknown well-known communities.Claudio Jeker
So there is no need to check that again. Switch a USHRT_MAX to COMMUNITY_WELLKNOWN to make the compare clearer, the values are the same.
2009-12-09Stop spamming dmesg when raid isn't available.Marco Peereboom