summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-14Fix whitespace issuesPatrick Wildt
2019-10-14powerpc cross-compilation on 64-bit hosts also appears to be safe.Patrick Wildt
2019-10-14Pass LINKER_VERSION to binutils and clang cross-build so that theyPatrick Wildt
know who the system linker is.
2019-10-14httpd(8) sent a 408 response every time a connection request timeoutFlorian Obser
was reached. This is not what other servers are doing, it leads to ugly log messages and might confuse some clients. benno@ analyzed that the correct behavior is (probably) to send a 408 when we are in the middle of receiving headers and time out there and just close the connection in all other cases. In particular, if a connection gets opened and no request is received at all just close the connection. If a connection is set to keep-alive and a request was handled and no further request is coming in just close the connection. The later is the usual cause for spurious log messages and client confusion. Reported over the years by many. Input, explanations and OK benno
2019-10-14Do not crash with pane_current_command if the pane is newly created andNicholas Marriott
has no shell set, from Thomas Adam.
2019-10-14Convert tsleep(9) to tsleep_nsec(9).Martin Pieuchot
ok visa@, kn@
2019-10-14Turn automatic-rename back on if the rename escape sequence is used withNicholas Marriott
an empty name, GitHub issue 1921.
2019-10-14Some old tmux versions can sometimes generate layout strings which haveNicholas Marriott
the incorrect size for the top cell. Previously tmux didn't care but now that panes can be partly hidden, the size matters and is checked more strictly. So add some code to fix up the most common problem and a sanity check to reject layouts with any other size problems. Reported by Aleksandrs Ledovskis in GitHub issue 1930.
2019-10-14Memory leaks, from Igor Wong in GitHub issue 1934.Nicholas Marriott
2019-10-14unpriv(): propagate error code to the caller instead of failing hard.Antoine Jacoutot
This will allow reacting on failure. ok florian@
2019-10-14Better error message when we fail to fetch SHA256.sig.Antoine Jacoutot
Add "syspatch:" to every error message so we know where it comes from. req. by deraddt@ ok deraadt@ tb@
2019-10-14memleak in error path; spotted by oss-fuzz, ok markus@Damien Miller
2019-10-14Add another quirk for the ALC285 on the X1C7 to avoid a clickingJoshua Stein
noise on the headphone output From Linux
2019-10-14Rename AZ_QRK_WID_SPKR2_DAC and AZ_QRK_WID_DOLBY_ATMOS to make itJoshua Stein
clear they are not widget quirks, and renumber AZ_QRK_WID_SPKR2_DAC to fall outside of AZ_QRK_WID_MASK since it's not handled by azalia_codec_widget_quirks
2019-10-13Convert all tsleep(9) calls to tsleep_nsec(9) in wsdisplay(4).Frederic Cambus
OK ratchov@, visa@
2019-10-13Fix whitespace issue spotted by Krystian Lewandowski.Mark Kettenis
2019-10-13Add display brightness hooks.Mark Kettenis
ok matthieu@, deraadt@, patrick@
2019-10-13name value to shorten codeMarc Espie
2019-10-13even in the empty case, use wantarray to properly return 0/an empty array.Marc Espie
2019-10-13- have a method explicitly return undef instead of falling off the endMarc Espie
- old signatures have been dead for 3 years, time to remove mention of them in error messages
2019-10-13Also close the server connection before retrying on a 503.Jeremie Courreges-Anglas
Keeping it around uses both local and remote resources for no good reason. ok job@
2019-10-13Factor out socket cleanup codeJeremie Courreges-Anglas
As a side effect this shuts down the TLS connection before closing the underlying socket for redirectionss. ok job@
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@