summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-03store root bridge data in softc before calling intel_init_stolen_res()Jonathan Gray
should fix panic on boot on x41 reported by Fred Crowson
2022-02-03The sparc64 pmap at least requires the fault access_type to be aPhilip Guenther
subset of the request permissions, so when forcing an initial RO fault for CoW also clamp the access_type. problem reported by bluhm@ based on a suggestion from miod@ ok kettenis@
2022-02-03Unindent and unwrap lines. Pull up a NULL check. No functional change.Theo Buehler
2022-02-03Remove commented variable declarationsTheo Buehler
2022-02-03Enforce the RRDP XMLNS to "http://www.ripe.net/rpki/rrdp"Claudio Jeker
Missing check reported by Ties de Kock OK tb@ benno@
2022-02-03Fix copy-paste error: X509_V_ERR_CRL_SIGNATURE_FAILURE means that theTheo Buehler
CRL's signature is invalid, not the certificate's.
2022-02-03Use X509_*get0_pubkey() wherever possible to simplify and clean upTheo Buehler
the code. Also add error checking where possible. ok jsing
2022-02-03Remove some stale comments.Theo Buehler
ok jsing
2022-02-03Time for rpki-client 7.6Claudio Jeker
OK benno@
2022-02-03On i386 run-regress-ungc fails with EINVAL. It passes uninitializedAlexander Bluhm
data from struct msghdr to system call sendmsg(2). Fix the controllen and make error messages unique. OK mvs@
2022-02-03Delete unused/obsolete M_* type values.Philip Guenther
ok miod@ mpi@
2022-02-03Use UVM_KMF_TRYLOCK for consistencyKlemens Nanni
No object change. OK millert
2022-02-03Cleanup/simplify ssl_cert_type()Joel Sing
Remove the X509 argument as it is unused - this was passed so that ssl_cert_type() can get the public key from the X509 object if the EVP_PKEY argument is NULL, however this is never the case. ok tb@
2022-02-03fdisk(8): Make -A preserve BIOS boot partitionVisa Hankala
On PolarFire SoC, the HSS firmware loads HSS payload from BIOS boot partition. Typically the payload carries second-stage low-level boot code, such as U-Boot. If the payload is missing, the SoC is not able to boot normally. Hence automatic disk formatting should not delete the partition. OK krw@
2022-02-03Adjust size given to resize-pane for pane status line, GitHub issueNicholas Marriott
3050.
2022-02-03Use installboot(8) in install.md of riscv64.Visa Hankala
OK kettenis@ deraadt@
2022-02-03installboot(8): Adjustments for EFI platformsVisa Hankala
Reduce #ifdef'ing within the control logic to make it clearer that there are no essential differences in behaviour between the platforms. Make installboot(8) write startup.nsh to enable simpler and more consistent code in install.md. Input and OK kettenis@ deraadt@
2022-02-03Rename armv7_installboot.c to efi_installboot.c.Visa Hankala
The code is common to EFI platforms, not specific to armv7. Suggested by kettenis@
2022-02-03Use format_draw for command prompt prefix to allow styles, GitHub issueNicholas Marriott
3054.
2022-02-03Update focus when active pane changes after pane destroyed.Nicholas Marriott
2022-02-03Add a key in copy mode to toggle position indicator.Nicholas Marriott
2022-02-03inteldrm now requires ttmJonathan Gray
2022-02-03sync list of amdgpu files built with -msse -msse2 with linux 5.15.yJonathan Gray
2022-02-02Add apldma(4), a driver for the DMA controller found on Apple SoCs.Mark Kettenis
This driver implements an interface for using DMA for audio output. ok ratchov@
2022-02-02Get the pci bus number from the bus-range property when available, ratherMiod Vallat
than assuming it will always be zero. ok kettenis@
2022-02-02When a RRDP fetch failed not only clear the filesystem but also flushClaudio Jeker
the to delete list stored this RRDP node. Noticed by Job on console.rpki-client.org with the help of idnic.net OK tb@
2022-02-02Add missing mode argument to open(2) with O_CREAT.Visa Hankala
2022-02-02typoTheo Buehler
2022-02-02acpi_addtask() calls malloc() w/ M_NOWAIT (because some calls come fromTheo de Raadt
interrupt context), this however means occasional resource shortage will result in callbacks registration failing, and unknown consequences for the task-submitting caller. Changing this to use pools with a low water mark, decreases the odds of that problem occuring. ok kettenis
2022-02-02unifdef __OpenBSD__Jonathan Gray
2022-02-02unifdef __NetBSD_Version__Jonathan Gray
2022-02-02drm/amd/display: Fix FP start/end for dcn30_internal_validate_bw.Jonathan Gray
From Bas Nieuwenhuizen 548f20b39ec91fdd97194a84a0d9b2f68715762a in linux 5.15.y/5.15.19 72a8d87b87270bff0c0b2fed4d59c48d0dd840d7 in mainline linux
2022-02-02drm/atomic: Add the crtc to affected crtc only if uapi.enable = trueJonathan Gray
From Manasi Navare 73740f948252e424a01465155d8737bceae23653 in linux 5.15.y/5.15.19 5ec1cebd59300ddd26dbaa96c17c508764eef911 in mainline linux
2022-02-01test 'ssh-keygen -Y find-principals' with wildcard principals;Damien Miller
from Fabian Stelzer
2022-02-01allow 'ssh-keygen -Y find-principals' to match wildcard principalsDamien Miller
in allowed_signers files; from Fabian Stelzer
2022-02-01mark const string array contents const too, i.e.Damien Miller
static const char *array => static const char * const array from Mike Frysinger
2022-02-01call intel_init_stolen_res() lost in drm 5.7 updateJonathan Gray
2022-02-01get stolen memory base and size for gen 12Jonathan Gray
2022-02-01better match legacy scp behaviour: show un-expanded paths in errorDamien Miller
messages. Spotted by and ok tb@
2022-02-01An old hack skips use of memory regions < 1MB size, because some machinesTheo de Raadt
put BIOS objects into there, and rely upon them. We are shocked, SHOCKED, to find a machine that does so in a large object (Supermicro 5019D-FTN4). So now we need to ignore memory regions < 32MB in size. If we put this memory into use, the zerothread will soon clear it, and on this particular case the machine resets because something in AML or SMI gets unhappy. Other machines with similar problems may exhibit other misbehaviours, so this could fix heisenbugs. Sadly I expect products to get worse. ok kettenis, miod
2022-02-01Make sure we always pass a page-aligned address to pmap_grow_map().Mark Kettenis
Fixes an issue uncovered by the recent change to enlarge kva space where an unaligned address was passed resulting in memset() writing past the end of the newly allocated page. ok miod@
2022-02-01A menu must be shown on a client, so always give the client when addingNicholas Marriott
the items. Also fix mode menus.
2022-02-01GPE_DIRECT is calling the AML parser from interrupt context, which isTheo de Raadt
not permitted. Luckily nothing is using GPE_DIRECT anymore, so this code can be deleted. ok kettenis
2022-02-01Use TLS_PADDING_* defines.Joel Sing
2022-02-01Provide our own signature padding defines.Joel Sing
Rather than leaking libcrypto defines through the tls_sign_cb and tls_signer_sign() interfaces, provide and use our own TLS_PADDING_* defines. ok inoguchi@ tb@
2022-02-01Revise/simplify for signer interface change.Joel Sing
2022-02-01Revise signer callback interface.Joel Sing
The current design of tls_sign_cb provides a pointer to a buffer where the signature needs to be copied, however it fails to provide a length which could result in buffer overwrites. Furthermore, tls_signer_sign() is designed such that it allocates and returns ownership to the caller. Revise tls_sign_cb so that the called function is expected to allocate a buffer, returning ownership of the buffer (along with its length) to the caller of the callback. This makes it far easier (and safer) to implement a tls_sign_cb callback, plus tls_signer_sign can be directly plugged in (with an appropriate cast). While here, rename and reorder some arguments - while we will normally sign a digest, there is no requirement for this to be the case hence use 'input' and 'input_len'. Move padding (an input) before the outputs and add some additional bounds/return value checks. This is technically an API/ABI break that would need a libtls major bump, however since nothing is using the signer interface (outside of regress), we'll ride the original minor bump. With input from tb@ ok inoguchi@ tb@
2022-02-01pkg_delete(1): print usage when args aren't supplied.Dave Voutila
OK espie@
2022-02-01When a struct ipovly needs to be computed and checksummed in in4_cksum(),Miod Vallat
do not bother operating on its first 8 bytes, which will always be zero. ok visa@
2022-02-01Add option to show arrows for active pane indicator, GitHub issue 3022Nicholas Marriott
from Marcel Partap.