summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-13Move ws_get_param/ws_set_param into wsdisplay code.Mark Kettenis
ok deraadt@, jsg@
2019-10-13drm/radeon: Bail earlier when radeon.cik_/si_support=0 is passedJonathan Gray
From Hans de Goede 1b155b4fe8b4b581d70221642be63c9fc6da4f6e in linux 4.19.y/4.19.79 9dbc88d013b79c62bd845cb9e7c0256e660967c5 in mainline linux
2019-10-13drm/amdgpu: Check for valid number of registers to readJonathan Gray
From Trek 1c70ae6a91f9a17280476dd8675e4ce60f32eb0b in linux 4.19.y/4.19.79 73d8e6c7b841d9bf298c8928f228fb433676635c in mainline linux
2019-10-13drm/amdgpu: Fix KFD-related kernel oops on HawaiiJonathan Gray
From Felix Kuehling e0af3b19ad77b4a2c53ef05c1c11e2f58462d59c in linux 4.19.y/4.19.79 dcafbd50f2e4d5cc964aae409fb5691b743fba23 in mainline linux
2019-10-12renable POOL_DEBUGChristian Weisgerber
2019-10-12Print version number.Mark Kettenis
ok patrick@
2019-10-12i386: apm(4), esm(4): tsleep(9) -> tsleep_nsec(9); ok kn@ visa@cheloha
2019-10-12sparc64: lom(4), sab(4), vldcp(4): tsleep -> tsleep_nsec(9); ok kn@ visa@cheloha
2019-10-12hppa: gsckbc(4), power(4): tsleep(9) -> tsleep_nsec(9); ok kn@ visa@cheloha
2019-10-12handle version.bind / version.serverFlorian Obser
2019-10-12Carry the answer in the pending_query struct. Makes it clearer who isFlorian Obser
responsible for freeing allocated memory.
2019-10-12Be more strict with which queries to accept. Modeled afterFlorian Obser
worker_handle_request() in unbound(8).
2019-10-12Don't hand parse the query, libunbound has query_info_parse() for that.Florian Obser
This requires a switch to sldns_buffer to satisfy the API. But it will be benefitial later on for even stricter input validation.
2019-10-12we are now hacking on 6.6-currentTheo de Raadt
2019-10-12Disable TSC debug printfs for release. They can be turned back on byMark Kettenis
defining TSC_DEBUG. ok deraadt@
2019-10-12Fix a use-after-free memory access in iwm's interrupt handler.Stefan Sperling
Testing tb, florian, solene, mortimer, pamela, jmatthew, Tracey Emery, myself ok mortimer@ deraadt@
2019-10-12accidentally stated the MP kernel twice, leading the SHA256/SHA256.sigTheo de Raadt
file to contain two hashes for bsd.mp, and cause later upgrade problems spotted by afresh1
2019-10-11use sizeof(struct) not sizeof(pointer) in calloc callJonathan Gray
ok deraadt@
2019-10-11Probe responses are generally only seen after probe requests,Patrick Wildt
which we only send if an SSID is already configured. Thus a scan only creates beacons. Especially on bwfm(4) only beacons frames are faked, there are no probe responses. When a node first is created, ni_rssi is 0, which is always smaller than rxi_rssi, and it wil never be set for nodes on 5 GHz. Thus we should always set ni_rssi if it is 0. Tested by jan@ tobhe@ ok stsp@ deraadt@
2019-10-11When available use "interrupt-names" to select the fdt idx for dwctwoJonathan Gray
interrupt. Required after the dts included with raspberry pi firmware changed from using idx 1 to idx 0 when introducing "interrupt-names". Fixes USB devices not probing reported by dtucker@ ok kettenis@ patrick@ deraadt@
2019-10-11don't use sizeof(pointer) to represent buffer sizeJonathan Gray
ok martijn@ deraadt@
2019-10-10bump internal version to 3.0.2Brent Cook
2019-10-10bump to 3.0.2Brent Cook
2019-10-10Only set the IPv4 address in umb(4) if both MBIM_IPCONF_HAS_ADDRINFO andClaudio Jeker
MBIM_IPCONF_HAS_GWINFO are available. Configuring umb(4) without gateway wont work the system needs a destination address for the interface. Problem found by jsg@. OK jsg@ deraadt@
2019-10-10Make reading past the end of an AML array not a panic.Mike Larkin
Several machines have broken AML which reads past the end the end of an array. Previously this was an aml_die/panic. acpica just warns on such accesses, so this diff makes us do the same. ok kettenis, jcs, deraadt
2019-10-10Remove trailing whitespaceMike Larkin
2019-10-09On a 503, only retry if "Retry-After: 0" is present.Jeremie Courreges-Anglas
We just bail out if the header is absent or if the server tells us to wait. Prodding from job@, ok sthen@ deraadt@
2019-10-09Use EVP_MAX_MD_SIZE instead of SHA_DIGEST_LENGTH and remove OPENSSL_NO_SHA*Joel Sing
conditionals, now that this code handles arbitrary message digests. ok inoguchi@ tb@
2019-10-09Restore BSS channel only when BSS was not changed in iee80211_input().tobhe
Synced from iwm(4). ok patrick@
2019-10-09Restore BSS channel only when BSS was not changed in iee80211_intputm().tobhe
Synced from iwm(4). ok stsp@ patrick@
2019-10-09Revert previous. This introduces problems when requesting the base oid of aMartijn van Duren
scalar. For example if you getnext request 1.3.6.1.4.1.30155.6.1.1 you get a varbind oid of 1.3.6.1.4.1.30155.6.1.1.0, but the value of 1.3.6.1.4.1.30155.6.1.2.0. I have a fix in the making, but we're too close to release and here be too many dragons. Found by bluhm@
2019-10-09Use snprintf instead of sprintf.Martijn van Duren
Requested by and OK deraadt@
2019-10-09openssh-8.1Damien Miller
2019-10-09fix an unreachable integer overflow similar to the XMSS case, and someDamien Miller
other NULL dereferences found by fuzzing. fix with and ok markus@
2019-10-09fix integer overflow in XMSS private key parsing. Reported byDamien Miller
Adam Zabrocki via SecuriTeam's SSH program. Note that this code is experimental and not compiled by default. ok markus@
2019-10-08Correct type for end-of-list sentinel; fixes initializer warnings onDarren Tucker
some platforms. ok deraadt.
2019-10-08Simplify threads flag handlingkn
Instead of always passing the threads flag which decides whether other function arguments are used or not, make callers pass those arguments or NULL depending on the threads flag. This reflects better how thread IDs are shown in place of user names/IDs. OK millert
2019-10-08convert unbounded sprintf/strcpy (in disabled debug code) to snprintf/strlcpyTheo de Raadt
2019-10-08amd64: ensure %fs is loaded after final lgdtMike Larkin
Mark Patruck reported this issue on a new EPYC 7402P CPU and tracked down a DragonflyBSD diff that fixed the issue. I solicited some feedback/advice from Matt Dillon of Dragonfly and discussions between him, guenther@ and myself led to this fix which appears to resolve the problem. ok guenther@
2019-10-08 Make sure struct pending_query is fully initialized by using calloc.Florian Obser
Doesn't matter currently but lead to some head scratching while working on new things.
2019-10-08macppc: mediabay(4), smu(4), xlights(4): tsleep(9) -> tsleep_nsec(9)cheloha
This diff completely converts sys/arch/macppc to *sleep_nsec(9). Also convert dev/thermal.c while we're down here. Unsure what that file's driver's name is, if any. ok kn@ visa@
2019-10-08pcexmem(4): tsleep(9) -> tsleep_nsec(9); ok visa@cheloha
2019-10-08Convert tsleep(9) to tsleep_nsec(9).Martin Pieuchot
ok visa@, kn@, cheloha@
2019-10-08Rewrite the output handling of rpki-client and add an option to dump theClaudio Jeker
data in JSON format. To make the JSON output the same as the output of the RIPE rpki-validator the basename of the TAL had to be added and passed around in rpki-client. Additinally the VRPs are now stored in an RB tree in the main process instead of keeping them per ROA object. This changes the sort order to be in network order and no longer just lexographical. Agreed by job@ deraadt@
2019-10-08Free the "e" element in ber_printf_elements if it fails, since there's noMartijn van Duren
chance that it's part of the new ber structure. Feedback and OK claudio@
2019-10-08Don't rely on the pdu returning the correct errorindex.Martijn van Duren
Noticed by semarie@ Feedback and OK claudio@
2019-10-08Replace "boolean.h" with <stdbool.h>kn
Be consistent with other programs in base and unify variable usage as follows to improve readability: bool = (bool == No) ? Yes : No -> bool = !bool if (bool == Yes) -> if (bool) if (bool == No) -> if (!bool) bool = Maybe -> bool = -1 OK millert
2019-10-08drm/amdgpu/si: fix ASIC testsJonathan Gray
From Jean Delvare 39b6d05169b2730a26887be7aff3680d44cf694c in linux 4.19.y/4.19.78 77efe48a729588527afb4d5811b9e0acb29f5e51 in mainline linux
2019-10-08drm/amd/display: support spdifJonathan Gray
From Charlene Liu 4dcbca872a841385de3fb6319bee928c19dacb26 in linux 4.19.y/4.19.78 b5a41620bb88efb9fb31a4fa5e652e3d5bead7d4 in mainline linux
2019-10-08drm/amd/display: reprogram VM config when system resumeJonathan Gray
From Lewis Huang 782a77f2eb39207589ef9175a2ceadd0cca12112 in linux 4.19.y/4.19.78 e5382701c3520b3ed66169a6e4aa6ce5df8c56e0 in mainline linux