Commit Graph

1376 Commits

Author SHA1 Message Date
Michael Tuexen 6e76489098 tcp: remove support for TCPPCAP
This feature could be used to store the last sent and received TCP
packets for a TCP endpoint. There was no utility to get these packets
from a live system or core.
This functionality is now provided by TCP Black Box Logging, which also
stores additional events. There are tools to get these traces from a
live system or a core.
Therefore remove TCPPCAP to avoid maintaining it, when it is not
used anymore.

Reviewed by:		rrs, rscheff, Peter Lei, glebiu
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D49589
2025-03-31 16:55:39 +02:00
Ed Maste b885643b63 boot: Always use ELF Tool Chain elfcopy for EFI builds
We now use llvm-objcopy by default (as of commit 1cae7121c6), but it
does not support efi-app-x86_64 and similar ouptut formats (for more
detail see LLVM issue 108609[1]).

Go back to installing ELF Tool Chain's version of objcopy as elfcopy
(the standard upstream name) and use it for EFI builds.

[1] https://github.com/llvm/llvm-project/issues/108609).

PR:		280771
Reviewed by:	andrew
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49362
2025-03-23 18:17:03 -04:00
Alexander Ziaee 732c168842 ObsoleteFiles: Remove if_rtwn.4 removal
if_rtwn.4 was previously removed, but actually it is correct because
the interfaces is called rtwn.

Fixes:			4262dbc579
MFC after:		3 days
Reported by:		bz
Approved by:		mhorne (mentor)
Differential Revision:	https://reviews.freebsd.org/D49323
2025-03-13 19:18:11 -04:00
Michael Osipov 0100da4deb caroot: update the root bundle
Summary:
- Seven (7) new roots
- Four (4) distrusted roots
- Fifteen (15) removed (expired) roots

Reviewed by:	kevans
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D49294
2025-03-13 08:46:01 +01:00
Jose Luis Duran e159dcc37e ObsoleteFiles.inc: Remove test debug file from wrong dir
Reported by:	des
Reviewed by:	des, emaste
Approved by:	emaste (mentor)
Fixes:	88d448ec81 ("mk: Move vm stack test debug symbols")
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D48991
2025-02-13 17:05:33 +00:00
Ronald Klop 09b435d3dc Remove obsolete clang18 files for aarch64
This fixes a warning from "make delete-old" about a non-empty directory
on aarch64.

Reviewed by:	dim
Fixes:		0fca6ea1d4
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D48904
2025-02-10 19:43:34 +01:00
John Baldwin d684390210 bus_generic_attach.9: Remove manpage for deprecated function
Differential Revision:	https://reviews.freebsd.org/D48369
2025-02-05 14:48:16 -05:00
Jose Luis Duran 88d448ec81 mk: Move vm stack test debug symbols
Avoid the creation of a /usr/tests/sys/vm/stack/.debug directory by
placing sys/vm/stack test debug symbols under /usr/lib/debug.

Reviewed by:	emaste
Approved by:	emaste (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D48796
2025-02-04 14:47:24 +00:00
John Baldwin 22167b02a7 ObsoleteFiles.inc: Fix placeholder date for libdevinfo.so.6
Fixes: 7554746c43 ("libdevinfo: Avoid false positives for the root0 sentinel value")
2025-01-29 15:35:40 -05:00
John Baldwin 7554746c43 libdevinfo: Avoid false positives for the root0 sentinel value
Previously, a NULL pointer value was used to request the root0 device
at the top of the device tree.  However, this meant that resource
ranges from a rman with a NULL device pointer were annotated as being
owned by root0 instead of being unowned.  Switch to a different value
for root0's sentinel to avoid the clash.

Since this is an ABI change, bump the SHLIB_MAJOR for libdevinfo to 7.

Reported by:	jrtc27
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D48675
2025-01-29 10:03:59 -05:00
Joseph Mingrone 6651a75af2 ObsoleteFiles.inc: Remove bogus entries
Reviewed by:	emaste
2025-01-23 16:27:54 -04:00
John Baldwin e51036fbf3 gvinum(8): Remove userland tool for managing vinum volumes
Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D48542
2025-01-23 11:20:43 -05:00
Emmanuel Vadot 9dcb984251 Remove publickey(5) stuff
This uses DES and it's likely that nobody uses that in 2025.
If somebody uses this we help them by deprecating and removing this.

Reviewed by:	bapt, emaste
Differential Revision:	https://reviews.freebsd.org/D30683
2025-01-22 18:04:26 +01:00
John Baldwin ed49d3b31d twe.4: Remove manpage for previously-removed driver
Reviewed by:	ziaee, imp
Fixes:		062a7b918f twe: Remove driver
Differential Revision:	https://reviews.freebsd.org/D48403
2025-01-09 21:09:52 -05:00
John Baldwin f00fe116dc ObsoleteFiles.inc: Correct date for SOC FPGA driver removal
Fixes:		8f7835acc6 Remove SOC FPGA drivers
2024-12-07 10:50:18 -05:00
John Baldwin 8f7835acc6 Remove SOC FPGA drivers
The drivers have been disconnected from the build since the removal of
the SOCFPGA kernel configs.

Reviewed by:	manu, imp, andrew
Sponsored by:	AFRL, DARPA
Differential Revision:	https://reviews.freebsd.org/D47885
2024-12-06 17:38:52 -05:00
Stefan Eßer 8ea6c11540 usr.bin/bc: remove OpenBSD derived bc and dc commands
In 2020, an improved implementation of the bc and dc commands
developed by Gavin D. Howard has been imported into FreeBSD.
It has replaced the OpenBSD-derived versions of these commands
in all currently supported FreeBSD releases.

The OpenBSD versions could still be built using the WITHOUT_GH_BC
option. There have been no reports of problems or unexpected
deviations from the OpenBSD version for some time, therefore
keeping the OpenBSD version is no longer required in FreeBSD.

This commit removes the option to build the OpenBSD version and
corresponding source files from -CURRENT. No MFC is planned, all
currently released FreeBSD versions should retain the build option.

The WITHOUT_GH_BC option is no longer accepted and will cause
make buildworld to fail.

Reviewed by:	des, emaste
Approved by:	des
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D46876
2024-11-24 22:38:23 +01:00
Dag-Erling Smørgrav 2822a79533 mv: Convert tests to ATF.
Sponsored by:	Klara, Inc.
Reviewed by:	asomers, markj
Differential Revision:	https://reviews.freebsd.org/D47569
2024-11-19 10:29:11 +01:00
Ed Maste 3750ccefb8 Retire MK_PROFILE infrastructure
It was disabled by default in fe52b7f60e.  We planned to (but did not)
remove the option before FreeBSD 14.  Remove it now, for FreeBSD 15.

Relnotes:	Yes
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31558
2024-11-12 12:11:51 -05:00
Lexi Winter 5b62dc782d p9fs.5: rename to p9fs.4
This is a filesystem (driver), not a file format, so it should be in
section 4.

Pull Request:	https://github.com/freebsd/freebsd-src/pull/1520
2024-11-12 01:43:15 +00:00
Faraz Vahedi 930654318e c(7): Add C23 standard update
Reviewed by: 	emaste, Graham Percival <gperciva@tarsnap.com>
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1507
Signed-off-by: Faraz Vahedi <kfv@kfv.io>
2024-11-04 16:40:52 +00:00
Dimitry Andric b60301d8b5 libcxx-compat: don't remove headers that were reintroduced by reverts
PR:		280562
MFC after:	1 month
2024-10-23 20:26:48 +02:00
Dimitry Andric 36b606ae6a Merge llvm-project release/19.x llvmorg-19.1.0-rc1-0-ga4902a36d5c2
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.0-rc1-0-ga4902a36d5c2.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:26 +02:00
Dimitry Andric 0fca6ea1d4 Merge llvm-project main llvmorg-19-init-18630-gf2ccf80136a0
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-19-init-18630-gf2ccf80136a0, the
last commit before the upstream release/19.x branch was created.

PR:		280562
MFC after:	1 month
2024-10-23 20:26:01 +02:00
Igor Ostapenko 9b86b272bf tests: Move netpfil/pf/divapp to netpfil/common/
It's intended to be used by both ipfw and pf.

Reviewed by:	kp, markj
Approved by:	kp (mentor)
Differential Revision:	https://reviews.freebsd.org/D47110
2024-10-15 17:08:01 +00:00
Kyle Evans c4564a47c1 ObsoleteFiles: fix the libmd.so version bump order
This changeset started two years ago, but the entry was not tweaked upon
final commit to reflect reality.

Fixes:	e7a629c851 ("libmd, kern, stand: consolidate md5 [...]")
2024-09-30 14:59:37 -05:00
Kyle Evans e7a629c851 libmd, kern, stand: consolidate md5 implementations (NFC)
Reduce the number of md5c.c between the three of these from two to one
by just reaching into the kernel build for both userland builds.  The
precedent for this already exists for sha2 in both cases.

_libmd_ symbol privatization bits have been moved to sys/md5.h and
md5.h remains to #include <sys/md5.h> for compatibility.

This stops exporting MD5Pad() in the process because the kernel stopped
exporting it in 502a35d60f.  soversion is bumped accordingly.

This also renames the libc version of stack_protector.c; it previously
only worked by coincidence because .PATH ordering worked out such that
we got the right one, but this is not the case anymore.  Remove the
landmine.

PR:		280784 (exp-run)
Reviewed by:	allanjude, delphij
Differential Revision:	https://reviews.freebsd.org/D34497
2024-09-29 22:34:18 -05:00
Joseph Mingrone 407a9cced6 ObsoleteFiles.inc: Update after libpcap upgrade from 1.10.4 to 1.10.5
Sponsored by:	The FreeBSD Foundation
2024-09-14 14:19:26 -03:00
Christos Margiolis e9a30c90d3 ObsoleteFiles.inc: Fix examples path
Fixes:		c3516c6533 ("ObsoleteFiles.inc: Update after sound changes")
Sponsored by:	The FreeBSD Foundation
2024-08-31 19:35:07 +03:00
Gordon Tetlow 86dd740dd7 openssl: Remove fips module from base system.
To comply with FIPS 140 guidance, you must be using a specifically
validated and approved version of the fips module. Currently, only
OpenSSL 3.0.8 and 3.0.9 have been approved by NIST for FIPS 140
validation. As such, we need to stop shipping later versions of the
module in the base system.

MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D46223
2024-08-31 09:24:30 -07:00
Christos Margiolis c3516c6533 ObsoleteFiles.inc: Update after sound changes
Sponsored by:	The FreeBSD Foundation
2024-08-24 15:08:15 +03:00
Mark Johnston 5132e16e1f libc tests: Rename the quick_exit test file, fix style
Call it libc_exit_test instead of exit_test because the NetBSD test
suite already has a file with the latter name.  This is in preparation
for adding other exit()-related tests.

MFC after:	2 weeks
2024-08-07 16:05:16 +00:00
John Baldwin 09ed116dc5 ObsoleteFiles.inc: Don't remove recently added mixer(8) tests
An earlier set of mixer(8) tests were removed leading to this entry,
but now the entry is removing the new tests.

Fixes:		94a86f3f69 mixer(8): Add tests
2024-07-31 15:26:00 -04:00
John Baldwin a4b248b883 ObsoleteFiles.inc: Remove usr/share/examples/IPv6
Reported by:	Mark Millard <marklmi@yahoo.com>
Fixes:		4339f1e667 share/examples/IPv6/USAGE: remove
2024-07-31 15:25:55 -04:00
John Baldwin c04ef1bfb4 ObsoleteFiles.inc: Add missing .gz suffix to various manpage entries
Reported by:	Mark Millard <marklmi@yahoo.com>
2024-07-31 15:25:51 -04:00
John Baldwin 20cd6bbc10 ObsoleteFiles.inc: Remove dtrace/amd64/kinst test directory
Reported by:	Mark Millard <marklmi@yahoo.com>
Fixes:		911f026039 dtrace: move kinst tests to common
2024-07-31 15:25:47 -04:00
John Baldwin 66158bda90 ObsoleteFiles.inc: Remove CAM.4 MLINK
Reported by:	Mark Millard <marklmi@yahoo.com>
Fixes:		a00f9e4e81 scsi: Stop installing both cam.4 and CAM.4
2024-07-31 15:25:40 -04:00
John Baldwin b313bf154a ObsoleteFiles.inc: Remove /rescue/gbde
Reported by:	Mark Millard <marklmi@yahoo.com>
Fixes:		6ac1f02be3 Add GBDE to ObsoleteFiles.inc
2024-07-31 15:25:27 -04:00
Mark Johnston f933363a81 ObsoleteFiles.inc: Include the default compression suffix for man pages
Reported by:	yuripv
Fixes:	801c452795 ("man9: Really complete the removal of MD5.9")
2024-07-29 16:36:17 +00:00
Mark Johnston 801c452795 man9: Really complete the removal of MD5.9
Fixes:	46b0db2dbe ("Remove unnecessary and now inaccurate kernel side manual page.")
Fixes:	36d68cb2dd ("Complete the removal of the MD5 manual page from section 9.")
2024-07-29 14:17:04 +00:00
George V. Neville-Neil 36d68cb2dd Complete the removal of the MD5 manual page from section 9. 2024-07-29 21:14:40 +07:00
Dag-Erling Smørgrav 9f080f17a6 ifnet(9): Remove mention of defunct ifaddr_byindex(9).
Fixes:		964b8f8b99
MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D46174
2024-07-29 16:02:33 +02:00
Bjoern A. Zeeb d1bdc2821f Deprecate contigfree(9) in favour of free(9)
As of 9e6544dd6e contigfree(9) is no longer
needed and should not be used anymore.  We leave a wrapper for 3rd party
code in at least 15.x but remove (almost) all other cases from the tree.

This leaves one use of contigfree(9) untouched; that was the original
trigger for 9e6544dd6e and is handled in D45813 (to be committed
seperately later).

Sponsored by:	The FreeBSD Foundation
Reviewed by:	markj, kib
Tested by:	pho (10h stress test run)
Differential Revision: https://reviews.freebsd.org/D46099
2024-07-26 10:45:01 +00:00
Alan Cox 096dfa338d vm: Retire vm_page_alloc_freelist{,_domain}()
Once upon a time, I created vm_page_alloc_freelist{,_domain}() to
support faster allocation of pages that were mapped by the partial
direct map on 32-bit MIPS.  At the time, I expected that these
functions might find other uses too, but those other uses never
materialized.  So, these functions have not been used for some time
now.  Instead, people use the more general vm_page_alloc_contig().

Reviewed by:	kib, markj
Differential Revision:	https://reviews.freebsd.org/D46063
2024-07-24 14:31:40 -05:00
Ed Maste f2055611fe mergemaster: remove from the tree
Mergemaster has been deprecated for many years, replaced by
etcupdate(8).  Remove it now, in advance of FreeBSD 15.0.

PR:		252417
Reviewed by:	imp
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45622
2024-07-16 08:25:54 -04:00
Jessica Clarke 9712479723 ObsoleteFiles.inc: Add missed riscv64 file for LLVM 17
LLVM 17 was the first version we shipped asan_static for.
2024-06-04 18:07:56 +01:00
Emmanuel Vadot dcb65c5a94 csh: Remove hardlink /.cshrc
Remove this historical artifact.
csh will try to use /.csrch if the user has no home directory defined which
is rather unlikely (To be exact if the concatenation of $HOME and "/.cshrc"
fail which is the same thing).

Also, with this change pkg will happily handle 3way merge for /root/.cshrc

Differential Revision:	https://reviews.freebsd.org/D45382
Reviewed by:		emaste, imp
Sponsored by:		Beckhoff Automation GmbH & Co. KG
2024-05-29 09:56:58 +02:00
Alexander Ziaee a03e8a40d4 man filesystems: ObsoleteFiles after move to sec 4
Reported by: imp
Reviewed by: des, imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
2024-05-16 10:25:13 -06:00
Kyle Evans dec211c6cf Stop removing ssp headers
These were previously installed by the GCC implementation of libssp, but
now they're installed once again with our implementation of
FORTIFY_SOURCE.

Reported by:	jkim
Fixes:	be04fec426 ("Import _FORTIFY_SOURCE implementation [...]")
2024-05-13 17:45:55 -05:00
Olivier Certner 54bbcc09a7 ObsoleteFiles.inc: Remove /var/db/portsnap
This is a followup to commit "Remove remnants of portsnap(8)"
(9b30b96c1f).  I wasn't aware of OLD_DIRS.

Approved by:            markj (mentor)
MFC after:              1 day
MFC with:               9b30b96c1f
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D45023
2024-05-08 15:38:56 +09:00