summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-28syncTheo de Raadt
2020-02-28no-touch-required certificate option should be an extension, notDamien Miller
a critical option.
2020-02-28better error message when trying to use a FIDO key function andDamien Miller
SecurityKeyProvider is empty
2020-02-27The HTML standard does not allow self-closing syntax for non-void elements.Ingo Schwarze
Consequently, write an explicit end tag for <mark> elements.
2020-02-27Merge a missing fix from awk-12202012 and update the version and FIXES.Todd C. Miller
This was the last awk release before the move to github.
2020-02-27Fully support explicit tagging of .Sh and .Ss.Ingo Schwarze
This fixes the offset of two lines in terminal output and this improves HTML output by putting the id= attribute and <a> element into the respective <h1> or <h2> element rather than writing an additional <mark> element. To that end, introduce node flags NODE_ID (to make the node a link target, for example by writing an HTML id= attribute or by calling tag_put()) and NODE_HREF (to make the node a link source, used only in HTML output, used only to write an <a class="permalink"> element). In particular: * In the validator, generalize the concept of the "next node" such that it also works before .Sh and .Ss. * If the first argument of .Tg is empty, don't forget to complain if there are additional arguments, which will be ignored. * In the terminal formatter, support writing of explicit tags for all kinds of nodes, not just for .Tg. * In deroff(), allow nodes to have an explicit string representation even when they aren't text nodes. Use this for explicitly tagged section headers. Suprisingly, this is sufficient to make HTML output work, without explicit code changes in the HTML formatter. * In syntax tree output, display NODE_ID and NODE_HREF.
2020-02-276.8 packages keyChristian Weisgerber
2020-02-27Trailing whitespace.Kenneth R Westerback
2020-02-27in rdrand() timeout, if the rdrand instruction fails to fetch entropyTheo de Raadt
(valid == 0) we can also inject that failure an entropic event, so xor in that bit and proceed with submission. the rdrand instruction can vmexit, so perform an additional rdtsc afterwards measuring the vmexit latency (which due to caches is highly unlikely to be constant), that's also worthwhile entropy to blend. This works on the fundamental concept that the input-side of entropy collection can accept bad or weak data. entropypool ^= weakdata is not saturative or attackable, the entropy pool either remains as good or becomes better. ok djm jsg
2020-02-27Fix an off-by-one when -lestdc++ is passed before -lstdc++Jeremie Courreges-Anglas
Fixes geo/spatialite/gis on gcc archs. Report and tests by kmos@, different fix from cwen@, ok zhuk@ espie@ kmos@
2020-02-27Remove unused "struct proc *" argument from the following functions:Martin Pieuchot
- ufs_chown() & ufs_chmod() - ufs_reclaim() - ext2fs_chown() & ext2fs_chmod() - ntfs_ntget() & ntfs_ntput() - ntfs_vgetex(), ntfs_ntlookup() & ntfs_ntlookupfile() While here use `ap->a_p' directly when it is only required to re-enter the VFS layer in order to help reducing the loop. ok visa@
2020-02-27Do not set A_JOIN unconditionally. Otherwise join "" takes effect evenStefan Sperling
though that is not what the user intended, e.g. if an invalid hex SSID was given on the command line. ok sthen@
2020-02-27drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)Jonathan Gray
From Alex Deucher b75aaa6449b33c21b9b00c743fa90a012acf09da in linux 4.19.y/4.19.106 c37243579d6c881c575dcfb54cf31c9ded88f946 in mainline linux
2020-02-27drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltageJonathan Gray
From Alex Deucher 283a7289413b661981a73b28ceb39f458fed8e84 in linux 4.19.y/4.19.106 1064ad4aeef94f51ca230ac639a9e996fb7867a0 in mainline linux
2020-02-27drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latencyJonathan Gray
From Alex Deucher 70e1e529159b93cfc9aa866e9412fac1a945f26f in linux 4.19.y/4.19.106 4d0a72b66065dd7e274bad6aa450196d42fd8f84 in mainline linux
2020-02-27radeon: insert 10ms sleep in dce5_crtc_load_lutJonathan Gray
From Daniel Vetter f1b8859e8db0c47184ad383720a086ee7f892a59 in linux 4.19.y/4.19.106 ec3d65082d7dabad6fa8f66a8ef166f2d522d6b2 in mainline linux
2020-02-27drm/amd/display: fixup DML dependenciesJonathan Gray
From Jun Lei 3f2a2c738bbb3a456bc2225ec77175095877a441 in linux 4.19.y/4.19.106 34ad0230062c39cdcba564d16d122c0fb467a7d6 in mainline linux
2020-02-27drm/amdgpu: Ensure ret is always initialized when using SOC15_WAIT_ON_RREGJonathan Gray
From Nathan Chancellor a882dcd9fd487eca8f019dd9814cacb7fb82b2c4 in linux 4.19.y/4.19.106 a63141e31764f8daf3f29e8e2d450dcf9199d1c8 in mainline linux
2020-02-27drm/amdgpu: remove 4 set but not used variable in ↵Jonathan Gray
amdgpu_atombios_get_connector_info_from_object_table From yu kuai b367528f6d23b696048adc3593bc267d431663bf in linux 4.19.y/4.19.106 bae028e3e521e8cb8caf2cc16a455ce4c55f2332 in mainline linux
2020-02-27drm/amd/display: Retrain dongles when SINK_COUNT becomes non-zeroJonathan Gray
From Harry Wentland ff19c8c6eab246a5011ce5d8f97ce826352f5fe6 in linux 4.19.y/4.19.106 3eb6d7aca53d81ce888624f09cd44dc0302161e8 in mainline linux
2020-02-27syncTheo de Raadt
2020-02-27Drop leading space from line count that was confusing ssh-keygen'sDarren Tucker
screen mode.
2020-02-27Introduce the concept of nodes that are semantically transparent:Ingo Schwarze
they are skipped when looking for previous or following high-level macros. Examples include roff(7) .ft, .ll, and .ta, mdoc(7) .Sm and .Tg, and man(7) .DT and .PD. Use this concept for a variety of improved decisions in various validators and formatters. While here, * remove a few const qualifiers on struct arguments that caused trouble; * get rid of some more Yoda notation in the vicinity; * and apply some other stylistic improvements in the vicinity. I found this class of issues while considering .Tg patches from kn@.
2020-02-27Fix this test after the recent Unicode update in OpenBSD base.Ingo Schwarze
The test uses U+07FF NKO TAMAN SIGN because it is the highest code point having a two-byte UTF-8 representation. This character is a new single-width punctuation character in Unicode 11, such that mandoc now does correct horizontal spacing. We already used the code point for the test before it was assigned, which resulted in weird spacing because wcwidth(3) returns -1 for unassigned code points.
2020-02-26no need to go through RETERR when we return a constantFlorian Obser
2020-02-26In preparation of compiling lib/dns/rdata/ files individually we needFlorian Obser
global visibility of str_totext. Rename it to isc_str_tobuffer, put it into buffer.c and delete duplicate implementations.
2020-02-26In preparation of compiling lib/dns/rdata/ files individually we needFlorian Obser
global visibility of mem_tobuffer. Rename it to isc_mem_tobuffer, put it into buffer.c and delete duplicate implementations.
2020-02-26Always printing unknown types as TYPE%u and not sometimes as %uFlorian Obser
considerably simplifies dns_rdatatype_attributes() since we then only care about reserved types. tweaks jsg
2020-02-26Rewrite dns_rdatatype_fromtext to use a binary search over a staticFlorian Obser
array.
2020-02-26add 6.8 base keyTheo de Raadt
2020-02-26syncTheo de Raadt
2020-02-26Numeric values are in the [0:1] range, not [0:127]Alexandre Ratchov
2020-02-26End the first example in a colonAlexandre Ratchov
From jmc.
2020-02-26Sync usage string and SYNOPSYS to what the code does.Alexandre Ratchov
Suggested by jmc.
2020-02-26Fix .Dt line and copyright year.Alexandre Ratchov
From jmc@, thanks.
2020-02-26Rx interrupt handling can lead to a race where the interrupt is handledtobhe
before the shared data was updated. As a workaround each "real" interrupt enables the "periodic" Rx interrupt which triggers after 8 ms and detects any dangling Rx activity. If dangling Rx activity was detected the periodic interrupt is restarted, if not it stays disabled until the next "real" Rx interrupt is handled. The periodic interrupt is not supposed to write IWM_CSR_FH_INT_STATUS unless it has detected dangling Rx activity. ok stsp@ patrick@
2020-02-26Remove non-__STDC__ assert macros from <lib/libkern/libkern.h>.Visa Hankala
The macros are defined in a part of the header where a C compiler is required. In addition, the macros expand to C code, so it looks unnecessary to define the asserts with traditional cpp in mind. OK cheloha@, mpi@
2020-02-26Add sndioctl utility to control audio parameters exposed by sndiod.Alexandre Ratchov
ok deraadt
2020-02-26Release the file descriptor table lock before calling closef()Visa Hankala
in finishdup(). This makes the order of operations similar to that of fdrelease() and removes a case where lock ordering might cause problems. OK anton@, mpi@
2020-02-26Add API to control audio device parameters exposed by sndiod.Alexandre Ratchov
The API exposes controls of modern audio hardware and sndiod software volume knobs in a uniform way. Hardware knobs are exposed through sndiod. Multiple programs may use the controls at the same time without the need to continuously scan the controls. For now sndiod exposes only its own controls and the master output and input volumes of the underlying hardware (if any), i.e. those typically exposed by acpi volume keys. ok deraadt
2020-02-26change explicit_bzero();free() to freezero()Jonathan Gray
While freezero() returns early if the pointer is NULL the tests for NULL in callers are left to avoid warnings about passing an uninitialised size argument across a function boundry. ok deraadt@ djm@
2020-02-26Have sftp reject "-1" in the same way as ssh(1) and scp(1) do insteadDarren Tucker
of accepting and silently ignoring it since protocol 1 support has been removed. Spotted by shivakumar2696 at gmail.com, ok deraadt@
2020-02-26vmm(4): check page boundaries for pvclock structpd
Check if pvclock struct crosses page boundaries as that could potentially corrupt host memory. Discussed with guenther@ and Mike Larkin Reported by Maxime Villard. ok mortimer@
2020-02-26vmm(4): tighten rdmsr on svmpd
For MSRs not emulated or passed through explicitly, inject #GP. With help from brynet@ Reported by Maxime Villard. ok brynet@
2020-02-26ugly spaces offended meTheo de Raadt
2020-02-26Remove obsolete XXX comment. ok deraadt@Darren Tucker
2020-02-25syncTheo de Raadt
2020-02-25use timingsafe_bcmp and get rid of now unused safe.cFlorian Obser
2020-02-25use freezero() rather that explicit_bzero() when free() is immediatelyTheo de Raadt
after. pointed out by jsing
2020-02-25fsqueue_envelope_dump() returns 0 on temporary failure, not -1.Todd C. Miller
We should only exit the loop that creates the queue file if we successfully created the file or we've exceeded the max number of tries. From gilles@ based on feedback from Qualys.