libsys: Split out a new libsys_private.h from libc's libc_private.h
Downstream we have accidentally ended up referencing libc symbols from
within libsys, which went unnoticed because in practice libc is always
loaded whenever libsys is. Split out a new header to detect such cases
at build time, without relying solely on the test recently added in
493c84741c45 ("libsys: add test checking that -lsys alone is linkable").
Note we still add libc to the compiler's include path for compat.h and
(un-)namespace.h, but none of these provide declarations. Ideally that
would also be refactored, but that is a more invasive change.
Copyright header copied from those added by kib@ in 8495e8b1e9e1 ("Fix
known issues which blow up the process after dlopen("libthr.so") (or
loading a dso linked to libthr.so into process which was not linked
against threading library)."), the commit that introduced what is almost
all the code in this header; none of this code originates from jb@, to
whom libc_private.h is attributed.
[3 lines not shown]
[Bazel] Fix libc build after dfd4bf2 (#247379)
This introduced a new header that the bazel build didn't know about. Add
it to the BUILD files to get the build working again.
libfetch: Fix buffer overruns in FTP code
* When parsing the reply to a CWD, PWD, or CDUP command, if we ran out
of space in the destination buffer, we would correctly terminate the
loop, but then incorrectly see the remaining length as non-zero,
causing us to write a terminating NUL one past the end of the buffer
and report success instead of a protocol error. Additionally, the
code would fail to notice an improperly terminated pathname, and was
hard to follow, so rewrite the entire loop.
* When comparing the current working directory to the intended working
directory to calculate the minimal operation to get from one to the
other, if the current working directory was an empty string, we would
improperly read one byte below the start of the intended working
directory.
MFC after: 1 week
Reported by: Laam Alif at Ibteda Digital Library
Differential Revision: https://reviews.freebsd.org/D61502
[2 lines not shown]
libfetch: Fix buffer overruns in FTP code
* When parsing the reply to a CWD, PWD, or CDUP command, if we ran out
of space in the destination buffer, we would correctly terminate the
loop, but then incorrectly see the remaining length as non-zero,
causing us to write a terminating NUL one past the end of the buffer
and report success instead of a protocol error. Additionally, the
code would fail to notice an improperly terminated pathname, and was
hard to follow, so rewrite the entire loop.
* When comparing the current working directory to the intended working
directory to calculate the minimal operation to get from one to the
other, if the current working directory was an empty string, we would
improperly read one byte below the start of the intended working
directory.
MFC after: 1 week
Reported by: Laam Alif at Ibteda Digital Library
Differential Revision: https://reviews.freebsd.org/D61502
[2 lines not shown]
kern.post.mk: Fix unprivileged ports module build
When building ports modules along with the kernel, we run the build
target during buildkernel, and the install target during installkernel.
This was fine back in the day when we installed ports straight from the
working directory, but these days we stage them first, then build a
package, and install the package. This staging and packaging should be
seen as part of the build process, not the installation process, so we
should use the package target, rather than the build target, during
buildkernel.
This fixes an issue where doing buildkernel as an unprivileged user,
then installkernel as root, left a root-owned staging directory in the
kernel object tree which the next unprivileged buildkernel would be
unable to remove or replace.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D62195
linuxkpi: Make list_sort stable
Linux's list_sort() is intended to be stable, but linuxkpi implemented
it as a wrapper around qsort(), which is not. This used to work because
our qsort() had a bug that effectively turned it into insertion sort,
but this is no longer the case. Replace the qsort() call with an inline
implementation of insertion sort.
MFC after: 1 week
Reviewed by: bz, markj
Differential Revision: https://reviews.freebsd.org/D62194
drm/amdgpu: fix the error handling of amdgpu_vm_init_entities()
From Jesse Zhang
70fd726ff1da1dd42b3eeecf6bb077109c510d5e in linux-6.18.y/6.18.66
de0f2a6eabd019a3129025862bffca934a5d7180 in mainline linux
drm/amdkfd: skip GPUs without a VM when checkpointing the BO mappings
From Jesse Zhang
38398012ed59d54cbf8dbb3b7645f1700960f3d0 in linux-6.18.y/6.18.66
1a5ca15b558bf0e6621602c84e0a633d237dd052 in mainline linux
drm/amd/display: declare amdgpu_dm_atomic_state_template as an event class
From Melissa Wen
39db31551eb41760669bd5f45fd22351d563e21d in linux-6.18.y/6.18.66
6c4f8c5cc00326f6c709bff0d640d504c90862ca in mainline linux
drm/connector: hdmi: Handle reset() state allocation failure
From Cristian Ciocaltea
f97a85e71616c6c3460d913c66e44684a84df32e in linux-6.18.y/6.18.66
54acd0c74eba2a2c9a726856f5fdc6f9e74ea2e1 in mainline linux
drm/i915/display: Disable pipe joiner on WCL
From Vidya Srinivas
fd7923851298d60e1566f6a8579db099523c5124 in linux-6.18.y/6.18.66
b42b656db1384255044754cd2163d370d766b776 in mainline linux
drm/amd/pm: preserve committed OD features for SMU 13.0.0/13.0.7
From Kevin Wang
271dd7bb16d88c5ccaea1310f77ac0880acbfd3b in linux-6.18.y/6.18.66
6027db7db773714f2e05df82093276f2a52a1fba in mainline linux
[AMDGPU] Use a disjoint scope domain for merged LDS structs
When lowering LDS values, all the values are mutually disjoint, so we
can use the newly-added disjoint scopes feature to simplify the IR.
AI disclosure: Claude wrote this and I reviewed it and wrote the
commit message
[mlir][LLVM] Use a disjoint scope domain when inlining noalias
This matches recent changes to the LLVM inliner.
AI disclosure: Claude wrote the code, I wrote the commit message and
have done initial review.
[mlir][LLVM] Add disjointScopes to AliasScopeDomainAttr (#218772)
This also updates the MLIR-side inliner to clone disjoint domains
while cloning alias scopes, matching changes to LLVM.
AI disclosure: Claude wrote the code, I wrote the commit message and
looked at the code.
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
drm/amd/pm: track BACO state in the SMU v11 ArmD3 sequence
From Mario Limonciello
c9431b06c8fe14e6f9155b275722dd4248c113bf in linux-6.18.y/6.18.66
a26ec190925733dd205507493e936e59dbcd2b19 in mainline linux
security/ChiPass: Update ChiPass to 2026.11.0
ChiPass 2026.11.0
----
* The following security advisories originally published for KeePassXC were found to affect ChiPass and fixed: GHSA-rq29-wgrv-xgh4, GHSA-mffq-j98j-wfr2, GHSA-3448-gh8j-3227, GHSA-4642-49vv-4p43.
* Manpages are no longer installed in the wrong directory or in the wrong format. [CHIPASS-122]
* Color scheme of tray icon is detected much more robustly. [CHIPASS-138]
* Freedesktop: Dark theme detection now works properly. [CHIPASS-133]
* Handle long tap and drag touch events in the group and entry tree views. [CHIPASS-73]
* Use de facto XDG mimetype, for better interoperability. [CHIPASS-258]
* Take custom browser configuration location into account for enablement. [CHIPASS-181]
* A more appropriate locale is now used for translations on multilingual systems. [CHIPASS-128]
* SSH keys are imported from 1Password 1PUX files. [CHIPASS-148]
* Passkey credentials dialog now allows entering the title of a new entry or type the title of an existing entry with autocompletion. [CHIPASS-194]
They are aware of a Linux-specific issue where the configuration data is not migrated correctly. It will be fixed in release 2026.11.1; until that happens, you can manually copy ~/.config/keepassxc/keepassxc.ini to ~/.config/ChiPass/config.ini.