Commit graph

22623 commits

Author SHA1 Message Date
Kristof Provost
f15f44029f pf: add 'allow-related' to always allow SCTP multihome extra connections
Allow users to choose to allow permitted SCTP connections to set up additional
multihomed connections regardless of the ruleset. That is, allow an already
established connection to set up flows that would otherwise be disallowed.

In case of if-bound connections we initially set the extra associations to
be floating, because we don't know what path they'll be taking when they're
created. Once we see the first traffic we can bind them.

MFC after:	2 weeks
Sponsored by:	Orange Business Services
Differential Revision:	https://reviews.freebsd.org/D48453

(cherry picked from commit e4f2733df8c9d2fd0c5e8fdc8bec002bf39811f3)
2025-02-18 09:56:41 +01:00
Bjoern A. Zeeb
238bd5e0a8 iwlwifi: update Intel's iwlwifi/mvm driver.
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
98f7e32f20d28ec452afb208f9cffc08448a2652 ( tag: v6.11 ).

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit a4128aad8503277614f2d214011ef60a19447b83)
2025-02-18 09:52:29 +01:00
Graham Percival
d3a57ebfcd manuals: Misc syntax fixes
These were reported by `mandoc -T lint ...` as errors.

The rendered output (in ascii and html) is not affected by this commit.

Additional clarification: there was a non-breaking space in
lib/libcasper/services/cap_grp/cap_grp.3.

Signed-off-by:	Graham Percival <gperciva@tarsnap.com>
Reviewed by:	mhorne
MFC after:	3 days
Sponsored by:	Tarsnap Backup Inc.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1449

(cherry picked from commit c8b31033c3971b2b7349804ffda0cea5e4835b40)
2025-02-18 09:52:24 +01:00
Zhenlei Huang
13a8e1ab49 pf: Convert PF_DEFAULT_TO_DROP into a vnet loader tunable 'net.pf.default_to_drop'
7f7ef494f1 introduced a compile time option PF_DEFAULT_TO_DROP to make
the pf(4) default rule to drop. While this change exposes a vnet loader
tunable 'net.pf.default_to_drop' so that users can change the default
rule without re-compiling the pf(4) module.

This change is similiar to that for IPFW [1].

1. 5f17ebf94d Convert IPFW_DEFAULT_TO_ACCEPT into a loader tunable 'net.inet.ip.fw.default_to_accept'

Reviewed by:	#network, kp
MFC after:	2 weeks
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D39866

(cherry picked from commit c531c1d1462c45f7ce5de4f9913226801f3073bd)
2025-01-27 10:53:56 +01:00
Doug Rabson
4aa850d6cb Add an implementation of the 9P filesystem
This is derived from swills@ fork of the Juniper virtfs with many
changes by me including bug fixes, style improvements, clearer layering
and more consistent logging. The filesystem is renamed to p9fs to better
reflect its function and to prevent possible future confusion with
virtio-fs.

Several updates and fixes from Juniper have been integrated into this
version by Val Packett and these contributions along with the original
Juniper authors are credited below.

To use this with bhyve, add 'virtio_p9fs_load=YES' to loader.conf. The
bhyve virtio-9p device allows access from the guest to files on the host
by mapping a 'sharename' to a host path. It is possible to use p9fs as a
root filesystem by adding this to /boot/loader.conf:

	vfs.root.mountfrom="p9fs:sharename"

for non-root filesystems add something like this to /etc/fstab:

	sharename /mnt p9fs rw 0 0

In both examples, substitute the share name used on the bhyve command
line.

The 9P filesystem protocol relies on stateful file opens which map
protocol-level FIDs to host file descriptors. The FreeBSD vnode
interface doesn't really support this and we use heuristics to guess the
right FID to use for file operations.  This can be confused by privilege
lowering and does not guarantee that the FID created for a given file
open is always used for file operations, even if the calling process is
using the file descriptor from the original open call. Improving this
would involve changes to the vnode interface which is out-of-scope for
this import.

Differential Revision: https://reviews.freebsd.org/D41844
Reviewed by: kib, emaste, dch
MFC after: 3 months
Co-authored-by: Val Packett <val@packett.cool>
Co-authored-by: Ka Ho Ng <kahon@juniper.net>
Co-authored-by: joyu <joyul@juniper.net>
Co-authored-by: Kumara Babu Narayanaswamy <bkumara@juniper.net>
2025-01-10 10:30:32 +01:00
Kevin Bowling
816c116633 igc.4: Add I226 and other additions to supported list
(cherry picked from commit 850f78d5a191d0058fcd20beb8b1309b795ecdbd)
2025-01-08 08:43:35 +01:00
Mark Johnston
b5eb77a6ad pf: Add a sysctl to limit work done for rdr source port rewriting
It was pointed out that the current approach of exhaustively searching
for a free source port might be very time consuming.  Limit the amount
of work that we might do before giving up.

Reviewed by:	kp
Reported by:	Eirik Øverby <ltning-freebsd@anduin.net>
MFC after:	3 months
Sponsored by:	Klara, Inc.
Sponsored by:	Modirum
Differential Revision:	https://reviews.freebsd.org/D46495

(cherry picked from commit 339a1977c32414f3d23733504955245ca6f3802d)
2024-12-16 16:15:42 +01:00
Mark Johnston
598aaf9461 pf: Let rdr rules modify the src port if doing so would avoid a conflict
If NAT rules cause inbound connections to different external IPs to be
mapped to the same internal IP, and some application uses the same
source port for multiple such connections, rdr translation may result in
conflicts that cause some of the connections to be dropped.

Address this by letting rdr rules detect state conflicts and modulate
the source port to avoid them.

Reviewed by:	kp, allanjude
MFC after:	3 months
Sponsored by:	Klara, Inc.
Sponsored by:	Modirum
Differential Revision:	https://reviews.freebsd.org/D44488

(cherry picked from commit 9897a66923a3e79c22fcbd4bc80afae9eb9f277c)
2024-12-16 16:15:42 +01:00
Franco Fichtner
b10a7cbb50 rc: also run NAME_setup on NAME_reload
Reload is used for service reconfiguration as well
and lacks a NAME_prepend-like mechanism so it makes
sense to extend the NAME_reload hook into this
action.

precmd may use configuration checks and blocks setup
from doing its designated work (e.g. nginx). In moving
the invoke of the setup script in front allows us to
provide custom scripts for config file generation and
fixing prior to precmd checking configuration integrity.

Also introduce _run_rc_setup to separate the launcher
from the main one. Let it run correctly in the case
of restart_precmd and block further execution as
would be the case in start due to the internal plumbing
of restart being split into calling stop and start
afterwards.

PR: https://reviews.freebsd.org/D36259
2024-12-11 11:10:50 +01:00
Franco Fichtner
b0544022e2 etc: OPNsense customisations
o add more key bindings to .cshrc
o add .vimrc to base installation
o disable fortune cookie
2024-12-11 11:09:41 +01:00
Alexander Ziaee
5252ae96ad man4: wifi manuals: revise .Sh HARDWARE + polish some
The Release Hardware Notes are generated from hardware sections in the
manual pages. Create or organize these sections in Wi-Fi driver manuals
for information flow, and perform minor maintenance on them while here.

After some testing, we have determined that a compact column list is
the best for a single column listing in the hardware release notes.
This makes very clean subsections and is for some reason denser than
using a tagged list.

This adds the long requested conversion from netmask to cidr examples.
These examples probably shouldn't even be here, but that is a discussion
for another day.

Reported by: bz (relnotes generation, cidr, test-net-1 ip4addr)
Reported by: grahamperrin (HARDWARE order mentioned in fdp-primer)
Reported by: Graham Percival <gperciva@tarsnap.com> (don't prompt)
Reviewed by: bz (anything wrong likely is my polishing fault; incl. iwm.4)
Approved by: re (cperciva)
Differential Revision: https://reviews.freebsd.org/D47508

(cherry picked from commit 8f1a2d507e25e77d20a5d7675dc8eee9b83d3570)
(cherry picked from commit 93b30f1b6caec5083efacf3fb5049b72e75cc09e)
(cherry picked from commit 6c140ba126)
2024-11-19 00:36:55 +00:00
Jessica Clarke
9513b68501 bsd.subdir.mk: Drop broken optimisation for realinstall parallelisation
Not all of the tree is happy for realinstall to be done in parallel. In
particular, Makefile.inc1 uses .WAIT to force etc to be installed after
earlier subdirectories, since etc calls into share/man's makedb to run
makewhatis on the tree and needs all manpages to have been installed.
Also, libexec/Makefile doesn't set SUBDIR_PARALLEL, and the link from
ld-elf32.1 to ld-elf.1 relies on rtld-elf having been installed before
rtld-elf32, otherwise creating the link will fail.

In general, core behavioural differences like this between NO_ROOT and
"normal" builds are also dangerous and confusing.

If this optimisation is deemed important, it should be reintroduced in a
more limited and robust manner that doesn't break the above situations.
Until then value correctness over slight efficiency gains on high core
count machines, the same machines where you're more likely to encounter
issues from this optimisation.

This reverts commits cd19ecdbdc ("Similar to r296013 for NO_ROOT,
force SUBDIR_PARALLEL for buildworld WORLDTMP staging.") and
b9c6f31681 ("Add more STANDALONE_SUBDIR_TARGETS.").

Approved by:	re (cperciva)
Found by:	CheriBSD Jenkins
Reviewed by:	bdrewery, brooks
Fixes:		cd19ecdbdc ("Similar to r296013 for NO_ROOT, force SUBDIR_PARALLEL for buildworld WORLDTMP staging.")
Fixes:		b9c6f31681 ("Add more STANDALONE_SUBDIR_TARGETS.")
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43705

(cherry picked from commit fbae308319b7678cd9d879f60b1efd8d4c99b5eb)
(cherry picked from commit 125ce840bc)
2024-11-15 15:23:02 -08:00
Doug Rabson
8a688fcc24 release: add optional OCI images
This adds three OCI archive format files to the release containing
FreeBSD base images suitable for static linked, dynamic linked and shell
workloads. The shell image also contains pkg-bootstrap and can be easily
extended by installing packages (including pkgbase packages).

Approved by:	re (cperciva)
Reviewed by: dch, cpersiva, jlduran, zlei
Differential Revision: https://reviews.freebsd.org/D46759
MFC after: 2 days

(cherry picked from commit d03c82c28da86e0812b98b051d24ae5980804ad7)
(cherry picked from commit 6686056ca3)
2024-11-15 15:22:37 -08:00
Dimitry Andric
a4c23ad430 bsd.sys.mk: for clang >= 19, similar to gcc >= 8.1, turn off -Werror for
-Wcast-function-type-mismatch.

PR:		280562
Approved by:	re (kib)
MFC after:	1 month

(cherry picked from commit d575077527d448ee45b923fa8c6b0cb7216ca5c5)
(cherry picked from commit de45d36ffb)
2024-11-06 22:51:39 +01:00
Paula Breton
58e70f39fd resolver.5: Fix example Google DNS server address
MFC after:	3 days
Signed-off-by:	Paula Breton <git@breton.xyz>

(cherry picked from commit e7f0f4f9206e8b0f411847b293c7b79eb84f0e51)
(cherry picked from commit 3e3e2c6328)

Approved by:	re (cperciva)
2024-11-04 23:19:40 -05:00
Ed Maste
2bc5b1d605 syscons: add deprecation notice
syscons(4) is not compatible with UEFI, does not support UTF-8, and is
Giant-locked.  There is no specific timeline yet for removing it, but
support for the Giant lock is expected to go away in one or two major
release cycles.  Add a deprecation notice to avoid surprises, and help
ensure that any material deficiencies in vt(4) become known.

Reviewed by:	manu, markj, imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47396

(cherry picked from commit fc2a3ec6fe6aa00d9be0c293c38e0ef9ac7e2b64)
(cherry picked from commit 8c922db4f3)

Approved by:	re (cperciva)
2024-11-04 23:19:33 -05:00
Osama Abboud
4d18878ada ena: Support LLQ entry size recommendation from device
This commit adds support for receiving LLQ entry size recommendation
from the device. The driver will use the recommended entry size, unless
the user specifically chooses to use regular or large LLQ entry.

Also added enum ena_llq_header_size_policy_t and llq_plociy field in
order to support the new feature.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit b1c38df05d79c81ee1e9fd0942774820a4ffcb63)
2024-10-31 14:54:11 +00:00
Osama Abboud
b1718de62f ena: Update license signatures to 2024
This commit updates all the license signatures to 2024.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit 8d6806cd08c093fc001db1f94cf122368b8d1549)
2024-10-31 14:54:10 +00:00
Alexander Ziaee
231e279ca9 wpi.4: move hardware to HARDWARE + minor cleanup
Add devices supported by this driver to a HARDWARE section
for generation in the Hardware Compatibility Notes.

While here:
- describe more consistently with product doc and rest of manual
- consolidate basics in first paragraph of description
- mention boot time configuration
- cross-ref networking(7) quick start guide
- zap deprecated Tn, macro in list width, and "Dq Li" => "Ql"
- markup some unmarked elements
- add SPDX tag

Differential Revision: https://reviews.freebsd.org/D47170

(cherry picked from commit fa573868f187956b384722a90392866769f4965a)
2024-10-31 14:33:57 +00:00
Alexander Ziaee
bc56cb2939 iwn.4: move hardware to HARDWARE + minor cleanup
Add devices supported by this driver to a HARDWARE section
for inclusion in the release Hardware Compatibility Notes.
While here:
- add SPDX tag
- add networking(7) cross-ref quick start guide
- tweak examples for consistency

Differential Revision: https://reviews.freebsd.org/D47168

(cherry picked from commit 545dbf9d5fadfab591350c7c504b8e4bd113ba7b)
2024-10-31 14:33:56 +00:00
Brooks Davis
22aed646a5 src.conf.5: LOADER_BIOS_TEXTONLY default change
WITH_LOADER_BIOS_TEXTONLY is now the default so document
WITHOUT_LOADER_BIOS_TEXTONLY.

Fixes:		23dee252daf2 loader: Change this BIOS tradeoff...
(cherry picked from commit 50b5a37a12d032085276b1f0ebb5f92c0cabed32)
2024-10-30 22:16:59 -06:00
Warner Losh
4d3b05a853 loader: Change this BIOS tradeoff: Add back zip and use text only
After talking with a number of people about the removal of some things
to make the loader fit, readjust things a little.

Add back GZIP and BZIP2 compression support. Many of the downstream MFC
packaging systems depend on this. This adds back 20k to the size of the
loader.

Make the boot loader text-only by default. This saves 40k in size. Net,
we're 20k smaller. The graphics loader for BIOS is less useful than the
zip functionality: You can still boot w/a text only one it and you can
build a custom one if you really want it. It's also the default we use
for dual console.

This should be merged back into stable/14 and stable/13 so it's in the
next release for each of these. That way we have only one release (13.4)
with the other defaults.

MFC After:		3 days
Sponsored by:		Netflix
Reviewed by:		olce, rgrimes, emaste
Differential Revision:	https://reviews.freebsd.org/D47203

(cherry picked from commit 23dee252daf2ff60e521c9c019e64134b63ce90f)
2024-10-30 22:05:56 -06:00
Alexander Ziaee
0658879d03 ixl.4 + ice.4: intro sentence for HARDWARE notes
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1495

(cherry picked from commit f4bd011a382269965a4f75aa01b6e6b1ce2a3eba)
2024-10-30 17:49:16 -07:00
Alexander Ziaee
b488667a10 liquidio.4: remove extra search keywords
Approved by:	emaste
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1500

(cherry picked from commit a1d1b9049bcbe02a49f0f143ca9ecdc54ea31d3b)
2024-10-30 17:49:03 -07:00
Alexander Ziaee
68dc2d295b ix.4: update crossreferences to ixgbe.4
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1494

(cherry picked from commit cadb71e4b013925c145dd5e0726a3594111410cb)
2024-10-29 18:01:54 -07:00
Alexander Ziaee
f2793040b8 ix.4: describe better
+ add controller name to title for search keywords
- remove "for the freebsd operating system" from title/search keywords
- remove `(R)` from the page title for consistency with other drivers
- increase specificity of HARDWARE for inclusion in Release HW Notes
- order HARDWARE in reverse chronological so non-eol appear first
- s/PCI/PCIe/

Reported by:	kbowling (additional hardware supported)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1494

(cherry picked from commit 2d28fd51e5b9d8ef184445dfa204f6ba22d460a5)
2024-10-29 18:01:42 -07:00
Felix Johnson
2e0d2f95fe ix.4: document LOADER TUNABLES
PR:		213026
Co-authored-by:	Alexander Ziaee <concussious@runbox.com>

(cherry picked from commit a340b4649621f0dbc0607115217889909ce33bd1)
2024-10-29 18:01:30 -07:00
Felix Johnson
30a9cf87d3 ixgbe.4: rename to ix.4
PR:		213026
Reported by:	Sergey Akhmatov <sergey@akhmatov.ru>
Co-authored-by:	Alexander Ziaee <concussious@runbox.com>

(cherry picked from commit d8b48a267fc0f737a13cb52dc1071981ecb1e003)
2024-10-29 18:01:19 -07:00
Ed Maste
dd72aa6be4 style.9: clarify FALLTHROUGH
FALLTHROUGH is intended for a block of code that cascades to the next
case block.  Multiple case statements sharing a single block of code do
not need a FALLTHROUGH comment.

Reviewed by:	imp, markj, jhb
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47242

(cherry picked from commit d55d5dd9f7adcffa6a1f2a49956d7fd7d549aba1)
2024-10-29 16:33:10 -04:00
Diego Casati
a8308a15f4 ixgbe.4: Add flow director CAVEAT
Flow-director support is not fully implemented and will cause
errors if enabled. Mention this in the ixgbe(4) manual.

PR:		202663
Co-authored-by:	Alexander Ziaee <concussious@runbox.com>
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1493

(cherry picked from commit 20b823a59bc7419a6f93ec5097bd5ee524c20981)
2024-10-28 17:28:46 -07:00
Mark Johnston
9f984fc683 netmap: Make memory pools NUMA-aware
Each netmap adapter associated with a physical adapter is attached to a
netmap memory pool.  contigmalloc() is used to allocate physically
contiguous memory for the pool, but ideally we would ensure that all
such memory is allocated from the NUMA domain local to the adapter.

Augment netmap's memory pools with a NUMA domain ID, similar to how
IOMMU groups are handled in the Linux port.  That is, when attaching to
a physical adapter, ensure that the associated memory pools are local to
the adapter's associated memory domain, creating new pools as needed.

Some types of ifnets do not have any defined NUMA affinity; in this case
the domain ID in question is the sentinel value -1.

Add a sysctl, dev.netmap.port_numa_affinity, which can be used to enable
the new behaviour.  Keep it disabled by now to avoid surprises in case
netmap applications are relying on zero-copy optimizations to forward
packets between ports belonging to different NUMA domains.

Reviewed by:	vmaffione
MFC after:	2 weeks
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D46666

(cherry picked from commit 1bae9dc584272dd75dc4e04cb5d73be0e9fb562a)
2024-10-28 16:39:50 +00:00
Mateusz Piotrowski
a94328b63c vnode.9: Document vnode_if.awk and vnode_if.src
Discussed with:	bjk, imp
Reviewed by:	kib
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D27196

(cherry picked from commit e018265679389cfcebe172d4bf61aa4fe4f58b0a)
2024-10-28 13:45:53 +01:00
Dimitry Andric
6fb9a8e758 Fix buildworld with gcc 13 after llvm-19 import
It turns out the new libc++ 19 headers result in a -Werror warning from
gcc 13:

  In file included from /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/shared_ptr.h:31:
  /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/uninitialized_algorithms.h: In instantiation of 'constexpr void std::__1::__uninitialized_allocator_relocate(_Alloc&, _Tp*, _Tp*, _Tp*) [with _Alloc = allocator<basic_string<char> >; _Tp = basic_string<char>]':
  /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/vector:1052:42:   required from 'void std::__1::vector<_Tp, _Alloc>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp = std::__1::basic_string<char>; _Allocator = std::__1::allocator<std::__1::basic_string<char> >]'
  /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/vector:1469:31:   required from 'void std::__1::vector<_Tp, _Alloc>::reserve(size_type) [with _Tp = std::__1::basic_string<char>; _Allocator = std::__1::allocator<std::__1::basic_string<char> >; size_type = long unsigned int]'
  /usr/src/freebsd/src/contrib/googletest/googletest/src/gtest.cc:795:27:   required from here
  /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/uninitialized_algorithms.h:645:21: error: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' writing to an object of type 'std::__1::__remove_const_t<std::__1::basic_string<char> >' {aka 'class std::__1::basic_string<char>'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead o[-Werror=class-memaccess]
    645 |     __builtin_memcpy(const_cast<__remove_const_t<_Tp>*>(__result), __first, sizeof(_Tp) * (__last - __first));
        |     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__system_error/error_category.h:15,
                   from /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__system_error/error_code.h:18,
                   from /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__ostream/basic_ostream.h:16:
  /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/string:752:7: note: 'std::__1::__remove_const_t<std::__1::basic_string<char> >' {aka 'class std::__1::basic_string<char>'} declared here
    752 | class basic_string {
        |       ^~~~~~~~~~~~

Since this is all benign, turn off errors for -Wclass-memaccess.

PR:		280562
MFC after:	3 days

(cherry picked from commit a3a88aa132605c5d42153a419c0e129296dec467)
2024-10-27 11:53:18 +01:00
Baptiste Daroussin
acd0487a7f hier(7): fix manpage location in ports
Since 2020-01-15 the ports manpage are locate in /usr/local/share/man

(cherry picked from commit 0fbfb22a2d4d542e2f3d5d0eadd37e0d132a3884)
2024-10-23 09:25:50 +02:00
Baptiste Daroussin
c1104a7d8e pci_vendors: update to 2024-09-20
(cherry picked from commit 8bfd7d5f507a1ee3d2836bf0a0502b218cd788c1)
2024-10-23 09:25:50 +02:00
Isaac Freund
85b6bfaac9 mk: honor TAGS for FILES in default group
Currently the lib32 crt files (/usr/lib32/Scrt1.o etc.) are placed in
the clibs-dev package rather than the clibs-dev-lib32 package.

The /usr/lib32/dtrace/drti.o file is similarly placed in the dtrace
package rather than the dtrace-lib32 package.

Splitting shared libraries in /usr/lib32 into a -lib32 package is
handled in bsd.lib.mk by adding "lib32" to TAGS. However bsd.files.mk
ignores TAGS and only honors ${group}TAGS since 144c442.

This patch changes the behavior of bsd.files.mk to honor TAGS if the
default FILES group is used. This matches the handling of PACKAGE, which
is also ignored unless the default FILES group is used.

With this patch, both the clibs and dtrace package are split correctly.

PR:		249145
Reviewed by:	bapt
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46991

(cherry picked from commit d5e9faf1f3291d0af9dcdd53ccdaf0971e5d8f63)
2024-10-21 15:04:56 -04:00
Li-Wen Hsu
adfd9150b9
ctypedef: Remove || true from localedef command to reveal error sooner
Reviewed by:	bapt
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47111

(cherry picked from commit 6abd77142153cc0f5ce49f3ffb38bc91f3444fae)
2024-10-21 12:24:17 +08:00
Li-Wen Hsu
630077a841
Move support of Realtek 8156/8156B from cdce(4) to ure(4)
Reviewed by:	kevlo, imp, hrs
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D45088

(cherry picked from commit 6ea4d95f6c76aa64d2db5c04c87e68dc299544df)
2024-10-21 10:58:35 +08:00
Sergey A. Osokin
12ab751d41 bsd-family-tree: add macOS 15
While I'm here fix whitespaces for recent OpenBSD releases.

(cherry picked from commit bdbf50660c51534d7a25569349bcdf2d4e460f50)
2024-10-20 22:51:31 -04:00
Maxim Konovalov
e3cf164e9a bsd-family-tree: FreeBSD 13.4 and OpenBSD 7.6 added
(cherry picked from commit 3ebb738a93139fd2f8826a62b5f282480f2e19d5)
2024-10-20 22:51:11 -04:00
Maxim Konovalov
a69b439864 bsd-family-tree: NetBSD 8.3 added
PR:	280983
(cherry picked from commit d399c791b223953d230423eff1d56fb45a1be77c)
2024-10-20 22:50:50 -04:00
Wolfram Schneider
ec9c40ce9b bsd-family-tree: fix macOS 11 release date
(cherry picked from commit b49aec04f073de02b03b44503feffeb52cbbdd51)
2024-10-20 22:50:25 -04:00
Wolfram Schneider
cdac537711 bsd-family-tree: shorter URLs
(cherry picked from commit d4a4d1e742852b00427f723f59534b42718628de)
2024-10-20 22:49:49 -04:00
Wolfram Schneider
f080b51748 bsd-family-tree: add NetBSD 9.4
(cherry picked from commit d1e78fbd4a67245e058e9d26b333216093f8d2d1)
2024-10-20 22:48:46 -04:00
Wolfram Schneider
8a74a9c397 bsd-family-tree: add FreeBSD Documentation Archive
(cherry picked from commit 4132c4be4c0a4b80a4ef6f4b8ff0d8ac9a3b9939)
2024-10-20 22:47:47 -04:00
Wolfram Schneider
8e2e9e0113 bsd-family-tree: shorter URL for FreeBSD manual pages
(cherry picked from commit 2a916499470ae35178ca218e68175478037c3b0a)
2024-10-20 22:47:16 -04:00
Christos Margiolis
1a8cd08d8a vmm.4: Add ppt device detach example
Showcase how to detach ppt from a PCI device and attach a host driver,
and vice-versa.

MFC after:	2 days
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D46811

(cherry picked from commit 9ad2891558729b1c1ad4ba02377b157e404a3da2)
2024-10-20 13:21:06 +02:00
Ed Maste
789576e5de src.conf.5: regen for JEMALLOC_LG_VADDR_WIDE
Fixes:		b90d68c9b2
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit b0f9f970ec104e1df22ece7c7cdf12240e3c6713)
2024-10-19 14:40:45 -04:00
Bjoern A. Zeeb
775a6c0036 man.4: Add .Sh HARDWARE for some wireless drivers for release notes
iwlwifi.4 and rtw88.4 did not show up in the hardware list in the
release notes for 13.4.
The doc/website/tools/hardware-notes-processor.rb script parses
the .Sh HARDWARE section to automagically create a note once the
manual page is listed in the website/archetypes/release/hardware.adoc
file.

While here update the other committed man pages not yet connected
to the build.

Reported by:	re (cperciva), grahamperrin
Sponsored by:	The FreeBSD Foundation
Reviewed by:	concussious.bugzilla_runbox.com (Alexander Ziaee)
Differential Revision: https://reviews.freebsd.org/D46851

(cherry picked from commit 5dbb0b7c19cf40ab6562c03396d245cf3a7374fe)
2024-10-16 21:50:19 +00:00
Bjoern A. Zeeb
a2d1e07f64 rtw89: add man page and hook driver up to the build
After two years, add the initial man page and hook Realteks rtw89
driver up to the build for more people to test given successful
reports.
devd.conf is already providing support based on the rtw<n+> regex.
The driver uses the LinuxKPI compat layer.

Firmware is provided by ports: net/wifi-firmware-rtw89-kmod or
one of the flavours.  People are advised to used fwget(8) to
automatically install the correct firmware for their chipset.

Please note that for the moment the driver requires a tunable to
be set in loader.conf: compat.linuxkpi.skb.mem_limit=1

Many thanks to everyone who in the last two years helped testing,
debugged, submitted patches to get the driver to this stage where
initial functionality seems working.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 310c31d3f04ef9d3ebe598fd076d017a48d0ca0d)
2024-10-16 21:49:29 +00:00