summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-22regenPatrick Wildt
2020-05-22Add Atheros QCA986x/988x PCI ID.Patrick Wildt
2020-05-22xterm* can have focus too.Nicholas Marriott
2020-05-22Add some very simple trap handling.Mark Kettenis
2020-05-22Revert the following commit as it breaks hostname.if(5) lines with akn
backslash at the end for line continuation Breaking long lines into multiple ones must still be possible and does require to treat the backslash as an escape character. Breakage reported by Mark Patruck <mark at wrapped dot cx >, thanks! --- distrib/miniroot/install.sub revision 1.1151 etc/netstart revision 1.203 date: 2020/05/21 11:54:41; author: kn; state: Exp; lines: +2 -2; Do not treat backslashe as an escape character in hostname.if(5) lines ifstart() should always pass such lines unaltered, especially if they contain "nwid" or "description" lines with arbitrary strings. <bsdlisten at gmail dot com> reported SSIDs such as "Mike's" during installation end as broken; this was because the installer escaped the single quote using backslashes which ended up being treated as escape characters much later during hostname.if parsing in netstart(8). Ok deraadt
2020-05-22Enable option FFS2 on RAMDISK; ok aoyama@ deraadt@Otto Moerbeek
2020-05-22Move client offset stuff into control.c since only control clients willNicholas Marriott
need it.
2020-05-22Add support for the Marvell Xenon SDHC. This is used on the ArmadaPatrick Wildt
3700 and 8040 SoCs and allows me to use an SD card as storage on the Turris Mox. It also should make eMMC/SD show up on the MACCHIATObin. ok kettenis@
2020-05-22Add pre/post hooks for bus clock changes to sdhc(4). These will bePatrick Wildt
used by sdhc(4) attachment drivers to do additional MD initialization. ok kettenis@
2020-05-22Use the parsed address and interrupt information fromMark Kettenis
struct acpi_attach_args. tpm(4) tested by kn@ ok jmatthew@
2020-05-22Attach mvpinctrl(4) to the Armada 3700's NB as well. As a consequencePatrick Wildt
mvclock(4) cannot attach to the NB's xtal clock anymore. Instead, have mvpinctrl(4) attach the xtal clock. With this we can use the SD card detect pins on the Turris Mox. ok kettenis@
2020-05-22Always defer attaching the mvneta(4) interfaces. Otherwise thisPatrick Wildt
leads to unsorted interface lists in ifconfig and the installer, depending on hardware configuration. ok kettenis@
2020-05-22And add the node to the struct. Sometimes I maybe shouldn't try splitingPatrick Wildt
up diffs before committing.
2020-05-22Actually store the node in the softc. Missed chunk from the previousPatrick Wildt
commit.
2020-05-22Some sdhc(4) on FDT use a card-detect GPIO or have a non-removable flag.Patrick Wildt
If those properties exist, use those to detect a card. ok kettenis@
2020-05-22extract the identical code that creates temp files into its own functionMarc Espie
okay millert@
2020-05-22Enable bwfm(4).Patrick Wildt
2020-05-22Enable mvkpcie(4).Patrick Wildt
2020-05-22Add mvkpcie(4), a driver for the Aardvark PCIe controller found onPatrick Wildt
the Armada 3700 SoC. So far only MSI is supported, since it was easier to implement. Both MSI and INTx share a single interrupt pin, so there's nothing to gain anyway, apart from legacy device support. With this I can push traffic through a bwfm(4) in my Turris Mox. ok kettenis@
2020-05-22Add test covering revision 1.64 of c_sh, fix exit code of compound listsanton
while using option e.
2020-05-22Fix the exit code when eval()uating a || compound list, it wouldSebastian Benoit
terminate the shell when running under -e. See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=269067 and Bug reported including fix by Leah Neukirchen, Thanks! ok millert@
2020-05-22Use the simpler HTML5 idiom to declare charset in autogenerated pages.Anthony J. Bentley
This came from a suggestion by Andras Farkas to replace use of XHTML self-closing tags. ok cwen@ danj@ florian@
2020-05-22better wordingDavid Gwynne
2020-05-22white space fixes. no functional change.David Gwynne
2020-05-22mention if_attach_queues().David Gwynne
2020-05-22speeling in comment fix. no functional change.David Gwynne
2020-05-22Ensure we only attach an ocsp staple to a leaf certificate, becauseBob Beck
for the moment that is all we support. fixes an issue where gnuTLS cares that mistmatching staples come back on the certs in the chain. This should be fixed correctly later by associating the staple to the individual certs rather than the ssl, so this is temporary. running on www@. ok tb@, "got that's oopy but an interim ok" jsing@
2020-05-22delete uneducated commentaryTheo de Raadt
2020-05-22Copy db_disasm.c from powerpc to powerpc64.gkoehler
This includes my last change to decode the %{ds}(%{A}) operand of ld, std instructions. ok drahn@
2020-05-22Decode the %{ds}(%{A}) operand of ld, std instructions.gkoehler
I don't expect to see these 64-bit instructions in 32-bit kernels, but I'm going to copy this code to powerpc64. ok drahn@
2020-05-21regenPatrick Wildt
2020-05-21ASMedia ASM1182e PCIe switch.Patrick Wildt
2020-05-21Claim the memory region reserved for the interrupt vectors.Mark Kettenis
2020-05-21Simplify: transform a dangling else into an early return andTheo Buehler
unindent a bunch of code. Suggested by jsing
2020-05-21Make ssl_set_cert_masks() more consistent and closer to readable.Joel Sing
Prompted by tb@ ok tb@
2020-05-21Avoid a shadowing issue by renaming cbs and cbb to cbb_hs and cbb_hs,Theo Buehler
respectively. Discussed with jsing
2020-05-21A failure of tls13_handshake_msg_new() could lead to a NULL derefTheo Buehler
in the following tls13_handshake_msg_start() call. Add a check. Stop clobbering the ctx's hs_msg variable, use a local variable instead. ok beck jsing
2020-05-21beck fixed most of the keyupdate tests. update annotationTheo Buehler
2020-05-21Actually set the hrr flag when sending a HelloRetryRequest.Joel Sing
Without this, when SNI is in use the second ClientHello will result in an error. Found the hard way by sthen@. ok sthen@ tb@
2020-05-21separate cleanup from exit/signal logicMarc Espie
okay deraadt@
2020-05-21test FILE* against NULL and not 0Marc Espie
okay deraadt@
2020-05-21Correct getsockname(2)/getpeername(2) usage.Todd C. Miller
Fixes an uninitialized variable and a potential stack overflow with IPv6 connections. From Leah Neukirchen; OK eric@ deraadt@
2020-05-21Fix stripcom() description wrt. comments not on their own linekn
Neither netstart's nor install.sub's (subtly different) implementations remove trailing comments on lines not starting as a comment, e.g., lines like "up #not down" go through unaltered and without "#not down" being removed. Only lines *beginning* with the comment sign ("#") are stripped. No functional change, just updating function descriptions.
2020-05-21Rename various parameters and variables to eliminate misleadingKenneth R Westerback
allusions to 'rtstatic'.
2020-05-21Do not treat backslashe as an escape character in hostname.if(5) lineskn
ifstart() should always pass such lines unaltered, especially if they contain "nwid" or "description" lines with arbitrary strings. <bsdlisten at gmail dot com> reported SSIDs such as "Mike's" during installation end as broken; this was because the installer escaped the single quote using backslashes which ended up being treated as escape characters much later during hostname.if parsing in netstart(8). Ok deraadt
2020-05-21hook tlsfuzzer to regressTheo Buehler
2020-05-21Add a harness that runs tests from tlsfuzzerTheo Buehler
This currently runs 54 tests from the tlsfuzzer suite against the TLSv1.3 server which exercise a large portion of the code. They already found a number of bugs and misbehaviors and also inspired a few diffs currently in the pipeline. This regress requires the py3-tlsfuzzer package to be installed, otherwise the tests are skipped. Many thanks to kmos for helping with the ports side and to beck for his positive feedback. ok beck
2020-05-21Explicitly documents that `vop_kqfilter' isn't missing.Martin Pieuchot
Just like most of the vop_* methods in MFS they aren't used. ok millert@, visa@
2020-05-21Add missing ICANON check in filt_ptcwrite().Martin Pieuchot
ok millert@, visa@
2020-05-21Kill commented out czttypoll() routine.Martin Pieuchot
ok visa@