Commit Graph

1260 Commits

Author SHA1 Message Date
Stefan Eßer
8ea6c11540 usr.bin/bc: remove OpenBSD derived bc and dc commands
Some checks are pending
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, arm64, aarch64) (push) Waiting to run
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
Some checks are pending
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-14, /usr/lib/llvm-14/bin, ubuntu-22.04, bmake libarchive-dev clang-14 lld-14, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /opt/homebrew/opt/llvm@18/bin, macos-latest, bmake libarchive llvm@18, arm64, aarch64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, amd64, amd64) (push) Waiting to run
Cross-build Kernel / ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) (clang-18, /usr/lib/llvm-18/bin, ubuntu-24.04, bmake libarchive-dev clang-18 lld-18, arm64, aarch64) (push) Waiting to run
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
Poul-Henning Kamp
77bd06e430 Add gbde rc.d script to ObsoleteFiles.inc 2024-05-07 07:31:19 +00:00
Poul-Henning Kamp
6ac1f02be3 Add GBDE to ObsoleteFiles.inc 2024-05-07 06:50:52 +00:00
Dimitry Andric
f48643d376 Use MOVED_LIBS for usr/lib/libcxxrt.so.1 ObsoleteFiles.inc entry
Otherwise, the "make delete-old-libs" mechanism also deletes 32-bit
copies, such as in /usr/lib32.

Reported by:	Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Fixes:		911a6479e1
2024-04-23 19:40:29 +02:00
Dimitry Andric
911a6479e1 libcxxrt: define SHLIBDIR before including bsd.own.mk
Otherwise bsd.own.mk overrides it, causing libcxxrt.so.1 to be
erroneously installed into /usr/lib.

Also add an ObsoleteFiles.inc entry, for removing the bad copy.

Reported by:	Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Fixes:		da77a1b4f0
2024-04-22 20:46:45 +02:00
Dimitry Andric
0ab121e9f9 Add a few missed libclang_rt files to ObsoleteFiles.inc
PR:		276104
Reported by:	Mark Millard <marklmi@yahoo.com>
MFC after:	3 days
2024-04-21 23:32:22 +02:00
Gleb Smirnoff
6655bec4e2 tests/unix_stream: test that send(2) of zero bytes is successful
Put this simple test into an existing file.  We don't have a designated
file for all unix/stream tests.  There is extensive unix_seqpacket_test,
but (at least right now) unix/seqpacket is not a superset of unix/stream,
but a different implementation.  We have one file that does one test for
unix/stream - unix_socketpair_test.  So rename it to unix_stream and start
collecting all unix/stream tests in it.
2024-04-14 10:19:20 -07:00
Gleb Smirnoff
eac87a7a7e ObsoleteFiles.inc: fix timestamps of the recent entries 2024-04-14 10:19:20 -07:00
Dimitry Andric
647cbc5de8 Merge llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4.

PR:		276104
MFC after:	1 month
2024-04-06 22:13:16 +02:00
Dimitry Andric
5f757f3ff9 Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-18-init-15088-gd14ee76181fb.

PR:		276104
MFC after:	1 month
2024-04-06 22:11:55 +02:00
Mitchell Horne
cc1268a926 BSD.usr.dist: remove empty /usr/libdata/gcc directory
I am unsure of its exact historical usage, but, we no longer ship GCC
with FreeBSD, and it should have been removed.

Reviewed by:	imp, emaste
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44440
2024-03-21 12:22:57 -03:00
Dimitry Andric
96c567f972 Add space before 20240211 entry in ObsoleteFiles.inc 2024-03-10 12:36:28 +01:00
Warner Losh
4f9fbde5ee ObsoleteFiles.inc: add the awk tests I just remvoed
These files were bogusly added when I imported awk 2nd edition.

Sponsored by:		Netflix
2024-03-07 23:03:41 -07:00
Kyle Evans
0d3b2bdbf7 caroot: routine update
Changes:
- One (1) modified
- Eight (8) added
- One (1) expired, now untrusted

MFC after:	3 days
2024-02-11 00:35:16 -06:00
Gleb Smirnoff
5fc3104ae7 callout: retire callout_async_drain()
This function was used only in TCP before 446ccdd08e.  It was born in
pain in 2016 to plug different complex panics in TCP timers.  It wasn't
warmly accepted in phabricator by all of the reviewers and my recollection
of overall agreement was that "if you need this KPI, then you'd better fix
your code to not need it".  However, the function served its duty well all
the way to FreeBSD 14.  But now that TCP doesn't need it anymore, let's
retire it to reduce complexity of callout code and also to avoid its
further use.

Reviewed by:		jhb, markj, kib, rrs
Differential Revision:	https://reviews.freebsd.org/D43546
2024-01-24 09:33:27 -08:00
Marius Strobl
03e8d25b1f geom_map(4): Garbage collect disconnected driver
The last MIPS user has been removed in c09981f1 2 years ago, the last
ARM one in 58d5c511 even 5.5 years ago.
2024-01-14 22:22:21 +01:00
Robert Wing
bc1eea0c0b pmap_init(9): sweep references to pmap_init2()
gone since 2005
2024-01-12 13:29:50 +00:00