summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-03Rename mtx_cpu to mtx_owner for consistency with the other platforms.Miod Vallat
2015-07-03bzero cmsgbuf before using it, silences valgrind warnings.Bryan Steele
henning@ "sure"
2015-07-03Fix cast in atomic_swap_ptr()Miod Vallat
2015-07-03Switch to standard, non-historical sort(1) and join(1) usage. ok millert@Jeremie Courreges-Anglas
2015-07-03Correctly restore ipl in fpusave_proc() when we have to busy loop.Miod Vallat
2015-07-03Enable static pie on sparc; be sure to upgrade your compiler before yourMiod Vallat
next build (or wait for the snapshot to reach the mirrors)
2015-07-03static pie support for sparc.Miod Vallat
2015-07-03Link static pie binaries against rcrt0.oMiod Vallat
2015-07-03Correctly handle relative-type relocations; very old ld.so bug which gotMiod Vallat
fixed everywhere but on sparc for some unknown reason (and did not cause any havoc in real life).
2015-07-03There are no ${LIBCSRCDIR}/arch/${MACHINE_CPU}/locale directories insemarie
cvs. Remove the unused search path from Makefile.inc "fine with me" stsp@
2015-07-03vax-11/780 announced 1977, not 1978;Jason McIntyre
from john marshall, freebsd pr #200961 ok miod
2015-07-03legacy v00 certificates are gone; adapt and don't try to test them;Damien Miller
"sure" markus@ dtucker@
2015-07-03another SSH_RSA_MINIMUM_MODULUS_SIZE that needed crankingDamien Miller
2015-07-03add an XXX reminder for getting correct key paths from sshd_configDamien Miller
2015-07-03refuse to generate or accept RSA keys smaller than 1024 bits;Damien Miller
feedback and ok dtucker@
2015-07-03turn off 1024 bit diffie-hellman-group1-sha1 key exchange methodDamien Miller
(already off in server, this turns it off in the client by default too) ok dtucker@
2015-07-03delete support for legacy v00 certificates; "sure" markus@ dtucker@Damien Miller
2015-07-02most of the destinations for mbufs in ether_input are mpsafe except forDavid Gwynne
pipex and bridge. this puts KERNEL_LOCK/KERNEL_UNLOCK around the pipex chunk till we can give it some mp love. ok yasuoka@ mpi@
2015-07-02tweak MUTEX_ASSERT_LOCKED and MUTEX_ASSERT_UNLOCKED to only lookDavid Gwynne
at the owner. every other arch does it the same, so this is to reduce differences between our platforms. ok miod@
2015-07-02Check the receive line count less strict to avoid false negatives.Alexander Bluhm
2015-07-02syncTheo de Raadt
2015-07-02To avoid copying the socket creation code for upcoming TCP listenAlexander Bluhm
again, move it to the common function socket_bind(). OK millert@
2015-07-02syncTheo de Raadt
2015-07-02Make the i386 pmap (almost) mpsafe by protecting the pmap itself, the pvMark Kettenis
lists and the apte with a mutex. Rearrange some code to avoid sleeping/spinning with one of these locks held. This should make pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) safe to use without holding the kernel lock. Unfortunately there still seems to be an issue that causes deadlocks under pressure. That shouldn't be an issue as long as uvm still calls the pmap functions with the kernel lock held. Hopefully committed this will help finding the last bugs. ok mlarkin@, deraadt@
2015-07-02remove new_categories variable from global.semarie
This variable is used as temporary buffer in order to do checking before copying the content to current_categories variable. Switch it as local variable in setlocale function. Adapts some functions. the commit collapse 3 proposed diffs on tech@, and all OK stsp@
2015-07-02Move back rdomain's check into ether_output() otherwise it triggersMartin Pieuchot
if a pseudo-interface is on a different rdomain than its parent. Sorry for the inconvenience, I hope you'll fly again with us. Regression reported by and ok semarie@, ok phessler@
2015-07-02Unify the check for up & running between all pseudo-drivers.Martin Pieuchot
2015-07-02By design if_input_process() needs to hold a reference on the receivingMartin Pieuchot
ifp in order to access its ifih handlers. So get rid of if_get() in the various ifih handlers we know the ifp is live at this point. ok dlg@
2015-07-02copy MUTEX_ASSERT_LOCKED and MUTEX_ASSERT_UNLOCKED from alpha.David Gwynne
the previous asserts checked if the mutex was locked by any cpu or not when they should have been checking if the current cpu has the lock or not. found by miod after i enabled pool_gc again. ok miod@
2015-07-02mikeb@ suggested making it clear that srp_enter and srp_leave pairsDavid Gwynne
have to be called in the same context.
2015-07-02shuffle the list of files so tsleep.9 isnt in the middle of all theDavid Gwynne
mangpages starting with s.
2015-07-02introduce srp, which according to the manpage i wrote is short forDavid Gwynne
"shared reference pointers". srp allows concurrent access to a data structure by multiple cpus while avoiding interlocking cpu opcodes. it manages its own reference counts and the garbage collection of those data structure to avoid use after frees. internally srp is a twisted version of hazard pointers, which are a relative of RCU. jmatthew wrote the bulk of a hazard pointer implementation and changed bpf to use it to allow mpsafe access to bpfilters. however, at s2k15 we were trying to apply it to other data structures but the memory overhead of every hazard pointer would have blown out significantly in several uses cases. a bulk of our time at s2k15 was spent reworking hazard pointers into srp. this diff adds the srp api and adds the necessary metadata to struct cpuinfo on our MP architectures. srp on uniprocessor platforms has alternate code that is optimised because it knows there'll be no concurrent access to data by multiple cpus. srp is made available to the system via param.h, so it should be available everywhere in the kernel. the docs likely need improvement cos im too close to the implementation. ok mpi@
2015-07-01don't expect SSH v.1 in unittestsDamien Miller
2015-07-01Compile-time disable SSH v.1 againDamien Miller
2015-07-01Use ksh style tests like in the rest of the installer scripts.Robert Peichaer
OK krw@ halex@
2015-07-01update currency exchange rates;Jason McIntyre
2015-07-01specify the array initializer valueBrent Cook
noted by kinichiro from github
2015-07-01twiddle PermitRootLogin backDamien Miller
2015-07-01twiddle; (this commit marks the openssh-6.9 release)Damien Miller
2015-07-01better refuse ForwardX11Trusted=no connections attempted afterDamien Miller
ForwardX11Timeout expires; reported by Jann Horn
2015-07-01put back default PermitRootLogin=noDamien Miller
2015-07-01openssh-6.9Damien Miller
2015-07-01reset default PermitRootLogin to 'yes' (momentarily, for release)Damien Miller
2015-06-30cosmetic comma is not really necessary, better to have a raw list of ↵Marc Espie
packages. Pointed out by theo.
2015-06-30new sentence, new line;Jason McIntyre
my apologies to semarie for not pointing this out when he asked for an ok...
2015-06-30Sort the syslogd getopt string and switch cases according to theAlexander Bluhm
man page. This makes it easier to check wether both are consistent. OK jung@
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot
compatibility with 4.3BSD in September 1989. *Pick your own definition for "temporary". ok bluhm@, claudio@, dlg@
2015-06-30Rename if_output() into if_enqueue() to avoid confusion with commentsMartin Pieuchot
talking about (*ifp->if_output)(). ok claudio@, dlg@
2015-06-30Add tests for syslog -U.Alexander Bluhm
2015-06-30Add a -U command line switch for syslogd to specify an explict bindAlexander Bluhm
address to receive UDP packets. One advantge over -u and the * sockets is that you can bind to localhost and divert the packets with pf. It is also possible to use a non standard port. OK jung@ jmc@