summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-16Disable the pthread_once subtest until the problem with samba portAlexander Bluhm
is resolved and libpthread can be fixed. discussed with guenther@
2017-11-16Add -and-cancel variants for scrolling commands to exit copy mode whenNicholas Marriott
the bottom is reached, from Stephen Hicks.
2017-11-16Range check default values so that a range likeKenneth R Westerback
'[1 - 0] [1]' can no longer return '1'. Issue reported by Alexi Malinin via bugs@. Thanks!
2017-11-16Add error checking to some calls to __find_arguments(). Matches similarTheo Buehler
changes by schwarze to vfprintf.c r1.71. Cherrypicked from android: https://github.com/aosp-mirror/platform_bionic/commit/5305a4d4a723b06494b93f2df81733b83a0c46d3 ok millert
2017-11-15Tweak bitmask calculation to match i386 and avoid clang warning.Mark Kettenis
ok tom@
2017-11-15Add a common function for spreading out cells and use it for the twoNicholas Marriott
even layouts and to add a -E flag to select-layout to spread out cells evenly without changing parent cells.
2017-11-15Completely rewrite the reflow code to correctly handle double widthNicholas Marriott
characters (previously they were not accounted for).
2017-11-15If there is a double width character at the very end of the line withNicholas Marriott
not enough room to draw it, just leave it out.
2017-11-15make the maximum size of http headers configurable in the protocol.Sebastian Benoit
ok bluhm@, >8k makes sense claudio@
2017-11-15etherip(4) now handles etherip sysctls, move/remove code accordingly.Jeremie Courreges-Anglas
ok visa@ as part of a larger diff, ok mpi@
2017-11-15Make etherip(4) the single driver responsible for etherip sysctl entries.Jeremie Courreges-Anglas
One step needed to completely remove ethernet-in-IP support from gif(4). No functional changes. ok visa@ as part of a larger diff, ok mpi@
2017-11-15Remove inet6 etherip sysctl entriesJeremie Courreges-Anglas
The INET6 entries are not needed, not documented (use net.inet.etherip) and do not appear in sysctl(8) output. ok mpi@
2017-11-15Reset the OCSP URL on config reload. Otherwise we end up not beingPatrick Wildt
able to disable OCSP without restarting iked. ok beck@ sthen@
2017-11-15Makefile cleanup, avoid DNS lookups, add copyright.Alexander Bluhm
2017-11-15Do not unconfigure vnd1, the test did not configure it.Alexander Bluhm
2017-11-15Remove unused compat macros.anton
ok kettenis@ mpi@
2017-11-15Update agreement URL; pointed out by sthen.Florian Obser
OK benno, sthen
2017-11-15Unbreak ENCDEBUG kernels by declaring `encdebug' in ip_ipsp.hMartin Pieuchot
2017-11-15downgrade a couple more request parsing errors from process-fatal toDamien Miller
just returning failure, making them consistent with the others that were already like that.
2017-11-15wrap some long lines for function prototypes with .Fo, .Fa, and .Fc.David Gwynne
no functional change, ie, the output is the same
2017-11-15some more 25g media types, and a bunch of AOC types.David Gwynne
with tweaks from carlos cardenas and visa@ ok mpi@
2017-11-15fix regression in 7.6: failure to parse a signature request messageDamien Miller
shouldn't be fatal to the process, just the request. Reported by Ron Frederick
2017-11-14- nested anchors vs. pfctl/parse.yAlexandr Nedvedicky
bug reported and fix tested by Leonardo Guardati OK bluhm@
2017-11-14Inverse logic, issue found by henning@. MPLS VPN is still broken though.Claudio Jeker
2017-11-14syncChristian Weisgerber
2017-11-14Remove /dev/arandom symlink. Nothing in base, xenocara, or ports usesChristian Weisgerber
/dev/arandom any longer. ok deraadt@
2017-11-14Treat invalid server name as empty instead of declining the lease offeredMartin Pieuchot
by such misconfigured DHCP servers. Original diff from and ok krw@, ok sthen@
2017-11-14Push the NET_LOCK into ifioctl() and use the NET_RLOCK in ifioctl_get().Theo Buehler
In particular, this allows SIOCGIF* requests to run in parallel. lots of help & ok mpi, ok visa, sashan
2017-11-14Add more checks helping to set up the test environment.Alexander Bluhm
2017-11-14Put the net lock around frag6_freef() as it sends ICMP6 errorAlexander Bluhm
messages. Splassert was triggered by regress/sys/netinet6/frag6. OK mpi@ sashan@ visa@
2017-11-14Fix the initial check of the checkorder and lock operationsVisa Hankala
so that statically initialized locks get properly enrolled to the validator. OK mpi@
2017-11-14Add sizes for free() in the VIA PadLock driver.Frederic Cambus
OK mikeb@
2017-11-14Detect touchpad reset announcements. On rare occasions, the touchpad is resetanton
due to power failure and an announcement is transmitted as input by the device making it detectable. At this point, the device must be re-enabled to continue working since any configuration done prior to the reset is lost. Detection is implemented using a watchdog and enabled for all protocols. So far, the announcement has been observed on Synaptics by me and on Elantech v4 by bru@. Extra care has been taken to handle potential false positives: when the announcement byte sequence is part of a valid input packet. with help and ok bru@, mpi@
2017-11-14Print out the offending data causing pms sync to fail.anton
ok bru@, mpi@ (as part of a larger diff)
2017-11-14Add a few more PNP IDs to the skip lists.Mark Kettenis
ok deraadt@, mpi@
2017-11-14Set soname when building shared libraries.Mark Kettenis
ok guenther@
2017-11-14Introduce ipsec_sysctl() and move IPsec tunables where they belong.Martin Pieuchot
ok bluhm@, visa@
2017-11-14Verify that every section header lies within the mapped file.Martin Pieuchot
Pointed out by Mark Johnston, Markj@FreeBSD
2017-11-14anton@ reports that ifq tx mitigation breaks iwm somehow.David Gwynne
back it out until i can figure the problem out.
2017-11-14remove MALLOC_DEBUGDavid Gwynne
the code has rotted, and obviously hasnt been used for ages. it is also hard to make mpsafe. if we need something like this again it would be better to do it from scratch. ok tedu@ visa@
2017-11-14move the adding of an ifqs counters in if_getdata to ifq.cDavid Gwynne
this keeps the knowledge of ifq locking in ifq.c ok visa@
2017-11-14fix problem in configuration parsing when in config dump mode (sshd -T)Damien Miller
without providing a full connection specification (sshd -T -C ...) spotted by bluhm@
2017-11-14reintroduce tx mitigation, like dfly does and like we used to do.David Gwynne
this replaces ifq_start with code that waits until at least 4 packets have been queued on the ifq before calling the drivers start routine. if less than 4 packets get queued, the start routine is called from a task in a softnet tq. 4 packets was chosen this time based on testing sephe did in dfly which showed no real improvement when bundling more packets. hrvoje popovski tested this on several nics and found an improvement of 10 to 20 percent when forwarding across the board. because some of the ifq's work could be sitting on a softnet tq, ifq_barrier now calls taskq_barrier to guarantee any work that was pending there has finished. ok mpi@ visa@
2017-11-13add taskq_barrierDavid Gwynne
taskq_barrier guarantees that any task that was running on the taskq has finished by the time taskq_barrier returns. it is similar to intr_barrier. this is needed for use in ifq_barrier as part of an upcoming change.
2017-11-13Add support for the i2c controller variant found on the Allwinner A31 andMark Kettenis
above and enable the driver on arm64. From Artturi Alm. Tested by Stephen Graf.
2017-11-13Add i2c-related clocks for Allwinner H3/H5/A64.Mark Kettenis
From Artturi Alm. Tested by Stephen Graf.
2017-11-13Constrain MBR partition offsets to 0 .. disk.size - 1.Kenneth R Westerback
Issue reported by Alexi Malinin via bugs@. Thanks!
2017-11-13tweak previous;Jason McIntyre
2017-11-13Grab the KERNEL_LOCK() to iterate on the global list of PF_KEY sockets.Martin Pieuchot
It isn't safe to manipulate PF_KEY sockets without KERNEL_LOCK() because they aren't protected by the NET_LOCK(). I missed this in my previous audit and neither my tests, the regression tests nor the IPsec performance tests exposed the problem. Hopefully I added the right check to soassertlocked() a while back. Found the hardway by and ok sthen@
2017-11-13Remove useless comment about if_ioctl() & reduce grep noise.Martin Pieuchot