aboutsummaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* New version of jng (2.0)Devin Teske13 hours1-70/+249
| | | | | | | | | | | | | | | | | | | | | | | Changes for jng 1.0 -> 2.0 include: + Add experimental MSS clamping + Add support for ng_bridge(4) NGM_BRIDGE_GET_STATS (getstats) + Add JSON formatted ng_bridge(4) statistics (see above) via "jng stats -j <name>" + Add error messages + Minor refactoring for code readability (read: quietly() function) + Rename eiface variables to jiface to clarify as-for jail interface (not ng_eiface(4)) + Fix missing description for alternate form of "jng show" usage + Update "jng show <name>" to accept multiple names (now "jng show <name> …" is allowed) + Update "jng shutdown <name>" to accept multiple names (now "jng shutdown <name> …" is allowed) + Add "-a" option to "jng stats" (as-in "jng stats -a") to show all ng_bridge(4) stats + Update "jng stats <name>" to accept any kind of name (make it easier to use) + Add version ident + Remove extraneous line in LICENSE section + Add -h to usage statements + Bump copyright Reviewed by: jlduran Differential Revision: https://reviews.freebsd.org/D43516
* virtio: use modern mode for transitional device by defaultTimo Völker17 hours1-1/+1
| | | | | | | | | | | | | | This patch changes the default value of the loader tunable hw.virtio.pci.transitional to 1. This means, virtio uses the modern mode for transitional devices by default. The return values of vtpci_modern_probe() and vtpci_legacy_probei() were chosen to prefer modern mode, but hw.virtio.pci.transitional=0 prevents modern mode. Setting hw.virtio.pci.transitional to 1 by default seems a better fit. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D55894
* virtio.4: fix typoTimo Völker17 hours1-2/+2
| | | | | | Reviewed by: tuexen Fixes: c70755bc0d8f ("virtio: add loader tunables to sysctl") MFC after: 3 days
* Remove WITHOUT_BZIP2, WITHOUT_BZIP2_SUPPORTLexi Winter42 hours2-18/+1
| | | | | | | | | | | | | | | WITHOUT_BZIP2_SUPPORT only affects a single binary, gzip(1); it doesn't remove bzip2 support from other bits (e.g., libarchive) and there are no similar options for gzip, xz or zstd. WITHOUT_BZIP2 has not done anything at all since it was first added in 2007. MFC after: never Discussed on: arch@ Reviewed by: imp, des, adrian, delphij, emaste Differential Revision: https://reviews.freebsd.org/D56148 Sponsored by: https://www.patreon.com/bsdivy
* splash: add shutdown splashQuentin Thébault2 days1-3/+11
| | | | | | | | | | | This commit adds a shutdown splash to the existing kernel startup splash(4) screen feature. It can be customized by providing a PNG image to the shutdown_splash directive loader.conf(5). Sponsored by: Defenso MFC after: 2 weeks Reviewed by: vexeduxr, ziaee, manu Differential Revision: https://reviews.freebsd.org/D55140
* src.conf.5: Regen after MK_CROSS_COMPILER=no changeEd Maste3 days1-1/+3
|
* src.opts.mk: !CROSS_COMPILER implies !LLVM_BINUTILS_BOOTSTRAPEd Maste3 days1-0/+1
| | | | | | | | | This fixes the build when WITHOUT_CROSS_COMPILER is set. Reported by: fuz, vishwin Fixes: 17494c6e6b7d ("build: Boostrap LLVM_BINUTILS for cross-tools") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56219
* malloc.9: adjust flag table indentationMitchell Horne5 days1-1/+1
| | | | | | | The current indentation is shorter than all but one of these flags. This renders much more nicely. MFC after: 3 days
* Makefile.inc1: Drop AS and RANLIB variablesEd Maste5 days1-1/+0
| | | | | | | | | These are not used in our world and kernel build targets. We use the compiler driver for assembly, and ar adds the archive index (symbol table) automatically. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55964
* vmgenc.4: Add VM Generation ID Counter manualChristos Longros5 days2-0/+63
| | | | | | | | | | | | Document the vmgenc(4) ACPI driver which detects virtual machine cloning and snapshot restoration via the VM Generation ID specification. The driver reseeds the kernel entropy pool when a generation change is detected. MFC after: 3 days Reviewed by: cem (previous), ziaee Signed-off-by: Christos Longros <chris.longros@gmail.com> Differential Revision: https://reviews.freebsd.org/D56011
* pkgbase: Move all of ATF into the atf packageDag-Erling Smørgrav6 days3-16/+16
| | | | | | | | | | | | Parts of ATF (including the licence and some of the documentation) were for some reason part of the tests package instead of the atf package. Moving them to where they logically belong poses no problem since tests already depends on atf. PR: 294129 MFC after: 1 week Reviewed by: ivy Differential Revision: https://reviews.freebsd.org/D56158
* asmc(4): Bump manpage date after editionVladimir Kondratyev7 days1-1/+1
| | | | | Fixes: 5d7862fb998f ("asmc(4): Add support for backlight(9) interface") MFC after: 1 month
* asmc(4): Add support for backlight(9) interfaceVladimir Kondratyev7 days1-1/+10
| | | | MFC after: 1 month
* mk: Disable blacklist when disabling blocklistJose Luis Duran7 days2-1/+26
| | | | | | | | | | | WITHOUT_BLOCKLIST, when set, should enforce WITHOUT_BLACKLIST. This fixes the build when WITHOUT_BLOCKLIST=yes is set. Reported by: ivy Reviewed by: ivy Fixes: 7238317403b9 ("blocklist: Rename blacklist to blocklist") MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D56118
* DEVICE_IDENTIFY.9: Fix function call to detect driver in example codeOlivier Certner9 days1-1/+1
| | | | | | Fixes: ccabc7c2e556 ("DEVICE_IDENTIFY.9: Modernize description and use cases") MFC after: 3 days Sponsored by: The FreeBSD Foundation
* manuals: System message vs kernel messageAlexander Ziaee10 days1-3/+3
| | | | | | | | | | | | | | | | Wordsmith mentions throughout the manual of syslog and dmesg, to clearly differentiate them in an externally consisteny way, increasing operator onboarding speed and elegance. The daemon that handles general system messages, syslog, describes them as "system messages", and "messages" is the standard filename. Rewrite syslog related manual titles to align search results with this, and hier entries to align the index. Use care to maintain keywords and not add extra lines. Newsyslog trades "maintain" with "rotate" for visibility. MFC after: 3 days Reviewed by: markj Closes: https://github.com/freebsd/freebsd-src/pull/2067
* ufshci: add uic powermode parameter to sysctlJaeyoon Choi12 days1-1/+33
| | | | | | | | | Adds parameters related to the performance of the UFS device. Also update man page for the missing sysctl entries. Sponsored by: Samsung Electronics Reviewed by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D55985
* rge: make rx_process_limit a sysctl tunableChristos Longros11 days1-0/+5
| | | | | | | | | | | The number of packets processed per interrupt was hardcoded to 16. Add a per-interface sysctl dev.rge.%d.rx_process_limit tunable so users can adjust this value at runtime. Signed-off-by: Christos Longros <chris.longros@gmail.com> Reviewed by: ziaee, adrian Differential Revision: https://reviews.freebsd.org/D56014
* rge.4: fix incorrect speed range in HARDWARE sectionChristos Longros11 days1-2/+17
| | | | | | | | | | | | | | | | | | | | The HARDWARE section stated "PCIe 1GB to 1GB Ethernet devices" which is incorrect. The RTL8125/8126/8127 chips support speeds from 1Gbps to 10Gbps. Correct the range. Signed-off-by: Christos Longros <chris.longros@gmail.com> rge.4: note that the driver manages PHY directly The rge(4) driver does not use the miibus(4) interface for PHY management. Instead, it accesses PHY registers directly via the chip's OCP (On-Chip Peripheral) bus. Document this in the DESCRIPTION section. Signed-off-by: Christos Longros <chris.longros@gmail.com> Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D55995
* hwpmc.4: correct stale default values and update diagnosticsPaulo Fragoso12 days1-6/+19
| | | | | | | | | | | | | | | | | The default values documented for kern.hwpmc.logbuffersize (4KB) and kern.hwpmc.nbuffers_pcpu (64) have been incorrect since 2981a3420cb1 (2018), which updated the compiled defaults but did not update the man page. - Correct logbuffersize default from 4KB to 256KB, add 16MB maximum - Correct nbuffers_pcpu default from 64 to 32, document 32MB per-CPU product limit with kern.hwpmc.logbuffersize - Update DIAGNOSTICS section to reflect current warning messages Reviewed by: mhorne MFC after: 1 week Sponsored by: NLINK (nlink.com.br) Differential Revision: https://reviews.freebsd.org/D56050
* mdo.1: Cross-reference with security.7Mateusz Piotrowski13 days1-1/+2
| | | | | | MFC after: 3 days Reviewed by: olce Differential Revision: https://reviews.freebsd.org/D56024
* acpi.4: Update sysctl descriptions for new stypesAymeric Wibo2026-03-211-13/+14
| | | | | | | | | | | | | The previous S1-S5 options are still accepted for compatibility, but they are now deprecated in favour of the new generic sleep types. Reported by: markj Reviewed by: markj Approved by: markj Fixes: 97d152698f48 ("acpi: Use sleep types defined in sys/power.h") Event: AsiaBSDCon 2026 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56008
* dwcotg.4: Initial manual pageAlexander Ziaee2026-03-202-0/+30
| | | | | | | | Create visibility in apropos and the Hardware Release Notes. MFC after: 3 days Reviewed by: pauamma, ray Differential Revision: https://reviews.freebsd.org/D53287
* build: Boostrap LLVM_BINUTILS for cross-toolsEd Maste2026-03-202-0/+14
| | | | | | | | Reported by: vexeduxr, jrtc27 Reviewed by: imp Sponsored by: The FreeBSD Foundation Pull request: https://github.com/freebsd/freebsd-src/pull/2084 Differential Revision: https://reviews.freebsd.org/D55923
* src.conf(5): rebuild after introduction of WITHOUT_PKGSERVEBaptiste Daroussin2026-03-201-1/+4
|
* pkg-serve(8): serve pkg repositories over TCP via inetd (8)Baptiste Daroussin2026-03-201-0/+1
| | | | | Reviewed by: manu, bdrewery (previous version) Differential Revision: https://reviews.freebsd.org/D55895
* ecn.9: Replace non-ASCII charactersPouria Mousavizadeh Tehrani2026-03-191-3/+3
| | | | | Reported by: maxim Fixes: ba4298b05564 ("ecn.9: Add ecn(9) manual")
* ecn.9: Add ecn(9) manualPouria Mousavizadeh Tehrani2026-03-192-0/+189
| | | | | | | Add ecn manual for ip_ecn tunneling functions. Reviewed by: pauamma_gundo.com, tuexen Differential Revision: https://reviews.freebsd.org/D53517
* libpmc: Query hwpmc for capsAli Mashtizadeh2026-03-161-0/+4
| | | | | | | | | | | | | This change allows for fine-grained capabilities per counter index. This is particularly useful for AMD where subclasses are not exposed to the general PMC code, but other architectures also have asymmetric behaviors when it comes to specific counter indices. A new PMC_OP_GETCAPS op is added to the hwpmc(4) ioctl interface. Reviewed by: mhorne Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/2058
* crypto_request.9: Fix typo on crypto_initreq argumentszxbv32026-03-161-1/+1
| | | | | | | | | The function signature of `crypto_initreq()` was incorrectly documented. Signed-off-by: Zixu Wu <zx@bv3.dev> Reviewed by: ziaee, pouria Pull Request: https://github.com/freebsd/freebsd-src/pull/2077
* Revert "bsd.own.mk: Deorbit compat include of bsd.compiler.mk"Mateusz Piotrowski2026-03-151-0/+6
| | | | | | | | | | | This reverts commit 0bebad8d072bb7abef1cea0d8c8d04d500913adf. It might be that all that's needed to fix this is to add ".include <bsd.compiler.mk>" to some Makefiles. I'll look into it soon but for now let's unbreak HEAD. Approved by: bnovkov (mentor) Differential Revision: https://reviews.freebsd.org/D55869
* bsd.own.mk: Deorbit compat include of bsd.compiler.mkMateusz Piotrowski2026-03-151-6/+0
| | | | | | | | | | | Commit b946bedd09d3bd1 ("Previous versions of bsd.own.mk [...]") mentions that bsd.own.mk included bsd.compiler.mk as a temporary workaround and was destined to be removed in FreeBSD 12. Do that now. PR: 203540 Reviewed by: bnovkov, imp Approved by: bnovkov (mentor) Differential Revision: https://reviews.freebsd.org/D55867
* resolver.5: document six previously undocumented optionsChristos Longros2026-03-151-1/+39
| | | | | | | | | | | Document the edns0, inet6, insecure1, insecure2, no-check-names, and rotate options which are parsed by res_init(3) but were not described in the resolver(5) man page. MFC after: 1 week Signed-off-by: Christos Longros <chris.longros@gmail.com> Reviewed by: des Differential Revision: https://reviews.freebsd.org/D55864
* re(4), rge(4): improve Realtek driver man pagesChristos Longros2026-03-142-0/+6
| | | | | | | | | | | | | Add D-Link DGE-530(T) and Killer E2600 to the re(4) HARDWARE list. Both are supported by the driver but were missing from the man page. Also add cross-references between re(4) and rge(4) in SEE ALSO, as both are Realtek NIC drivers. Signed-off-by: Christos Longros <chris.longros@gmail.com> Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D55745
* committers-ports.dot: Add new committer (laurent)Laurent Chardon2026-03-141-1/+3
| | | | | | | | Update Mentor (thierry) and Mentee (laurent) Information. Reviewed by: thierry (mentor) Approved by: thierry (mentor) Differential Revision: https://reviews.freebsd.org/D55856
* committers-ports.dot: Add new committer (mce)Kousuke Kannagi2026-03-131-0/+3
| | | | | | | | Update Mentor and Mentee Information. Reviewed by: osa, fluffy (mentors) Approved by: fluffy (mentor) Differential Revision: https://reviews.freebsd.org/D55839
* alloca.3: Add entry about defining VLAs in same block as alloca() to BUGSAymeric Wibo2026-03-131-11/+29
| | | | | | | | | | | | | | | Refer to alloca() as a (builtin) function or macro, as it could be defined as either depending on the compiler. Paragraph about bug comes from Darwin's libc, and example added to illustrate it. Reviewed by: bnovkov Approved by: bnovkov MFC after: 3 days Obtained from: https://github.com/apple-oss-distributions/libc (partially) Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D55370
* carp: retire ioctl(2) APIGleb Smirnoff2026-03-121-9/+3
| | | | | | | | | All supported stable branches use netlink(4) API to configure carp(4). The deleted code also has kernel stack leak vulnerability, that requires extra effort to fix. Reviewed by: pouria, kp Differential Revision: https://reviews.freebsd.org/D55804
* DEFINE_IFUNC.9: update NOTESMitchell Horne2026-03-121-4/+3
| | | | | | | | | ifuncs are now implemented for all architectures, so drop the caveat statement. Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55815
* pci: Export bus numbers for bridge devices in struct pci_confJohn Baldwin2026-03-101-0/+6
| | | | | | | | | | | This exports bus information about bridges to userspace via the less-privileged PCIOCGETCONF ioctl. Previously if userspace wished to query this information, it had to use direct PCI config register access which requires higher privilege. Reviewed by: imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D55771
* pci.4: Quote argument to -width for a list blockJohn Baldwin2026-03-101-3/+3
| | | | | | | | | | | | This fixes an mdoc warning and also properly indents this list. While here, update the quoted argument to be the longest tag in the list. Also while here, correct the description of pd_numa_domain. NUMA domains are a property of the device, not of the driver. Reviewed by: ziaee, imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D55770
* bsd-family-tree: add FreeBSD 14.4Maxim Konovalov2026-03-101-5/+8
|
* share/dict/web2: SortEd Maste2026-03-091-2/+2
| | | | | PR: 293659 Fixes: e49b6ead4114 ("Add a number of five letter words to the dictionary")
* Fix typos in manual pagesChristos Longros2026-03-093-3/+3
| | | | | | | | | | bpf.4: accomodate -> accommodate hier.7: compatability -> compatibility namei.9: succesfull -> successful Signed-off-by: Christos Longros <chris.longros@gmail.com> Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D55746
* igc.4: Describe betterAlexander Ziaee2026-03-091-4/+4
| | | | MFC after: 3 days
* bsd.progs.mk: Fix incremental META_MODE for prog sourcesBryan Drewery2026-03-091-2/+25
| | | | | | | | | | | | | | This fixes recursed builds not having meta mode enabled for them which disabled dependency and and command change tracking. We only want common objects marked .NOMETA when recursing, not non-common objects. The common code expects _PROGS_COMMON_SRCS does not contain the prog source or else it will be marked .NOMETA. Add comments explaining the intent and cases being covered. Fixes: 4ea5e107b1 ("<bsd.progs.mk>: Allow using SRCS for common sources") Differential Revision: https://reviews.freebsd.org/D55711 Reviewed by: vexeduxr, sjg
* ports.7: Document DEFAULT_VERSIONSAlexander Ziaee2026-03-061-0/+4
| | | | | | MFC after: 3 days Co-authored-by: Adam Weinberger <adamw@FreeBSD.org> Differential Revision: https://reviews.freebsd.org/D55443
* sys: Don't pass RF_ALLOCATED to bus_alloc_resource*John Baldwin2026-03-061-7/+3
| | | | | | | | | | | | | | | | | | | | | | | This is a nop as eventually these flags are passed to rman_reserve_resource which unconditionally sets RF_ALLOCATED in the new flags for a region. However, it's really a layering violation to use RF_ALLOCATED in relation to struct resource objects outside of subr_rman.c as subr_rman.c uses this flag to manage it's internal tracking of allocated vs free regions. In addition, don't document this as a valid flag in the manual. I think the intention here was that if a caller didn't want to pass RF_ACTIVE or RF_SHAREABLE, they could pass RF_ALLOCATED instead of 0, but given the layering violation, I think it's best to just pass 0 instead in that case. NB: The bhnd bus uses RF_ALLOCATED (along with RF_ACTIVE) in a separate API to manage resource regions that are not struct resource objects (but a separate wrapper object). It would perhaps be cleaner if the chipc_retain_region and chipc_release_region functions used their own flag constants instead of reusing the rman(9) flags. Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D55683
* style.9: Encourage style changes when doing significant modificationsOlivier Certner2026-03-061-22/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rule of allowing style changes when about half or more of a file (or group of files), coupled with the advice of avoiding stylistic changes, could be interpreted as forbidding most style changes, even in heavily modified functions. In order to rule out that interpretation and ease transition towards our prescribed style: 1. Clarify that avoiding stylistic changes concerns only "standalone" ones. 2. Actually encourage changing the style, and extend the cases where it is explicitly allowed to do so to any single logical unit as little as a function, keeping the existing "about half" of modified code as a rule of thumb. When point 2 above applies, encourage to commit pure style changes separately, and to add style-only commits to '.git-blame-ignore-revs'. Add a specific note ruling out "horizontal" style changes spanning unrelated directories in the whole tree, which make the merge (MFC) process more difficult. While here, be slightly more stringent on new kernel code. While here, regroup the paragraphs talking about style, and put them at the end (before the recent C++ section). While here, rephrase the requirement on third-party maintained code to be slightly less stringent. Reviewed by: jhb, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D52885
* bsd.linker.mk: Retire support for binutils 2.17.50Ed Maste2026-03-051-3/+1
| | | | | | | | | | | | | | | | GNU binutils 2.17.50 is the last GPLv2 version, and we retained support in FreeBSD while it was part of the in-tree toolchain. The last parts of binutils 2.17.50 were removed in commit 74e8d41e0ac8 ("Retire BINUTILS and BINUTILS_BOOTSTRAP options") and there is no longer a need for the build infrastructure. We retain build-id and ifunc in LINKER_FEATURES unconditionally for now, as they may be tested by 3rd-party Makefiles. We can however stop testing for them in the tree. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55674