[Midnightbsd-cvs] [MidnightBSD/src] 50f1a6: trim.8: minor update for manual page
Dimitry Andric
noreply at github.com
Sun Jan 18 16:58:46 EST 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 50f1a696bee4ad96beb0cc684ffd5051183209f7
https://github.com/MidnightBSD/src/commit/50f1a696bee4ad96beb0cc684ffd5051183209f7
Author: Eugene Grosbein <eugen at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M usr.sbin/trim/trim.8
Log Message:
-----------
trim.8: minor update for manual page
Further explain that trim(8) is not for trimming free blocks
in populated file systems/ZFS pools, as people still take it wrong sometimes.
(cherry picked from commit dbc4a1c69191909a7210cad6da46b755557d0d34)
(cherry picked from commit b2f8d46d898fb50222aefca47d687a852c647b2f)
Commit: 100362d2cdc37be73965315e91e7b9bb68c011bf
https://github.com/MidnightBSD/src/commit/100362d2cdc37be73965315e91e7b9bb68c011bf
Author: John Baldwin <jhb at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M sys/netlink/netlink_snl.h
Log Message:
-----------
netlink: Don't overwrite existing data in a linear buffer in snl_writer
First, a bit of background on some of the data structures netlink uses
to manage data associated with a netlink connection.
- struct linear_buffer contains a single virtually-contiguous buffer
of bytes. Regions of this buffer are suballocated via lb_allocz()
which uses a simple "bump" where the buffer is split into an
allocated region at the start and a free region at the end. Each
allocation "bumps" the boundary (lb->offset) forward by the
allocation size.
Individual allocations are not freed. Instead, the entire buffer is
freed once all of the allocations are no longer in use.
Linear buffers also contain an embedded link to permit chaining
buffers together.
- snl_state contains various state for a netlink connection including
a chain of linear buffers. This chain of linear buffers can contain
allocations for netlink messages as well as other ancillary data
buffers such as socket address structures. The chain of linear
buffers are freed once the connection is torn down.
- snl_writer is used to construct a message written on a netlink
connection. It contains a single virtually-contiguous buffer
(nw->base) allocated from the associated snl_state's linear buffer
chain. The buffer distinguishes between the amount of space
reserved from the underlying allocator (nw->size) and the current
message length actually written (nw->offset). As new chunks of data
(e.g. netlink attributes) are added to the write buffer, the buffer
is grown by snl_realloc_msg_buffer by reallocating a larger buffer
from the associated snl_state and copying over the current message
data to the new buffer.
Commit 0c511bafdd5b309505c13c8dc7c6816686d1e103 aimed to fix two bugs
in snl_realloc_msg_buffer.
The first bug is that snl_realloc_msg_buffer originally failed to
update nw->size after growing the buffer which could result in
spurious re-allocations when growing in the future. It also probably
could eventually lead to overflowing the buffer since each
reallocation request was just adding the new bytes needed for a chunk
to the original 'nw->size' while 'nw->offset' kept growing.
Eventually the new 'nw->offset' would be larger than 'nw->size + sz'
causing routines like snl_reserve_msg_data_raw() to return an
out-of-bounds pointer.
The second change in this commit I think was trying to fix the buffer
overflows due to 'nw->size' being wrong, but instead introduced a new
set of bugs. The second change ignored the returned pointer from
snl_allocz() and instead assumed it could use all of the
currently-allocated data in the current linear buffer. This is only
ok if the only data in the linear buffer chain for the associated
snl_state is the snl_writer's message buffer. If there is any other
data allocated from the snl_state, it could be earlier in the current
linear buffer, so resetting new_base to nw->ss->lb->base can result in
overwriting that other data. The second change was also
over-allocating storage from the underlying chain of linear buffers
(e.g. a writer allocation of 256 followed by 512 would end up using
the first 512 bytes, but 768 bytes would be reserved in the underlying
linear buffer).
To fix, revert the second change keeping only the fix for 'nw->size'
being wrong.
Reviewed by: igoro, markj
Fixes: 0c511bafdd5b ("netlink: fix snl_writer and linear_buffer re-allocation logic")
Sponsored by: AFRL, DARPA
Differential Revision: https://reviews.freebsd.org/D54148
(cherry picked from commit 255af72c8059b0117db646f82efa2e4848fa7570)
Commit: cf5fbf978ce4a4a11088adc4e5fcad084b5c47de
https://github.com/MidnightBSD/src/commit/cf5fbf978ce4a4a11088adc4e5fcad084b5c47de
Author: Paweł Krawczyk <p+freebsd at krvtz.net>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M libexec/atrun/atrun.man
Log Message:
-----------
at cron file is now in /etc/cron.d
PR: 243380
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1106
(cherry picked from commit 783baf00128f6cf6fc08404eaad6a11b29d4025d)
Commit: 37b486e8eb813e39430ac55ec655b9a601ca0786
https://github.com/MidnightBSD/src/commit/37b486e8eb813e39430ac55ec655b9a601ca0786
Author: Michael Osipov <michaelo at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M usr.sbin/bhyve/bhyve.8
Log Message:
-----------
bhyve.8: Fix consistency and terms in manpage
Correct inconsistent spelling of terms and duplication.
Reviewed by: ziaee
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D54332
(cherry picked from commit 5819f8b285fc55a75e5dea56ffe73b376525150c)
Commit: 464594d29ab910aa68cf85fdf1bd9f139d2b8416
https://github.com/MidnightBSD/src/commit/464594d29ab910aa68cf85fdf1bd9f139d2b8416
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M lib/libcuse/cuse_lib.c
Log Message:
-----------
cuse(3): annotate cuse_init() to suppress thread safety analysis
This avoids warnings from clang 21, similar to:
/usr/src/lib/libcuse/cuse_lib.c:111:14: error: writing variable 'h_cuse' requires holding mutex 'm_cuse' exclusively [-Werror,-Wthread-safety-analysis]
111 | TAILQ_INIT(&h_cuse);
| ^
/usr/src/lib/libcuse/cuse_lib.c:111:14: error: writing variable 'h_cuse' requires holding mutex 'm_cuse' exclusively [-Werror,-Wthread-safety-analysis]
/usr/src/lib/libcuse/cuse_lib.c:112:14: error: writing variable 'h_cuse_entered' requires holding mutex 'm_cuse' exclusively [-Werror,-Wthread-safety-analysis]
112 | TAILQ_INIT(&h_cuse_entered);
| ^
/usr/src/lib/libcuse/cuse_lib.c:112:14: error: writing variable 'h_cuse_entered' requires holding mutex 'm_cuse' exclusively [-Werror,-Wthread-safety-analysis]
MFC after: 3 days
(cherry picked from commit 5629b5cf79934e0b94ddbbd93b7756f74fe4050a)
Commit: 0ae7168dd33e17a29552aaecb329f1531fde4acd
https://github.com/MidnightBSD/src/commit/0ae7168dd33e17a29552aaecb329f1531fde4acd
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M lib/clang/libllvm/Makefile
M lib/clang/llvm.build.mk
Log Message:
-----------
Reduce number of external symbols in libllvm, libclang and liblldb
In commit 2e47f35be5dc libllvm, libclang and liblldb were converted into
private shared libraries. This allowed clang, lld, lldb, and other llvm
tools to be linked against these shared libraries, which makes them
smaller and avoids duplication.
However, upstream builds the shared libraries using several visibility
options, which reduces the number of external symbols, and makes the
libraries a bit smaller.
On my test machine:
* libprivatellvm.so goes from 75643 to 34706 symbols (~54% reduction)
* libprivateclang.so goes from 53250 to 33531 symbols (~37% reduction)
* libprivatelldb.so goes from 27242 to 18798 symbols (~31% reduction)
Note: to get the full benefit, a clean build is required. Incremental
builds should still work, but I didn't want to force a full rebuild on
everybody.
MFC after: 1 week
(cherry picked from commit cf1eaaf41cefe7e3aef45f6dab862191a3939ed8)
Commit: 7124148fa711eaba3e9afecb73ba1bd7b93f5d3c
https://github.com/MidnightBSD/src/commit/7124148fa711eaba3e9afecb73ba1bd7b93f5d3c
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M lib/clang/libllvm/Makefile
Log Message:
-----------
Remove debug crutch I accidentally left in
Fixes: cf1eaaf41cef
MFC after: 1 week
(cherry picked from commit 3b1126208f44a90c7dc04a87207e54b22d45893c)
Commit: f79c83bbba52b18464fba79167cf57f71b524dea
https://github.com/MidnightBSD/src/commit/f79c83bbba52b18464fba79167cf57f71b524dea
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M usr.sbin/pmcannotate/pmcannotate.c
Log Message:
-----------
pmcannotate: avoid accessing uninitialized local variables
Initialize `tbfl` and `tofl` to NULL, and check whether they are
non-NULL before calling remove(3) on them, to avoid warnings from clang
21 similar to:
usr.sbin/pmcannotate/pmcannotate.c:746:3: error: variable 'tbfl' is uninitialized when used here [-Werror,-Wuninitialized]
746 | FATAL(exec, "%s: Impossible to locate the binary file\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
747 | exec);
| ~~~~~
usr.sbin/pmcannotate/pmcannotate.c:57:9: note: expanded from macro 'FATAL'
57 | remove(tbfl); \
| ^~~~
usr.sbin/pmcannotate/pmcannotate.c:695:12: note: initialize the variable 'tbfl' to silence this warning
695 | char *tbfl, *tofl, *tmpdir;
| ^
| = NULL
usr.sbin/pmcannotate/pmcannotate.c:746:3: error: variable 'tofl' is uninitialized when used here [-Werror,-Wuninitialized]
746 | FATAL(exec, "%s: Impossible to locate the binary file\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
747 | exec);
| ~~~~~
usr.sbin/pmcannotate/pmcannotate.c:58:9: note: expanded from macro 'FATAL'
58 | remove(tofl); \
| ^~~~
usr.sbin/pmcannotate/pmcannotate.c:695:19: note: initialize the variable 'tofl' to silence this warning
695 | char *tbfl, *tofl, *tmpdir;
| ^
| = NULL
MFC after: 3 days
(cherry picked from commit cd880010c49a5d4ec529f4204d4e88cd27727255)
Commit: 95689ab1d44e61213b11d78cdbe584f90e51a0ca
https://github.com/MidnightBSD/src/commit/95689ab1d44e61213b11d78cdbe584f90e51a0ca
Author: Alex Richardson <arichardson at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M sys/sys/cdefs.h
M tools/build/cross-build/include/common/sys/cdefs.h
Log Message:
-----------
cdefs.h: Introduce __nonstring attribute
This attribute can be used to annotate char arrays that are not supposed to
be terminated with a NUL char and is needed to silence clang's new
-Wunterminated-string-initialization warning. The name matches linuxkpi.
Reviewed by: emaste, jhb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D52565
(cherry picked from commit 802c6d5d61d15494a54a386dc2ffbcfefc68c8ab)
Commit: 64a3373bd856c8cc13e1e10cc6b6e9e4fc9859eb
https://github.com/MidnightBSD/src/commit/64a3373bd856c8cc13e1e10cc6b6e9e4fc9859eb
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M tools/build/Makefile
Log Message:
-----------
tools.build: add sys/cdefs.h to SYSINCS, since lots of other headers use it
This is needed to let the legacy stage compile against newer versions of
sys/font.h, which transitively includes sys/cdefs.h, and requires the
new __nonstring macro from it.
Fixes: e2c93ed09f25
MFC after: 3 days
(cherry picked from commit 1c9ff80f06350fa44b7e50ce09ad665ab0082abb)
Commit: d6907d0c769b0f6da6f3095e6bc9b0fa4c0ff305
https://github.com/MidnightBSD/src/commit/d6907d0c769b0f6da6f3095e6bc9b0fa4c0ff305
Author: Ayrton Munoz <a.munoz3327 at gmail.com>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M tools/build/Makefile
Log Message:
-----------
cross-build: Avoid adding <sys/cdefs.h> to SYSINCS
Summary:
The sys/cdefs.h in src is incompatible with glibc's sys/cdefs.h so
cross-building broke when the former was added to SYSINCS in 1c9ff80f06. This
commit adds a guard around that to only do that when building on FreeBSD. This
should fix github CI.
Test Plan:
Ran buildkernel using tools/build/make.py on linux in github CI and
locally on FreeBSD to double check nothing broke.
Reviewed by: dim
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D54385
(cherry picked from commit b6672803a1cf10dd1c912fe6571a8d426b8868bd)
Commit: 6fcd6db0ffec11e77eb74becc0424b62962b7e53
https://github.com/MidnightBSD/src/commit/6fcd6db0ffec11e77eb74becc0424b62962b7e53
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M sbin/fsck_msdosfs/dir.c
Log Message:
-----------
fsck_msdosfs: avoid warnings about too-long initializer strings
Mark `dot_name` and `dotdot_name` as as `__non_string`, to avoid
warnings from clang 21 similar to:
sbin/fsck_msdosfs/dir.c:466:39: error: initializer-string for character array is too long, array size is 11 but initializer has size 12 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
466 | static const u_char dot_name[11] = ". ";
| ^~~~~~~~~~~~~
sbin/fsck_msdosfs/dir.c:467:39: error: initializer-string for character array is too long, array size is 11 but initializer has size 12 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
467 | static const u_char dotdot_name[11] = ".. ";
| ^~~~~~~~~~~~~
MFC after: 3 days
(cherry picked from commit 98c3d868fb5a7da7356c58e8c51423975bbd078b)
Commit: 3ca4f27a32f7f4e49a33c7122b372bb66440c5aa
https://github.com/MidnightBSD/src/commit/3ca4f27a32f7f4e49a33c7122b372bb66440c5aa
Author: Eric Blake <eblake at redhat.com>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M usr.bin/m4/misc.c
Log Message:
-----------
m4: Fix OOB access displaying MIN_INT
Previously displaying INT_MIN resulted in an out of bounds access to
digits[-8]. In twos-complement -INT_MIN is still negative.
PR: 287013
Reviewed by: emaste
(cherry picked from commit ab4edcd552c967a400e85afc0fd3e6729fa9ee2c)
Commit: 10c2ae731d0f335a00b6e84ea782ba0050e533c0
https://github.com/MidnightBSD/src/commit/10c2ae731d0f335a00b6e84ea782ba0050e533c0
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M usr.bin/m4/misc.c
Log Message:
-----------
m4: avoid warnings about too-long initializer strings
Mark `digits` as `__non_string`, to avoid warnings from clang 21 similar
to:
usr.bin/m4/misc.c:123:27: error: initializer-string for character array is too long, array size is 36 but initializer has size 37 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
123 | static char digits[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MFC after: 3 days
(cherry picked from commit a3394b6a23fb66ccb7e588129d2465ef8ea26d30)
Commit: a76a49daf1d468a3f87149bf49911fe54c859c85
https://github.com/MidnightBSD/src/commit/a76a49daf1d468a3f87149bf49911fe54c859c85
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M usr.sbin/makefs/msdos/direntry.h
Log Message:
-----------
makefs: avoid warnings about too-long initializer strings
Mark `direntry::deName` as `__non_string`, to avoid warnings from clang
21 similar to:
usr.sbin/makefs/msdos/msdosfs_vnops.c:512:4: error: initializer-string for character array is too long, array size is 11 but initializer has size 12 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
512 | { ". ", /* the . entry */
| ^~~~~~~~~~~~~
usr.sbin/makefs/msdos/msdosfs_vnops.c:522:4: error: initializer-string for character array is too long, array size is 11 but initializer has size 12 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
522 | { ".. ", /* the .. entry */
| ^~~~~~~~~~~~~
MFC after: 3 days
(cherry picked from commit ba0a11512237681fc621670023d56195cb8c82ad)
Commit: d7e23512666d76f78b76cb039636c7d31dd5c21d
https://github.com/MidnightBSD/src/commit/d7e23512666d76f78b76cb039636c7d31dd5c21d
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c
Log Message:
-----------
bsnmpd: avoid warnings about too-long initializer strings
Mark `UTC` as `__non_string`, to avoid a warning from clang 21 similar
to:
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c:339:29: error: initializer-string for character array is too long, array size is 3 but initializer has size 4 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
--- all_subdir_usr.sbin ---
339 | static const char UTC[3] = "UTC";
| ^~~~~
MFC after: 3 days
(cherry picked from commit 3054e22e4524df24908d7e9379681c1ccf829b93)
Commit: 0cb2f4a8aedc22103206e6e22c0e94f7eb9f062b
https://github.com/MidnightBSD/src/commit/0cb2f4a8aedc22103206e6e22c0e94f7eb9f062b
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M sys/sys/font.h
Log Message:
-----------
sys/font.h: avoid warnings about too-long initializer strings
Mark `font_header::fh_magic` as `__non_string`, to avoid a warning from
clang 21 similar to:
/usr/src/usr.bin/vtfontcvt/vtfontcvt.c:763:15: error: initializer-string for character array is too long, array size is 8 but initializer has size 9 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
763 | .fh_magic = FONT_HEADER_MAGIC,
| ^~~~~~~~~~~~~~~~~
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/font.h:109:27: note: expanded from macro 'FONT_HEADER_MAGIC'
109 | #define FONT_HEADER_MAGIC "VFNT0002"
| ^~~~~~~~~~
MFC after: 3 days
(cherry picked from commit e2c93ed09f259ed049923bdaa9b697b3586e2f1a)
Commit: 6485241b89878b4cd29b355068c279256ad1c0e8
https://github.com/MidnightBSD/src/commit/6485241b89878b4cd29b355068c279256ad1c0e8
Author: Michael Osipov <michaelo at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M usr.sbin/bhyve/bhyve.8
M usr.sbin/bhyve/bhyve_config.5
Log Message:
-----------
bhyve: Document that MAC address has to be unicast
bhyve accepts any MAC address even foreign as long it is a unicast one.
Reviewed by: ziaee
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D54372
(cherry picked from commit e1bfd541c7cdee1e184cacb2ea3bbebb3a500dfb)
Commit: a304b6be279d3aaf806918ec04bf2ce2202f8fd0
https://github.com/MidnightBSD/src/commit/a304b6be279d3aaf806918ec04bf2ce2202f8fd0
Author: Michael Osipov <michaelo at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M usr.sbin/bhyve/bhyve_config.5
Log Message:
-----------
bhyve_config.5: Fix consistency and terms in manpage
Correct inconsistent spelling of terms and duplication.
Reviewed by: ziaee
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D54370
(cherry picked from commit 66604463e737f4754ae6268171031ceefc226837)
Commit: f6fbaeced2a8aa8f75b8c9fff2fc4d18cb1a20d0
https://github.com/MidnightBSD/src/commit/f6fbaeced2a8aa8f75b8c9fff2fc4d18cb1a20d0
Author: Lexi Winter <lexi at le-Fay.ORG>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M sys/sys/cdefs.h
Log Message:
-----------
sys/cdefs.h: add __noexcept and __noexcept_if
These macros provide the C++11 noexcept and noexcept(...) keywords if
we're compiling in a C++11 environment. Otherwise, they expand to an
empty string.
This will be used to add the required noexcept specifier to several libc
functions as required in C++11.
MFC after: 2 weeks
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1085
(cherry picked from commit 02b0d4b688cc4deb14cb6e7534a2a4958e48b753)
Commit: b8538b77ad481a0e41f6a046549085149ecd4545
https://github.com/MidnightBSD/src/commit/b8538b77ad481a0e41f6a046549085149ecd4545
Author: Warner Losh <imp at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M sys/compat/linuxkpi/common/include/linux/compiler.h
M sys/sys/cdefs.h
Log Message:
-----------
cdefs: Add __deprecated
Add __deprecated decorator. This is for a deprecated interface. copystr
is tagged with this today in copy(9), but don't actually provide it or
use it. copystr is a #define so adding it will have to wait.
LinuxKPI was defining this away completely in compiler.h. Since this is
shared between Linux KPI consumers and OpenZFS, if it's already defined,
use the FreeBSD sys/cdefs.h version, otherwise define it away. For
OpenZFS this will retain it, while for Linux KPI it will tend to drop it
(I think always, but I didn't look at everything).
Sponsored by: Netflix
Reviewed by: jhb, emaste
Differential Revision: https://reviews.freebsd.org/D46137
(cherry picked from commit 16672453f12586703f1c51d909bd1900691bf884)
Commit: 778a787ede68c3c18d8ac7597b0209abe5c87e92
https://github.com/MidnightBSD/src/commit/778a787ede68c3c18d8ac7597b0209abe5c87e92
Author: John Baldwin <jhb at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M sys/sys/cdefs.h
Log Message:
-----------
cdefs: Add __deprecated1 which accepts a message as an argument
This message will be included in any warning issued by the compiler
for use of the deprecated function.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D47701
(cherry picked from commit 6da04bcff9efedeae7d4046553002b9e3b2bc24f)
Commit: c01dd1b0bf7103fe25c9fd5235b6434489d6cc85
https://github.com/MidnightBSD/src/commit/c01dd1b0bf7103fe25c9fd5235b6434489d6cc85
Author: Dimitry Andric <dim at FreeBSD.org>
Date: 2026-01-18 (Sun, 18 Jan 2026)
Changed paths:
M sys/contrib/openzfs/include/os/freebsd/linux/compiler.h
Log Message:
-----------
Remove __deprecated definition from OpenZFS compiler.h
Since it is now provided by <sys/cdefs.h>.
Direct commit to stable/13, since OpenZFS compiler.h has been
substantially changed in newer branches.
Compare: https://github.com/MidnightBSD/src/compare/052979e7c564...c01dd1b0bf71
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list