1399 Commits
Author SHA1 Message Date
Dag-Erling Smørgrav dd6a1fef0e ObsoleteFiles.inc: Add moved certificates
These two moved from trusted to untrusted.

Fixes:		21ac476142 ("ObsoleteFiles.inc: Add dropped certificates")
2026-10-20 19:55:21 +00:00
Dag-Erling Smørgrav 21ac476142 ObsoleteFiles.inc: Add dropped certificates
Reported by:	michaelo@
Fixes:		82af7f44eb ("caroot: Regenerate")
2026-10-20 19:41:00 +00:00
Olivier Certner b42793d4bc ObsoleteFiles.inc: <sys/kpilite.h> was removed
Reported by:    glebius
Fixes:          e478037df4 ("systm.h: Remove unused <sys/kpilite.h>")
Sponsored by:   The FreeBSD Foundation
2026-10-12 14:39:21 +02:00
Alan Somers 570d050f4e ncal: convert legacy TAP tests to ATF
MFC after:	2 weeks
Sponsored by:	ConnectWise
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2465
Reviewed by:	imp
2026-10-09 09:11:04 -06:00
Antoine Brodin 152dd1a0ee ObsoleteFiles.inc: add more obsolete files 2026-10-05 19:57:35 +00:00
John Baldwin 40ce54ccd9 apm(8): Remove support for APM BIOS
Drop support for queries and commands that are not supported by ACPI's
/dev/apm interface.  This includes dropping support for
enabling/disabling APM BIOS used by /etc/rc.d/apm.

Reviewed by:	ziaee, imp
Differential Revision:	https://reviews.freebsd.org/D59941
2026-09-30 12:21:45 -04:00
John Baldwin e10eb35d25 apm.4: Trim down to describing the compat interface exposed by acpi(4)
Reviewed by:	ziaee, imp
Differential Revision:	https://reviews.freebsd.org/D59938
2026-09-30 12:21:06 -04:00
John Baldwin 247503fedb apmd: Retire the APM daemon
The original purpose of this daemon was to route power management
requests to userspace, e.g. when the suspend button was pressed, the
APM driver posted an event read by apmd(8) that would invoke zzz(8) to
suspend.  However, on ACPI systems this is handled by devd(8) events
instead and running apmd(8) in addition just adds extra complexity.
This probably should have been axed when the APM BIOS support was
retired in commit 8c576a279e.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D59937
2026-09-30 12:20:02 -04:00
John Baldwin 9cfc15bdfb ObsoleteFiles.inc: Add another entry for perfmon.4.gz
This was installed in two different places.
2026-09-23 15:15:28 -04:00
Enji Cooper 9522310861 contrib/atf: upgrade to 0.26
This new version gets contrib/atf in line with the published version of
the package up on [GitHub][github].

Please note that this release is a major update: it contains several
bugfixes and feature enhancements. Most were already present in the
FreeBSD src repo, but there were a large number of changes made in
addition to what was already present.

MFC after:      1 month

Merge commit '9c78088348bcf1059d82a62bb57a0746309d4312'

Conflicts:
        contrib/atf/.cirrus.yml
        contrib/atf/Makefile.am
        contrib/atf/Makefile.in
        contrib/atf/aclocal.m4
        contrib/atf/admin/ar-lib
        contrib/atf/admin/check-style-common.awk
        contrib/atf/admin/check-style.sh
        contrib/atf/admin/compile
        contrib/atf/admin/config.guess
        contrib/atf/admin/config.sub
        contrib/atf/admin/depcomp
        contrib/atf/admin/install-sh
        contrib/atf/admin/ltmain.sh
        contrib/atf/admin/missing
        contrib/atf/atf-c++/Makefile.am.inc
        contrib/atf/atf-c++/atf-c++.3
        contrib/atf/atf-c++/atf-c++.pc.in
        contrib/atf/atf-c++/check.cpp
        contrib/atf/atf-c++/check.hpp
        contrib/atf/atf-c++/detail/Makefile.am.inc
        contrib/atf/atf-c++/detail/process_test.cpp
        contrib/atf/atf-c/Makefile.am.inc
        contrib/atf/atf-c/atf-c.3
        contrib/atf/atf-c/atf-c.pc.in
        contrib/atf/atf-c/detail/Makefile.am.inc
        contrib/atf/atf-c/detail/fs.c
        contrib/atf/atf-c/detail/fs_test.c
        contrib/atf/atf-c/detail/process_test.c
        contrib/atf/atf-c/tc.c
        contrib/atf/atf-c/tc.h
        contrib/atf/atf-sh/Makefile.am.inc
        contrib/atf/atf-sh/atf-check.cpp
        contrib/atf/atf-sh/atf-check_test.sh
        contrib/atf/bootstrap/Makefile.am.inc
        contrib/atf/bootstrap/package.m4
        contrib/atf/bootstrap/testsuite
        contrib/atf/config.h
        contrib/atf/configure
        contrib/atf/configure.ac
        contrib/atf/doc/Makefile.am.inc
        contrib/atf/doc/atf-test-case.7
        contrib/atf/m4/developer-mode.m4
        contrib/atf/m4/libtool.m4
        contrib/atf/m4/ltoptions.m4
        contrib/atf/m4/ltsugar.m4
        contrib/atf/m4/ltversion.m4
        contrib/atf/m4/lt~obsolete.m4
        contrib/atf/m4/module-defs.m4
        contrib/atf/test-programs/Makefile.am.inc

[github]: https://github.com/freebsd/atf
2026-09-22 08:23:32 -07:00
Xin LI 4523eebc6c MFV: less v710.
MFC after:	1 week
2026-09-19 11:20:29 -07:00
Mark Johnston 1b8ccb02ac lib9p: Make it a private library
lib9p was imported to add a 9p server to bhyve (and I believe this was
the original motivation for writing it in the first place).  Its
external interfaces are kind of strange (from first-hand experience
using it to implement an inetd-based 9p server) and undocumented.
Moreover, upstream has been inactive for over five years.

I suspect there are no third-party consumers.  Let's make it a private
library for now, so as to make it easier to rework external interfaces.
If we get more code written against it, symbol versioning, and some
documentation, we can revisit this decision.

PR:		297499
Reviewed by:	jhb, emaste
Differential Revision:	https://reviews.freebsd.org/D58828
2026-09-01 15:28:28 +00:00
Dag-Erling Smørgrav e2f2b182c0 ObsoleteFiles: Add missing headers
The header files for dialog, figpar, dpv were never listed.

PR:		297612
Fixes:          af202a5052 ("Retire dialog")
2026-08-21 18:03:57 +02:00
ShengYi Hung 527a82474c libusb: versioning symbols
Reviewed by:    bapt, kevans
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55686
2026-08-12 22:49:35 +08:00
Gleb Smirnoff c8f38634ed tests/netinet6: remove test that uses Jumbo Payload Option
This test was already marked as always skipped.

Fixes:	069a67374e
Reviewed by:		pouria
Differential Revision:	https://reviews.freebsd.org/D58114
2026-08-10 13:41:37 -07:00
Dimitry Andric f72cfefae9 Add a few missed files to ObsoleteFiles.inc
There were still some left-over files under usr/tests/gnu/usr.bin/diff,
causing the directory to not be fully removed. Add these to OLD_FILES.

Fixes:		134a4c78d0
2026-07-12 16:15:29 +02:00
KUROSAWA Takahiro 6a5ba658dd tests/sendfile: move the helper program to common
In order to reuse the sendfile_helper program in pf tests, move it
to tests/sys/common directory, indicatint that it is also used from
another places than sys/kern.
Also make the readlen variable static.

Reviewed by:	gelbius, kp
Differential Revision:	https://reviews.freebsd.org/D58040
2026-07-08 09:23:16 +02:00
Dag-Erling Smørgrav 134a4c78d0 Retire the GNU subtree
With GNU diff and cdialog gone, this is now an empty shell.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D55425
2026-07-07 08:47:40 +02:00
Dag-Erling Smørgrav af202a5052 Retire dialog
This is the last remaining piece of GPL software in the base system.
The installer transitioned to bsddialog four years ago, and the last
remaining dialog consumer, dpv, was turned off more than two years ago.
Retire dpv, libdpv, libfigpar (used only by dpv), and dialog itself.

Reviewed by:	dteske
Differential Revision:	https://reviews.freebsd.org/D55424
2026-07-07 08:47:36 +02:00
Dag-Erling Smørgrav 2b9f382361 Revert "Retire dialog"
This reverts commit 5b2bdadeb6.
2026-06-29 17:53:51 +02:00
Dag-Erling Smørgrav 7aa0fb6181 Revert "Retire the GNU subtree"
This reverts commit 9cc87ca23d.
2026-06-29 17:53:48 +02:00
Dag-Erling Smørgrav 9cc87ca23d Retire the GNU subtree
With GNU diff and cdialog gone, this is now an empty shell.

(cherry picked from commit 151dd62e005119dda24b8ff9b14aa5beaaa681ac)
2026-06-29 13:49:23 +00:00
Dag-Erling Smørgrav 5b2bdadeb6 Retire dialog
This is the last remaining piece of GPL software in the base system.
The installer transitioned to bsddialog four years ago, and the last
remaining dialog consumer, dpv, was turned off more than two years ago.
Retire dpv, libdpv, libfigpar (used only by dpv), and dialog itself.

(cherry picked from commit 73bb4a92985d747462d866248c1e7623f7ff1a7f)
2026-06-29 13:49:22 +00:00
Dag-Erling Smørgrav 1cef7e9eb0 ObsoleteFiles: Add some ancient locale symlinks
These were dropped in 2021 but were never listed in ObsoleteFiles.inc,
so systems that have been upgraded from source since before that date
(or from 13.x) may still have them.

PR:		295668
MFC after:	1 week
Fixes:          0a36787e4c ("locales: separate unicode from other locales")
Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D57331
2026-06-02 10:38:16 +02:00
Dag-Erling Smørgrav 1dc1b95163 mtree: Remove unused MANSUBDIRs
MFC after:	3 days
Fixes:		809504f331 ("man: Kill off MANSUBDIRs")
Reviewed by:	ziaee
Differential Revision:	https://reviews.freebsd.org/D57029
2026-05-16 18:16:57 +02:00
Alexander Ziaee 809504f331 man: Kill off MANSUBDIRs
Three architecture dependent manuals are installed to MANSUBDIRs,
creating at least two empty manual page directories on everyone's
boxxen. Move those manuals to their canonical area, enhancing clarity,
grepability, removing useless inodes, and increasing consistency with
the rest of the architecture dependent manuals which are unconditionally
installed, and noted at the top of the rendered manual.

MFC after: 3 days
2026-05-03 13:53:25 -04:00
Dimitry Andric 19ff93c921 Revert 00bee6fcd7, which partially reverted libc++ commit aa7f377c965c
After base 966fb94cb3, this revert is no longer necessary: stdint.h
will unconditionally define macros such as `SIZE_MAX`, `UINT64_C`, and
others.

Submitted by:   Nikolas Klauser <[email protected]>
MFC after:      1 month
Reviewed by:    imp
Differential Revision: https://reviews.freebsd.org/D56746
2026-05-01 20:16:18 +02:00
Dag-Erling Smørgrav 07b52233e8 caroot: Regenerate
Regenerate using certificate data from NSS 3.123.1.

MFC after:	1 week
Reviewed by:	kevans
2026-04-27 11:33:09 +02:00
Dimitry Andric b99d02027a Remove usr/include/c++/v1/__fwd/get.h from ObsoleteFiles.inc.
PR:		292067
MFC after:	1 month
2026-04-25 16:14:21 +02:00
Dimitry Andric 00bee6fcd7 Partially revert libc++ commit aa7f377c965c, restoring stdint.h
This partially reverts upstream libc++ commit aa7f377c965c:

  [libc++] Remove libc++'s own stdint.h and locale.h (#107436)

  These headers are not doing anything beyond the system or compiler
  provided equivalent headers, so there's no real reason to keep them
  around. Reducing the number of C headers we provide in libc++ simplifies
  our header layering and reduces the potential for confusion when headers
  are layered incorrectly.

The problem is that libc++'s own `stdint.h` _does_ do something: it
defines `__STDC_LIMIT_MACROS` and `__STDC_CONSTANT_MACROS` before
including the system `stdint.h`, causing the latter to expose macros
like `SIZE_MAX`, `UINT64_C`, and others.

If the `__STDC_LIMIT_MACROS` and `__STDC_CONSTANT_MACROS` macros are not
exposed, C++ programs compiled for standards before C++11 can fail with
errors due to those macros not being available.

PR:		292067
MFC after:	1 month
2026-04-25 16:14:11 +02:00
Dimitry Andric e64bea71c2 Merge llvm-project release/21.x llvmorg-21.1.7-0-gcd708029e0b2
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/21.x llvmorg-21.1.7-0-gcd708029e0b2,
a.k.a. 21.1.7 release.

PR:		292067
MFC after:	1 month
2026-04-25 16:14:02 +02:00
Dimitry Andric 770cf0a5f0 Fixups after llvm-project main llvmorg-21-init-19288-gface93e724f4 merge
Fix various configuration fails, update generated headers, Makefiles, etc.

PR:		292067
MFC after:	1 month
2026-04-25 16:11:52 +02:00
Dimitry Andric 3f6219840d Revert "libcxx-compat: don't remove headers that were reintroduced by reverts"
This reverts commit 2b3703a4f4519e202c3bdf12e7e13d9b5fdbc3f3, in
preparation for merging llvm 21.

PR:		292067
MFC after:	1 month
2026-04-25 16:07:41 +02:00
Ali Mashtizadeh 70ae0c4524 i386: Remove perfmon performance monitoring facility
Remove the perfmon performance monitoring facility that was for Intel
Pentium and Pentium Pro processors.

Reviewed by: imp,mhorne,emaste
Pull Request: https://github.com/freebsd/freebsd-src/pull/2155
2026-04-24 10:23:05 -06:00
Konstantin Belousov 7caa71145c posix_spawn: actions chdir and fchdir are now required by POSIX
Drop the _np suffix.

Reviewed by:	dim
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56222
2026-04-03 11:22:53 +03:00
Gleb Smirnoff cd05c88058 tests/netinet: add test for getsockname() on a disconnected TCP socket
Stack it into existing file that exercises an other corner case of our
TCP and rename the file to a more generic name.
2026-03-24 14:24:58 -07:00
Ed Maste 7a323f8736 sys: Retire le(4)
We retired most obsolete 10 and 10/100 Ethernet NIC drivers in 2019 --
see commits following ebcf740a32 ("FCP-101: remove obsolete 10 and
10/100 Ethernet drivers.).

le(4) was retained with with the note "Emulated by QEMU, alternatives
don't yet work for mips64."  MIPS has since been removed from the tree
and emulators and virtual machines offer many other, more suitable
devices.

Reviewed by:	brooks
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55516
2026-03-02 14:10:15 -05:00
John Baldwin a346348e45 Use OLD_FILES for libtpool symlink and static libraries
Fixes:		b78806b156 ("Remove additional libtpool and libuutil-related files")
2026-02-18 10:47:18 -05:00
Dag-Erling Smørgrav f9f4a022a8 ObsoleteFiles: Deduplicate
Since we dropped support for profile libraries, all optional entries for
them are now non-optional.  Most of them were already duplicated there,
a few were not.

MFC after:	3 days
Reviewed by:	jhb, emaste
Differential Revision:	https://reviews.freebsd.org/D55329
2026-02-17 23:58:43 +01:00
Bjoern A. Zeeb 3f4213f00a rtw88: remove more references to rtw88fw
When I removed the Realtek rtww8x firmware from base I missed to
add rtw88fw.4 to ObsoleteFiles.inc [1].
While adding this, also remove a leftover reference in rtw88.4.

Reported by:	Herbert J. Skuhra (herbert gojira.at) [1]
Fixes:		cf94672363
MFC after:	3 days
2026-02-10 13:36:06 +00:00
Herbert J. Skuhra 1c9ca4cf71 ObsoleteFiles.inc: remove stale allwinner pages
These were moved out of man/man4/arm into man/man4. Add entries to catch
the stale copies.

Fixes:	15c79c6fa6 ("man4: move allwinner pages and logic to a standard place")
2026-02-09 15:58:38 -04:00
Herbert J. Skuhra 9c800a103c ObsoleteFiles.inc: correct entry for zpfind.9.gz
It needs the .gz suffix.

Fixes:	2ace05b65a ("pfind(9): follow-up fixes and improvements")
2026-02-09 15:58:31 -04:00
Herbert J. Skuhra bb0734cf24 ObsoleteFiles: remove the shar(1) manpage as well
Fixes:	3fde39073c ("shar: remove from the tree [...]")
2026-02-09 08:48:05 -06:00
Enji Cooper d411a5d3a9 Remove the tpool Kyuafile as well as the test
This was accidentally missed in b78806b156.

Reported by:	des
Fixes:		b78806b15 ("Remove additional libtpool and libuutil-related files")
2026-02-07 23:37:52 -08:00
Dag-Erling Smørgrav 16e073df4a m4: Convert tests to ATF
MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D55115
2026-02-07 19:16:17 +01:00
Enji Cooper b78806b156 Remove additional libtpool and libuutil-related files
This change removes additional library files and tests orphaned in the
commit referenced below.

MFC with:	8b78d412a
Fixes: 8b78d412a ("zfs: world changes after 89f729dcc merge")
2026-02-03 23:33:04 -08:00
Cy Schubert d0309745e6 ObsoleteFiles.mk: Remove obsolete MIT KRB5 plugins
Fixes:			1f9da4793c, dd0ec030f8
MFC after:		1 week
Differential revision:	https://reviews.freebsd.org/D54780
2026-02-02 08:47:21 -08:00
Cy Schubert 1876de606e krb5: Expose missing symbols
Add symbols found in the port but not in base. This requires replacing
a shared libkrb5profile.so with libkrb5profile.a (with -fPIC so it can
be used by shared libraries). We do this by making libkrb5profile
INTERNALLIB.

Base currently has libkrb5profile in a shared library. The patch moves
those functions to the various "consumer" libraries as the port does.

Symbols that should be in the other libraries are in libkrb5profile.so.
This is causing some ports issues.

PR:		291695
Reported by:	michaelo, markj,  Chris Inacio <[email protected]>
Tested by:	michaelo
Fixes:		ae07a5805b
Reviewed by:	michaelo (previous version)
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D54323
2026-01-20 05:41:02 -08:00
Baptiste Daroussin 68ad2b0d7a ncurses: merge update to ncurses 6.6
6.6 is ABI compatible with 6.5 (tested with abidiff)
Remove html documentation to ease updates

MFC After:	1 month
2026-01-14 14:48:32 +01:00
Dag-Erling Smørgrav 745c6c0431 Resurrect standalone command
While command(1) is now classified by POSIX as an intrinsic utility and
no longer required to exist as a standalone program, it turns out that
we still have a use for it (cf. env(1)), so resurrect it.

PR:		291879
Fixes:		4100bd6caa ("usr.bin: Remove intrinsic utilities")
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D54341
2025-12-23 11:36:39 +01:00