summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-15There's no need to convert values returned by arc4random to the networkMike Belopuhov
byte order. Spotted by Gleb Smirnoff (glebius@FreeBSD.org), thanks! ok tedu
2016-06-15Copy mode needs to keep the original grid intact so it can copy from itNicholas Marriott
if needed, so it disables reading from the pane. This can be problem with some programs. So make tmux automatically exit all modes after 180 seconds of inactivity and if there is pending output.
2016-06-15Add -F to list-commands.Nicholas Marriott
2016-06-15Remove "POSSIBLE BREAK-IN ATTEMPT!" from log message about forward andDarren Tucker
reverse DNS not matching. We haven't supported IP-based auth methods for a very long time so it's now misleading. part of bz#2585, ok markus@
2016-06-14Fix typo; OK jung@Todd C. Miller
2016-06-14Update to tzdata2016e from from ftp.iana.org.Todd C. Miller
2016-06-14restrict %m and friends to "separate words" so they won't collide withMarc Espie
branch specifiers. Unlikely, but better safe than sorry.
2016-06-14llprio now affects pppoe(4) control frames as well as arp(4) and bpf(4) writes.Stuart Henderson
2016-06-14Don't hardcode vlan/queue priority for pppoe packets; inherit it from theStuart Henderson
new "llprio" setting on the pppoe(4) interface instead. Tested by Daniel Gillen and myself, ok mikeb
2016-06-14refer to pkg_add(1) for pkg-name conventionsMarc Espie
2016-06-14more unification of stuff run on the command lineMarc Espie
don't mention FW_UPDATE, it's an internal detail
2016-06-14Prevent a round to zero in the timeout_add_...() functions. GettingAlexander Bluhm
an immediate timeout if a positive value is specified is unexpected behavior. Defer calling the handler for at least one tick. Do not change that timeout_add(0) gives you an immediate timeout. OK millert@ uebayasi@ tedu@
2016-06-14new syntax: pkgname%branch to select a branch wherever it makes sense.Marc Espie
see pkg_add(1) for details. Search framework makes that surprisingly simple.
2016-06-14If the FDT node has a "non-removable" property, return 1 from the cardMark Kettenis
detect function. Remove the board-specific return 1 cases as they all match the case of a "non-removable" property. Note that this introduces a sdmmc0: can't enable card message on the CuBox-i as is has the internal eMMC controller enabled in its device tree even though there is no eMMC soldered onto the board. ok jsg@
2016-06-14Make sure OF_getprop() returns the proper length for a synthesised "name"Mark Kettenis
property. From Tom Cosgrove.
2016-06-14Remove unused variable, found by clangReyk Floeter
2016-06-14reorg examples to better use actual options.Marc Espie
emphasize -U straight away because people often don't even realize it's there. Make more use of default stem so that we don't have to update examples too often. Ditch the interactive ftp stuff, there's nobody that actually uses that, especially since there are almost no ftp mirrors left.
2016-06-14provide splraise on landiskDavid Gwynne
splraise is a wrapper around the sh _cpu_intr_raise(), and all the splfoo macros are now defined as calling splraise(IPL_FOO). tested on my landisk box
2016-06-14Make fdt_node_property() return -1 if the requested property can't be foundMark Kettenis
such that we can distinguish between non-existing properties and zero-length properties. This brings the FDT code in line with the real OFW implementations. ok jsg@
2016-06-14Pass the configured ``ifa'' to rt_sendaddrmsg() instead of getting it viaMartin Pieuchot
``rt->rt_ifa'' later.
2016-06-14Store the source address associated with a route in its own chunk ofMartin Pieuchot
memory. This will allow to unlink 'sruct rtentry' and 'struct ifaddr' to be able to add route entries without needing an address. ok sthen@, visa@, florian@
2016-06-14imxdog* at fdt? here too.Mark Kettenis
2016-06-14Add missing line feed to DPRINTF makes debug reading easier.Marcus Glocker
2016-06-14Convert the links between art data structures used during lookups into srps.Jonathan Matthew
art_lookup and art_match now return an active srp_ref, which the caller must leave when it's done with the returned route (if any). This allows lookups to be done without holding any locks. The art_table and art_node garbage collectors are still responsible for freeing items removed from the routing table, so they now use srp_finalize to wait out any active references, and updates are done using srp_swap operations. ok dlg@ mpi@
2016-06-13rename raiseipl to splraise()David Gwynne
another step toward making splraise an MI api. ok aoyama@
2016-06-13Dynamically attach imxdog(4) using the FDT.Mark Kettenis
2016-06-13Implement support for the Configuration Sequence Number TLV.Renato Westphal
The Configuration Sequence Number optional TLV is documented in RFC 5036, pages 53 and 54. Fixes IxANVL LDP test 23.10.
2016-06-13Test that splicing loops are aborted with ELOOP.Alexander Bluhm
2016-06-13On localhost a user program may create a socket splicing loop.Alexander Bluhm
After writing data into this loop, it was spinning forever causing a kernel hang. Detect the loop by counting how often the same mbuf is spliced. If that happens 128 times, assume that there is a loop and abort the splicing with ELOOP. Bug found by tedu@; OK tedu@ millert@ benno@
2016-06-13Implement a timeout for the session initialization FSM.Renato Westphal
This prevents neighbors stuck in the initialization FSM to linger forever as long as the associated transport connection is up. This timeout can be seen in the 'Session Initialization State Transition Diagram' of RFC 5036. The RFC, however, doesn't specify how much we should wait. Let's use 180 seconds for that, the default LDP hold time. Fixes IxANVL LDP test 6.15.
2016-06-13Do not create sockets for disabled address-families.Renato Westphal
2016-06-13Rework the handling of Hello packets.Renato Westphal
With the introduction of IPv6 support by RFC 7552, the handling of Hello packets in ldpd became something incredibly complex. Neighbors can change from single-stack LDP to dual-stack and vice-versa. They can change their transport preference, their transport addresses (IPv4 and IPv6) and even start or stop sending the Dual-Stack TLV. We also have to take care to reject things like multiple adjacencies advertising different transport-addresses for the same neighbor. ldpd was failing for some of the cases mentioned above, this patch fixes these issues and attempts to make the code easier to read.
2016-06-13Remove tracking of endpoints in utvfu_{as,vs}_iface structs as theseMarcus Glocker
are constants; save two more ints. From Patrick Keshishian ok mpi
2016-06-13Ensure expected video endpoint has wMaxPacketSize > 0 duringMarcus Glocker
utvfu_match(). From Patrick Keshishian ok mpi
2016-06-13* Start/stop audio bulk thread as consumer opens/closes device.Marcus Glocker
And as a result get rid of a few defines/flags. * Fix _as_close() to and audio bulk thread exit. * Change sc->sc_as_running into a flag; save an int. From Patrick Keshishian ok mpi
2016-06-13make sure attrflag is initialized. from clang via david hillTed Unangst
2016-06-13In uvm_map(), call uvm_unmap_detach_intrsafe() if we have an interrupt-safeMark Kettenis
map, to avoid grabbing the kernel lock when pool_get() needs to allocate a new pool page. Hopefully this really is the last case where we might grab the kernel lock for interrupt-safe pools. ok mpi@
2016-06-13fec attaches to fdt nowJonathan Gray
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2016-06-13Use "bus-width" property to determine whether 4-bit and 8-bit mode areMark Kettenis
supported.
2016-06-13Remove the restriction for the usbd_ref_* functions to work just in caseMarcus Glocker
of dev->dying. With this we also can use them on device closing, not just detaching. ok mpi
2016-06-13Move the ioctl(2) logic of in{,6}_control() into two new functionsMartin Pieuchot
in{,6}_ioctl() that do not deal with sockets. This will allow to automagically configure interface addresses in the kernel without too many layer violations. Required by upcoming umb(4).
2016-06-13Do not execute the callback if the device is beeing detached.Martin Pieuchot
Should prevent a race triggering a use-after-free reported by martijn@ on bugs@
2016-06-13correct pledge for disklabel -R -[fF]Jonathan Gray
ok tb@
2016-06-13Only need to sync the icache on the GOT for the old BSS PLT formatPhilip Guenther
ok kettenis@
2016-06-13rename _splraise to splraiseDavid Gwynne
gets us a bit closer to an MI splraise api.
2016-06-13rework sparc64 splfoo functions to be more consistent with other archsDavid Gwynne
this also moves us toward having an MI splraise(). sparc64 (and sparc) are different to the other archs because they have macros that build templates. each spl uses that macro to create an instance of an inline function specific to that spl call. this moves it to having a single splraise inline that the spl api is defined with. eg, #define splfoo() _splraise(IPL_FOO). ok kettenis@
2016-06-12Fix format string in ddb show socket.Alexander Bluhm
2016-06-12Remove old unused prototype, from Ilya Kaliman.Nicholas Marriott
2016-06-12ethernet -> EthernetJonathan Gray