Commit Graph

306152 Commits

Author SHA1 Message Date
Ed Maste dac74b20c7 bsdinstall: Drop "Technology preview" from package sets
And refer to dist sets as "legacy."  This matches our expectation for
FreeBSD 16.0.

Reviewed by:	cperciva
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54156
2026-01-12 13:47:38 -05:00
Jose Luis Duran a551b05249 tarfs: tests: Increase timeout (again)
Bump the timeout value (a little more), to avoid cutoff on emulated
architectures on ci.freebsd.org.

Reported by:    Jenkins
Fixes:		47015e4546 ("tests: Increase timeout")
MFC after:	3 days
2026-01-12 18:17:01 +00:00
John Hall 1971c31c53 RELNOTES: Revert back to commit hash in commit a3f28d7096
inadvertently changed the commit hash to the commit on stable/15
2026-01-12 10:57:55 -07:00
Jose Luis Duran b0c2236f03 etcupdate: tests: Fix tests
Fix test login.conf files and update their MD5 checksums.

PR:		291649
Reviewed by:	imp
Fixes:		54ce6b2c4c ("login.conf.5: Remove mention of login copyright setting")
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1962
2026-01-12 17:10:48 +00:00
John Hall 2b60e628d3 RELNOTES: Correct commit hash in commit a3f28d7096 2026-01-12 09:23:43 -07:00
John Hall a3f28d7096 RELNOTES: Add entry for c558eca479 2026-01-12 09:16:35 -07:00
Mark Johnston cf34eb8264 build: Remove duplicate SUBDIR entries
Fixes:	f74f891581 ("src.opts: Introduce MK_SOUND")
2026-01-12 16:06:31 +00:00
Ed Maste 668423f75b aq(4): style(9) cleanup 2026-01-12 11:04:56 -05:00
Mark Johnston 32ec9d87ce bpf/tests: Run tests in an execenv jail
Otherwise the tests cannot be run in parallel since they create
identically named jails.

Fixes:	dd49816b0d ("bpf: avoid panic on multiple readers")
2026-01-12 15:34:43 +00:00
Mark Johnston 045112f148 grep/tests: Fix up the zgrep executable path in a newly added test
Fixes:	da5d94d29a ("Remove obsolete BUGS section from zgrep(1) man page, add test")
2026-01-12 15:34:43 +00:00
Mark Johnston 74999aac5e in6: Modify address prefix lifetimes when updating address lifetimes
When one uses SIOCAIFADDR_IN6 to add a v6 address, it's possible to set
the preferred and valid lifetimes of the address.  If the address
already exists, this ioctl will recalculate and update the expiry times
based on the provided timestamps.

When adding a new address, the lifetimes are inherited by the prefix as
well, but only if we create a new prefix.  If the prefix already exists,
as it will in the case where an address is being updated rather than
being added, we do not touch the prefix lifetimes at all.  This means
that the original address lifetime still applies to the route associated
with that prefix, so when the prefix expires, the route goes away.

This behaviour doesn't make a lot of sense: if the admin updates an
address lifetime, we should ensure that the prefix lifetime is updated
too.  Make that change, ensuring that we do not shorten the prefix
lifetime, as the prefix might be shared among multiple interface
addresses.

Add a regression test.

Co-authored by:	Franco Fichtner <franco@opnsense.org>
Reviewed by:	pouria, zlei, ae
MFC after:	2 weeks
Sponsored by:	OPNsense
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D54562
2026-01-12 15:34:43 +00:00
Mark Johnston fb08f80eaf in6: Add a helper function to compute expiry times
Tidy up a bunch of places that have the same duplicated logic.  Simplify
callers of in6_init_prefix_ltimes().  No functional change intended.

Reviewed by:	pouria, zlei, tuexen, glebius
MFC after:	2 weeks
Sponsored by:	OPNsense
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D54561
2026-01-12 15:34:43 +00:00
Alexander Ziaee 7ff1d2be5d MAINTAINERS/CODEOWNERS: Fix intro wrap + gitadm
+ svnadmin has apparently been superceeded by gitadm@
+ fix intro prose wrapping to be consistent at 72 for trad console

MFC after:	3 days
2026-01-12 09:36:18 -05:00
Alexander Ziaee 2fb7c416c8 MAINTAINERS/CODEOWNERS: Add ziaee to mandoc + man/
If you tag me on manual reviews, I will help you. I'm very intersted in
helping keep things standard and predictable across the manual. As these
files say, this is not intended to imply any desire for blocking.

MFC after:	3 days
2026-01-12 09:34:57 -05:00
Christos Margiolis f74f891581 src.opts: Introduce MK_SOUND
PR:		291853
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	zarychtam_plan-b.pwste.edu.pl, markj
Differential Revision:	https://reviews.freebsd.org/D54456
2026-01-12 16:16:35 +02:00
Christos Margiolis eccd366b0a sound: Replace MIN() with min()
We use min() in most places.

No functional change intended.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2026-01-12 14:38:39 +01:00
Christos Margiolis aa58af04dc sndctl(8): Add libxo support
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	ziaee, mckusick
Differential Revision:	https://reviews.freebsd.org/D54032
2026-01-12 14:32:32 +01:00
Olivier Certner 8342d9f7b5 asmc(4): Stop building it on i386, as it supports only 64-bit chipsets
Reported by:    ngie
Fixes:          fde9fe1821 ("i386: Fix kernel compilation after introduction of ASMC_DEBUG option")
Sponsored by:   The FreeBSD Foundation
2026-01-12 13:16:38 +01:00
Olivier Certner 9c25620e57 sys: vt_efifb: EFI not supported on i386; move it back to amd64/NOTES
We do not support EFI boot on i386.  Thus:
1. Move (back) 'device vt_efifb' from x86/NOTES to amd64/NOTES.
2. Remove 'device vt_efifb' from i386/MINIMAL.

Reported by:    jhb
Fixes:          f224591746 ("Add ASMC_DEBUG make option")
Fixes:          67599eef01 ("sys/x86/NOTES: Add vt_efifb")
Sponsored by:   The FreeBSD Foundation
2026-01-12 13:16:10 +01:00
Christos Margiolis 6b69d6726a sound: Unlock around uiomove() in midi_{read,write}()
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D54130
2026-01-12 12:27:15 +01:00
Minsoo Choo c5dc38bcc2 Remove all code under __SPE__
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1957
2026-01-12 00:51:05 -07:00
Warner Losh 7f8b4db9e0 github: Add more context to pull requests
Add code to fetch and decode CODEOWNERS and automatically @ people in
the review.

Create a new file, .github/path-rules.txt that has a set of paths to
match and specific warnings about that part of the tree. We'll use this
to try to wave off pull requests in certain areas of the tree, as well
as remind people when contrib is involved, etc.

Sponsored by:		Netflix
2026-01-12 00:18:11 -07:00
Jake Freeland 60ae4e52f3 syslogd: Terminate pipe processes gracefully
Pipe actions spawn a process based on the command provided in the
syslogd configuration file. When a HUP signal is received, enter
the process into the deadq instead of immediately killing it.
This matches the behavior of syslogd prior to it being Capsicumized.

Fixes: d2d180fb77
2026-01-12 12:40:23 +09:00
Abdelkader Boudih 2c029cff5b ads111x: Convert driver to CTLFLAG_MPSAFE
Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE for all ADC sensor
sysctls.  All of the sysctl handlers are serialized by a driver mutex.

Sysctls converted:
- dev.ads111x.X.channelN.gain_index (PGA setting)
- dev.ads111x.X.channelN.rate_index (sample rate)
- dev.ads111x.X.channelN.voltage (sampled voltage)
- dev.ads111x.X.config (configuration register)
- dev.ads111x.X.lo_thresh (comparator low threshold)
- dev.ads111x.X.hi_thresh (comparator high threshold)

Reviewed by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54620
2026-01-12 00:58:23 +00:00
Abdelkader Boudih 0672e0e38a isl: Convert driver to CTLFLAG_MPSAFE
Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE for all light sensor
sysctls.  All of the sysctl handlers are serialized by a driver mutex.

Sysctls converted:
- dev.isl.X.als (ambient light sensor)
- dev.isl.X.ir (infrared sensor)
- dev.isl.X.prox (proximity sensor)
- dev.isl.X.resolution (sensor resolution)
- dev.isl.X.range (sensor range)

Reviewed by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54621
2026-01-12 00:58:11 +00:00
Abdelkader Boudih c2a55efd74 jme: Convert driver to CTLFLAG_MPSAFE
Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE for all interrupt
coalescing sysctls. The driver uses jme_mtx mutex for proper
synchronization and does not require Giant lock.

Sysctls converted:
- dev.jme.X.tx_coal_to (TX coalescing timeout)
- dev.jme.X.tx_coal_pkt (TX coalescing packet count)
- dev.jme.X.rx_coal_to (RX coalescing timeout)
- dev.jme.X.rx_coal_pkt (RX coalescing packet count)
- dev.jme.X.process_limit (max RX events to process)

Reviewed by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54618
2026-01-12 00:58:11 +00:00
Warner Losh 0b908de1d0 CODEOWNERS: Better reflect current #bhyve
So as a proof of concept, sync the info we have with the #bhyve
phabricator group. This is imperfect, but will help test out providing
better feedback to diff submitters.

Sponsored by:		Netflix
2026-01-11 17:55:15 -07:00
Mark Johnston e3bfcf6b59 RELNOTES: Add some entries from the past several weeks
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D54628
2026-01-11 23:18:31 +00:00
Colin Percival b558c92fd0 EC2: Add extra SSM Parameter names for releases
Record releases in the SSM Parameter Store not just as e.g.
  /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE
but also as .../RELEASE/latest, e.g.
  /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE/latest

The latter parameters will be updated when new AMIs are built with
security and errata updates appplied, and have been backfilled for
15.0.

MFC after:	3 days
MFC to:		stable/15 (14.x will not get security-update AMIs)
Sponsored by:	Amazon
2026-01-11 14:32:24 -08:00
Warner Losh 9b54998d1b MAINTAINERS/CODEOWNERS: Add myself to mpr, mps and mpi3mr
Yea, I realize these are decaying, but I'm going to take a run at
automatically tagging reviews for github pull requests. I suspect that
tagging will help with the 'stale' issues with at least CODEOWNER.  As
better data becomes available, especailly for contrib, I'll update
things.

Sponsored by:		Netflix
2026-01-11 12:36:02 -07:00
Craig Leres da5d94d29a Remove obsolete BUGS section from zgrep(1) man page, add test
I forgot to check/update the man page with D54217. While here add
a test for multiple -e flags.

Reviewed by:	markj
Approved by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54632
2026-01-11 09:53:55 -08:00
Jose Luis Duran 4250d2ad99 Import latest mtree from NetBSD
Merge commit '7e59b238fcf32f3d365e78ddc702ca494e1ff68d'

This commit partially reverts the previous vendor import, given that the
"type" keyword has been historically mandatory and should not be removed
by "-R all".  This was clarified in the man page.

Reported by:	glebius
PR:		219467
MFC after:	1 week
2026-01-11 16:42:18 +00:00
Jose Luis Duran 7e59b238fc Vendor import of NetBSD's mtree at 2026-01-11 2026-01-11 16:39:28 +00:00
Dag-Erling Smørgrav 717ae16391 newfs: Add -u to getopt string
Fixes:		68562f8145 ("newfs: Add an option to disable soft updates")
2026-01-11 15:08:21 +01:00
Igor Ostapenko 8a21c17ccf kyua: Add "debug -x|--execute cmd" option
With execenv=jail specified, the "cmd" runs inside the test's jail.

Reviewed by:	ngie, markj
Differential Revision:	https://reviews.freebsd.org/D52642
2026-01-11 13:43:33 +00:00
Adrian Chadd 7afa03963c powerpc: fix release image building for Apple partitions
awk changed somewhere between 14 and 15 and it stopped accepting
a hexadecimal number as its input - it will always return 0.
This results in a very badly written apple boot block.

So just remove it; do the math in shell.

PR:		kern/292341
Differential Revision:	https://reviews.freebsd.org/D54639
Reviewed by:	imp
MFC after:	1 week
2026-01-10 23:04:57 -08:00
Simon J. Gerraty 9fed072b44 bsd.man.mk simplify staging
We actually only need the high level targets stage_files and stage_links
meta.stage.mk will take care of the details.
2026-01-10 18:59:20 -08:00
Simon J. Gerraty 9cd89fc5aa bsd.man.mk fix staging
The STAGE_SETS and STAGE_TARGETS need to match
STAGE_DIR.

For each STAGE_SET we have STAGE_DIR.${STAGE_SET}
and create a target stage_files.${STAGE_SET},
the settings all need to be self consistent to work.
2026-01-10 18:44:40 -08:00
Dag-Erling Smørgrav 68562f8145 newfs: Add an option to disable soft updates
A previous commit turned soft updates on by default for UFS2 without
providing a way to turn them off.  This corrects that by adding a new -u
flag which forces soft updates (and soft updates journaling) off.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Fixes:		61dece6d27 ("Enable soft updates by default for UFS2 filesystems.")
Reviewed by:	mckusick
Differential Revision:	https://reviews.freebsd.org/D54576
2026-01-11 03:34:18 +01:00
Navdeep Parhar 01c0005dce cxgbe(4): Move CPL-specific handling out of eth_rx
IPsec rx uses a new CPL and this prepares eth_rx for IPsec support in
future commits.

Tidy up the comment and code around M_TSTMP while here.

MFC after:	1 week
Sponsored by:	Chelsio Communications
2026-01-10 14:44:31 -08:00
Navdeep Parhar dda55f83f9 cxgbe(4): Update shared code and config files
Obtained from:	Chelsio Communications
MFC after:	1 week
Sponsored by:	Chelsio Communications
2026-01-10 14:44:31 -08:00
Navdeep Parhar 73a238643a smartpqi: Make pqisrc_is_supported_write static
This fixes a build error with -O0 and matches all the other pqisrc_is_*
routines in the file.

--- kernel.full ---
ld: error: undefined symbol: pqisrc_is_supported_write
>>> referenced by smartpqi_request.c:1799 (/.../smartpqi_request.c:1799)
>>>               smartpqi_request.o:(pqisrc_build_scsi_cmd_raidbypass)
2026-01-10 12:22:36 -08:00
Gleb Smirnoff 509a185dd9 net80211: fix bpf tap leak on wlan(4) detach
PR:	292337
Fixes:	8774a990ee
2026-01-10 10:56:19 -08:00
Warner Losh 3ae56f659a Revert "ophgo: import new .dts"
This reverts commit b55d106df9.

Per request of original author, manu, and mmel, revert this
change. While this is a genuinely cool device, there's some issues that
need to be sorted out before moving forward:

o Imported dt-bindings that weren't used and could interfere in the
  future.
o no platform code for sophgo, though it likely needs it
o Potential interference from the dts/dtsi files imported for future
  linux device-tree imports. These are the dts files from the vendor
  sdk, and history has down often upstream introduces enough change
  that keeping them here in the mean time lays the groundwork for
  merge conflicts in the future.

That makes this import premature.  Revert until it's more mature.
2026-01-10 08:08:30 -07:00
Martin Filla b55d106df9 ophgo: import new .dts
Signed-off-by: Martin Filla <freebsd@sysctl.cz>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1844
2026-01-09 22:05:38 -07:00
Ricardo Branco 3e8619e535 bsdinstall: Create separate datasets for directories in /usr/ports
Both distfiles & packages contain compressed files.

Signed-off-by: Ricardo Branco <rbranco@suse.de>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1873
2026-01-09 22:05:37 -07:00
Minsoo Choo c29ec2ee98 cddl: remove sparc and mips code
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1910
2026-01-09 22:05:37 -07:00
Brad Smith e28529ca4d rge: Add to amd64 GENERIC and to sys/conf/NOTES
Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D54609
2026-01-09 19:57:17 -08:00
Guilherme Augusto de Souza Candinho 849c0eb070 Comments: FreeBSD.conf should not be overwritten
The files /usr/sbin/pkg/FreeBSD.conf.* currently set base repo to {enable: no}.
We don't want to overwrite /local/etc/pkg/repos/FreeBSD.conf that already exists
when users choose tech preview in the installation.

Signed-off-by: Guilherme Augusto de Souza Candinho <cndghm@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1925
2026-01-09 19:41:13 -07:00
CismonX 17ba6f4286 fusefs: support FUSE_IOCTL
MFC After: 1 week
Signed-off-by: CismonX <admin@cismon.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1470
2026-01-09 17:06:21 -07:00