summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-02Unstick bgpctl reload after reloading a bgpd.conf with errors.Florian Obser
ok claudio, benno
2012-11-02Allow to specify how often a pattern has to show up in the relaydAlexander Bluhm
log file during a test.
2012-11-02Ktrace the relayd during the test if the KTRACE environment variableAlexander Bluhm
is set.
2012-11-02Make the relayd regression tests more verbose. Write everythingAlexander Bluhm
received from or sent to relayd into the client and server log file.
2012-11-02Don't add a 'nameserver' line to resolv.conf if the nameserver inKenneth R Westerback
question is the empty string. Spotted by Joerg Zinke.
2012-11-02replace "err(1, (char *)NULL);" with "err(1, NULL);"Jason McIntyre
from Rafael ok haesbaert ratchov
2012-11-02Consistency and robustness improvements in mda:Eric Faurot
- Introduce a mda_getlastline function(); improve the code to avoid useless allocations and string formatting; make it return the last line with content (skip trailing empty lines if found). - Add a mechanism by which the mda can request the parent to abort a local delivery by killing the process. - Use ioev/iobuf for draining data to the delivery process. - Make sure to catch all transient errors and make them result in a tempfail rather than calling fatal(). - Make sure that the envelope status is properly set for all failures. - Stop using SMTP response codes; it makes no sense in this context. ok gilles@
2012-11-02uvm_km_alloc() allocs bytes rounded up to the nearest page not pages.Jonathan Gray
Problem spotted by and diff to fix this (and convert to km_alloc) from oga ok deraadt@
2012-11-02Make counters more informative in the scheduler:Eric Faurot
- Change the scheduler backend API a bit: commit() and rollback() API calls return the number of envelopes added or canceled; put the number of envelopes in the structure returned by batch(). - Properly report the number of incoming, registered, removed and expired envelopes, as well as the outcome of deliveries. ok gilles@
2012-11-02Watch the non-privileged end of the pipe to the privileged childKenneth R Westerback
process. So when the child dies, the parent exits immediately.
2012-11-02unbreak ramdisks, we need to include tcp/udp.h unconditionally now and notHenning Brauer
dependent on ipsec. puzzled how this went by since I did run full mkrs... pbly lost in my forest of trees :( report Amit Kulkarni <amitkulz at gmail.com>, fix me, ok kettenis beck krw
2012-11-02Don't OR flags into an uninitialized variable in elantech hardware v1 code.Stefan Sperling
Fix by oga, via mikeb.
2012-11-02Dont insert twice recorded wav files (-o) on the list of recorded files;Alexandre Ratchov
with help from Remco <remco at d-compu.dyndns.org>
2012-11-02Initialize wav structure enough for wav_close() to work in the errorAlexandre Ratchov
code path. Fixes crashes when wav_close() is called on uninitialized wav structure. With help from Remco <remco at d-compu.dyndns.org>, thanks!
2012-11-02Use dedicated messages for flow control instead of abusing clock tickAlexandre Ratchov
messages and enable flow control for MIDI. Since this requires protocol version bump, both sndiod and libsndio must be kept up to date to work together.
2012-11-02BHyVe and QEMU also provide virtio.Brad Smith
ok sf@
2012-11-02Correct capitalization of KVM/VirtualBox.Brad Smith
2012-11-01KNF some leading spaces into tabs.Kenneth R Westerback
2012-11-01Remove dead code that was a leftover from the initial code which wasReyk Floeter
based on snmpctl. Found and committed from the plane in 10km (35.000 feet). No functional change and this diff doesn't touch any crypto code so the current country below me cannot blame me for importing / exporting any crypto. ok benno@
2012-11-01Switch alpha to per-process astpending.Miod Vallat
2012-11-01In cpu_fork(), correctly set up the stack of the new process if required. ThisMiod Vallat
repairs tfork_thread() operation.
2012-11-01When possible, send multiple characters per packet. Also, stop sending whenMark Kettenis
the transmit queue is full. If the transmit queue is full, set a timeout to get things going again.
2012-11-01Zero v0 before transferring control to the main program to indicate thatMark Kettenis
the main program should not reguster a cleanup handler with atexit(3). This will allow us to add the cleanup handler registration code to crt0.c and have ld.so pass its cleanup handler to the main program in the future. While there, also zero ra to mark the last stack frame as demanded by the ELF ABI. ok kurt@, miod@
2012-11-01tweak previous;Jason McIntyre
2012-11-01Add regress tests for tail -f.Landry Breuil
newsyslog test failing atm on NFS.. ok sthen@
2012-11-01document the return of USE_X11 and its reason.Marc Espie
also PORTS_BUILD_XENOCARA_TOO. Don't use !!! if things break, it's your fault.
2012-11-01Register cleanup handler passed by ld.so with atexit(3).Mark Kettenis
ok kurt@
2012-11-01Clear r7 before passing control to the main object.Mark Kettenis
2012-11-01redo most of the protocol (tcp/udp/...) checksum handlingHenning Brauer
-assume we have hardware checksum offloading. stop mucking with the checksum in most of the stack -stop checksum mucking in pf, just set a "needs checksumming" flag if needed -in all output pathes, very late, if we figure out the outbound interface doesn't have hw cksum offloading, do the cksum in software. this especially makes the bridge path behave like a regular output path -little special casing for bridge still required until the broadcast path loses its disgusting shortcut hacks, but at least it's in one place now and not all over the stack in6_proto_cksum_out mostly written by krw@ started at k2k11 in iceland more than 1.5 years ago - yes it took that long, this stuff is everything but easy. this happens to fix the infamous pf rdr bug that made us turn off proto cksum offloading on almost all interface drivers. ok camield sthen claudio, testing by many, thanks!
2012-11-01update currency exchange rates;Jason McIntyre
2012-11-01Correct capitalization of KVM/VirtualBox.Brad Smith
2012-11-01Fix merge errors.Joel Sing
Found the hard way by deraadt@
2012-10-31minor style cleanupMike Belopuhov
2012-10-31Delete some leftover debug code and the array it rode in on.Kenneth R Westerback
2012-10-31fix an off-by-oneOkan Demirmen
ok nicm@
2012-10-31chris@ spotted a '2038' where a '2048' was meant and pointed outKenneth R Westerback
that a macro (which I called MAXRESOLVCONSIZE) would make things easier to read and reduce such typos. Make it so.
2012-10-31don't show Kelvin units, and don't be off by a factor of 10 either.Theo de Raadt
ok kettenis
2012-10-31Forcibly delete all existing ipv4 addresses from an interface whenKenneth R Westerback
binding a lease to that interface. This fixes issues sthen@ found with unexpectedly persistant addresses and failures of dhclient when switching an interface repeatedly between different networks. This crude but predictable behaviour may be toned down once it is figured out what we want to do with mixed static/dynamic configurations on an interface. ok sthen@
2012-10-31Unbreak build on !i386.Joel Sing
Pointed out by deraadt@
2012-10-31Bump version numbers.Joel Sing
2012-10-31Enable softraid boot support for cdboot(8) and pxeboot(8).Joel Sing
2012-10-31Make cdboot(8) and pxeboot(8) work correctly when it is larger than 64KB inJoel Sing
size. When relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-31Save and restore %ebx across the call to read. Otherwise we load the firstJoel Sing
64KB segment at 0x7c00 and any additional 64KB segments over top of each other at 0x10000.
2012-10-31Bump i386 boot(8) version.Joel Sing
2012-10-31Enable softraid boot support for i386 boot(8).Joel Sing
2012-10-31Bring softraid support to i386/stand/libsa.Joel Sing
2012-10-31document lua.port.mk changesGleydson Soares
OK jasper@ sthen@
2012-10-31On amd64 OPENSSL_cpuid_setup and OPENSSL_ia32cap_P are now hidden so we don'tMark Kettenis
have to go through the PLT/GOT to get at them anymore. In fact going through the GOT now fails since we no longer have a GOT entry for OPENSSL_ia32cap_P. Fixes the problem spotted by jasper@ and sthen@. Based on a diff from mikeb@ who did most of the actual work of tracking down the issue. ok millert@, mikeb@
2012-10-31tweak previous;Jason McIntyre
2012-10-31Add support for Intel's Supervisor Mode Access Prevention (SMAP) feature.Jonathan Gray
When enabled SMAP will generate page faults on the kernel attempting to read/write user data pages unless an override flag is set. Instructions that modify the flag are patched into copyin/copyout and friends on boot if SMAP is enabled. Those with access to hardware with SMAP can contact me for a test case. joint work with deraadt@ ok miod@ deraadt@