sthen [Mon, 7 Oct 2024 15:38:21 +0000 (15:38 +0000)]
merge unbound 1.21.1
sthen [Mon, 7 Oct 2024 15:35:11 +0000 (15:35 +0000)]
Fix unbound CVE-2024-8508, put a limit on resources used for handling
DNS compression. OK florian
From unbound 1.21.1 (rest will be merged shortly).
tb [Mon, 7 Oct 2024 14:45:33 +0000 (14:45 +0000)]
Add comment accidentally omitted on commit
tb [Mon, 7 Oct 2024 14:21:51 +0000 (14:21 +0000)]
update crl number draft link
claudio [Mon, 7 Oct 2024 14:01:12 +0000 (14:01 +0000)]
Add a multithreaded test for SIGSTOP and SIGCONT behaviour.
This actually installs a SIGTSTP handler which then triggers a SIGSTOP.
Currently unlinked since both SIGSTOP and SIGCONT delivery is busted.
sthen [Mon, 7 Oct 2024 13:27:13 +0000 (13:27 +0000)]
add UQ_ALWAYS_OPEN for another PixArt mouse
sthen [Mon, 7 Oct 2024 13:26:32 +0000 (13:26 +0000)]
sync
sthen [Mon, 7 Oct 2024 13:26:18 +0000 (13:26 +0000)]
add another PixArt mouse, to be used in quirks
deraadt [Mon, 7 Oct 2024 13:21:53 +0000 (13:21 +0000)]
The two usual use cases are sysupgrade and sysupgrade -s, jumping
forward to the same key, or the key+.1. But sometimes you want to
update an older machine far forward (either with -s, or with -R), and
the required key might not exist on-disk. Since getting the key isn't
automated, people make some poor decisions to get the key. Previous
to 7.6 the situation was worse, (and obviously older releases will have
the old sysupgrade script, though you can copy this one to those machines
and it will work, but please do that securely..)
Moving forward this improves the workflow: a new set of keybundles
(signed by older keys) have been made available so that sysupgrade
can securely and automatically download the required key.
ok job tb beck sthen
nicm [Mon, 7 Oct 2024 12:58:36 +0000 (12:58 +0000)]
Add prompt-cursor-colour and prompt-cursor-style to set the style of the
cursor in the command prompt and remove the emulated cursor, from
Alexander Arch in GitHub issue 4170.
tb [Mon, 7 Oct 2024 12:27:27 +0000 (12:27 +0000)]
rpki-client: add small unit test for the sequence number
got this wrong too many times, let's make sure this is right.
tb [Mon, 7 Oct 2024 12:19:52 +0000 (12:19 +0000)]
rpki-client: fix validity interval check
The language in RFC 5280, section 4.1.2.5 includes the end points of the
validity interval.
Reported by Tom Harrison
ok claudio job
tb [Mon, 7 Oct 2024 12:18:31 +0000 (12:18 +0000)]
rpki-client: fix seqnum upper bound
An ASN1_INTEGER doesn't contain the ASN.1 encoding in its data. It contains
a BIGNUM. In particular, there's no padding octet for integers with the top
bit of the top octet set. Do the check the dumb way and check all the parts
individually: non-negative, not larger than 20 octets and bit 159 not set.
Reported by Tom Harrison
ok claudio job
nicm [Mon, 7 Oct 2024 08:50:47 +0000 (08:50 +0000)]
Add initial-repeat-time option to allow the first repeat time to be
increased and later reduced, from David le Blanc in GitHub issue 4164.
kevlo [Mon, 7 Oct 2024 07:35:40 +0000 (07:35 +0000)]
Add support for AX88772D.
AX88772D is a USB 2.0 device. It is very similar to AX88179A overall.
The most significant difference is that AX88179A supports 1000Mbps speeds
while AX88772D does not.
grammer fix from jmc@
ok miod@
jsg [Mon, 7 Oct 2024 05:30:12 +0000 (05:30 +0000)]
drm/amd/display: Validate backlight caps are sane
From Mario Limonciello
c886061bbdd1f37190939b11926055413e86a56c in linux-6.6.y/6.6.54
327e62f47eb57ae5ff63de82b0815557104e439a in mainline linux
jsg [Mon, 7 Oct 2024 05:28:20 +0000 (05:28 +0000)]
drm/amd/display: Round calculated vtotal
From Robin Chen
9ce1ee22dc6829175ec2dfd74d78d79eb20e0732 in linux-6.6.y/6.6.54
c03fca619fc687338a3b6511fdbed94096abdf79 in mainline linux
jsg [Mon, 7 Oct 2024 05:25:26 +0000 (05:25 +0000)]
drm/amd/display: Add HDMI DSC native YCbCr422 support
From Leo Ma
55fcbe5f60865717479a9d6a8d8d076c8f443759 in linux-6.6.y/6.6.54
07bfa9cdbf3cd2daadfaaba0601f126f45951ffa in mainline linux
jsg [Mon, 7 Oct 2024 05:23:13 +0000 (05:23 +0000)]
drm/amd/display: Fix Synaptics Cascaded Panamera DSC Determination
From Fangzhi Zuo
b5d38f1d4acb3a0aa0763d4d70bec6c9cf51300c in linux-6.6.y/6.6.54
4437936c6b696b98f3fe1d8679a2788c41b4df77 in mainline linux
jsg [Mon, 7 Oct 2024 05:20:34 +0000 (05:20 +0000)]
drm/radeon/evergreen_cs: fix int overflow errors in cs track offsets
From Nikita Zhandarovich
fa94d60546d2ba8c55f3c87483404162f1fbe863 in linux-6.6.y/6.6.54
3fbaf475a5b8361ebee7da18964db809e37518b7 in mainline linux
jsg [Mon, 7 Oct 2024 05:17:14 +0000 (05:17 +0000)]
drm/amd/amdgpu: Properly tune the size of struct
From WangYuli
8e7760ed234f55f28dfd68254d08c9d0527dd766 in linux-6.6.y/6.6.54
0cee47cde41e22712c034ae961076067d4ac13a0 in mainline linux
jsg [Mon, 7 Oct 2024 05:14:50 +0000 (05:14 +0000)]
drm/radeon: properly handle vbios fake edid sizing
From Alex Deucher
de67850b401946dc683103d11d7814ae5611750e in linux-6.6.y/6.6.54
17c6baff3d5f65c8da164137a58742541a060b2f in mainline linux
jsg [Mon, 7 Oct 2024 05:12:00 +0000 (05:12 +0000)]
drm/amdgpu: properly handle vbios fake edid sizing
From Alex Deucher
78b9e10b3bd1bb04c40f9f12b899951a6904772b in linux-6.6.y/6.6.54
8155566a26b8d6c1dd914f06a0c652e4e2f2adf1 in mainline linux
jsg [Mon, 7 Oct 2024 05:02:58 +0000 (05:02 +0000)]
drm/amd/display: Add null check for set_output_gamma in dcn30_set_output_transfer_func
From Srinivasan Shanmugam
ddf9ff244d704e1903533f7be377615ed34b83e7 in linux-6.6.y/6.6.54
08ae395ea22fb3d9b318c8bde28c0dfd2f5fa4d2 in mainline linux
kn [Mon, 7 Oct 2024 04:29:01 +0000 (04:29 +0000)]
drop redundant AF attach ioctl
SIOCAIFADDR_IN6 to configure an IPv6 address does everything SIOCIFAFATTACH
does, i.e. it enables IPv6 on the interface if not done so already.
vm.conf(5) 'local inet6' works as before.
OK mlarkin
jsg [Mon, 7 Oct 2024 01:31:22 +0000 (01:31 +0000)]
include proc.h to fix APMDEBUG build
jmatthew [Sun, 6 Oct 2024 23:43:18 +0000 (23:43 +0000)]
Fix the rx refill timeout to only refill rings that are currently empty.
This is normally how the timeout works, but in this driver it's complicated
by the use of separate rx and ag rings.
This prevents the refill timeout from operating on a ring concurrently
with an rx interrupt, which leads to corruption and crashes as experienced
by bluhm@
ok dlg@
earlier version tested by and ok bluhm@
jsg [Sun, 6 Oct 2024 23:39:24 +0000 (23:39 +0000)]
remove unused DEBUG_PLEDGE lines; ok deraadt@
djm [Sun, 6 Oct 2024 23:37:17 +0000 (23:37 +0000)]
Turn off finite field (a.k.a modp) Diffie-Hellman key exchange in sshd
by default. Specifically, this removes the diffie-hellman-group* and
diffie-hellman-group-exchange-* methods. The client is unchanged and
continues to support these methods by default.
Finite field Diffie Hellman is slow and computationally expensive for
the same security level as Elliptic Curve DH or PQ key agreement while
offering no redeeming advantages.
ECDH has been specified for the SSH protocol for 15 years and some
form of ECDH has been the default key exchange in OpenSSH for the last
14 years.
ok markus@
jsg [Sun, 6 Oct 2024 22:47:38 +0000 (22:47 +0000)]
remove unneeded includes and defines; ok miod@
semarie [Sun, 6 Oct 2024 16:24:02 +0000 (16:24 +0000)]
use rdmsr_safe() instead of rdmsr() for probing feature
the second could raise general protection fault on non-existant MSR
fix with help of jsg@
ok dv@
kn [Sun, 6 Oct 2024 10:24:52 +0000 (10:24 +0000)]
new opt-in PATCH_QUIET aka. patch(1) -s; OK tb
nicm [Sun, 6 Oct 2024 09:30:22 +0000 (09:30 +0000)]
Try to stay near the same line in modes if the current one is removed.
jsg [Sun, 6 Oct 2024 03:46:48 +0000 (03:46 +0000)]
remove unused axppmic_rsb_cd, axppmic at rsb uses axppmic_cd
jsg [Sun, 6 Oct 2024 01:50:56 +0000 (01:50 +0000)]
remove unused sched_cost_load variable
jsg [Sun, 6 Oct 2024 01:28:39 +0000 (01:28 +0000)]
remove unused wi_usb_cd, wi at usb uses wi_cd
jsg [Sun, 6 Oct 2024 01:12:15 +0000 (01:12 +0000)]
remove unused atw_beacon_len_adjust variable
jsg [Sun, 6 Oct 2024 00:13:42 +0000 (00:13 +0000)]
Seperate -> Separate
chrisz [Sat, 5 Oct 2024 13:27:16 +0000 (13:27 +0000)]
Make scaling available for normal mice, too; not just for touchpads.
Add reverse_scrolling to the manpage.
ok bru@
nicm [Sat, 5 Oct 2024 12:10:16 +0000 (12:10 +0000)]
Send focus events to pane when entering or leaving popup, GitHub issue
3991.
jsg [Sat, 5 Oct 2024 09:54:39 +0000 (09:54 +0000)]
remove unneeded includes
jsg [Sat, 5 Oct 2024 01:07:38 +0000 (01:07 +0000)]
error on long locator lines, don't overflow buffers
found with afl, feedback and ok millert@
nicm [Sat, 5 Oct 2024 00:35:35 +0000 (00:35 +0000)]
Remove some debugging left behind.
nicm [Sat, 5 Oct 2024 00:32:55 +0000 (00:32 +0000)]
Add copy-mode-position-format to configure the position indicator.
nicm [Fri, 4 Oct 2024 22:36:11 +0000 (22:36 +0000)]
Document missing window-layout-changed hook.
bluhm [Fri, 4 Oct 2024 22:21:28 +0000 (22:21 +0000)]
Allow boot loader to run as AMD SEV guest on QEMU with EFI.
When efibooting amd64, the boot loader rewrites the page table built
by EFI firmware to ensure that there are no read-only mappings.
The rewrite is needed for some HP EFI BIOS, that maps computrace
section read-only.
When efibooting on SEV enabled QEMU, we would have to ensure the
crypt bit is set when changing page tables. However, there is no
need for the HP workaround when booting on QEMU (or any other VM),
so just do not modify the page table, when SEV gest mode is detected.
from Sebastian Sturm; via hshoexer@; OK kettenis@
bluhm [Fri, 4 Oct 2024 21:15:52 +0000 (21:15 +0000)]
Allow kernel boot on QEMU with AMD SEV.
When booting an OpenBSD kernel on Linux QEMU with SEV enabled, the
hypervisor does not forward the SME feature, only the SEV bit is
set. Therefore do not depend on SME when checking for SEV guest
mode in locore0.
from Sebastian Sturm; via hshoexer@; OK jsg@
nicm [Fri, 4 Oct 2024 19:16:13 +0000 (19:16 +0000)]
Add -y flag to disable confirmation prompts in modes, GitHub issue 4152.
miod [Fri, 4 Oct 2024 19:00:27 +0000 (19:00 +0000)]
Remove unused SIGEMT.
bluhm [Fri, 4 Oct 2024 16:58:26 +0000 (16:58 +0000)]
Increase psp(4) timeouts.
On EPYC 9124 psp(4) seems to need more to time to respond. Otherwise
it will not attach. Increase timeouts for both polling during
autoconf and interrupt during normal operation.
from hshoexer@ OK mlarkin@
nicm [Fri, 4 Oct 2024 14:55:17 +0000 (14:55 +0000)]
Do not translate BSpace as Unicode, GitHub issue 4156.
kevlo [Fri, 4 Oct 2024 07:46:33 +0000 (07:46 +0000)]
Remove two MHI LOOPBACK channels, there's no need to match them.
Also move PCI ops registration ahead. That way the ops will be registered
if any subsequent operations within the case processing require the ops to
See Linux commit
fbb2a14afe00a5691b43cd19c946472e59e16fc6 and
515bcdf587f9911f2d5de51524cb7e048d295052
ok stsp@
nicm [Fri, 4 Oct 2024 07:03:08 +0000 (07:03 +0000)]
Rework of copy mode commands ("send-keys -X") to parse the arguments so
that flags may be detected propertly rather than just looking for
strings ("-O" and so on). Also add -C and -P flags to the copy commands:
-C prevents the commands from sending the text to the clipboard and -P
prevents them from adding the text as a paste buffer.
Note some of the default key bindings change to add "--" and any similar
custom key bindings using "send-keys -X" may need a similar change.
GitHub issue 4153.
jmatthew [Fri, 4 Oct 2024 06:37:22 +0000 (06:37 +0000)]
As with other multiqueue drivers, print the number of queues we set up
along with the interrupt and ethernet address details.
ok dlg@
yasuoka [Fri, 4 Oct 2024 05:22:10 +0000 (05:22 +0000)]
Expose {T,R}X desc trail and add link_enabled field to prepare VF
support. diff from naito.yuichiro at gmail.com
ok jan jmatthew
claudio [Thu, 3 Oct 2024 10:20:05 +0000 (10:20 +0000)]
In rucheck() sum up the tusage from all threads to get the real current
runtime of the process. Also this no longer needs the SCHED_LOCK().
OK mpi@
claudio [Thu, 3 Oct 2024 10:18:29 +0000 (10:18 +0000)]
Fix the clock_gettime() handler for pthread_getcpuclockid() to
use the proper way to read tu_runtime.
OK mpi@
sf [Thu, 3 Oct 2024 08:59:49 +0000 (08:59 +0000)]
vio: Increase rx mbuf size with lro
bluhm found that using bigger rx mbufs helps tcp splice performance if
lro is enabled. Use 4k in that case.
Also fix confusion in rx dmamap segment count. Even with lro/tso, we
only put unfragmented mbufs into the rx queue. Therefore we only need
max. 2 segments, one for the mbuf and one for the separate header for
legacy virtio devices.
OK bluhm@
tb [Thu, 3 Oct 2024 06:24:07 +0000 (06:24 +0000)]
Remove the unused field_mod_func from EC_GROUP
This was only used by the NIST method. For all other group methods it's
an uninitialized pointer (as EC_GROUP_new() still uses the malloc + set
all members to 0 idiom).
ok jsing
nicm [Thu, 3 Oct 2024 05:41:59 +0000 (05:41 +0000)]
Improve fix for shifted keys so it works for all the keys it should,
Stanislav Kljuhhin in GitHub issue 4146.
tb [Thu, 3 Oct 2024 05:07:49 +0000 (05:07 +0000)]
Make EC{,PK}PARAMETERS_it static
They aren't used outside of this file.
tb [Thu, 3 Oct 2024 04:39:09 +0000 (04:39 +0000)]
We've left release mode. Time to re-enable POOL_DEBUG
ok deraadt
tb [Thu, 3 Oct 2024 04:20:28 +0000 (04:20 +0000)]
Fix ASN1_INTEGER_to_BN() misuse
Same issue/leak as for BN_to_ASN1_INTEGER(). Stop reusing the elliptic
curve parameters a and b for order and cofacter. It's confusing.
ok jsing
tb [Thu, 3 Oct 2024 04:17:05 +0000 (04:17 +0000)]
Switch field_bits to be an int
ok jsing
tb [Thu, 3 Oct 2024 04:15:52 +0000 (04:15 +0000)]
Fix BN_to_ASN1_INTEGER() misuse
You can either let this API reuse an existing ASN1_INTEGER or you can let
it allocate a new one. If you try to do both at the same time, you'll leak.
ok jsing
tb [Thu, 3 Oct 2024 03:47:40 +0000 (03:47 +0000)]
Provide OPENSSL_INIT_NO_ATEXIT noop
The brilliant idea of installing a fragile non-idempotent cleanup atexit
handler as a library has bitten many people over time. This gets particularly
exciting when you can't control who dlopens the lib first (don't we all love
Python bindings) or if you are in a threaded context. Fake OpenSSL clones
chose not to do this but now get to carry a noop flag since people start
opting out of this madness (there's a good old tradition at work here).
ok beck joshua jsing millert miod
tb [Thu, 3 Oct 2024 03:31:47 +0000 (03:31 +0000)]
X509V3_EXT_get_nid.3: indicate what nid means
kettenis [Wed, 2 Oct 2024 21:21:32 +0000 (21:21 +0000)]
Improve the heuristic for detecting i2c devices. On the x1e some of the
USB controllers have an I2cSerialBusV2() (possibly defining a connection
to some sort of eUSB2 to USB2 redriver chip) but are not i2c devices
themselves. So check if a device has MMIO resources and assume it isn't
a proper i2c device if it has those. Makes the Type-A ports on my
vivobook work in acpi mode.
ok patrick@, mlarkin@
dv [Wed, 2 Oct 2024 18:18:27 +0000 (18:18 +0000)]
amd64: implement a pmap_shootept() for non-MP kernels.
Simplifies some of the recent INVEPT changes and mirrors the design
of other pmap tlb shootdown functions that provide simplified non-MP
implementations.
ok mlarkin@
millert [Wed, 2 Oct 2024 17:08:47 +0000 (17:08 +0000)]
Update to 2024bgtz from https://github.com/JodaOrg/global-tz
o Improve historical data for Mexico, Mongolia, and Portugal.
o System V names are now obsolescent.
o The main data form now uses %z.
dv [Wed, 2 Oct 2024 17:05:56 +0000 (17:05 +0000)]
Move some PCI MMIO defines from vmm(4) kernel headers to userland.
vmm(4) doesn't need this information anymore. vmd(8) is the only
consumer of this information.
ok mlarkin@
jsing [Wed, 2 Oct 2024 15:21:39 +0000 (15:21 +0000)]
Reorder functions.
Reorder functions so that things are somewhat more logical, moving internal
functions towards the top (and removing now unnecessary prototypes).
jsing [Wed, 2 Oct 2024 14:54:26 +0000 (14:54 +0000)]
Remove err_fns and associated machinery.
Like all good OpenSSL code, errors was built to be completely extensible.
Thankfully, the ERR_{get,set}_implementation() functions were removed in
r1.127 of err.c, which means that the extensibility can no longer be used.
Take the first of many steps to clean up this code - remove err_fns and
associated machinery, calling functions directly. Rename so that we have
an 'err_' prefix rather than 'int_' (or nothing).
ok joshua@ tb@
jsing [Wed, 2 Oct 2024 14:50:58 +0000 (14:50 +0000)]
Hook up the err regress.
jsing [Wed, 2 Oct 2024 14:41:46 +0000 (14:41 +0000)]
Add initial regress for the error stack and ERR_* APIs.
jsing [Wed, 2 Oct 2024 14:12:21 +0000 (14:12 +0000)]
Enable additional CRYPTO_get_ex_new_index() tests.
It was previously possible to call CRYPTO_get_ex_new_index() with either
a negative index or a positive index that equaled or exceeded
CRYPTO_EX_INDEX__COUNT. The reimplementation of exdata treats these as
error cases.
claudio [Wed, 2 Oct 2024 12:31:33 +0000 (12:31 +0000)]
On i386 long double is 80bit expanded to 96bits or 12 bytes. This is the
size that the ctftools ctfconvert uses and I think we should do as well.
Fixes regress/usr.bin/ctfdump on i386.
OK miod@
nicm [Wed, 2 Oct 2024 11:51:15 +0000 (11:51 +0000)]
Add MSYSTEM to default update-environment.
nicm [Wed, 2 Oct 2024 11:48:16 +0000 (11:48 +0000)]
Add a define for the socket permissions check so it can be overridden
more easily (for Cgywin).
mpi [Wed, 2 Oct 2024 10:36:33 +0000 (10:36 +0000)]
Modify uvmpd_scan_inactive() to access `uvmexp.pdfreed' only once.
ok kettenis@
mpi [Wed, 2 Oct 2024 10:24:11 +0000 (10:24 +0000)]
Improve responsiveness in OOM situations & make free target checks coherent.
Remove a change introduced in NetBSD to pageout 4 times as many pages as
required to meet the low water mark of free pages. With todays' Gbs of
RAMs, it makes the pagedaemon hog the CPU for too long when the amount of
free pages is close to none.
ok sthen@, kettenis@
mpi [Wed, 2 Oct 2024 10:17:28 +0000 (10:17 +0000)]
Return number of freed pages in uvm_pmr_cache_drain().
ok kettenis@
mpi [Wed, 2 Oct 2024 10:12:52 +0000 (10:12 +0000)]
Switch PV pool allocator to use km_alloc(9) instead of uvm_km_kmemalloc(9).
Reduce differences between pmaps & allow us to remove another deprecated
allocator.
ok phessler@, miod@
claudio [Wed, 2 Oct 2024 09:45:29 +0000 (09:45 +0000)]
No need to check as->established before calling pfkey_remove().
Remove the extra checks in the caller and simplify some code because of that.
OK tb@
tb [Wed, 2 Oct 2024 09:14:08 +0000 (09:14 +0000)]
Adding pkg_add from stdin hasn't worked in ages. It was something
we inherited from the initial implemention on FreeBSD which has
made no sense in years.
prompted by a diff by Johannes Thyssen Tishman
from espie
nicm [Wed, 2 Oct 2024 08:06:45 +0000 (08:06 +0000)]
Report shifted keys like S-A as A not as S-A in mode 1 extended keys,
from Stanislav Kljuhhin.
tb [Tue, 1 Oct 2024 18:48:29 +0000 (18:48 +0000)]
Extend Log->system to support the same features as BaseState->system
In order to support privsep in tags, we need to be able to pass some
code values in child/parent.
from espie, tested by sthen, ok giovanni
claudio [Tue, 1 Oct 2024 18:33:16 +0000 (18:33 +0000)]
Use auth_conf.method instead of auth_state.method. The latter is always 0.
claudio [Tue, 1 Oct 2024 18:31:10 +0000 (18:31 +0000)]
Explicitly set peer.auth_conf.method, the auth_state value is never
initialized in the SE so bgpctl did always see 0, auth_conf.method
is on the other hand properly shared.
OK tb@
claudio [Tue, 1 Oct 2024 18:29:34 +0000 (18:29 +0000)]
In merge_peers also copy over the auth_conf from the new peer to the old
since that one is kept.
OK tb@
claudio [Tue, 1 Oct 2024 18:28:17 +0000 (18:28 +0000)]
Fix typo in comment
OK tb@
claudio [Tue, 1 Oct 2024 11:50:15 +0000 (11:50 +0000)]
Adjust to the pfkey changes in bgpd.
OK tb@
claudio [Tue, 1 Oct 2024 11:49:24 +0000 (11:49 +0000)]
Rework the pfkey and tcp md5 API to not depend on struct peer.
Instead use struct auth_config and struct auth_state in the pfkey calls
and those tcp_md5 calls where it matters.
This is preparation work to allow RTR to use TCP MD5 as well.
OK tb@
nicm [Tue, 1 Oct 2024 10:10:29 +0000 (10:10 +0000)]
Add a way to make the preview larger in tree mode, GitHub issue 4124.
claudio [Tue, 1 Oct 2024 09:22:25 +0000 (09:22 +0000)]
Make it more obvious which ruadd argument is the source and which one is
the destination by adding const to the source pointer.
OK tb@
claudio [Tue, 1 Oct 2024 08:28:34 +0000 (08:28 +0000)]
Adjust ptrace interface to properly suport single threaded continue.
Introduce P_TRACESINGLE flag to instruct the trapped thread to not
wakeup the other threads (via single_thread_clear). This must be done
like this since ptrace must wake just the single thread to ensure it
runs first and gets the ps_xsig value from ptrace.
Modern gdb depends on this for multi-threaded processes, when a breakpoint
is hit gdb fixes up the trapping instruction and then single steps over
it with only that thread. After that single step gdb continues with all
threads. If all threads are run like now it is possible that one of the
other threads hits a breakpoint before the single step is done which results
in an assertion in gdb (because that is not expected).
OK mpi@
nicm [Tue, 1 Oct 2024 08:01:19 +0000 (08:01 +0000)]
Use global cursor style and colour options for modes instead of default,
GitHub issue 4117.
jsg [Tue, 1 Oct 2024 06:46:19 +0000 (06:46 +0000)]
remove unused variable
jsg [Tue, 1 Oct 2024 06:41:22 +0000 (06:41 +0000)]
drm: Expand max DRM device number to full MINORBITS
From Michal Winiarski
e615cd84dcf834e83b333bfb690fc2032b3fdb85 in linux-6.6.y/6.6.53
071d583e01c88272f6ff216d4f867f8f35e94d7d in mainline linux
jsg [Tue, 1 Oct 2024 06:36:45 +0000 (06:36 +0000)]
accel: Use XArray instead of IDR for minors
From Michal Winiarski
f6b589e361538285fdad8cf62143e3cf3b2c8b2a in linux-6.6.y/6.6.53
45c4d994b82b08f0ce5eb50f8da29379c92a391e in mainline linux