lang/rust: fix -gdb RUN_DEPENDS for following MODCLANG_VERSION
make RUN_DEPENDS-gdb to depends on MODCLANG_VERSION (without hardcoding the version)
noticed by tb@
Use temporary buffer to copyout login name within sys_getlogin_r().
Load the session pointer to the `s' variable after new login name
was copied from the userland within sys_setlogin().
ok deraadt claudio
In inteldrm_activate(), move the rasops_show_screen() call to before
drm_client_dev_restore(). The same order as inteldrm_doswitch() and
inteldrm_enter_ddb().
x509_verify: fix incorrect purpose check in the non-legacy path
If a purpose is configured on the verify context (which it currently
never is), this check would only accept certificates for which the
purpose check fails. Also, this code is not currently reachable from
public API since x509_verify() is only ever called with a legacy xsc
set on the verify ctx, so x509_verify_ccert_extensions() takes the
path returning 1 earlier.
X509_check_purpose() is one of these strange legacy APIs. It returns -1
on error, 0 if the cert fails the purpose check, 1 if it passes it and
values between 2 and 5 indicate various legacy garbage meaning that the
cert might possibly have been fit for this purpose until around a quarter
century ago. While for CA certs the checks in "No we don't care about ..."
exclude return values > 1, it is still possible for the S/MIME purpose
to return 2 due to a workaround for some buggy NS certs, for example.
In short: anything but 1 means unfit for the purpose or at best dubious,
so reject such certs.
[4 lines not shown]
drm/i915/psr: Use DC_OFF wake reference to block DC6 on vblank enable
From Jouni Hogander
21bfa15a89d888d37e4881d64fc473cb85f4697a in linux-6.18.y/6.18.35
3549a9649dc7c5fc586ab12f675279283cdcb2a7 in mainline linux
drm/amdgpu: check num_entries in GEM_OP GET_MAPPING_INFO
From Ziyi Guo
f059b4c493df3e54fe3ffe4658009c31864275da in linux-6.18.y/6.18.35
a1ba4594232c87c3b8defd6f89a2e40f8b08395d in mainline linux
drm/amdgpu: fix calling VM invalidation in amdgpu_hmm_invalidate_gfx
From Christian Koenig
fa372f4e8aeff6d0d3dd2f14b9165b4013e72a6d in linux-6.18.y/6.18.35
1c824497d8acd3187d585d6187cedc1897dcc871 in mainline linux
drm/amdgpu: fix lock leak on ENOMEM in AMDGPU_GEM_OP_GET_MAPPING_INFO
From Michael Bommarito
1eb86334e391695d4a40743b114afc15df4dc506 in linux-6.18.y/6.18.35
2e7f55eb408c3f72ee1957a0d0ad11d8648a6379 in mainline linux
drm/amdkfd: Check for pdd drm file first in CRIU restore path
From David Francis
275396bf71c4d30a2a86ccf078f732cc9fe17e26 in linux-6.18.y/6.18.35
6842b6a4b72da9b2906ffc5ca9d846ace2c54c14 in mainline linux
drm/amdkfd: fix a vulnerability of integer overflow in kfd debugger
From Eric Huang
5cf4a41aa0d74e4c83f82d2ce233b5189ed4b43c in linux-6.18.y/6.18.35
93f5534b35a05ef8a0109c1eefa800062fee810a in mainline linux
drm/amdkfd: fix NULL pointer bug in svm_range_set_attr
From Eric Huang
2f9c3c161692f5bf1436e869a651bed10936e071 in linux-6.18.y/6.18.35
e984d61d92e702096058f0f828f4b2b8563b88ce in mainline linux
drm/amd/pm/si: Disregard vblank time when no displays are connected
From Timur Kristof
ffa7dce35b64fc5cfce56fe9f164c708a6b5ca54 in linux-6.18.y/6.18.35
dd4f3ee535b3b0ac027f75dbf9dc5fc88733c765 in mainline linux
drm/i915: Fix potential UAF in TTM object purge
From Janusz Krzysztofik
c9ae7e7e3bc98615364313b08d7acea5239ded0b in linux-6.18.y/6.18.35
5c4063c87a619e4df954c179d24628636f5db15f in mainline linux
Remove the buffer flipper
This makes the buffer cache have only one clean cache,
and to not care about where memory is allocated from.
IO devices are expected to be able to handle IO from a
buf at any physical address.
ok kettenis@ deraadt@
drm/i915/psr: Block DC states on vblank enable when Panel Replay supported
From Jouni Hogander
fed64e47a32f390fb3a0fc7c87b8ef96c8897333 in linux-6.18.y/6.18.35
8bb9093df555f9e89fdbe1405118b11384c03e04 in mainline linux
drm/gem: fix race between change_handle and handle_delete
From Zhenghang Xiao
0dfa42cfe4dbe114533480503934f43e33c1e83d in linux-6.18.y/6.18.35
7164d78559b0ff29931a366a840a9e5dd53d4b7c in mainline linux
drm/i915/psr: Apply Intel DPCD workaround when SDP on prior line used
From Jouni Hogander
487393023feb57ce5305e00eaae21dd50520f3d0 in linux-6.18.y/6.18.35
4703049f768fc1c1caac754134118bee1a3af189 in mainline linux
drm/i915/psr: Read Intel DPCD workaround register
From Jouni Hogander
c058cf6b84c131c3f535f5fd08ec6eba1e9da9df in linux-6.18.y/6.18.35
f30bece421a4ae34359254e1dc2a187a42b6af9b in mainline linux
drm/i915/psr: Add defininitions for INTEL_WA_REGISTER_CAPS DPCD register
From Jouni Hogander
dd4cbab2a446d87b94f8337e38653a0f9a679ded in linux-6.18.y/6.18.35
fbceb39b536e40c2f7cc47ab42037bb7c2b7ced9 in mainline linux
oops, build succeded but I obviously didn't run 'make package', the
mod_mgmtmode module was removed between 4.0.2 and 4.0.3. regen plist
to unbreak. problem reported by naddy.