aboutsummaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* depend-cleanup: Force a clean build when options changeDag-Erling Smørgrav37 hours2-0/+19
| | | | | | | | | | | | | | | Similar to the build epoch check, cache a list of source options in the object tree, and force a clean build if the cached list does not match the current list, after filtering out options which are known not to affect the build (e.g. CLEAN, TESTS, WARNS). This also adds a DEPEND_CLEANUP option (which defaults to yes unless the CLEAN option is set) which can be used to skip depend-cleanup for faster incremental builds. MFC after: 1 week Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D52011
* Fix typo in tools/build/options/WITH_REPRODUCIBLE_PATHSDimitry Andric3 days1-4/+4
| | | | Fixes: faeaa25f5624
* Move MK_REPRODUCIBLE_PATHS to bsd.opts.mkDimitry Andric3 days2-1/+1
| | | | | | | | | | | | | | | | In commit faeaa25f5624 MK_REPRODUCIBLE_PATHS was introduced, but some ports that include bsd.debug.mk then started to fail with: make: /usr/share/mk/bsd.debug.mk:19: Variable "MK_REPRODUCIBLE_PATHS" is undefined in /usr/share/mk/bsd.lib.mk:525 in /wrkdirs/usr/ports/devel/libsysinfo/work/libsysinfo-0.0.3/Makefile:16 make: Fatal errors encountered -- cannot continue This is because bsd.debug.mk includes bsd.opts.mk, not src.opts.mk. Move the MK_REPRODUCIBLE_PATHS option to bsd.opts.mk to fix this. Reviewed by: imp, emaste Fixes: faeaa25f5624
* cpuctl.4: Formatting nitsAlexander Ziaee4 days1-1/+6
| | | | | | + Align ioctl list + Pad code examples + Tag spdx license identifier MFC after: 3 days
* genet.4: Only for AArch64 + tag spdxAlexander Ziaee4 days1-1/+4
| | | | MFC after: 3 days
* LinuxKPI: 802.11: add compat.linuxkpi.80211.IF.dump_stas_queuesBjoern A. Zeeb4 days1-1/+8
| | | | | | | | | | Extend the normal compat.linuxkpi.80211.IF.dump_stas sysctl by queue information. This was helpful for debugging various issues, like selecting the outbound queue, stopping queues for BAR and helped finding multiple bugs. Sponsored by: The FreeBSD Foundation MFC after: 3 days
* man pages: provide some description for extended errorsKonstantin Belousov4 days1-1/+15
| | | | | | | | | , related functions, and the EXTERROR_VERBOSE environment variable. Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54380
* exterror.9: describe formatting of optional argumentsKonstantin Belousov4 days1-0/+10
| | | | | | | Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54380
* bsd.sys.mk: add NO_WCHARACTER_CONVERSION and use it for googletestDimitry Andric4 days2-0/+6
| | | | | This silences warnings about benign implicit character conversions in googletest's gtest-printers.h.
* bsd.sys.mk: suppress some new clang 21 warnings for C++Dimitry Andric4 days1-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, these lead to many -Werror warnings in libc++ headers, due to our use of -Wsystem-headers, which is not officially supported upstream: Suppress -Wc++20-extensions, due to: /usr/include/c++/v1/__algorithm/simd_utils.h:96:50: error: explicit template parameter list for lambdas is a C++20 extension [-Werror,-Wc++20-extensions] 96 | inline constexpr size_t __simd_vector_size_v = []<bool _False = false>() -> size_t { | ^ Suppress -Wc++23-lambda-attributes, due to: /usr/include/c++/v1/__format/format_functions.h:462:32: error: an attribute specifier sequence in this position is a C++23 extension [-Werror,-Wc++23-lambda-attributes] 462 | if (bool __is_identity = [&] [[__gnu__::__pure__]] // Make sure the compiler knows this call can be eliminated | ^ Suppress -Wnullability-completeness, due to: /usr/include/c++/v1/string:1068:80: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness] 1068 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string(const _CharT* __s, size_type __n) { | ^ MFC after: 3 days
* locking.9: Tweak the table column width to fit 80 charactersZhenlei Huang5 days1-7/+7
| | | | | | | | | While here, add some white spaces to improve the readability of source code. Reviewed by: ziaee, #manpages MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54121
* vt: Remove .fnt.uu from Makefile SUFFIXESEd Maste5 days1-1/+1
| | | | | | The uudecode make rule was removed years ago. Fixes: 68510f3bac15 ("Remove uudecode make rule for vt fonts")
* kernel: MK_REPRODUCIBLE_PATHS for full paths vs /usr/srcWarner Losh5 days3-2/+10
| | | | | | | | | | | | | | | | | | | | | | There are many environments that you do not want the paths to be canonicalized. For example, if I always build a product from a specific path in a jail that's dependent on the product version, I don't want that to be sanitized to /usr/src because when I have profiling tools run against multiple kernels, I can't do A/B testing and results processing if everything points to /usr/src (sadly, the profiling tools cannot remap back to the original like gdb can). Since we need both active at the same time, symbloic link fallbacks don't work. We do want the rest of the build to be reproducible, however. We'll get the same binaries if we rebuild later since we always rebuild with the same path. Turn them both on for maximum reproduction for environments where that cannot be guaranteed. Sponsored by: Netflix Input from: emaste, ivy Differential Revision: https://reviews.freebsd.org/D52959
* vt.4: Remove Xr to nonexistent vidcontrol(8)Ed Maste5 days1-1/+0
| | | | | PR: 291985 Fixes: a8740ba860bf ("vt.4: Document increasing scrollback size")
* linprocfs.4: Improve docs around pid/self entriesMichael Osipov7 days1-4/+4
| | | | | | | | | 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
* src.conf: Add WITH_LLVM_LINK_STATIC_LIBRARIES build knobDimitry Andric9 days2-1/+9
| | | | | | | | | | | | | | | | | | | | | In commit 2e47f35be5dc 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
* udl.4: Tweak HARDWARE for hardware release noteAlexander Ziaee10 days1-21/+40
| | | | Fixes: 97fa62708f67 (udl.4: Consolidate HARDWARE and add HISTORY)
* udl.4: Consolidate HARDWARE and add HISTORYAlexander Ziaee10 days1-7/+15
| | | | | | | | | 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
* cdce.4: Add RTL8153 to HARDWAREAlexander Ziaee10 days1-1/+3
| | | | Fixes: 1b1fb628a1af (Quirk Realtek RTL8153 to config#1)
* cdce.4: Minor polishAlexander Ziaee10 days1-15/+20
| | | | | | | + Tag spdx license identifier + Fix "e.g.,"s to quiet linter + Remove useless Nd quoting + Put example in EXAMPLES MFC after: 3 days
* usr.bin: Remove intrinsic utilitiesDag-Erling Smørgrav14 days1-22/+16
| | | | | | | | | | | | | | | | | 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
* vtnet: expose features via sysctl treeMichael Tuexen14 days1-1/+3
| | | | | | | | | | | 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
* printf.9: Support more than 32 bits in %bMichael Tuexen14 days1-7/+18
| | | | | | | | | | 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
* printf.9: fix styleMichael Tuexen2025-12-181-2/+1
| | | | | | | Follow the style described by style.9. Reported by: markj MFC after: 1 week
* vmem.9: provide a reference to libuvmem(3)Konstantin Belousov2025-12-181-0/+3
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 3 days
* aq(4): Add man pageEd Maste2025-12-182-0/+57
| | | | | | | Reviewed by: ziaee Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53840
* vtnet.4: put each sentence on its own lineMichael Tuexen2025-12-181-1/+2
| | | | | | Reported by: ziaee Fixes: e3a0571ad74d ("vtnet: expose flags via sysctl tree") MFC after: 1 week
* vtnet: expose flags via sysctl treeMichael Tuexen2025-12-181-1/+3
| | | | | | | | | 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
* if_rge: fix typo in man pageStefan Eßer2025-12-181-2/+2
| | | | | | | Fix the list of devices supported by the driver: RTL8125 occured twice, should have been RTL8127 in one case. Approved by: adrian
* example.3: Show updated library macro usageAlexander Ziaee2025-12-171-3/+2
| | | | | | | The LIBRARY section has been deprecated by upstream. Show the updated usage of the Lb macro in SYNOPSIS. Fixes: 4c07abdbacf49 (mandoc: Vendor import of upstream at 2025-06-13)
* examples/mdoc: Remove document description quotesAlexander Ziaee2025-12-174-4/+4
| | | | | | | 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
* khelp: make the module compile againMaxim Konovalov2025-12-161-0/+2
| | | | | PR: 291165 MFC after: 1 week
* bpf: add BIOCGETIFLIST ioctl that returns all available tap pointsGleb Smirnoff2025-12-151-1/+26
| | | | Differential Revision: https://reviews.freebsd.org/D53873
* committers-src: add myself (jrhall@)John Hall2025-12-151-0/+2
| | | | | | | | | 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
* src.conf.5: regen documenting WITH_IPFILTER_IPFSBrooks Davis2025-12-151-1/+5
|
* if_rge: initial import of if_rge driver from OpenBSD.Adrian Chadd2025-12-152-0/+166
| | | | | | | This is an initial import of the if_rge driver from OpenBSD and adapted to FreeBSD. Differential Revision: https://reviews.freebsd.org/D54101
* Cross-reference all of uart(4), tty(4) and termios(4)Poul-Henning Kamp2025-12-144-3/+37
| | | | | Add a BUGS subsection about why, in the vain hope that somebody improves the situation.
* pci_vendors: update to version 2025-12-12Baptiste Daroussin2025-12-121-233/+1079
|
* cam: Reduce overly long timeout values for initial device probingWarner Losh2025-12-111-1/+33
| | | | | | | | | | | | | | | | | | | | | | | 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
* bnxt.4: Adjust for recent HARDWAREAlexander Ziaee2025-12-111-10/+23
| | | | | | | | | | + 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
* Update share/mk files from bmakeSimon J. Gerraty2025-12-1018-199/+232
| | | | | | | | | | | | | | | | | 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
* nvmf_che: Add a manual page for the Chelsio NVMe/TCP PDU offload driverJohn Baldwin2025-12-092-0/+81
| | | | | Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D53764
* nvmf_tcp.4: Don't quote the document description given to .NdJohn Baldwin2025-12-091-1/+1
| | | | Reported by: ziaee
* locale: make install Unicode 17.0.0/CLDR 48Jose Luis Duran2025-12-0849-137461/+142488
| | | | | | | | | | | | 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/
* man typos: Fix pf.conf.5 and jail.2 typosSeth Hoffert2025-12-081-1/+1
| | | | | | MFC after: 3 days Signed-off-by: Seth Hoffert <seth.hoffert@gmail.com> Closes: https://github.com/freebsd/freebsd-src/pull/1919
* sound examples: Check if setting property was successfulGoran Mekić2025-12-082-4/+22
| | | | | | MFC after: 1 week Reviewed by: christos Differential Revision: https://reviews.freebsd.org/D54038
* ipfilter: Disable ipfs(8) by defaultCy Schubert2025-12-081-0/+1
| | | | | | | | | | | | | 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
* iwmfw(4): fix spelling of the iwm8000C firmware.Bjoern A. Zeeb2025-12-081-1/+1
| | | | | | | | | | | | | | | | | 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: af0a81b6470aba4af4a24ae9804053722846ded4 Fixes: a0f06dfb0d188966bee7265ec7d9f20093186bb6 MFC after: 3 days
* zfs: world changes after 89f729dcc mergeMartin Matuska2025-12-072-11/+3
| | | | | Remove, unbind and obsolete libuutil and libtpool Update zfs_configh and zfs_gitrev.h
* locale: make installJose Luis Duran2025-12-064-0/+5
| | | | | | Reviewed by: bapt MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D53962