aboutsummaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* mdo.1: Cross-reference with security.7Mateusz Piotrowski4 hours1-1/+2
| | | | | | MFC after: 3 days Reviewed by: olce Differential Revision: https://reviews.freebsd.org/D56024
* acpi.4: Update sysctl descriptions for new stypesAymeric Wibo2 days1-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 Ziaee3 days2-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 Maste3 days2-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 Daroussin3 days1-1/+4
|
* pkg-serve(8): serve pkg repositories over TCP via inetd (8)Baptiste Daroussin3 days1-0/+1
| | | | | Reviewed by: manu, bdrewery (previous version) Differential Revision: https://reviews.freebsd.org/D55895
* ecn.9: Replace non-ASCII charactersPouria Mousavizadeh Tehrani4 days1-3/+3
| | | | | Reported by: maxim Fixes: ba4298b05564 ("ecn.9: Add ecn(9) manual")
* ecn.9: Add ecn(9) manualPouria Mousavizadeh Tehrani4 days2-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 Mashtizadeh6 days1-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 argumentszxbv37 days1-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 Piotrowski8 days1-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 Piotrowski8 days1-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 Longros8 days1-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 Longros8 days2-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 Chardon9 days1-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 Kannagi10 days1-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 Wibo10 days1-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 Smirnoff11 days1-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 Horne11 days1-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 Baldwin13 days1-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 Baldwin13 days1-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 Konovalov13 days1-5/+8
|
* share/dict/web2: SortEd Maste14 days1-2/+2
| | | | | PR: 293659 Fixes: e49b6ead4114 ("Add a number of five letter words to the dictionary")
* Fix typos in manual pagesChristos Longros14 days3-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 Ziaee14 days1-4/+4
| | | | MFC after: 3 days
* bsd.progs.mk: Fix incremental META_MODE for prog sourcesBryan Drewery14 days1-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
* bsd.linker.mk: Sort list of linker featuresJohn Baldwin2026-03-051-8/+8
| | | | | | | Reindent the features as well to be friendly to long feature names. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D55656
* bsd.linker.mk: Document ifunc, ifunc-noplt, riscv-relaxations featuresJohn Baldwin2026-03-051-0/+3
| | | | | Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D55655
* ndp: Add support for Gratuitous Neighbor Discovery (GRAND)Pouria Mousavizadeh Tehrani2026-03-051-1/+12
| | | | | | | | | | Implement RFC 4861 Section 7.2.6 and RFC 9131, which is also address one of the IPv6 deployment issues in RFC 9898 Section 3.9. GRAND should be triggered by a change in link-layer address of interface or by configuration of a new global ipv6 address after DAD completes. Reviewed by: glebius Differential Revision: https://reviews.freebsd.org/D55015
* build: Retire LLVM_CXXFILT optionEd Maste2026-03-052-12/+1
| | | | | | | | | | | | | | | | The LLVM_CXXFILT option was added when we used ELF Tool Chain tools by default. ELF Tool Chain's c++filt failed to demangle some symbols, so we added a special case to install LLVM's version and enabled it by default. The rest of the LLVM tools are now used by default, as of commit 9fa94e1c099d ("Turn on WITH_LLVM_CXXFILT by default"). Simplify the build logic by removing a special case and just include llvm-cxxfilt with the rest of the LLVM utilities. Reviewed by: dim Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55654
* src.conf.5: Fix "incompatibility" typoChristos Longros2026-03-041-1/+1
| | | | | | | MFC after: 3 days Reviewed by: ziaee Signed-off-by: Christos Longros <chris.longros@gmail.com> Closes: https://github.com/freebsd/freebsd-src/pull/2035
* ichwd: Add manual for i6300esb watchdogShengYi Hung2026-03-041-1/+11
| | | | | | | | Reviewed by: ziaee, mhorne Approved by: lwhsu (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54466
* me.4: note that it is a point-to-point interfaceEugene Grosbein2026-03-041-2/+2
| | | | | | Add explicit note that me(4) works as a point-to-point pseudo device. MFC after: 1 week
* me.4: link if_me kernel module to its manual page.Eugene Grosbein2026-03-041-0/+1
| | | | MFC after: 1 week
* src.conf.5: Regen after commit c47cefba8312Ed Maste2026-03-031-0/+6
|
* src.opts.mk: Retire BSD_CPIO optionEd Maste2026-03-032-5/+1
| | | | | | | | | | | | | | Prior to commit 6973701a00e3 ("1. Make the BSD version of cpio the default [1]") GNU cpio was installed unconditionally. The BSD_CPIO option was added when we introduced the BSD licensed, libarchive-based cpio, to support installation of GNU cpio, libarchive cpio, or both. GNU cpio was removed long ago and there is no longer a need for this option. We can just install BSD cpio unconditionally. Reviewed by: des Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55467
* src.conf.5: Regen for typo fix in commit 8e9515839369Ed Maste2026-03-031-1/+1
|
* sys: Retire le(4)Ed Maste2026-03-022-376/+0
| | | | | | | | | | | | | | | | We retired most obsolete 10 and 10/100 Ethernet NIC drivers in 2019 -- see commits following ebcf740a32ae ("FCP-101: remove obsolete 10 and 10/100 Ethernet drivers.). le(4) was retained with with the note "Emulated by QEMU, alternatives don't yet work for mips64." MIPS has since been removed from the tree and emulators and virtual machines offer many other, more suitable devices. Reviewed by: brooks Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55516
* virtio: add loader tunables to sysctlTimo Völker2026-03-021-2/+26
| | | | | | | | | | virtio_pci uses two loader tunables that should be more visible. This patch adds these loader tunables to sysctl and describes them in the virtio(4) man page. Reviewed by: imp (erlier version), tuexen MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D55533
* style.mdoc: Left angle bracket is not less-thanAlexander Ziaee2026-03-021-1/+1
| | | | | MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D55300
* style.mdoc: Remove synopsis formatting adviceAlexander Ziaee2026-03-021-67/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Remove incorrect advice. The first rule was no spaces padding pipes when showing alternates. Almost universally we not do this, and third party manuals do not either. The second was using Cm to mark up symbols. This advice is in conflict with mdoc(7), and the extended documentation on mdoc linked below, which is also linked at the bottom of mdoc(7). Conflicting information in our docs is a natural result of documentation proliferation. The most important thing we can do to reduce technical debt in the documentation is reduce the amount of doc overlap. Excessive technical debt and conflicting rules is a barrier to new contributors. This type of work requires thorough expertise, is not glamorous at all, and to add insult to injury, is socially unsafe. To get new contributors to the docs project, we must deduplicate documentation. We have the mdoc manual, examples/mdoc, style.mdoc, and the fdp chapter on manual pages. With this many, they will inevitably come to contain conflicting information, and people will learn not to read them or work on them. MFC after: 3 days Ref: https://mandoc.bsd.lv/mdoc/style/commands.html Differential Revision: https://reviews.freebsd.org/D55298
* style.mdoc: Li macro is undeprecated for some timeAlexander Ziaee2026-03-021-9/+1
| | | | | | | | | | | Previously, the mdoc linter warned against using Li as it was deprecated upstream. However, upstream undeprecated it since last year. As usual when it comes to style, the best thing to do is to follow the existing style of the page. We have many manuals which prefer double quotes. MFC after: 3 days Citation: https://cvsweb.bsd.lv/mandoc/mdoc.7?rev=1.297 Differential Revision: https://reviews.freebsd.org/D55297
* share/mk/src.libnames.mk: Sort _DP entriesJoseph Mingrone2026-03-011-111/+129
| | | | | | Requested by: des Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55598
* libiscsiutil: Record dependency on libmdDag-Erling Smørgrav2026-02-281-0/+1
| | | | | | | | | MFC after: 3 days Fixes: 6378393308bc ("Add an internal libiscsiutil library.") Sponsored by: Klara, Inc. Sponsored by: NetApp, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D55596
* rc.8: Add rc.suspend as an aliasPat Maddox2026-02-272-1/+3
| | | | | | | | | Make it consistent with the other lifecycle scripts, thus making it more findable. Reviewed by: ziaee Signed-off-by: Pat Maddox <pat@patmaddox.com> Closes: https://github.com/freebsd/freebsd-src/pull/2047
* style.mdoc: Add example manuals to FILESAlexander Ziaee2026-02-261-0/+5
| | | | | | | | This is the OG meat and potatoes. MFC after: 3 days Reviewed by: 0mp, carlavilla Differential Revision: https://reviews.freebsd.org/D55301