summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-21remove unused variableCharles Longeau
ok guenther@
2009-11-21Ooops, committed an unbaked changePhilip Guenthe
2009-11-21Add a (hopefully) comprehensive regression test of how stdio functionsPhilip Guenthe
affect stream orientation
2009-11-21Several stdio functions were failing to set the stream orientationPhilip Guenthe
to 'narrow' as they should. "looks correct" millert@ "makes sense" blambert@
2009-11-20The deny all and allow from any inet prefixlen 8 - 24 will block the defaultClaudio Jeker
route already so don't add an additional rule for that. Instead add a commented allow rule. Idea from Mitja Muzenic (mitja at muzenic dot net)
2009-11-20When -h and -p are given to split-window, calculate the percentage size usingNicholas Marriott
the width instead of the height.
2009-11-20resolv.conf is also created when DNS servers are configured during theAntoine Jacoutot
install process. tweak and ok jmc@, ok sthen@
2009-11-20NULL dereference in IPV6_PORTRANGE and IP_IPSEC_*, found by Clement LECIGNE,Philip Guenthe
localhost DoS everywhere. To help minimize further issues, make the mbuf != NULL test explicit instead of implicit in a length test. Suggestions and initial work by mpf@ and miod@ ok henning@, mpf@, claudio@,
2009-11-20Display UTF-8 properly in status line messages and prompt. Cursor handling isNicholas Marriott
still way off though.
2009-11-20Remove oldest messages from log when limit is hit, not newest.Nicholas Marriott
2009-11-20correct off-by-one in percent_expand(): we would fatal() when tryingDamien Miller
to expand EXPAND_MAX_KEYS, allowing only EXPAND_MAX_KEYS-1 to actually work. Note that nothing in OpenSSH actually uses close to this limit at present. bz#1607 from Jan.Pechanec AT Sun.COM
2009-11-20Use the HostKeyAlias when prompting for passwords. bz#1039, ok djm@Darren Tucker
2009-11-20bz#1588 change "Connecting to host..." message to "Connected to host."Damien Miller
and delay it until after the sftp protocol connection has been established. Avoids confusing sequence of messages when the underlying ssh connection experiences problems. ok dtucker@
2009-11-20Warn but do not fail if stat()ing the subsystem binary fails. This helpsDarren Tucker
with chrootdirectory+forcecommand=sftp-server and restricted shells. bz #1599, ok djm.
2009-11-19bz#1606: error when an attempt is made to connect to a serverDamien Miller
with ForceCommand=internal-sftp with a shell session (i.e. not a subsystem session). Avoids stuck client when attempting to ssh to such a service. ok dtucker@
2009-11-19avoid overflow since protos > IPPROTO_MAX exist. From FreeBSD withOtto Moerbeek
a twist; ok millert@ kettenis@
2009-11-19Get some brackets in the right place so ## works. Also fix a space in aNicholas Marriott
comment.
2009-11-19Add code to set up windows on PCI-PCI bridges left unconfigured by theMark Kettenis
firmware. Fixes some (laptop) machines with ethernet and/or wiireless behind a bridge. Some help from miod@. Tested by many.
2009-11-19Add PPB_IO_SHIFT #define to mirror PPB_MEM_SHIFT.Mark Kettenis
2009-11-19Rename KSEG* defines to CKSEG* to match their names in 64 bit mode; alsoMiod Vallat
define more 64 bit spaces.
2009-11-19All callers of updateimask() immediately enable interrupts afterwards, so doMiod Vallat
it in updateimask() itself. No functional change.
2009-11-19Remove code allowing native binaries with O32 ABI to run, there aren't any...Miod Vallat
2009-11-19Change status line drawing to create the window list in a separate screen andNicholas Marriott
then copy it into the status line screen. This allows UTF-8 in window names and fixes some problems with #[] in window-status-format.
2009-11-19By 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-11-19document "radio switch turned off" message in the DIAGNOSTICS section.Damien Bergamini
2009-11-19if a radio switch exists, configure the GPIO pin to which it isDamien Bergamini
connected to raise an interrupt when the pin goes low (or high depending on the polarity of the radio switch.) turn the interface down when the interrupt occurs. this is the same behaviour as in wpi(4) and iwn(4). cleanup interrupts processing while i'm here. remove ATHN_INTR_MITIGATION compile option (it is set by default.)
2009-11-19By 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-11-19fix for some variants of AR9285.Damien Bergamini
found while doing code inspection as i don't have such hardware.
2009-11-19Two new options, window-status-format and window-status-current-format, whichNicholas Marriott
allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
2009-11-19tweak previous;Jason McIntyre
2009-11-19Revert to xterm-keys off by default. It was on as an experiment to see if theNicholas Marriott
option could be removed, but it affects vi, so we have to keep the option, and a conservative default is better.
2009-11-19Tidy up by breaking the # replacement code into a separate function, also add aNicholas Marriott
few comments.
2009-11-19Don't interpret #() for display-message, it usually doesn't make sense and mayNicholas Marriott
leak commands.
2009-11-19Add regression tests for stdio threading. Originally by blambert withPhilip Guenthe
some further hacking by me
2009-11-19oops - i did not spot previous was a list item, and needed quotedJason McIntyre
because of the number of args. sorry, philip, i should have checked your diff... fix that, and one more spacing issue in another item;
2009-11-19It turns out that the 2GB contiguous DMA direct map window also needsMiod Vallat
to be aligned on a 2GB boundary. Therefore the `add 512MB' bit used on Octane does not give us a 0.5GB-2.5GB usable DMA range, but a 0.5GB-2GB range; trying to use address in the 2GB-2.5GB range would cause PCI DMA errors at the xbridge level. There is no real benefit in using it, since this required us to keep subtracting or adding 0.5GB when converting DMA address to physical memory address or the other way around. So stop using it; this makes a few parts of the code simpler (and until bounce buffers are implemented, Octane systems will not use more than 1.5GB of memory).
2009-11-19Factor triplicated code responsible to add memory information into aMiod Vallat
single place.
2009-11-19pthread_rwlock_wrlock() should increment the count of writers justPhilip Guenthe
once and not on every wakeup. ok kurt@
2009-11-19Dell's SVR4 apparently mapped page zero to the executable. We don'tPhilip Guenthe
do that and, given the security issues it exacerbates, never will. So document it and delete the disabled support. ok deraadt@ tedu@
2009-11-18- regenJasper Lievisse Adriaanse
2009-11-18- add startech.com and the product id for their ICUSB2321X/2X/4X devices,Jasper Lievisse Adriaanse
which seem to be a multiport TIUSB3410, which uticom(4) can't deal with yet. hints from sthen@
2009-11-18syncStuart Henderson
2009-11-18* always move the same amount of data (256 frames) in the interrupt handlerJacob Meuser
* round blocksizes to multiples of 256 frames * fix display of record.source.volume and add record.mic.preamp mixer controls * add recording support ok kettenis@. ok ratchov@ on a slightly different version.
2009-11-18Stricter type usage (width and signedness); first step towards 64 bit ptes.Miod Vallat
2009-11-18panic on impossible error codeAlexander Hall
potential off-by-one found by parfait ok deraadt@, krw@
2009-11-18Move widget register information apart from xbow software interface, andMiod Vallat
update #include needs. No functional change.
2009-11-18Add glue to attach iockbc(4) to iof(4) as well. Tested by deraadt@Miod Vallat
2009-11-18regenJonathan Gray
2009-11-18More EP80579 devices.Jonathan Gray
2009-11-18Don't whinge about not knowing the bus_clock for EP80579 (model 0x15)Jonathan Gray
as there is no FSB and the processors don't have speedstep anyway.