summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-06Do not special case loopback interfaces on init. Instead force themClaudio Jeker
to IF_STA_LOOPBACK in if_act_start() this way they will repsect IFF_UP on startup. Also mark the interfaces as passive. Initial diff provided by Patrick Coleman. OK dlg@
2011-05-06use an array of backends and iterate on it, instead of inliningAlexandre Ratchov
calls to sio_<backend>_open(). No behaviour change
2011-05-06remove almost two years old hack to support legacy audio/midiAlexandre Ratchov
device names
2011-05-06fix memory leak; bz#1849 ok dtucker@Damien Miller
2011-05-06mention that IPv6 addresses must be enclosed in square brackets;Damien Miller
bz#1845
2011-05-06clarify language about overriding defaults. bz#1892, from Petr CernyDarren Tucker
2011-05-05Make this script more generic and minimize differences betweenJasper Lievisse Adriaanse
the openssl and libz versions: - use a generic ${lib_version} - define ${version_file} to look run ${version_re} on to acquire the library version. - add license - remove unused -k flag no change in generated files ok sthen@
2011-05-05Adjust comments on the statements in the various ITLB handlers that make sureMark Kettenis
the gateway pages is mapped as a public page. The origional comment didn't really explain what was happening here.
2011-05-05The gateway page (which contains the system call entry point) needs to beMark Kettenis
public such that it is accessable from all userland processes.
2011-05-05Oops. Put back OPENDEV_PART so 'eject cd0' works again. Pointed outKenneth R Westerback
by miod@.
2011-05-05Go back to only attempting one IDENTIFY command against directlyMatthew Dempsky
attached devices as in the pre-port-multiplier code. (Devices attached via port multipliers still get multiple attempts though.) Also don't bother sleeping after the last iteration if all attempts failed. Discussed with dlg@ and Jonathan Matthew; ok dlg@
2011-05-05add support for muting the master channel on i2s based cards, this allows theJasper Lievisse Adriaanse
"mute" key on keyboards to function too. tested by kettenis on aoa(4) and snapper(4) by me. from Martin Pieuchot ok kettenis@ ratchov@
2011-05-05Attach to Samsung Galaxy S, from Erik Mugele. ok jsg@ mk@Stuart Henderson
It may be possible to use better heuristics to detect compatible devices (Linux driver appears to hand over from CDC to urndis) which would avoid listing IDs, but this gets tethering working on this phone for now.
2011-05-05syncStuart Henderson
2011-05-05Add Samsung Galaxy S, from Erik Mugele, ok jsg@ mk@Stuart Henderson
2011-05-05Use opendev() not opendisk() so we get duid support. OK oga@Todd C. Miller
2011-05-05order static typesClaudio Jeker
2011-05-05KNFClaudio Jeker
2011-05-05synaptics touchpad keep the current (pms) behaviour until WSMOUSEIO_SETMODEAlexandr Shadchin
ioctl is issued to switch to synaptics mode. WSMOUSE_COMPAT - behavior conventional mouse (relative mode) (default) WSMOUSE_NATIVE - full power synaptics ok miod@
2011-05-05Make sure we restore sr4 at the very end (just before we go physical) otherwiseMark Kettenis
further loads from the trapframe will be done from the wrong address space.
2011-05-05Small tweak - add direct pointer to env instead of using an indirect one.Reyk Floeter
2011-05-05Move the proc.c-specific runtime state out of struct iked into a sub-struct.Reyk Floeter
This removes iked-specific stuff from proc.c.
2011-05-05Switch tftp-proxy over to using divert-to. Based on a diff from oga@Stuart Henderson
with lots of help from claudio@. Earlier version was ok mikeb@ and looks good to markus@. Note: tftp-proxy rdr-to rules must be changed to use divert-to and must specify the address family. pass in quick on internal proto udp to port tftp rdr-to 127.0.0.1 port 6969 -changes to- pass in quick on internal inet proto udp to port tftp divert-to 127.0.0.1 port 6969
2011-05-05rename iked_proc* to privsep_proc*. no functional change.Reyk Floeter
2011-05-05Up until now, malloc scanned the bits of the chunk bitmap fromOtto Moerbeek
position zero, skipping a random number of free slots and then picking the next free one. This slowed things down, especially if the number of full slots increases. This changes the scannning to start at a random position in the bitmap and then taking the first available free slot, wrapping if the end of the bitmap is reached. Of course we'll still scan more if the bitmap becomes more full, but the extra iterations skipping free slots and then some full slots are avoided. The random number is derived from a global, which is incremented by a few random bits every time a chunk is needed (with a small optimization if only one free slot is left). Thanks to the testers!
2011-05-05Update all logging and debug functions to use the __func__ macroReyk Floeter
instead of static function names. __func__ is C99 and perfectly fine to use. It also avoids printing errors; for example if a statement log_debug("foo:"..) was moved or copied from function foo() to bar() and the log message was not updated...
2011-05-05Allow a user to specify the route priorityPeter Hessler
OK reyk@ claudio@ sthen@
2011-05-05ibuf_add returns 0 or -1. adding up the return values in errs and thenHenning Brauer
checking errs > 0 is not going to work... also make errs signed in 2 cases triggered by Milosz Jakubowski <milosz.jakubowski at gmail.com> pointing out a few cases, diff written from scratch to cover all of them. unsigned errs noticed by sthen. ok claudio sthen
2011-05-05gracefully fall back when ControlPath is too large for aDamien Miller
sockaddr_un. ok markus@ as part of a larger diff
2011-05-04Switch atactl over to using opendev() instead of opendisk() so it canOwain Ainsworth
grok DUIDs now commands such as: # atactl b9b455bd99e393cd work as expected (while everything else that used to work still does). ok sthen@
2011-05-04allow "ssh-add - < key"; feedback and ok markus@Damien Miller
2011-05-04Massive diff to handle logins more correctly. iscsid will now doClaudio Jeker
better operational parameter negotiation but more is needed. Tested by todd@ and myself.
2011-05-04When printing scsi device ids, skip leading blanks and collapse multipleStuart Henderson
whitespace into one. Written after Mitja showed a particularly unwieldy attach line: sd0 at scsibus0 targ 2 lun 0: <ATA, HTS721010G9SA00, MCZI> SCSI3 0/direct fixed t10.ATA_____HTS721010G9SA00_______________________________blahblahblah ok/incorporating a suggestion from matthew@, krw@ likes it, dlg@ doesn't feel strongly either way.
2011-05-04When enqueueing offline mail, use a wait list to keep the number ofEric Faurot
forked processes below a reasonnable limit. This prevents smtpd from fork-bombing on startup when there are lots of mails in the offline queue. ok todd@ gilles@
2011-05-04Change window with mouse wheel over status line if mouse-select-windowNicholas Marriott
is on, from marcel partap.
2011-05-04Don't need vis.h anymore.Nicholas Marriott
2011-05-04Don't use strnvis for the title as it breaks UTF-8. set-titles is nowNicholas Marriott
off by default and we have to trust the terminal can understand what we send it anyway so there isn't any harm.
2011-05-04Check if mouse-select-pane is ON not off when setting mouse flags,Nicholas Marriott
reported by oga.
2011-05-04Fix a typo in a comment, from Michael W Bombardieri.Nicholas Marriott
2011-05-04Collapse m_pullup and m_pullup2 into a single function, as they'reBret Lambert
essentially identical; the only difference being that m_pullup2 is capable of handling mbuf clusters, but called m_pullup for shorter lengths (!). testing dlg@ ok claudio@
2011-05-04fix volume up and down using the keyboard keysJasper Lievisse Adriaanse
from Martin Pieuchot ok ratchov@
2011-05-04sync with mirrors.datStuart Henderson
2011-05-04Clean up gotos for listening sockets to make it obvious when packetsBret Lambert
are dropped and when normal program flow occurs. Change error return value of syn_cache_add() from 0 to -1 in order to clearly communicate intent. ok claudio@
2011-05-04Add a zlib.pc pkg-config file, based what newer zlibs ship.Jasper Lievisse Adriaanse
tested by landry@ in a bulk. ok miod@ sthen@
2011-05-04- note that quotes may have to be escaped from the shell and add an exampleJason McIntyre
(requested by Michael W. Bombardieri, who also provided the example; otto provided a better description) - reword the rest of the descriptions in EXAMPLES to make them a bit clearer ok otto
2011-05-03We need a little more room for out kernel stack, at least for now.Mark Kettenis
2011-05-03Properly save and restore the space registers to/from the trap frame.Mark Kettenis
2011-05-03determine the default device in backend code instead of the commonAlexandre Ratchov
code. This is simpler as long as not all backends use the same default.
2011-05-03Adjust to explicitly list ${libdir}.Jasper Lievisse Adriaanse
ok sthen@
2011-05-03Move SLIST initializations earlier so that failure handling paths canMatthew Dempsky
safely use them. Found by Clang. "go for it" marco@