Commit Graph

1351 Commits

Author SHA1 Message Date
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
Dag-Erling Smørgrav 4100bd6caa usr.bin: Remove intrinsic utilities
These utilities can only function correctly if implemented as shell
builtins and exist only because POSIX previously required them.  As of
POSIX 2024, they have all been reclassified as intrinsic utilities and
are no longer required to exist in PATH.  We can therefore retire them.
Cf. XBD 1.7, XRAT C.1.8, Austin Group bug 854.

Note that kill(1) is also considered an intrinsic utility (because
only the shell can interpret job IDs correctly), but we have a working
standalone implementation, which we will keep.

PR:		291686
Relnotes:	yes
Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D54239
2025-12-19 18:15:40 +01:00
Bjoern A. Zeeb f0ea859229 iwmfw(4): fix spelling of the iwm8000C firmware.
When migrating the firmware to be installed as plain firmware files
to /boot/firmware the iwm8000C firmware lost its "fw" suffix that
iwm(4) expects.
The follow-up change to defaults/loader.conf is also consistently
missing the "fw".

Fix both places, and add the wrongly spelt version to ObsoleteFiles.inc
(entirely untested).

PR:		291403
Reported by:	Augustin Hoffmann (avgwst tutanota.de)
Fixes:		af0a81b647
Fixes:		a0f06dfb0d
MFC after:	3 days
2025-12-08 03:16:00 +00:00
Martin Matuska 8b78d412ae zfs: world changes after 89f729dcc merge
Remove, unbind and obsolete libuutil and libtpool
Update zfs_configh and zfs_gitrev.h
2025-12-07 23:09:12 +01:00
Mitchell Horne 2ace05b65a pfind(9): follow-up fixes and improvements
(Found on a branch from a year ago.)

- Adjust NAMEs
- MLINKS: add pfind_any.9, pfind_any_locked.9; remove old zpfind.9
- Reword the description of pfind_any() so that it doesn't imply only
  zombie processes are returned
- Fix a comma
- Use .Dv for the macro PRS_ZOMBIE
- Move the (logically separate) final statement to a new paragraph
- .Xr to pget(9)

Reviewed by:	0mp
Fixes:	07d78399eb ("pfind(9): Update to recent behavior")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D53548
2025-12-04 14:37:18 -04:00
Dag-Erling Smørgrav 5995c036df ObsoleteFiles: Fix repeated typo in recent entries
Fixes:		685a78570b ("random: remove hifn(4)")
Fixes:		5b9fba1cb0 ("Retire pccard(4)")
Fixes:		3cf85a69ae ("hifn.4: Really remove")
Fixes:		8a8c58f71e ("pccard.4: Really remove")
Fixes:		6aaf184dc4 ("pcic.4: Really remove")
Fixes:		daa1f9b415 ("apm(8): Drop MLINK to apmconf(8)")
Fixes:		961b934407 ("pam_krb5: Fix manual page in MIT case")
2025-11-24 04:11:54 +01:00
Dag-Erling Smørgrav 961b934407 pam_krb5: Fix manual page in MIT case
* Always install the manual page as pam_krb5(8) regardless of which
  version we're using.
* Regenerate it using pod2mdoc instead of pod2man so it doesn't claim
  to be part of “User Contributed Perl Documentation”.
* Put the correct section number in the header and footer.
* Don't cross-reference non-existent pam(7) manual page.

Reviewed by:	cperciva
Differential Revision:	https://reviews.freebsd.org/D53885
2025-11-24 03:40:49 +01:00
John Baldwin daa1f9b415 apm(8): Drop MLINK to apmconf(8)
apmconf(8) was merged into apm(8) back in 2000 and this note and MLINK
were added as a transition aid, but that aid is no longer needed.
2025-11-12 21:38:35 -05:00
Alexander Ziaee 6aaf184dc4 pcic.4: Really remove
MFC after:	2 days
Fixes:		1d9f2db7c (pcic.4: Remove stale manual)
Fixes:		31b35400c (pccard: Remove more of the PC Card)
Reported by:	emaste
2025-11-12 13:39:39 -05:00
Alexander Ziaee 8a8c58f71e pccard.4: Really remove
Fixes:		5b9fba1cb (Retire pccard(4))
Fixes:		31b35400c (Remove more of the PC Card infrastructure)
Discussed with:	emaste, jhb
2025-11-12 13:22:14 -05:00
Alexander Ziaee 3cf85a69ae hifn.4: Really remove
Fixes:	a38a42ed9a (random: remove hifn(4))
Fixes:	685a78570b (random: remove hifn(4))
2025-11-12 13:16:26 -05:00
Muhammad Moinur Rahman 5b9fba1cb0 Retire pccard(4)
pccard has been declared obsolete for a long time and also the
support has been removed but the man page still exists. It mentions
being scheduled to be removed before 13.0 but it still exists in the
tree.

[Extracted from review D53434]

Reviewed by: emaste
Fixes: 31b35400c ("pccard: Remove more of the PC Card infrastructure")
2025-11-12 12:09:09 -05:00
David E. O'Brien 685a78570b random: remove hifn(4)
The Hifn 7955 & 7956 only supports deprecated & NIST disallowed
algorithms (NIST SP800-224idp): SHA1 and SHA1-HMAC.

Furthermore the entropy RNG of the Hifn 7751, 7951, 7811, 7955,
and 7956 has no NIST Entropy Source Validation (ESV) certificate
and cannot be used in a FIPS-140-3 nor Common Criteara environment.

Furthermore the most prolific instance for FreeBSD was the
Soekris Engineering vpn1201, vpn1211, vpn1401, and vpn1411
offerings.  These are all 32-bit only processors.  The i386
kernel was de-supported in 15.0.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D53182
2025-10-28 16:46:15 -07:00
Jose Luis Duran 75f7e003b7 nss_tacplus: Fix typo MK_INSTALLIB -> MK_INSTALLLIB
Reviewed by:	des
Approved by:	emaste (mentor)
Fixes:	6c5cdba1ba ("Add nss_tacplus, a TACACS+ NSS module.")
MFC after:	1 day
Differential Revision:	https://reviews.freebsd.org/D52882
2025-10-06 12:54:05 +00:00
Mark Johnston ea675a43f0 libexec/kgdb: Add new modules and install them together with debug info
This change simplifies integration of gdb python scripts with our kernel
debugging infrastructure.  Rather than putting debugging scripts in
/usr/libexec/kgdb, move them to <path-to-kernel-debug-symbols>/gdb, and
add a kernel-gdb.py which automatically loads modules from that
directory.  kernel-gdb.py will be automatically executed by kgdb when
loading kernel debug symbols (assuming a default configuration), so one
no longer needs to do anything to use these modules.

The change also adds a couple of new modules, vnet.py and pcpu.py, for
conveniently accessing VNET symbols and PCPU/DPCPU fields, respectively.
Note that these require a change to the kernel linker when accessing
symbols from a loadable kernel module.

sys/tools/gdb/README.txt describes the scheme in more detail and
provides some rudiementary documentation for the commands and functions
added by these modules.  It should be updated when adding new features.

sys/tools/gdb/selftest.py can be used to do some primitive testing of
the modules.  All it does is execute a number of gdb commands making use
of commands and functions added by these modules.  The developer is
expected to verify that the commands complete without errors and that
the output looks sane.

Discussed with:	kp, avg, jhb, glebius
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D50825
2025-10-03 14:32:09 +00:00
Gleb Smirnoff 36f2eda251 tests/netinet: rename and extend sendto-IP_MULTICAST_IF.c
Rename this test helper app to multicast-send.c.  Extend it to send
from/to arbitrary addresses and arbitrary payload so that it can be used
in more test scenarios.
2025-10-01 12:41:52 -07:00
Li-Wen Hsu 89eee8ee2c wlanstat(8): Rename from wlanstats(8) to keep consistency
All the status and statistics utilties in base are ending with "stat",
the only exception is mailstats(8) but that's from sendmail.

Reviewed by:	imp, adrian
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52724
2025-09-30 11:30:08 +08:00
Lexi Winter 614c8750ce Remove ftpd(8)
This was previously deprecated and is slated for removal in 15.0.
Users who still need ftpd(8) can install the ftp/freebsd-ftpd port.

Retain the ftp(d) PAM services since other FTP daemons use them.

Update /etc/inetd.conf to point to /usr/local.

Add ftpd to ObsoleteFiles, but do not list configuration files since
users may want to preserve these to use with the freebsd-ftpd port.

There is still some language in the manual referring to ftpd(8)
which is relevant to the port, which has been retained but updated
to reference the port.

MFC after:	3 days
Relnotes:	yes
Reviewed by:	cperciva
Differential Revision:	https://reviews.freebsd.org/D52739
2025-09-29 22:53:34 +01:00
Mateusz Guzik 7e4c451c12 vfs: retire the VREF macro
It is defined as a plain use of vref.

Churn generated with coccinelle:
@@
expression vp;
@@

- VREF(vp)
+ vref(vp)
2025-09-27 04:00:59 +00:00
Alexander Ziaee 8f7a4d7949 ObsoleteFiles: Remove the miscapitalized vimage.9
MFC after:      3 days
Fixes: 08d41d8803 (ObsoleteFiles: Remove the miscapitalized vnet.9)
Fixes: 3049b2f511 (vnet.9: Rename vnet.9/vimage.9 to VNET.9/VIMAGE.9)
2025-09-18 12:29:03 -04:00
Alexander Ziaee 08d41d8803 ObsoleteFiles: Remove the miscapitalized vnet.9
MFC after:	3 days
Fixes:		3049b2f511 (vnet.9: Rename vnet.9/vimage.9)
2025-09-17 11:54:13 -04:00
Dag-Erling Smørgrav 9b8224b950 cp: Drop test helper
Now that stat(1) can report whether a file is sparse, we no longer need
a helper program for our tests.

Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D52482
2025-09-16 15:38:26 +02:00
Dag-Erling Smørgrav d20c825072 Revert "libc: Remove readdir_r(3)"
This reverts commit d549de7690.
2025-09-11 17:12:22 +02:00
Dag-Erling Smørgrav d549de7690 libc: Remove readdir_r(3)
This function was never safe to use.  We marked it deprecated in the
manual page in 2016, and it is marked obsolete in POSIX 2024.  We
previously added a linker warning and annotated the prototype; now that
stable/15 has been branched, we can remove it from main.

Relnotes:	yes
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D52474
2025-09-10 18:58:06 +02:00
Alexander Ziaee 739c4905dd ObsoleteFiles: Remove sysdecode_syscallnames.3
MFC after:	3 days
Reported by:	mhorne
PR:		278383
Fixes:		4ba91e076e (sysdecode_syscallnames.3: s/names/name)
2025-08-26 11:49:13 -04:00
John Baldwin 39fea5c8dc ObsoleteFiles.inc: Don't remove /usr/share/et
This directory is in use again.

Fixes:		5105e1ebec ("krb5: Fix the installed compile_et")
2025-08-20 10:05:03 -04:00
Lexi Winter 837b13af68 Revert "Remove Secure RPC DES authentication"
This reverts commit 7ac276298b.

Requested by:	kib
2025-08-15 17:59:18 +01:00
Dag-Erling Smørgrav 46f9056367 ObsoleteFiles: Remove bogus manlink
Fixes:		7400d04407 ("libutil: Remove manual link for nonexistent function")
2025-08-12 15:50:30 +02:00
Gleb Smirnoff 4a94dee2a4 ObsoleteFiles: both gssapi/gssapi.h and gssapi.h existed
And gssapi/mechglue.h as well.

Submitted by:	Herbert J. Skuhra <herbert gojira.at>
Reviewed by:	cy
Fixes:	7a4a305f13
2025-08-11 15:40:54 -07:00
Gleb Smirnoff 7a4a305f13 ObsoleteFiles: fixup gssapi/gssapi.h entry
Fixes:	e26259f48a
2025-08-11 14:26:54 -07:00
Xin LI 5853a9971a vmm: library version bump
PR:		misc/288780
Fixes:		a4197ea477
2025-08-11 00:44:05 -07:00
Lexi Winter 7ac276298b Remove Secure RPC DES authentication
Following the earlier removal of keyserv, none of this functionality
works since it requires keyserv.

Remove the relevant symbols from libc's Symbol.map.  Leave compatibility
symbols for existing applications, but since the functions don't work
without keyserv, stub them out to return an error.

Remove some private symbols that were only used by keyserv; these don't
get compatibility symbols.

Remove the documentation for the old functions.

Remove rpc.ypupdated since it requires DES authentication.

Reviewed by:		manu, des, emaste
Differential Revision:	https://reviews.freebsd.org/D50442
2025-08-10 16:36:40 +01:00
Pierre Pronchery 4757b351ea openssl: Import version 3.5.1
Migrate to OpenSSL 3.5 in advance of FreeBSD 15.0. OpenSSL 3.0 will be
EOL after 2026-09-07.

Approved by:	philip (mentor)
Sponsored by:	Alpha-Omega Beach Cleaning Project
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D51613
2025-08-07 15:54:34 +02:00
John Baldwin 83dc2f3339 nvmfd: Move out of the base install and into tools/tools/nvmf
This is still useful as an example use of the APIs in libnvmf similar
to nvmfdd, but this functionality is now provided in the base system
by ctld.

Sponsored by:	Chelsio Communications
2025-08-08 12:52:44 -04:00
Cy Schubert 42cacae4eb ObsoleteFiles: Remove gssapi_krbt/gssapi.h
Noted by:	"Herbert J. Skuhra" <herbert@gojira.at>
2025-08-07 13:43:54 -07:00
Cy Schubert e26259f48a gssapi,krb5: Replace libgssapi with the MIT version
lib/libgssapi is based on Heimdal. As on Linux systems, the MIT
libgssapi_krb5 replaces it. With both gssapi libraries and header files
installed results in broken buildworld (gssd) and ports that will not
build without modifications to support the MIT gssapi in an alternate
location.

73ed0c7992 removed the MIT GSSAPI headers from /usr/include. Apps using
MIT KRB5 gssapi functions and structures will fail to build without this
patch.

This patch includes a temporary patch to usr.sbin/gssd to allow it
to build with this patch. rmacklem@ has a patch for this and for
kgssapi that uses this patch to resolve kgssapi issues for NFS with
Kerberos.

This patch is an updated version of D51661 to allow it to build following
additional patchs to the tree.

This should have been implmented with 7e35117eb0.

Fixes:			7e35117eb0, 73ed0c7992
Differential Revision:	https://reviews.freebsd.org/D51661
2025-08-07 10:17:00 -07:00
Dag-Erling Smørgrav 662a0a01de ObsoleteFiles: Remove old entries
This removes entries that predate stable/12 and a few dupes.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D51714
2025-08-06 15:36:59 +02:00
Dag-Erling Smørgrav 7b8c9de174 ObsoleteFiles: Fully remove publickey(5) stuff
Fixes:		9dcb984251
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D51713
2025-08-06 15:36:41 +02:00
Dag-Erling Smørgrav 1f9da4793c ObsoleteFiles: Deduplicate krb5 entries
Fixes:		dd0ec030f8
Reviewed by:	cy
Differential Revision:	https://reviews.freebsd.org/D51712
2025-08-06 15:36:36 +02:00
Cy Schubert 62e5a36294 krb5: Remove et directory
Reported and patch by:	"Herbert J. Skuhra" <herbert@gojira.at>
Fixes:			9a726ef241
2025-08-05 12:48:48 -07:00
Cy Schubert 9a726ef241 krb5: Move compile_et to /usr/bin as it was with Heimdal
Fixes:		ee3960cba1
2025-08-05 09:33:03 -07:00
Dag-Erling Smørgrav 0c381b7f05 libutil: Add symbol versioning
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D51694
2025-08-02 16:05:31 +02:00
Andrew Turner 1c52229528 lib: Move libopencsd to /usr/lib and make private
libopencsd is used to decode Arm CoreSight traces. It isn't needed
during the boot so can be moved to /usr/lib, and may change it's API
so can be marked as private as onlt the future hwt tool will use it.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D51380
2025-07-30 11:11:38 +01:00
John Baldwin a3b72d89c7 zfsboot: Remove zfsboot(8) program used to boot ZFS from MBR + BIOS
This has not worked since the import of OpenZFS in FreeBSD 13.0.
Trying to fix it at this point would probably entail rearchitecting
how it works (e.g. using a dedicated freebsd-boot slice to hold
zfsboot).  However, it's not really worth doing that at this point.

PR:		271262
Reported by:	Henryk Paluch <hpaluch@seznam.cz>
Reviewed by:	imp, emaste
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D51545
2025-07-28 10:58:02 -04:00
Olivier Certner 8a69eb88fa Obsoletefiles.inc: Add architecture-specific 'runq.h' headers
These were removed in commit 2fefe2c88b ("runq: Deduce most
parameters, remove machine headers").

MFC with:       2fefe2c88b ("runq: Deduce most parameters, remove machine headers")
Sponsored by:   The FreeBSD Foundation
2025-07-28 15:38:44 +09:00
Cy Schubert dd0ec030f8 krb5: Bump DSO version for version map creation
Differential Revision:	https://reviews.freebsd.org/D51520
2025-07-27 05:59:34 -07:00
Dag-Erling Smørgrav b26f93a465 xargs: Convert tests to ATF
Also add license and copyright statement, with permission from the
original author.

Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D51537
2025-07-26 18:44:43 +02:00
Dag-Erling Smørgrav a7fa987abe xargs: Limit -n to {ARG_MAX}
Since it's not possible to pass more than {ARG_MAX} bytes on the command
line, it's also not possible to pass more than {ARG_MAX} individual
arguments.  Therefore, {ARG_MAX} is a reasonable upper bound for the -n
option.  This resolves both the arithmetic overflow issue and the CI OOM
issue, so we can safely re-enable the test.

Fixes:		eab91d0081
Fixes:		2682a15527
MFC after:	1 week
Reviewed by:	jlduran, emaste
Differential Revision:	https://reviews.freebsd.org/D51536
2025-07-26 18:44:35 +02:00
Dag-Erling Smørgrav a3d4ae7cf3 dma: Don't install dma.conf world-readable
While here, install auth.conf into /etc as well.

MFC after:	3 days
PR:		288409
Reviewed by:	ivy, bapt
Differential Revision:	https://reviews.freebsd.org/D51529
2025-07-26 11:59:53 +02:00