summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-18Don't store a time_t into an int. Make the variable time_t.Kenneth R Westerback
Part of larger time_t rectification diff from guenther@.
2012-08-18ensure that async_run() and async_run_sync() always preserve errno.Eric Faurot
2012-08-18RFC updates:Jason McIntyre
5322 obsoletes 2822 5321 obsoletes 821 and 2821 6409 obsoletes 2476 and 4409
2012-08-18Disallow empty domain/address sent after HELO/EHLO command.Charles Longeau
ok gilles@ eric@
2012-08-18glxpcib(4) invokes pcibattach assuming pcib doesn't need more than aMiod Vallat
`struct device' as its softc. This is not the case on loongson, and the glxpcib softc gets subtly corrupted, causing a kernel panic when attempting to select the glxpcib timecounter as the current timecounter. Skirt this by not using the pcib softc fields if we are invoked from glxpcib - it is not really worth putting pcib_softc in a header for the sake of MI glxpcib code.
2012-08-18Major update of the mta internals.Eric Faurot
Add a mta_route structure which describes a route through which outgoing mails are to be sent. This structure holds connection parameters and limits. When an envelope is received in a batch, the route for it is looked up, and the envelope is added to the a list of envelope to be sent for this message on that route: a task. When the batch is closed, each task is added to the list of tasks for their respective route. The routes are drained when new work can happen. The route will create new mta sessions if necessary. When a session is up and ready, it picks the first pending task on the route if any. In the other case, it just closes the connection. Errors on the connection are reported to the route, so that the route could be flagged as broken. Currently, three errors on a an attempt to open a route is reported as a failure for all pen- ding tasks. ok gilles@
2012-08-18RFCs 2461 and 2462 have been replaced by, respectively, RFCs 4861 and 4862;Jason McIntyre
2012-08-18Limit the number of bounce sessions running at the same time. WhenEric Faurot
committed, a bounce is put on a runnable list of bounces. This list is drained to enqueue as much bounces as possible within the limit. This avoids DoS'ing the server when lots of bounces are enqueued at startup. While there, allow new envelopes to be added to a bounce until the the very last moment (i.e. when the list of recipients is written). ok gilles@ chl@
2012-08-18Don't try to printf() a time_t value with %d. Cast to (int) justKenneth R Westerback
in case time_t ever changes size. Values in these cases are intervals, i.e. (time_t - time_t) so int/%d will be fine. Part of larger time_t rectification diff from guenther@.
2012-08-18getrrsetyname() only uses ERRSET_* and is not supposed to set errno.Eric Faurot
make sure to save and restore errno properly.
2012-08-18Simplify error reporting in hostaddr_async(). Only use EAI_* error codes.Eric Faurot
2012-08-18Improve error reporting in getnameinfo_async() and getaddrinfo_async().Eric Faurot
They do not have to deal with h_errno at all. Also, errno is only kept for EAI_SYSTEM. Small code cleanup while there. Adapt getnameinfo() and getaddrinfo() wrappers to correctly save errno and overwrite it in the EAI_SYSTEM case. General errno handling issue reported by mikeb@.
2012-08-18allow other targets to work like install -> realinstallMarc Espie
(to be used in xenocara for build) okay matthieu@
2012-08-18within Rs/Re reference blocks, use %U instead of %O (or any otherJason McIntyre
variants) for URLs, allowing mandoc -Thtml to properly generate links; (sendmail.8 changes are simply using Lk, which i somehow missed in previous) ingo reminded me to verify that gnu groff recognises %U: 1.20.1 does not, but 1.21 does;
2012-08-18forgot to document llvm property.Marc Espie
2012-08-18be more explicit about what mono is.Marc Espie
2012-08-18document default changeMarc Espie
2012-08-18Fix http resume without out auth, which I broke on the last commit,Christiano F. Haesbaert
spotted by bluhm. ok bluhm.
2012-08-18Remove unused field 'next' from struct timeout. There's only oneKenneth R Westerback
timeout now, not a list.
2012-08-18Update global cur_time after exiting poll() and before calling theKenneth R Westerback
state engine for packet processing. Time may have passed! Use cur_time in routing message processing. Makes sense to todd@
2012-08-17make sure mycreate uses -DSHARED_LIBS=1 (for now), gets a lot of tests toMarc Espie
succeed as they should...
2012-08-17fix after signatures changeMarc Espie
2012-08-17oops, shouldn't go interactive (found by matthew@)Marc Espie
2012-08-17ouch, this should not workMarc Espie
2012-08-17Native mdoc versions of the sudo manuals, back-ported from sudo trunk.Todd C. Miller
2012-08-17Properly initialize the IOMMU control and status register for pyro(4).Mark Kettenis
Fixes DMA problems spotted on the v445.
2012-08-17Turns out interrupts for Ebus devices are wired to the *other* PCI Expres leafMark Kettenis
on the v445 (compared to the v215/v245). Generalize the code to allow for arbitrary wirings. Makes the serial console on the v445 work.
2012-08-17Don't forget to byteswap the state_flags since it's a uint16_t now.Mike Belopuhov
From Hrvoje Popovski via Florian Obser, ok henning
2012-08-17cleanup mpii_get_ioc_pg8 mess, no functional changeMike Belopuhov
2012-08-17Fix typos in DPRINTF() so error messages refer to correct *hci.Kenneth R Westerback
Spotted by Artturi Alm. Thanks!
2012-08-17Don't need this anymore, we have it in bsd.own.mk now.Christiano F. Haesbaert
2012-08-17Don't need this anymore, we have them in bsd.own.mk.Christiano F. Haesbaert
2012-08-17Add a default CDIAGFLAGS, so that programs may be enable warnings byChristiano F. Haesbaert
making "make WARNINGS=Yes" without having to add a bunch of CDIAGFLAGS to its makefile. sure deraadt@
2012-08-17Double check that we're not testing libc's __guard. Changing ld.so'sMatthew Dempsky
__guard symbol to HIDDEN causes dlsym() to return a pointer to libc's __guard instead, which can cause the test to wrongly pass even if ld.so's random data segments are not being initialized properly.
2012-08-17Fix possible panic while switching from STA mode into hostap/ibss modes.Stefan Sperling
ieee80211_create_ibss() resets the set of supported rates but failed to update the index into the rate set array accordingly. If the rate configured during STA operation didn't belong to the newly configured rate set the system ran into an assertion ("bogus xmit rate %u setup") while trying to create the IBSS. ok fgsch@
2012-08-17Fix mips64 and powerpc's ld.so syscall implementations by addingMatthew Dempsky
"memory" to the list of clobbered registers for all syscalls that accept a pointer. This prevents GCC from optimizing away memory loads and stores that otherwise appear unused in a function. Issue noted and identified by miod; fix by me. ok miod, mpi
2012-08-17update to firmware 1.4.55 via freebsd revision 236212.David Gwynne
2012-08-17add support for "physical devices" on skinny controllers.David Gwynne
these controllers let you specify disks that should be accessed directly rather than be part of logical volumes. apparently you can plug in things like tape drives too. anyway, physical devices are exposed via a separate scsibus attached to mfi. ok mikeb@
2012-08-17clarify that -w is used for raw output only (removes the 'not sure' XXXOkan Demirmen
comment). ok sthen@, jmc@
2012-08-17Send client banner immediately, rather than waiting for the server toDamien Miller
move first for SSH protocol 2 connections (the default). Patch based on one in bz#1999 by tls AT panix.com, feedback dtucker@ ok markus@
2012-08-17print details of which host lines were deleted when usingDamien Miller
"ssh-keygen -R host"; ok markus@
2012-08-17add some comments about better handling first-KEX-follows notificationsDamien Miller
from the server. Nothing uses these right now. No binary change
2012-08-17Force a clean shutdown of ControlMaster client sessions when the ~. escapeDarren Tucker
sequence is used. This means that ~. should now work in mux clients even if the server is no longer responding. Found by tedu, ok djm.
2012-08-16Use dlopen("ld.so") instead of dlopen("/usr/libexec/ld.so") so we getMatthew Dempsky
a reference to the already loaded ld.so instead of loading another instance.
2012-08-16turd polish: use LDSTATIC=${STATIC} instead of LDFLAGS+=-staticMatthew Dempsky
2012-08-16Add regression test to check that PIEs work too.Matthew Dempsky
2012-08-16display board model and firmware revision like mfi/mfii do; ok dlgMike Belopuhov
2012-08-16we are past the point where timecounters may disappearTed Unangst
ok miod
2012-08-16Add a test case to verify ld.so's randomdata section is initializedMatthew Dempsky
too, since interpreters will be initialized by a slightly different code path than executables.
2012-08-16syncTheo de Raadt