Commit Graph

23822 Commits

Author SHA1 Message Date
Michael Osipov 0d31189cbc linprocfs.4: Improve docs around pid/self entries
Mark <pid> as a placeholder and document that self is a symlink to a directory.

PR:		283080
Reviewed by:	ziaee
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D54358
2025-12-26 19:53:43 +01:00
Dimitry Andric 8d5a11cd01 src.conf: Add WITH_LLVM_LINK_STATIC_LIBRARIES build knob
In commit 2e47f35be5 libllvm, libclang and liblldb were converted into
private shared libraries. This allowed clang, lld, lldb, and other llvm
tools to be linked against these shared libraries, which makes them
smaller and avoids duplication.

However, this also comes at the cost of some performance, since the
dynamic libraries are quite large, and contain lots of long symbols
(mangled C++ identifiers).

Add a WITH_LLVM_LINK_STATIC_LIBRARIES build knob that can be used to go
back to the previous behavior: libllvm, libclang and liblldb are built
as internal static libraries, i.e. only available during buildworld, and
fully linked into the various executables such as clang, lld, etc.

PR:		287447
Reviewed by:	emaste
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D50956
2025-12-23 22:01:40 +01:00
Alexander Ziaee 3c83b5d340 udl.4: Tweak HARDWARE for hardware release note
Fixes:	97fa62708f (udl.4: Consolidate HARDWARE and add HISTORY)
2025-12-23 09:56:09 -05:00
Alexander Ziaee 97fa62708f udl.4: Consolidate HARDWARE and add HISTORY
Some of the information needed for the HARDWARE section was the entire
DESCRIPTION section, so merge the two. While here, add the HISTORY of
this driver, add "driver" to the document description matching other
drivers, and tag the SPDX license identifier for mechanical parsing.

MFC after:	3 days
2025-12-23 09:40:31 -05:00
Alexander Ziaee f7245a27e8 cdce.4: Add RTL8153 to HARDWARE
Fixes:	1b1fb628a1 (Quirk Realtek RTL8153 to config#1)
2025-12-23 08:55:57 -05:00
Alexander Ziaee 03752041e4 cdce.4: Minor polish
+ Tag spdx license identifier	+ Fix "e.g.,"s to quiet linter
+ Remove useless Nd quoting	+ Put example in EXAMPLES

MFC after:	3 days
2025-12-23 08:54:21 -05: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
Michael Tuexen 634d9c0d11 vtnet: expose features via sysctl tree
Right now the 64-bit flags field needs to be casted to a 32-bit field,
because clang warns if more than 32-bits are used.
Once clang is fixed, this restriction will be removed and more bits
will be added.

Reviewed by:		markj, Timo Völker
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D54288
2025-12-19 17:38:35 +01:00
Michael Tuexen d2cb9cab84 printf.9: Support more than 32 bits in %b
This will be usable after clang has been extended to accept length
modifiers for %b when compiling kernel code.
But we need FreeBSD to support it first...

Reviewed by:		markj, Timo Völker
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D54286
2025-12-19 17:26:37 +01:00
Michael Tuexen 391e870931 printf.9: fix style
Follow the style described by style.9.

Reported by:	markj
MFC after:	1 week
2025-12-18 23:49:51 +01:00
Konstantin Belousov 5c1d9df10b vmem.9: provide a reference to libuvmem(3)
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2025-12-18 22:13:05 +02:00
Ed Maste fb1994e03c aq(4): Add man page
Reviewed by:	ziaee
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53840
2025-12-18 14:06:24 -05:00
Michael Tuexen f6e1833018 vtnet.4: put each sentence on its own line
Reported by:	ziaee
Fixes:		e3a0571ad7 ("vtnet: expose flags via sysctl tree")
MFC after:	1 week
2025-12-18 15:57:46 +01:00
Michael Tuexen e3a0571ad7 vtnet: expose flags via sysctl tree
Provide the flags used for a vtnet interface via the sysctl tree.
This is mostly used for debugging purposes.

Reviewed by:		Timo Völker
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D54283
2025-12-18 15:42:13 +01:00
Stefan Eßer cf5eed7159 if_rge: fix typo in man page
Fix the list of devices supported by the driver: RTL8125 occured
twice, should have been RTL8127 in one case.

Approved by:	adrian
2025-12-18 08:55:03 +01:00
Alexander Ziaee 3527e7e9f7 example.3: Show updated library macro usage
The LIBRARY section has been deprecated by upstream.
Show the updated usage of the Lb macro in SYNOPSIS.

Fixes:	4c07abdbac (mandoc: Vendor import of upstream at 2025-06-13)
2025-12-17 12:27:39 -05:00
Alexander Ziaee 067b62bd58 examples/mdoc: Remove document description quotes
Quotes in roff do not work the way quotes in shell do,
remove them from the examples to hopefully lead less people astray.

MFC after:	3 days
2025-12-17 12:25:19 -05:00
Maxim Konovalov 27554189e5 khelp: make the module compile again
PR:		291165
MFC after:	1 week
2025-12-16 05:48:58 +00:00
Gleb Smirnoff c10447a925 bpf: add BIOCGETIFLIST ioctl that returns all available tap points
Differential Revision:	https://reviews.freebsd.org/D53873
2025-12-15 12:51:26 -08:00
John Hall 2059040493 committers-src: add myself (jrhall@)
Add jrhall@ (myself) as new src committer with imp@ as
mentor.

Reviewed By:    imp (mentor)
Approved by:    imp (mentor)
Differential Revision: https://reviews.freebsd.org/D53934
2025-12-15 10:21:10 -07:00
Brooks Davis b9b1262a8e src.conf.5: regen documenting WITH_IPFILTER_IPFS 2025-12-15 13:52:34 +00:00
Adrian Chadd 4bf8ce037d if_rge: initial import of if_rge driver from OpenBSD.
This is an initial import of the if_rge driver from OpenBSD
and adapted to FreeBSD.

Differential Revision:	https://reviews.freebsd.org/D54101
2025-12-15 02:00:09 +00:00
Poul-Henning Kamp edd982b953 Cross-reference all of uart(4), tty(4) and termios(4)
Add a BUGS subsection about why, in the vain hope that somebody
improves the situation.
2025-12-14 22:09:48 +00:00
Baptiste Daroussin 3b8e13c469 pci_vendors: update to version 2025-12-12 2025-12-12 16:16:53 +01:00
Warner Losh 8ac7a3801c cam: Reduce overly long timeout values for initial device probing
Currently, we have very long timeouts for the initial probing
commands. However, these are not appropriate for modern (post 2010) SCSI
disks. Sandards since SPC3 state that these commands should not wait for
media access. Since we retry them several times during the initial bus
scan, these delays can delay the boot by minutes (5 minutes per errant
disk in our expereince). These delays don't help and only hurt, so
reduce the TESTUNITREADY, INQUIRY and MODESENSE commands (during the
initial probe). Provide sysctl/tuneables to change the time for these
and also the REPORTLUNS commands for people that might need to adjust
them for devices that violate this belief but none-the-less work with
longer timeouts.
	kern.cam.tur_timeout		(default was 60s, now 1s)
	kern.cam.inquiry_timeout	(default was 60s, now 1s)
	kern.cam.reportluns_timeout	(default is 60s)
	kern.cam.modesense_timeout	(default was 60s, now 1s)
This can be partially merged: the sysctls can, but the new defaults likely
shouldn't.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D52427
2025-12-11 12:07:17 -07:00
Alexander Ziaee 473bc5778c bnxt.4: Adjust for recent HARDWARE
+ Adjust document description matching another terabit driver
+ Add BCM576XX family to DESCRIPTION, switch to XX notation
+ Add some model names, additional models, and improvements to HARDWARE

MFC after:		3 days
Reviewed by:		sumit.saxena_broadcom.com (previous)
Differential Revision:	https://reviews.freebsd.org/D54028
2025-12-10 21:10:56 -05:00
Simon J. Gerraty 9bbb08f905 Update share/mk files from bmake
Update to the latest makefiles etc from bmake.
Mostly this just replaces sjg license with an SPDX tag.

There are also some improvements to meta2deps* and optimizations
to leverage POSIX shell features in some target scripts.
Default isPOSIX_SHELL to ':' in sys.mk to enable these.

Use :sh1 in M_type if possible.

bsd.progs.mk has diverged too much to touch beyond making the
SPDX tag update.

Reviewed by:	stevek
Differential Revision:	https://reviews.freebsd.org/D54150
2025-12-09 21:06:31 -08:00
John Baldwin e2b8be511e nvmf_che: Add a manual page for the Chelsio NVMe/TCP PDU offload driver
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D53764
2025-12-09 10:57:44 -05:00
John Baldwin d8556d2bad nvmf_tcp.4: Don't quote the document description given to .Nd
Reported by:	ziaee
2025-12-09 10:57:16 -05:00
Jose Luis Duran 2cfd9fe87b locale: make install Unicode 17.0.0/CLDR 48
Unicode 17.0 adds 4803 characters, for a total of 159,801 characters.
The new additions include 4 new scripts:

- Sidetic
- Tolong Siki
- Beria Erfe
- Tai Yo

https://www.unicode.org/versions/Unicode17.0.0/
2025-12-08 18:44:21 +00:00
Seth Hoffert 0140dc4a68 man typos: Fix pf.conf.5 and jail.2 typos
MFC after:	3 days
Signed-off-by:	Seth Hoffert <seth.hoffert@gmail.com>
Closes:		https://github.com/freebsd/freebsd-src/pull/1919
2025-12-08 12:31:06 -05:00
Goran Mekić ebe7b24166 sound examples: Check if setting property was successful
MFC after:	1 week
Reviewed by:	christos
Differential Revision:	https://reviews.freebsd.org/D54038
2025-12-08 18:21:30 +01:00
Cy Schubert 0ff0c19e7f ipfilter: Disable ipfs(8) by default
At the moment ipfs(8) is a tool that can be easily abused. Though the
concept is sound the implementation needs some work.

ipfs(8) should be considered experimental at the moment.

This commit also makes ipfs support in the kernel optional.

Reviewed by:		emaste, glebius
MFC after:		1 week
Differential revision:	https://reviews.freebsd.org/D53787
2025-12-08 08:15:18 -08: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
Jose Luis Duran 36cfa8093d locale: make install
Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53962
2025-12-06 12:20:18 +00:00
Jose Luis Duran 9df8243a2e locale: make posix
Run make posix to generate monetary definition files with the
international parameters missing from localeconv(3)'s lconv struct.

Manually convert the "frozen" non-unicode locales under share/monetdef.

Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53917
2025-12-06 12:20:17 +00:00
Lexi Winter ce8dc5b124 freebsd-base.7: Document the optional set
MFC after:	3 days
Reviewed by:	ziaee, emaste
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D54065
2025-12-05 02:43:51 +00:00
Robert Clausecker fc88be257e Revert "stddef.h: add unreachable() for C23 compliance"
Seems like a number of ports are *really* unhappy with this new
macro.  These ports will have to be fixed and the patch reworked
to perhaps not affect C++ (see D54041).  A general discussion on
how we expose new language features may also need to take place.

Reported by:	many people
Approved by:	markj (mentor)

This reverts commit b381d09802.
2025-12-05 00:25:10 +01:00
Rene Ladan 8102307c7b misc: retire tcberner from portmgr
Hat:	portmgr
2025-12-04 22:26:29 +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
Timothy Pearson 84fd37f309 committers-src: add myself (tpearson@)
Add myself (tpearson@) as a new src committer with jhibbits@ as my mentor.

Approved by: jhibbits(mentor)
2025-12-03 08:58:32 -06:00
Sumit Saxena 35dd53a9e1 librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping
By default ibv_devices and rping are not statically bound to
libbnxtre.so.1. i.e. 'ldd /usr/bin/rping' command doesn't list
'libbnxtre.so.1' entry. So, statically bound the libbnxtre.so.1
library to rping & ibv_devices utils.

MFC-After:      3 days
Reviewed-by:    sumit.saxena@broadcom.com
Differential-Revision: https://reviews.freebsd.org/D49604
2025-12-03 11:33:40 +00:00
Sumit Saxena b42fda6be3 share/mk: Include libbnxtre entry in bsd.libnames.mk
Add libbnxtre entry in bsd.libnames.mk file.

MFC-After:	3 days
Reviewed-by:	sumit.saxena@broadcom.com
Differential-Revision: https://reviews.freebsd.org/D49603
2025-12-03 11:33:40 +00:00
Warner Losh 6183477474 kqueue(9): document f_copy
f_copy controls whether and how a knote is inherited by the child
process.

Sponsored by:		Netflix
Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D53845
2025-12-02 21:40:47 -07:00
Alexander Ziaee 39b2ca9ec9 freebsd-base.7: Rewrite table into a tagged list
The table is not playing nicely with
https://man.freebsd.org/freebsd-base

MFC after:		3 days
Reviewed by:		pauamma@gundo.com
Differential Revision:	https://reviews.freebsd.org/D54036
2025-12-02 14:46:53 -05:00
polyduekes df815450fb release.7: PKGBASE is now the default
Signed-off-by:	polyduekes-git <polyduekes@proton.me>
Reviewed by:	cperciva, emaste, ziaee
Closes:		https://github.com/freebsd/freebsd-src/pull/1913
2025-12-02 14:45:31 -05:00
Maxim Konovalov 7b44ab1c6a bsd-family-tree: add FreeBSD 15.0 2025-12-02 03:44:42 +00:00
Konstantin Belousov 1ecf01065b libuvmem: usermode port of vmem(9)
The quantum cache is disabled, there is no uma.

Intent is to use this for resource allocation in bhyve(8), for start.
Addition of -luvmem to bhyve linking was done to test changes to share/mk.

Reviewed by:	bnovkov, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D27220
2025-12-02 05:41:13 +02:00
Diane Bruce 791c531402 Fintek F81232 USB to serial driver
Driver for Feature Integration Technology Inc. (aka Fintek)
F81232 USB to serial driver.

Reviewed by:	thj,adrian,UB
Approved by:	adrian
Differential Revision:	https://reviews.freebsd.org/D53893
2025-12-01 20:15:37 -05:00