summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-29The intention is to map the dvma map at a fixed address, so specifyMark Kettenis
UVM_FLAG_FIXED. Makes sparc boot with option KVA_GUARDPAGES. ok miod@, tested by deraadt@
2009-08-29accept ``common'' messages (including system explusive) on theAlexandre Ratchov
control MIDI port.
2009-08-29remove more unneeded Debugger() calls from dev/Jasper Lievisse Adriaanse
agreed by deraadt@ ok jsing@
2009-08-29sync. -mojMats O Jansson
2009-08-29Remove unused getdevunit(), only sparc and sparc64 have a need for it.Miod Vallat
2009-08-29Some more udl devices. -mojMats O Jansson
2009-08-29submatch functions used with config_found_sm() are required to invoke theMiod Vallat
driver's ca_match function. (only offender in the whole tree) ok deraadt@
2009-08-29incorrect array bounds check in I2OVERBOSE error reporting.Miod Vallat
2009-08-29typos in commentsMiod Vallat
2009-08-29Ooops, revert the last bcopy()-elimination commit. I forgot that bcopy()Marcus Glocker
does the job for us on strict alignment archs.
2009-08-29gcc2 hates claudioTheo de Raadt
2009-08-28Writing 0 to the PCI_LEGACY register *is* the proper way to disable theMark Kettenis
legacy register mapping. So remove comments and #ifdef 0'ed code that questions this. ok miod@
2009-08-28OpenBSD/sparc64 can now be compiled without -traditional-cpp.Joel Sing
From jsg@
2009-08-28ofwboot can be compiled without -traditional-cpp.Joel Sing
From jsg@
2009-08-28Use fixed labels rather than generating them using defines. This allowsJoel Sing
the code to be compiled without -traditional-cpp (and is arguably easier to read). ok kettenis@ jsg@
2009-08-28Change the way how the server works. Instead of forking of a child perClaudio Jeker
connection do multiplexing via poll(2). This allows to use more concurrent connections and to specify additional kvm data to fetch. This was all done by Christiano Farina Haesbaert (christiano.fh gmail dot com) plus some input by myself. OK henning@
2009-08-28Change cap_mkdb and curses to be a better about reformatting terminfo entriesNicholas Marriott
into the cap database format and back: rather than replacing all colons with commas, only touch real separators (skip those with a leading \ or ^) and replace an unadorned colon with a literal "\072". Fixes problems with quite a few caps including acsc in "screen" (:s instead of ,s) and setab/initc in "xterm-256color" (wrongly concatenated together). ok millert
2009-08-28don't consider calling sio_close() without calling sio_stop() firstAlexandre Ratchov
as a programming error. At any stage the program should be alble to cleanly free resources and close the device.
2009-08-28remove a bunch of unused Debugger()s.Jasper Lievisse Adriaanse
ok krw@ miod@
2009-08-28when using aucat backend, wait for the server to drop the connectionAlexandre Ratchov
on sio_close()
2009-08-28add a new AMSG_BYE, sent by the client to requst the server toAlexandre Ratchov
free resources and drop the connection. This allows the client to ensuire that at any time it's using only one connection, thus only one MIDI control channel.
2009-08-28top device before closing it. It's necessary to ensure that if weAlexandre Ratchov
are using another instance of aucat as device, the server closes the connection before we open a new one.
2009-08-28kva_guardpages: make guard pages separate map entriesAriane van der Steldt
- fixes ps(1) - fixes kva deadbeef entries
2009-08-27Garbage collect two variables that where set but unused.Thordur I. Bjornsson
Tiny spacing nit. Fix a typo, pointed out by miod@.
2009-08-27introduce a flag member to struct nfs_aiod, and use flags instead of the exitThordur I. Bjornsson
and worked members. nad_worked becomes NFSAIOD_WAKEUP, which is set after if an aiod was removed from the idle list and woken up by nfs_asyncio(). don't rely on tsleep wchans being unique, that is keep going back to sleep if woken up unless the NFSAIOD_WAKEUP flag is set. fix a divide by zero crash if nfs.vfs.iothreads is set to 0, as that can happen when we recalculate the maximum buf's to queue up for each aiod. in nfs_asyncio() set the nad_mnt to NULL before returning the aiod back to the idle list in the case where we have already queued up to many bufs, otherwise we trip an assertion. minimize the time we are holding the nfs_aiodl_mtx to only when we are inserting or removing from the lists, with the exception of nfs_set_naiod() as it would make the loops more complicated and its uncommon in any case. tested by myself and deraadt@ "fine with me" deraadt@
2009-08-27syncJolan Luff
2009-08-27Radeon HD 4350Jolan Luff
2009-08-27make UDF less chatty during normal operationJolan Luff
ok krw/phessler
2009-08-27Harmless sizeof ptr bug in ppc_check_procid(); ok drahn@ kettenis@Miod Vallat
2009-08-27malloc() last two args were swapped, amazing things did not break; ok kettenis@Miod Vallat
2009-08-27syncDavid Hill
2009-08-27nVidia Geforce Go 7950 GTXDavid Hill
ok deraadt@
2009-08-27Reduce padding overhead in compressed blocks.Marcus Glocker
2009-08-27Do not fall back to adding keys without contraints (ssh-add -c / -t ...)Damien Miller
when the agent refuses the constrained add request. This was a useful migration measure back in 2002 when constraints were new, but just adds risk now. bz #1612, report and patch from dkg AT fifthhorseman.net; ok markus@
2009-08-27allow setting an explicit umask on the commandline to override whateverDamien Miller
default the user has. bz#1229; ok dtucker@ deraadt@ markus@
2009-08-27force use of correct hash function for random-art signature displayDamien Miller
as it was inheriting the wrong one when bubblebabble signatures were activated; bz#1611 report and patch from fwojcik+openssh AT besh.com; ok markus@
2009-08-27allow setting an explicit umask on the commandline to override whateverDamien Miller
default the user has. bz#1229; ok dtucker@ deraadt@ markus@
2009-08-27Bring in NetBSD's rev 1.45 by Matthias DrochnerJonathan Gray
'Reduce polling of the keyboard controller status by a factor of 1000. While on real hardware hardware a poll cycle takes time in the microsecond order of magnitude, a "legacy-free" system which emulates the KBC in BIOS code takes milliseconds -- I'm seeing a multi-minute delay in booting where the KBC is probed. So poll less and use delay() to compensate so that the total wait time stays about the same.' Noticeably helps some machines that do SMM based pckbc. Tested by miod on alpha glass console. ok miod@
2009-08-27Appease gcc2 (I wish people would write in C, rather than "latest crapTheo de Raadt
gcc added") ok millert miod
2009-08-27Don't stop traversing a directory hierarchy if we reach SHRT_MAX,Todd C. Miller
just stop updating fts_level so we don't overflow it. This allows rm, find, etc to operate on very deep hierarchies. Consumers of fts(3) do need to be aware that the actual level may be larger than fts_level. During the next libc major bump we will make fts_level an int instead of a short. OK deraadt@
2009-08-27More iscsi defines needed.Claudio Jeker
2009-08-27$OpenBSD$Jacek Masiulaniec
2009-08-27Implement client side of the SMTP protocol in a library-like module.Jacek Masiulaniec
Make bounce code and /usr/sbin/sendmail interface use this new API. The mta process continues to use its own implementation, but eventually will be switched to use this shared module. Buffer routines are taken from buffer.c rather than from evbuffer. This is one step forward to using a single buffer API across the program. "it looks sexy" gilles@
2009-08-27s/relayd/smtpd/Jacek Masiulaniec
2009-08-27Implement client side of the SMTP protocol in a library-like module.Jacek Masiulaniec
Make bounce code and /usr/sbin/sendmail interface use this new API. The mta process continues to use its own implementation, but eventually will be switched to use this shared module. Buffer routines are taken from buffer.c rather than from evbuffer. This is one step forward to using a single buffer API across the program. "it looks sexy" gilles@
2009-08-27Use FTS_ROOTLEVEL instead of 0 when checking fts_level.Todd C. Miller
2009-08-27lookup(n.) -> look up(v.)Jason McIntyre
2009-08-27allow to specify interface names as addresses, for example "listen onReyk Floeter
em0". the implementation will lookup the first IPv4 address of an interface before any other IPv4 and IPv6 addresses. ok gilles@ (i got inspired by smtpd)
2009-08-27getpwnam failure that results in setting errno could confuse theJacek Masiulaniec
check for non-existent ~/.forward, so make the check more robust; fix a fd leak under rare circumstances; use secure_file for testing .forward file security.
2009-08-27don't discard the initial volume change message; now it mattersAlexandre Ratchov
because the initial volume may not be MIDI_MAXCTL