summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-30Do not issue a spurious "force" when "group none" is specified.Christian Weisgerber
Tweaked from his fix and ok mikeb@
2012-08-30switch compress_backend to use FILE * instead of file descriptors, likeCharles Longeau
crypto_backend ok gilles@
2012-08-30Kill NOPIE and NOPIE_FLAGS in sparc64/stand. Binaries are identical accordingPascal Stumpf
to deraadt@, ok kettenis@
2012-08-30fix uninitialized variable which can be reach in case of failure.Charles Longeau
ok gilles@
2012-08-30On sparc64, we still need to pass -K PIC to the assembler when compiling PIE.Pascal Stumpf
Found out the hard way by deraadt@. ok kettenis@
2012-08-30- import latest aldap.[ch] and ber.[ch] from ypldapGilles Chehade
- revive map_ldap.c by updating it to the current API diff by Mathieu Masson who played puzzle with an oooold changeset of mine, this import is to let us work on it in tree, it won't work as is. idea ok eric@ and chl@
2012-08-30when reloading the envelopes from disk, skip envelopes that areEric Faurot
more recent than the startup time, since they are already known to the scheduler. ok gilles@
2012-08-30- correctly free the task if all rcpt where rejectedEric Faurot
- fix refcounting - add some stat counters ok gilles@ chl@
2012-08-30Add the possibility to map DMA memory non-cached, based on the i386/amd64Martin Pieuchot
implementation. For the moment only the BUS_DMA_NOCACHE macro is required to build drm on macppc but it will be used soon. ok kettenis@
2012-08-30Use only one macro instead of two to turn debug printf on.Martin Pieuchot
ok kettenis@
2012-08-30Use an explicit suffix for the "fld" instruction to shut up clang. The correctMark Kettenis
instruction is fldl sinze we try to load a double-precision value. GCC actually gets it wrong and emits "flds" (which is harmless). Pointed out by Brad. ok guenther@
2012-08-30syncTheo de Raadt
2012-08-30pmdb went to the atticTheo de Raadt
2012-08-30Move pmdb to the attic.Mark Kettenis
It's unfinished. It will never be finished. It's unfinishable. deraadt@
2012-08-30no md_root_setconfTheo de Raadt
2012-08-30Sloppy state tracking renders ICMP direction check uselessMike Belopuhov
and harmful as we might see only half of the connection in the asymmetric setups but ignore the state match. The bug was reported and fix was verified by Insan Praja <insan () ims-solusi ! com>. Thanks! OK mcbride, henning
2012-08-30make a variable that can take a value of -1 signed to match what theJonathan Gray
rest of the code expects. from brad
2012-08-30Use (rate / 15) as block size in off-line mode to ensure theAlexandre Ratchov
block size stays below SHORT_MAX. Found by sthen@
2012-08-30rfc 5905 replaces rfc 2030; for now, the reference to 2030 in ntpd.confJason McIntyre
stays; ok henning
2012-08-30Some line counter goodness from Florian Obser.lum
If you open an already open buffer via C-x C-f, odd things can happen with the cursor and line counter for that buffer. This diff stops that behaviour and no regressions viewable.
2012-08-30This diff allows the user to decide what to do with buffers thatlum
experience write errors during C-x C-c (exiting mg). Emacs stops the exiting process when it encounters problem buffers and lets the user decide what to do, currently mg continues exiting and the contents of these buffers are lost. This diff bring mg more into line with emacs. Review and observations from Sunil Nimmagadda.
2012-08-30Lowercase the first "i" in isFile, isLink, isSymLink, and isHardLinkwilliam
to match reality. ok espie
2012-08-30remove libexec/tftp-proxy now we have usr.sbin/tftp-proxyDavid Gwynne
ok deraadt@
2012-08-291) Remove documentation of the groff-1.15 compatibility quirkIngo Schwarze
of suppressing spacing before a third .Xr argument because that quirk was removed in mdoc_macro.c rev. 1.72. 2) Mark the "section" argument to .Xr as (syntactically) optional, but still do not encourage omitting it. The missing .Op was reported by espie@. Wording tweaked by and ok jmc@, ok millert@.
2012-08-29Kill all NOPIE and NOPIE_FLAGS in i386/stand, replacing them with -fno-piePascal Stumpf
and -nopie directly. Binaries from a PIE system are identical to those from a recent snapshot. ok deraadt@
2012-08-29- rfc 4835 obsoletes rfc 2406Jason McIntyre
- flesh out SEE ALSO ok sthen
2012-08-29remove ancient cruft.Marc Espie
okay deraadt@
2012-08-29Adjust for changes to "struct reg".Mark Kettenis
2012-08-29Fix _SC_CHILD_MAX, _SC_OPEN_MAX, and _SC_STREAM_MAX to correctlyMatthew Dempsky
handle rlim_cur set to RLIM_INFINITY or values greater than LONG_MAX, as unlikely as those are to happen. Further limit _SC_STREAM_MAX to at most SHRT_MAX, because struct __sFILE uses a short int for storing the file descriptor. While here, also remove a dead label that Clang complains about. From FreeBSD via Brad.
2012-08-29The low-level guts to support MTP (Multi-Threaded Processing) on theMark Kettenis
Fujitsu SPARC64-VI and SPARC64-VII CPUs. Since the two threads on each core share the TLBs of the core we cannot enter different mappings for the same virtual address. Instead we use a scratch register to store the per-cpu pointer. This is very similar to what we do on sun4v. For now we still only attach the first thread of each SPARC64-VI/VII core since we currently don't handle the VMT (Vertical Multi-Threading) of the SPARC64-VI very well.
2012-08-29rfc 5036 obsoletes rfc 3036; ok claudioJason McIntyre
2012-08-29Make sure the interrupt stack for the boot processor is properly aligned toMark Kettenis
a 64K boundary. This means we don't have to worry about virtual cache aliasing anymore since SPARC V9 CPUs have at most a 16K aliasing.
2012-08-29bump reference to rfc 1583 to rfc 2328;Jason McIntyre
2012-08-29Add DWARF2 CFI unwinder for hppa.Mark Kettenis
2012-08-29Adjust for changes to "struct reg".Mark Kettenis
2012-08-29Change "struct reg" to include a few more registers. We now use the sameMark Kettenis
layout as NetBSD.
2012-08-29- document rfc 1994Jason McIntyre
- sections in conventional order - some minor tweaking
2012-08-29Handle T_IPROT traps from userland by call vm_fault() instead of doing anMark Kettenis
unconditional SIGSEGV. Fixes random SIGSEGVs during single-stepping. ok miod@
2012-08-29switch the default queue encryption to AES-128Christian Weisgerber
I'm committing this on behalf of gilles@
2012-08-29no point having two copies of this file - this copy never gotJason McIntyre
installed anyway; ok krw henning
2012-08-29update the rfc references; ok krwJason McIntyre
2012-08-29tweak previous;Jason McIntyre
2012-08-29Get rid of all NOPIE and NOPIE_FLAGS in amd64/stand and use -fno-pie and -nopiePascal Stumpf
directly instead. This will be the approach taken by every other arch too in the near future. It is easier than relying on bsd.own.mk to set these correctly. discussed with and ok deraadt@
2012-08-29Test the exit status of the compiler by pulling it out the pipeline, soPhilip Guenthe
that mkdep can fail if the compiler does. Patch from Gerhard Roth (Gerhard_Roth at genua.de) ok halex@
2012-08-29obvious, but document that change of any encryption parameter *requires*Gilles Chehade
queue to be emptied first.
2012-08-29Introduce the crypto_backend API and provide support for... encrypted queueGilles Chehade
using the new API. By default, OpenSMTPD does not provide queue encryption, but it can be enabled with "queue encryption [args]" and will transparently encrypt/decrypt envelopes/messages as they hit the queue. By default, it will use Blowfish in CBC mode with a different random IV for each envelope and message. User provided key is expanded using sha256 but a different cipher and digest may be specified in smtpd.conf Queue encryption is compatible with compression and if both options are set it will do them in correct order and transparently. tested by chl@, a few users and myself ok chl@ and I
2012-08-29Using the currently chosen (and in my opinion insane) abstraction, passTheo de Raadt
-nopie to the linker if needed; ok pascal
2012-08-29Implement pci_min_powerstate().Mark Kettenis
2012-08-29Implement pci_min_powerstate().Mark Kettenis
2012-08-29Our _mcount doesn't use profile counters. Partially fixes profiling on hppaMark Kettenis
(things link now).