summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-11__syscall() is no longer neccessary since the system calls which neededTheo de Raadt
it are now unpadded ok kettenis guenther
2023-02-11sprinkle some Xr; from josiah frentsosJason McIntyre
2023-02-11I forgot to copy the msyscall interlock flag to forked processes, soTheo de Raadt
only freshly executed processes were actually locked. (This happened because I didn't realize how the uvm_map's contents are copied entry by entry, and other parts are not) ok kettenis
2023-02-11Remove bn_exp2.c, which is now empty.Joel Sing
2023-02-11Bye bye x86_64-gcc.c.Joel Sing
This is no longer used, since we're now using s2n-bignum functions instead.
2023-02-11Refactor common code of the 3 up_generate functions into up_process_prefix()Claudio Jeker
Simplifies up_generate_updates(), up_generate_addpath() and up_generate_addpath_all() a fair bit. OK tb@
2023-02-11Use a consistent comment to explain why 32bit archs set their secondPhilip Guenther
return register to -1 in the syscall error path ("for lseek"). removal of the misleading __syscall() mention requested by deraadt@ ok deraadt@
2023-02-11Make 'ls' command in bootloader work correctly on luna88k.Kenji Aoyama
Now 'ls' against directory works fine. Tested on LUNA-88K2 and nono emulator by me.
2023-02-10Add support for configuring multiple name servers as roadwarriorTobias Heider
client. This allows us to have a fallback in case one connection fails. Tested by Ryan Kavanagh ok patrick@
2023-02-10Use "echo '/ *' | disklabel -wAT-" to put all free space into theKenneth R Westerback
root partition. Identical behaviour as but more readable than the "echo 'a a\n\n\n\nw\nq\n'| disklabel -E" it replaces. It also eliminates the extraneous output of -E that required ">/dev/null". ok kn@
2023-02-10drm/amdgpu: update wave data type to 3 for gfx11Jonathan Gray
From Graham Sider 86dbbc8f6ba705b82c0e6daf5c2fed993665dc1a in linux-6.1.y/6.1.11 ed8e793c65e4c6633e8577e40d574da8a56d2e0f in mainline linux
2023-02-10drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11Jonathan Gray
From Tim Huang 91ef43f6b65b5aea03e71d70bb510efc61637ff6 in linux-6.1.y/6.1.11 1538709c9f1c207d30afd95ea41b3aeb973f67e7 in mainline linux
2023-02-10drm/amd: Fix initialization for nbio 4.3.0Jonathan Gray
From Mario Limonciello 814d83a710e8309d989fafc163656a68f2acaef4 in linux-6.1.y/6.1.11 5048fa1ebf89d03cf0ceca13fab8f800399e9ee3 in mainline linux
2023-02-10Make tun(4) and tap(4) event filters MP-safe.Visa Hankala
OK mvs@
2023-02-10drm/i915: Fix potential bit_17 double-freeJonathan Gray
From Rob Clark 0769f997a7b6d5cb8336db0b4ec3d2d311b8097c in linux-6.1.y/6.1.11 7057a8f126f14f14b040faecfa220fd27c6c2f85 in mainline linux
2023-02-10drm/i915: Avoid potential vm use-after-freeJonathan Gray
From Rob Clark 764accc2c1b8fd1507be2e7f436c94cdce887a00 in linux-6.1.y/6.1.11 41d419382ec7e257e54b7b6ff0d3623aafb1316d in mainline linux
2023-02-10drm/amd/display: Fix timing not changning when freesync video is enabledJonathan Gray
From Aurabindo Pillai f3056978934cf809c0ae70a22ac3af2a857e1a93 in linux-6.1.y/6.1.11 4b069553246f993c4221e382d0d0ae34f5ba730e in mainline linux
2023-02-10Adjust knote(9) APIVisa Hankala
Make knote(9) lock the knote list internally, and add knote_locked(9) for the typical situation where the list is already locked. Remove the KNOTE(9) macro to simplify the API. Manual page OK jmc@ OK mpi@ mvs@
2023-02-10drm/i915/adlp: Fix typo for reference clockJonathan Gray
From Chaitanya Kumar Borah 7a435fe0b6bbf4ab5ede23e25658f3735caa2a65 in linux-6.1.y/6.1.11 47a2bd9d985bfdb55900f313603619fc9234f317 in mainline linux
2023-02-10drm/i915: Fix up locking around dumping requests listsJonathan Gray
From John Harrison 04dcff26490cc8dedbfcf44cfb3e3e7a08622fd0 in linux-6.1.y/6.1.11 5bc4b43d5c6c9692ddc7b96116650cdf9406f3da in mainline linux
2023-02-10drm/i915: Fix request ref counting during error capture & debugfs dumpJonathan Gray
From John Harrison 9467397f417dd7b5d0db91452f0474e79716a527 in linux-6.1.y/6.1.11 86d8ddc74124c3fdfc139f246ba6da15e45e86e3 in mainline linux
2023-02-10drm/i915/guc: Fix locking when searching for a hung requestJonathan Gray
From John Harrison de997938a7a5da3cb3bd3b914456656963ca1d1c in linux-6.1.y/6.1.11 87b04e53daf806945c415e94de9f90943d434aed in mainline linux
2023-02-10Fix cursor position after zero width space, GitHub issue 3469.Nicholas Marriott
2023-02-10Delete no-longer-used file.Kenji Aoyama
2023-02-10Remove explicit rejection of zero duid in disk_map() added in 1.262.Miod Vallat
Spoofed labels have zero duid and there is no reason not to allow them to work with duid notation. ok kn@
2023-02-10space between macro and punctuation;Jason McIntyre
sort usage();
2023-02-10space between macro and punctuation;Jason McIntyre
2023-02-10sort SYNOPSIS;Jason McIntyre
2023-02-10test -Ohashalg=... and that the default output contains bothDamien Miller
specified hash algorithms; prompted by dtucker@
2023-02-10let ssh-keygen and ssh-keyscan accept -Ohashalg=sha1|sha256 whenDamien Miller
outputting SSHFP fingerprints to allow algorithm selection. bz3493 ok dtucker@
2023-02-10add a `sshd -G` option that parses and prints the effectiveDamien Miller
configuration without attempting to load private keys and perform other checks. This allows usage of the option before keys have been generated. bz3460 feedback/ok dtucker@
2023-02-10make `ssh -Q CASignatureAlgorithms` work as the manpage says it shouldDamien Miller
bz3532
2023-02-10Explicitly mark the text LOAD as FLAGS(5), meaning RX, with a comment.Theo de Raadt
This is the default value of the linker, but I really like placing the comment "architecturally required data islands".
2023-02-09correct values for M2 MaxJonathan Gray
ok kettenis@
2023-02-09Use GEN_OTHERNAME instead of hardcoding 0Theo Buehler
discussed with job
2023-02-09consolidate mbuf header parsing on device driver layerChristian Weisgerber
em(4) ok jan@, bluhm@ igc(4) tested by weerd@
2023-02-09Recognize the cores on Apple's M2 Pro/Max SoCs.Mark Kettenis
ok patrick@
2023-02-09Use .section .rodata instead of a plain .rodataTheo Buehler
At least gcc 12 on Fedora is very unhappy about a plain .rodata and throws Error: unknown pseudo-op: `.rodata'. So add a .section in front of it to make it happy. ok deraadt miod
2023-02-09Unstub drm_gem_ttm_vmap/vunmap.Mark Kettenis
ok jsg@
2023-02-09Pin the default framebuffer. The Linux drm code no longer does this sinceMark Kettenis
they switched to using a shadow framebuffer and only pin the hardware framebuffer when flushing the shadow framebuffer. But our wdisplay(4) and rasops(9) code expects the hardware framebuffer to be always accessible at the same address. Fixes the regression introduced by amdgpu_object.c rev 1.12. ok jsg@
2023-02-09Instead of relaying struct peer from the SE to the RDE to fill out 10Claudio Jeker
stat numbers, just send the peerid and have the RDE response with the stats. The control code will then merge these counters into the real peer struct and send that to bgpctl. This reduces the number of bytes sent around a fair bit. OK tb@
2023-02-09use newer, much easier disklabel template stringsKlemens Nanni
2023-02-09Do not ask to initialize disks with softraid chunksKlemens Nanni
Skip chunk devices in the 'Which disk do you wish to initialize?' question. Touching sd0, e.g. after a root on softraid sd1 install on sd0, will fail. get_dkdevs_uninitialized() is used once, in interactive installs, right after root disk setup, iff multiple disks exist. Tested as part of a bigger diff by a few OK cheloha
2023-02-09Pull in bn_internal.h for the generic version of bn_umul_hilo()Joel Sing
2023-02-09Test adding terminating newline to known_hosts.Darren Tucker
2023-02-09Ensure that there is a terminating newline when adding a new entryDarren Tucker
to known_hosts. bz#3529, with git+openssh at limpsquid.nl, ok deraadt@ markus@
2023-02-09Clean up bn_sqr_words()Joel Sing
Currently there are two versions of bn_sqr_words(), which call the sqr or sqr64 macro. Replace this with a single version that calls bn_umul_hilo() and remove the various implementations of the sqr macro. The only slight downside is that sqr64 does three multiplications instead of four, given that the second and third terms are identical. However, this is a minimal gain for the amount of duplication and entanglement it introduces. ok tb@
2023-02-09Delay setting the timestamp in the ktrace header until we've grabbedPhilip Guenther
the vnode, to eliminate misordering of ktrace records. problem noted by jrick@ ok deraadt@
2023-02-09i386: lapic_timer_trigger: disable interrupts around lapic_timer_oneshot()Scott Soule Cheloha
lapic_timer_oneshot() is not atomic. We need to disable interrupts when calling it to ensure the timer reaches a valid state. Link: https://marc.info/?l=openbsd-tech&m=167482851403841&w=2 ok mlarkin@
2023-02-08iked: remove another unused variableTheo Buehler
It is not entirely obvious if some logic was forgotten or if that variable was added for debug logging or... Be that as it may, as tobhe points out, this variable has been unused since the initial import of iked. The logic seems sound without it, so it has never served a purpose and can go. ok tobhe