summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-12Convert to if_input().Martin Pieuchot
ok dlg@
2015-02-12Add and use macros for linux memory barriers. Fix the call inJonathan Gray
i915_gem_object_flush_fence() to be mb() not wmb() while here.
2015-02-12Use ksh arithmethic instead of expr.Robert Peichaer
Noted by todd@ OK krw@ halex@
2015-02-12Remove a stray ;.Masao Uebayashi
2015-02-12Move register accessor macros to saner place.Masao Uebayashi
2015-02-12switch some free calls back to kfreeJonathan Gray
2015-02-12De-static for backtracing, but using #define to not change indent (for now).Masao Uebayashi
2015-02-12switch MUTEX_ASSERT_LOCKED calls back to assert_spin_lockedJonathan Gray
2015-02-12prevent a crash with openssl asn1parse -genstr FORMATJonathan Gray
aka ASN1_generate_nconf("FORMAT", NULL) ok krw@ beck@ jsing@
2015-02-12Simplify debug ifdefs.Masao Uebayashi
2015-02-12Don't panic even if parent port doesn't exist.Masao Uebayashi
2015-02-12KNF.Masao Uebayashi
2015-02-12convert to if_input.David Gwynne
ok mpi@ henning@
2015-02-12Rename the struct device member of inteldrm_softc to sc_dev and rename theMark Kettenis
pointer to the drm subdevice to dev such that we can match the linux code better. ok jsg@
2015-02-12bump minor for TLS_PROTOCOLS_ALL. OK jsing@Reyk Floeter
2015-02-12Allow TLS protocols to be specified via a "tls protocols" configurationJoel Sing
option. ok reyk@
2015-02-12Add a tls_config_parse_protocols() function that allows a protocols stringJoel Sing
to be converted into a libtls protocols value. This allows for things like: "tlsv1.0,tlsv1.1" (TLSv1.0 and TLSv1.1) "all,!tlsv1.0" (all protocols except TLSv1.0) Discussed with tedu@ and reyk@
2015-02-12Fix handling of "legacy" mode for tls_config_set_dheparams().Joel Sing
Found by reyk@
2015-02-12qsort() compare functions MUST use memcmp() instead of bcmp() to havePhilip Guenther
the correct return value. Prefer memcmp() anyway for portability. ok jsing@ tedu@
2015-02-12Change TLS_PROTOCOLS_DEFAULT to be TLSv1.2 only. Add a TLS_PROTOCOLS_ALLJoel Sing
that includes all currently supported protocols (TLSv1.0, TLSv1.1 and TLSv1.2). Change all users of libtls to use TLS_PROTOCOLS_ALL so that they maintain existing behaviour. Discussed with tedu@ and reyk@.
2015-02-12If you do not support POSIX I/O then you're not tall enough to ride...Joel Sing
ok tedu@
2015-02-12Update path of DRI modules.Anthony J. Bentley
ok jsg@
2015-02-12unifdef -m -UOPENSSL_NO_NEXTPROTONEG - NPN is being replaced with ALPN,Joel Sing
however it is not likely to be removed any time soon. ok beck@ miod@
2015-02-12swap limits.h for sys/limits.hBrent Cook
ok jsing@
2015-02-12Add mutex_is_locked and use it wherever linux uses it.Mark Kettenis
2015-02-12Use ntpd's deferred DNS resolving for constraints as well. ThisReyk Floeter
allows to get constraint addresses even if network/DNS is not available at startup (or system boot). thumbs up & OK henning@
2015-02-12Switch the printing of open sockets from ugly KVM internals to useClaudio Jeker
kvm_getfiles. This allows to run netstat without any extra privileges and removes another setgid program from base.. There is still kvm reader code in there which is used for debugging purposes (crashdump). netstat should still behave mostly the same. deraadt@ and sthen@ agree that it is time to get this puppy in.
2015-02-12Put the dev+ino table for cpio hardlink matching behind #ifndef NOCPIOPhilip Guenther
ok millert@ deraadt@
2015-02-12a shot at documenting the changed log(matches) semanticsHenning Brauer
2015-02-12change log(matches) semantics slightly to make it more useful. since itHenning Brauer
is a debug tool change of semantics not considered problematic. up until now, log(matches) forced logging on subsequent matching rules, the actual logging used the log settings from that matched rule. now, log(matches) causes subsequent matches to be logged with the log settings from the log(matches) rule. in particular (this was the driving point), log(matches, to pflog23) allows you to have the trace log going to a seperate pflog interface, not clobbering your regular pflogs, actually not affecting them at all. long conversation with bluhm about it, which didn't lead to a single bit changed in the diff but was very very helpful. ok bluhm as well.
2015-02-12ber_printf_elements should return NULL if any of its parts fail.Martin Pelikan
Leave the error handling up to its callers. ok reyk
2015-02-12- Use config_defer() to call actual attachment.Masao Uebayashi
- Set parameters passed to dwc2.
2015-02-11show if we are using a transport security mechanism other than "none"Peter Hessler
OK claudio@
2015-02-11Do not store the key and the gateway of a route entry in the same chunkMartin Pieuchot
of memory. The key (destination) is only set once, when the route is inserted in the routing table, and does not need to change afterward. The gateway might change and rt_setgate() will do all the checks for you. ok claudio@
2015-02-11Disable the L1 ASPM link state to workaround errata with theBrad Smith
82571 / 82572 controllers. As noticed in the Linux driver and there is related errata for that too. ok jsg@
2015-02-11Take II, this time without an incorrect mode test.Philip Guenther
For directories whose times or mode will be fixed up in the clean-up pass, record their dev+ino and then use open(O_DIRECTORY)+fstat() to verify that we're updating the correct directory before using futimens() and fchmod(). ok sthen@ millert@
2015-02-11- Fix thinko about struct usbd_xfer allocation.Masao Uebayashi
- Use bus_dma_tag_t held in struct usbd_bus.
2015-02-11Make syslogd tests more reliable. Allow a range of certain logAlexander Bluhm
messages, in case some got lost. Slow down client when sending multiple log messages. Sort patterns when checking log files. TLS error messages have changed, adapt tests.
2015-02-11- Make use of m_defrag().Brad Smith
- Lower the max # of TX DMA segments from close to the whole ring down to a more sensible value. From FreeBSD - Move the TX ring full check out of and above the for loop. - Use dm_nsegs to provide the total # of DMA segments instead of the value from the for loop. ok mikeb@
2015-02-11Disable the L0S and L1 ASPM link states to workaround errata with theBrad Smith
82573 / 82574 controllers. 82573.. 8 82573 Disappears in PCI Configuration Space When L0s and L1 PCIe Link States Are Enabled 41 Delay of Received Ethernet Packet During ASPM L1 82574.. 24. PCIe: Common Mode Voltage Shift During L1 Exit 25. Dropped Rx Packets From FreeBSD ok jsg@
2015-02-11Make syslogd test more reliable. Use Time::HiRes to sleep .01Alexander Bluhm
seconds in the write_lines() loop. This slows down the client, so all messages reach syslogd and flood its buffers. Increase the timeout to wait until all buffers are full. Use this code in all TCP/TLS buffer and memory overflow tests.
2015-02-11do not access a NULL pointer if an .Eo block lacks a tail;Ingo Schwarze
found by jsg@ with afl, test case #16
2015-02-11explicit blocks close out .Nd; fixing data structure corruptionIngo Schwarze
eventually leading to NULL pointer access; found by jsg@ with afl, text case #455.
2015-02-11Needs <sys/atomic.h> explicitely now.Miod Vallat
2015-02-11More http status codes.Florian Obser
OK benno@, reyk@
2015-02-11use strtonum for ispeed & ospeed, rejecting those numbers.Theo de Raadt
2015-02-11dlg@ said he had fixed sparc64, but I'm afraid this requires <sys/lock.h>Miod Vallat
2015-02-11Replace base 10 strtol with strtonum.Florian Obser
OK krw@, tedu@, deraadt@
2015-02-11things that use sys/lock.h want lockmgr locks. things that useDavid Gwynne
machine/lock.h are architectures for their MD specific things. sys/lock.h users dont want the MD bits, so dont have it include machine/lock.h. ok miod@
2015-02-11use a width specifier for lists, and Sq rather than Dq for single lettersJason McIntyre
to avoid swamping it;