summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-10tweak previous: fix three wrong macros and one missing macroIngo Schwarze
2019-05-10Document the wsfont framework.Frederic Cambus
This is wsfont.9 revision 1.18 from NetBSD with the following changes: - Remove documentation for wsfont_matches() which we don't have - Remove wsfont_find() arguments which we don't have - Add missing arguments for wsfont_lock() which NetBSD doesn't have - Modify wsfont_enum() signature to match our implementation - Modify the wsdisplay_font struct to add the index and cookie members which NetBSD doesn't have - Remove some macros for font encoding we do not support anymore - Remove and correct stuff which doesn't apply to us because the codebases have diverged Looks fine to jmc@
2019-05-10Make it possible to switch between wireless and physical interfacsSebastian Benoit
(again?): when adding the default route, set it with the interface address of the interface we are configuring. This way its possible to have two default routes (from two running dhclient processes) in the routing table. Since wireless interfaces have a higher prio value, when a physical interface is connected it will be prefered (for new connections). ok krw@ mumble yes mumble claudio@
2019-05-10Explicitly disable BCM4331 chips present in 2011-2012 Apple Mac systems.Brent Cook
The Mac EFI firmware enables the wireless controller, but does not disable it, so it continues to receive packets and signal interrupts. This was originally seen as an interrupt storm that consumes about 50% of CPU0 on affected machines. The issue was originally discovered in 2012 by Matthew Garret with a partial fix in Grub, then Lukas Wunner added a fix for the Linux kernel in 2016. This piggy-backs on the most-related driver (bwi) for the purpose of detection and mapping the control registers, but does not actually register the driver if the affected chip is detected. See this archived discussion for further analysis of the bug: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1165355.html ok kettenis stsp
2019-05-10Enable the test on octeon. Ignore the fact that the test cannot workVisa Hankala
on CN3xxx where the TLB does not implement the execute inhibit feature. OK guenther@
2019-05-10Let the test build on mips64.Visa Hankala
OK guenther@
2019-05-10syncTheo Buehler
2019-05-10Always make the default answer 'dhcp' on unconfigured interfaces.Kenneth R Westerback
Allow 'dhcp' even if the install media lacks /sbin/dhclient. Great simplification of code. ok florian@
2019-05-10Regress libedit needs header files generated during src libeditAlexander Bluhm
build. Improve dependencies to resolve this more reliably. requested by claudio@
2019-05-10regenJonathan Gray
2019-05-10add Intel Atom C3000 idsJonathan Gray
2019-05-10Set the IKED_REQ_INFORMATIONAL flag when sending a delete requestPatrick Wildt
during rekeying to make sure that the response is not rejected. From Tobias Heider "much more stable" dhill@
2019-05-10Add port protection support to switch(4). The behavior copies that ofakoshibe
bridge(4), where the SIOCBRDGSIFPROT ioctl can be used to add a port to up to 31 protected domains. This allows configuration by specifying a list of IDs to the 'protected' option in ifconfig(8): # ifconfig switch0 protected pair1 1,2,.. Domain membership is checked for unicast, flooded (broadcast), and local (host-network-bound, e.g. trunk) traffic. OK benno@
2019-05-10Fix dhcpd build on gcc architectures.Visa Hankala
OK deraadt@ jca@
2019-05-10Inroduce malloc_conceal() and calloc_conceal(). Similar to theirOtto Moerbeek
counterparts but return memory in pages marked MAP_CONCEAL and on free() freezero() is actually called.
2019-05-10Enforce messages after IKE_SA_INIT exchange to contain onlyPatrick Wildt
encrypted payloads. Also increment message id only for valid messages. From Tobias Heider ok sthen@
2019-05-10The cdrom contains a nested ffs filesystem, so indicate that dependencyTheo de Raadt
for large-factor make -j, hit by claudio
2019-05-10Python for scapy must be executed a bit differently in this test.Alexander Bluhm
2019-05-10The correct header for KASSERT(9) is <sys/systm.h>.Martin Pieuchot
ok deraadt@
2019-05-10Add a function to draw a simple menu onto a screen.Nicholas Marriott
2019-05-10 Implement DNS block lists. If unwind is queried for a domainFlorian Obser
in the block list it answers with rcode REFUSED.
2019-05-10When calculating how much payload ospf6d can put into DD and LSREQ packetsClaudio Jeker
substract the size of the IPv6 header and not the IPv4 header from the MTU. This stops ospf6d to send out fragmented packets. Found with and OK benno@
2019-05-10ld.so boot cleanup support:Philip Guenther
- put functions and data which are only used before calling the executable's start function into their own page-aligned segments for unmapping (only done on amd64, arm64, armv7, powerpc, and sparc64 so far) - pass .init_array and .preinit_array functions an addition argument which is a callback to get a structure which includes a function that frees the boot text and data - sometimes delay doing RELRO processing: for a shared-object marked DF_1_INITFIRST do it after the object's .init_array, for the executable do it after the .preinit_array - improve test-ld.so to link against libpthread and trigger its initialization late libc changes to use this will come later ok kettenis@
2019-05-10Add some more edge case tests.rob
2019-05-10Make the red-black tree example -Wmissing-prototypes clean by providingFlorian Obser
prototypes with RB_PROTOTYPE.
2019-05-10Fix prototype of upgrade(). OK benno@Claudio Jeker
2019-05-10Delete support for military timezones in %z (A-I and K-Y).Ingo Schwarze
They were originally defined in one way, then RFC822 erroneously redefined them the opposite way, then RFC5322 said they can no longer be used reliably. So return NULL like FreeBSD, DragonFly, glibc, and musl do. Issue reported by Hiltjo Posthuma <hiltjo at codemadness dot org>. Deletion suggested by tedu@ and deraadt@. Feedback and OK on the patch from tedu@.
2019-05-10Browsers using SAN instead of CN in Subject is now more than just "someStuart Henderson
new browsers" and it's a strict requirement rather than just deprecating cn; adjust the text accordingly. ok reyk@
2019-05-10Move bridge_filterrule() before doing the mbuf copy. Fixes a memory leakClaudio Jeker
when multiple interfaces do MAC filtering. Memory leak reported by Daniel Levai With and OK mpi@
2019-05-10syncStuart Henderson
2019-05-10vmm(4) was removed from share/man/man8/man8.i386/MAKEDEV.8 but not theStuart Henderson
input file or MAKEDEV script itself; sync up the input file. req by jmc@
2019-05-10Add support for from/to in relay filter rules.Reyk Floeter
For example, pass from 10.0.0.0/8 path "/hello/*" forward to <b> Ok benno@
2019-05-09Test IPv6 raw sockets with checksum calculation in kernel.Alexander Bluhm
2019-05-10Backout latest, commited by mistake.Alexandre Ratchov
2019-05-10Use the correct length for MIDI common messages.Alexandre Ratchov
2019-05-10Don't try to send to device helper process if it's terminated.Alexandre Ratchov
2019-05-10simplify logic after wakeup since this variable is only manipulatedBob Beck
under lock ok guenther@
2019-05-10Simplify the detection for installed python and scapy. RefactorAlexander Bluhm
these tests to make them similar. Use the setup and cleanup variables.
2019-05-10Check for nowait failed *after* the wakeup point, not before.Bob Beck
ok guenther@
2019-05-10Add more flags to the debug bitmaskPhilip Guenther
ok mpi@
2019-05-10Apply retpoline protection to the indirect call to the thread startfuncPhilip Guenther
ok mortimer@
2019-05-10Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h>Philip Guenther
ok krw@, jsg@
2019-05-10tweak verbosity; ok ccardenas@Christian Weisgerber
2019-05-09Drop reference to sparc and expand 'VAC' so the comment makes sensePhilip Guenther
to semi-gurus
2019-05-09Add a test vector for Streebog 512 from Guido VrankenTheo Buehler
2019-05-09Fix incorrect carry operation in 512 bit addition: in the caseTheo Buehler
that there is already a carry and Sigma[i-1] == -1, the carry must be kept. From Dmitry Eremin-Solenik. Fixes incorrect Streebog result reported by Guido Vranken.
2019-05-09Test IPv6 raw sockets with checksum calculation in kernel.Alexander Bluhm
2019-05-09This no longer uses utime(3), so it doesn't need <utime.h>Philip Guenther
2019-05-09Don't ignore configured netmask/prefixlen on restartingKenneth R Westerback
an install. Use the info as default answers in relevant questions.
2019-05-09Neither rde_apply_set() nor rde_filter() are called with a NULL state soClaudio Jeker
remove some unneeded == NULL checks. OK benno@