summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-01Use the same inittodr()/resettodr() implementation as onMark Kettenis
amd64/arm64/armv7/i386/sparc64 and move it to the end of machdep.c. Rework the actual implementation for the MC14818 compatible RTC into something that can be used as a todr_handle just like on amd64. ok mpi@
2020-05-01Clarify global 'set active' and 'set passive' options and how theytobhe
interact with the per-policy active/passive options. ok kn@
2020-05-01Prevent divide-by-zero in MiRA which I managed to trigger with iwn(4).Stefan Sperling
ok deraadt@
2020-05-01update currency exchange rates;Jason McIntyre
2020-05-01when receving a file in sink(), be careful to send at most a singleDamien Miller
error response after the file has been opened. Otherwise the source() and sink() can become desyncronised. Reported by Daniel Goujot, Georges-Axel Jaloyan, Ryan Lahfa, and David Naccache. ok deraadt@ markus@
2020-05-01expose vasnmprintf(); ok (as part of other commit) markus deraadtDamien Miller
2020-05-01avoid NULL dereference when attempting to convert invalid ssh.comDamien Miller
private keys using "ssh-keygen -i"; spotted by Michael Forney
2020-05-01sure enough, some of the test data that we though were in new formatDamien Miller
were actually in the old format; fix from Michael Forney
2020-05-01make mktestdata.sh generate old/new format keys that we expect.Damien Miller
This script was written before OpenSSH switched to new-format private keys by default and was never updated to the change (until now) From Michael Forney
2020-05-01portability fix for sed that always emil a newline even if theDamien Miller
input does not contain one; from Michael Forney
2020-05-01remove obsolete RSA1 test keys; spotted by Michael ForneyDamien Miller
2020-04-30Add ECDH groups and higher order MODP DH groups to default proposal.tobhe
ok sthen@, patrick@
2020-04-30Disallow setting the AES-GCM IV length to 0Theo Buehler
It is possible to do this by abusing the EVP_CTRL_INIT API. Pointed out by jsing. ok inoguchi jsing (as part of a larger diff)
2020-04-30drop duplicate word;Ingo Schwarze
reported by Gordon Bergling <gbergling at gmail dot com>
2020-04-30tweak previous; ok markusJason McIntyre
2020-04-30bring back debug() removed in rev 1.74; noted by pradeep kumarMarkus Friedl
2020-04-30run the 2nd ssh with BatchMode for scp -3Markus Friedl
2020-04-30Reword verbose log messages to clarify what's happeningjob
OK deraadt@
2020-04-30Place elapsed, user, and system time for processing in the comment headers.Theo de Raadt
ok job benno claudio
2020-04-30Do not remove the automatic-rename option from the global set, only fromNicholas Marriott
the window (it must stay in the global set or tmux will crash). GitHub issue 2188.
2020-04-30If there's only one input (output) name it simply "input" ("output")Alexandre Ratchov
Besides making things simpler, this allows libsndio to figure out that this is a control affecting all inputs (outputs) that needs to be exposed.
2020-04-30Fix return value of dma_fence_wait(). Seems to fix occasionalMark Kettenis
synchroniation problems when playing youtube videos in chrome. ok jsg@
2020-04-30Use "inputs" class instead of "record"Alexandre Ratchov
There's no reliable way to decide whether a control must belong to "inputs" or to "record". In other words both classes were used for the same thing. Furthermore we've no "play" class which tends to make things more confusing.
2020-04-30Use "dac" instead of "play" in mixer control namesAlexandre Ratchov
All other drivers use "dac" and libsndio needs the control name to be "dac" for the control to be exposed.
2020-04-30Set terminal and clock names after all units are parsedAlexandre Ratchov
Makes the code simpler and more flexible as the naming is done in a single place where the full units list is available.
2020-04-30Use macros instead of hardcoded "play" and "record" string constantsAlexandre Ratchov
No object change.
2020-04-30If no "xxx.mute" control is found, try "xxx_mute"Alexandre Ratchov
Certain drivers (azalia, uaudio) use a control with the "_mute" suffix to expose the "mute" knob.
2020-04-30Add an expandtab option, similar to what vim supports.Todd C. Miller
If set, expands tabs to spaces in insert mode as well as when shifting and indenting/outdenting. If quoted with ^V, a literal tab is inserted. Adapted from NetBSD, but this implementation more closely matches vim's behavior. OK dlg@
2020-04-30Fix description of "coding rate" in new ifmedia(4) 802.11 section.Stefan Sperling
2020-04-30Expand the 802.11 section in the ifmedia(4) man page.Stefan Sperling
It has become increasingly difficult to make sense of wireless man pages without resorting to Wikipedia for help. My goal is to provide background information about technical terms used across wireless man pages, such as "MIMO" and "MCS". jmc@ suggested that ifmedia(4) would be a suitable place. This new ifmedia(4) section provides context and equips curious readers with additional technical terms to research if they wish. Information about how 802.11 transmission rates work (roughly) and how they evolved with each standard revision we support has been added. Obsolete information about 2GHz restrictions in France has been removed. Information about 5GHz channels has been added. High-level information (11a/b/g/n/ac mode, hostap/ibss/monitor mode, information about channels) is discussed before going into detailed discussion about 802.11 data rates. ok jmc@ schwarze@
2020-04-30Fix use of uninitialized 'wh' variable in error path of ar5008_rx_process().Stefan Sperling
This fix simplifies HW decrytion error checking: Frame header contents aren't relevant because we are going to drop frames that had errors in any case. I made a mistake by trying to add an exception for multicast frames at this point. Frame header contents might not even be valid. This problem was introduced with CCMP hardware offload support and detected by Coverity (CID 1492755). ok mestre@ kevlo@
2020-04-30drm/amd/display: Not doing optimize bandwidth if flip pending.Jonathan Gray
From Yongqiang Sun de32c6ad7a4fcb986e0e4f39d7497948b734b8c7 in linux 4.19.y/4.19.119 9941b8129030c9202aaf39114477a0e58c0d6ffc in mainline linux
2020-04-30vmd(8): correctly terminate vm processes after sending vmpd
Instead of a round about way of sending a message to vmm that 'send is successful' and terminating by vm_remove from vmm, we can send the imsg and exit in the vm process. The sigchld handler in vmm will vm_remove it from its structures. This is how a normal vm is terminated as well. Previously, vm_remove was called in vmm_dispatch_vm (ie. the event handler to receive messages from vm process) when hanlding the IMSG_VMDOP_SEND_VM_RESPONSE (ie. the vm process has written the vm state to the fd passed on by vmctl send). This is not how vm_remove was intented to be used as it does a free(vm). The vm struct holds the buffers for imsg and so after handling this IMSG_VMDOP_SEND_VM_RESPONSE message, vmm_dispatch_vm loops again to do imsg_get(ibuf, &imsg) to read the next message (and we had just freed this *ibuf when we freed the vm struct) causing it to segfault. reported by kn@ ok kn@
2020-04-29Enable a bunch of drivers needed for full Raspberry Pi 2/3 support.Mark Kettenis
2020-04-29Enable the trickle charger after setting the control register.Patrick Wildt
2020-04-29Update the trickle charger diode defines based on the datasheet, andPatrick Wildt
enable the trickle charger.
2020-04-29Writing and reading time has been broken in abcrtc(4) as well. I wasPatrick Wildt
being too clever trying to use the SMBus block reads/writes. Instead the registers were written with an offset: Seconds were stored in the minutes, minutes were stored in the hours. No wonder time was ticking so slowly. Removing the bogus length field and simply writing/reading the time register values is enough. ok kettenis@
2020-04-29Remove trailing tabtobhe
2020-04-29Configure abcrtc(4)'s trickle charger. This uses informationPatrick Wildt
from the device tree to configures the RTC to be able to charge a connected battery or capacitor. ok kettenis@
2020-04-29The function to write to abcrtc(4)'s configuration registersPatrick Wildt
unfortunately did not write the data to the register, but the register offset. Oops. ok kettenis@
2020-04-29Sort variables and fix a comment.Antoine Jacoutot
No functional change.
2020-04-29Let the armv7 bus_dma layer and simplebus(4) implementation deal withMark Kettenis
DMA remapping in the same way as arm64. This relies on the dma-ranges property in the device tree and allows us to get rid of the hack for the Raspberry Pi in the dwctwo(4) driver. Note that this does not include the hack in simplebus(4) that we have on arm64 since firmware that has the dma-ranges is in widespread use now. ok patrick@
2020-04-29mention the firmware/bootloader/dtb packages needed to build release(8)Stuart Henderson
on armv7/arm64. ok deraadt
2020-04-29Missing whitespace.tobhe
2020-04-29Add the 'nomimo' nwflag which disables MIMO in 11n mode.Stefan Sperling
This flag restricts a wireless driver to MCS0 - MCS7 for both transmission and reception. It can be set to work around packet loss in 11n mode caused by unused antenna connectors on a MIMO-capable wireless network device. man page tweak from tracey@ ok deraadt@
2020-04-29According to the SDIO Simplified Specification 3.0, a tuple lengthPatrick Wildt
(aka link field) of 0 specifies an empty tuple body. This implies that a tuple length of 0 is actually allowed, so we don't need to error out if we encounter one. Seen on an SDIO-connected ath10k. ok kettenis@
2020-04-29Use the same inittodr()/resettodr() implementation as onMark Kettenis
amd64/arm64/armv7/sparc64 and move it to the end of machdep.c. Rework the actual implementation for the MC14818 compatible RTC into something that can be used as a todr_handle just like on amd64. ok sthen@
2020-04-29remove some trailing whitespace. no functional change.David Gwynne
2020-04-29json should have headers in same orderTheo de Raadt
2020-04-29Ensure that if we are doing a delayed write with a NOCACHE buffer, weBob Beck
clear the NOCACHE flag, since if we are doing a delayed write the buffer must be cached or it is thrown away when the "write" is done. fixes vnd on mfs regress tests. ok kettenis@ deraadt@