aboutsummaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
...
* scsi.4: Remove untrue paragraphWarner Losh2021-11-051-9/+1
| | | | | | | | | | Unwired units start with the first avaialble unit that hasn't been wired, not one greater than the largest wired unit. wired units are skipped when assigning unwired units a number. Sponsored by: Netflix Reviewed by: bcr Differential Revision: https://reviews.freebsd.org/D32824
* pf: Introduce ridentifierKristof Provost2021-11-052-2/+8
| | | | | | | | | | | | | Allow users to set a number on rules which will be exposed as part of the pflog header. The intent behind this is to allow users to correlate rules across updates (remember that pf rules continue to exist and match existing states, even if they're removed from the active ruleset) and pflog. Obtained from: pfSense MFC after: 3 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D32750
* vt: fix git mismergeWarner Losh2021-11-031-3/+4
| | | | | | | I made a mistaking in merging the final commits for the devctl changes. This adds the 'hushed' variable and has the correct dates for the manuals. Pointy hat to: imp
* vt: fix typoWarner Losh2021-11-031-1/+1
| | | | Notifcation -> Notification
* vt: Add devctl message for bellsWarner Losh2021-11-031-0/+14
| | | | | | | | Generate VT events when the bell beeps. When coupled with disabling the bell,this allows custom bells to be rung when we'd otherwise beep. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D32656
* blackhole(4): disable for locally originated TCP/UDP packetsGleb Smirnoff2021-11-031-1/+11
| | | | | | | | | In most cases blackholing for locally originated packets is undesired, leads to different kind of lags and delays. Provide sysctls to enforce it, e.g. for debugging purposes. Reviewed by: rrs Differential revision: https://reviews.freebsd.org/D32718
* development(7): Use a more common architecture for examplesEdward Tomasz Napierala2021-11-031-4/+4
|
* epair: remove "All rights reserved"Bjoern A. Zeeb2021-11-021-1/+0
| | | | | | | Remove "All rights reserved" from The FreeBSD Foundation owned copyrights on epair code and documentation. Approved by: emaste (FreeBSD Foundation)
* efirt(9): Correct efi_var_set definition in the manpageLakshman2021-11-021-3/+3
| | | | | PR: 257531 MFC after: 3 days
* Document my doc commit bitEd Maste2021-11-021-0/+3
| | | | Prodded by: ygy
* Add entry in rtwn_usb(4) for TP-Link Archer T2U PlusMichael Zhilin2021-11-011-2/+3
| | | | | | | | This is missing documentation change of D24142. Submitted by: kjopek@gmail.com Reviewed by: gbe Differential Revision: https://reviews.freebsd.org/D25114
* src.conf.5: regen for WITH_ASAN and WITH_UBSAN descriptionsEd Maste2021-11-011-0/+18
|
* src.conf.5: regenEd Maste2021-11-011-1/+46
| | | | | | | Pick up changes in option dependencies (WITHOUT_OPENSSL and WITHOUT_CXX) and the addition of WITH_DETECT_TZ_CHANGES and WITH_LLVM_BINUTILS. Sponsored by: The FreeBSD Foundation
* src.opts.mk: Add WITHOUT_CXX dependenciesEd Maste2021-10-291-0/+3
| | | | | | | | | | OFED, OPENMP, and PMC depend on C++ support. Force them off when building WITHOUT_CXX. Reported by: Michael Dexter, Build Option Survey Reviewed by: imp, jrtc27 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32730
* Force WITHOUT_OPENSSL_KTLS off when WITHOUT_OPENSSLEd Maste2021-10-281-0/+1
| | | | | | | Discussed with: jhb MFC after: 1 week Reported by: Michael Dexter, Build Option Survey Sponsored by: The FreeBSD Foundation
* Retire obsolete iscsi_initiator(4)Ed Maste2021-10-262-119/+0
| | | | | | | | | | | The new iSCSI initiator iscsi(4) was introduced with FreeBSD 10.0, and the old intiator was marked obsolete shortly thereafter (in commit d32789d95cfbf, MFC'd to stable/10 in ba54910169c4). Remove it now. Reviewed by: jhb, mav Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32673
* Add libfido2 to the buildEd Maste2021-10-221-0/+3
| | | | | | | | | | | | | | | | | | | | | From https://github.com/Yubico/libfido2: libfido2 provides library functionality and command-line tools to communicate with a FIDO device over USB, and to verify attestation and assertion signatures. libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2) protocols. libfido2 will be used by ssh to support FIDO/U2F keys. It is currently intended only for use by ssh, and so is installed as a PRIVATELIB and is placed in the ssh pkgbase package. This is currently disabled for the 32-bit library build as libfido2 is not compatible with the COMPAT_32BIT hack in usb_ioctl.h. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32448
* Retire synchronous PPP kernel driver sppp(4).Gleb Smirnoff2021-10-227-491/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last two drivers that required sppp are cp(4) and ce(4). These devices are still produced and can be purchased at Cronyx <http://cronyx.ru/hardware/wan.html>. Since Roman Kurakin <rik@FreeBSD.org> has quit them, they no longer support FreeBSD officially. Later they have dropped support for Linux drivers to. As of mid-2020 they don't even have a developer to maintain their Windows driver. However, their support verbally told me that they could provide aid to a FreeBSD developer with documentaion in case if there appears a new customer for their devices. These drivers have a feature to not use sppp(4) and create an interface, but instead expose the device as netgraph(4) node. Then, you can attach ng_ppp(4) with help of ports/net/mpd5 on top of the node and get your synchronous PPP. Alternatively you can attach ng_frame_relay(4) or ng_cisco(4) for HDLC. Actually, last time I used cp(4) back in 2004, using netgraph(4) instead of sppp(4) was already the right way to do. Thus, remove the sppp(4) related part of the drivers and enable by default the negraph(4) part. Further maintenance of these drivers in the tree shouldn't be a big deal. While doing that, remove some cruft and enable cp(4) compilation on amd64. The ce(4) for some unknown reason marks its internal DDK functions with __attribute__ fastcall, which most likely is safe to remove, but without hardware I'm not going to do that, so ce(4) remains i386-only. Reviewed by: emaste, imp, donner Differential Revision: https://reviews.freebsd.org/D32590 See also: https://reviews.freebsd.org/D23928
* Document my doc commit bit historyLi-Wen Hsu2021-10-221-0/+5
| | | | Reminded by: ygy
* uefi(8): loader.efi does not search for loader.efiColin Percival2021-10-211-18/+0
| | | | | | | | | | | This man page formerly referred to boot1.efi searching for loader.efi; when boot1.efi was obsoleted in favour of having loader.efi launched directly, this was left claiming that loader.efi searched for loader.efi. Reviewed by: bcran Fixes: db8b56134506 Rework UEFI ESP generation Differential Revision: https://reviews.freebsd.org/D32334
* arswitch(4): Hook new manpage to buildGuangyuan Yang2021-10-211-0/+1
| | | | | | PR: 211668 Fixes: 262717e270c3e8a28fa2937db750ba946be8c836 Reported by: jhb
* sh(1): fix home/del key on mobaxterm envBaptiste Daroussin2021-10-201-0/+4
| | | | | | | | | | For $reason mobaxterm default on sending unusual sequence from home/del key, which makes libedit unabel to catch them and bind them correctly. mobaxterm seems popular on the windows environment, so add proper keybinding to default shrc configuration so it works out of box. Reported by: lme
* skel: update .shrc as wellBaptiste Daroussin2021-10-201-0/+8
| | | | | | | | | | Somehow we end up having 2 definition of the same .shrc in the source tree, both of them should have been updated. A batter fix would be to only keep one copy of the same file. but that would be for another commit Reported by: lme
* arswitch(4): Add new manpageFelix Johnson2021-10-201-0/+91
| | | | | | | PR: 211668 Reported by: O. Hartmann <ohartmann@walstatt.org> Reviewed by: adrian, debdrup, imp Differential Revision: https://reviews.freebsd.org/D32476
* Rewrite the vm_page_alloc manual pageMark Johnston2021-10-202-58/+292
| | | | | | | | | Document the new allocator variants and flesh out the description of some details of the page allocator interface. Reviewed by: kib, alc Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32035
* bitset: Reimplement BIT_FOREACH_IS(SET|CLR)Mark Johnston2021-10-181-0/+4
| | | | | | | | | | | | Eliminate the nested loops and re-implement following a suggestion from rlibby. Add some simple regression tests. Reviewed by: rlibby, kib MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32472
* procfs: Document as deprecatedEdward Tomasz Napierala2021-10-171-1/+10
| | | | | | | | Update the procfs(5) man page to clarify that it's deprecated. Reviewed By: bcr, 0mp (earlier version) Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D22275
* Add libcbor to the buildEd Maste2021-10-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | From https://github.com/PJK/libcbor: libcbor is a C library for parsing and generating CBOR, the general- purpose schema-less binary data format. libcbor will be used by ssh to support FIDO/U2F keys. It is currently intended only for use by ssh, and so is installed as a PRIVATELIB and is placed in the ssh pkgbase package. cbor_export.h and configuration.h were generated by the upstream CMake build. We could create them with bmake rules instead (as NetBSD has done) but this is a fine start. This is currently disabled for the 32-bit library build as libfido2 is not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is no need for libcbor without libfido2. Reviewed by: kevans MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32347
* bpf(4): Fix a misnamed constantFelix Johnson2021-10-131-2/+2
| | | | | | | | | rarpd.c was modified in r19859 to use REVARP_REQUEST instead of ARPOP_REVREQUEST. PR: 183333 MFC after: 3 days Reported by: pluknet <pluknet@gmail.com>
* acpi(4): Correct outdated sysctlFelix Johnson2021-10-131-2/+2
| | | | | | | This changes the location of cx_supported sysctl to dev.cpu.N. PR: 214370 MFC after: 3 days
* pthread_np.3: Add a manpage summarizing all of the pthread extensions.Felix Johnson2021-10-1218-22/+273
| | | | | PR: 197299 MFC after: 1 week
* kqueue(9): correct spelling of kn_fopKyle Evans2021-10-121-2/+2
|
* vfs: remove thread argument from VOP_STATMateusz Guzik2021-10-111-4/+2
| | | | and fo_stat.
* ncurses: convert libncursesw.a into a static ldscriptBaptiste Daroussin2021-10-101-3/+6
| | | | | | | | | | | | | | Introduce the notion of static linker scripts to allow libncursesw.a to track its dependency on libtinfow.a this allows the build of older freebsd source tree to happen and make static linking in part with dynamic linking which already provides a ldscript This fixes a bootstrapping FreeBSD 12 or 13 on recent FreeBSD 14 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D32435
* bsd.cpu.mk: Minor formatting for armv6 vs armv7Warner Losh2021-10-081-4/+6
| | | | | | | Separate out the arch/cpu options for armv6 from the armv7 ones. This is less confusing. Sponsored by: Netflix
* Make core dump writes interruptible with SIGKILLKonstantin Belousov2021-10-081-1/+15
| | | | | | | | | | This can be disabled by sysctl kern.core_dump_can_intr Reported and tested by: pho Reviewed by: imp, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32313
* core(5): explicitly mention the core file size limit nameKonstantin Belousov2021-10-081-2/+4
| | | | | | | Reviewed by: imp, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32313
* crypto: Support Chacha20-Poly1305 with a nonce size of 8 bytes.John Baldwin2021-10-061-1/+1
| | | | | | | | | | | | | | This is useful for WireGuard which uses a nonce of 8 bytes rather than the 12 bytes used for IPsec and TLS. Note that this also fixes a (should be) harmless bug in ossl(4) where the counter was incorrectly treated as a 64-bit counter instead of a 32-bit counter in terms of wrapping when using a 12 byte nonce. However, this required a single message (TLS record) longer than 64 * (2^32 - 1) bytes (about 256 GB) to trigger. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32122
* crypto: Support multiple nonce lengths for AES-CCM.John Baldwin2021-10-061-6/+12
| | | | | | | | | | | Permit nonces of lengths 7 through 13 in the OCF framework and the cryptosoft driver. A helper function (ccm_max_payload_length) can be used in OCF drivers to reject CCM requests which are too large for the specified nonce length. Reviewed by: sef Sponsored by: Chelsio Communications, The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32111
* cryptodev: Permit explicit IV/nonce and MAC/tag lengths.John Baldwin2021-10-061-4/+20
| | | | | | | | | | | | | | Add 'ivlen' and 'maclen' fields to the structure used for CIOGSESSION2 to specify the explicit IV/nonce and MAC/tag lengths for crypto sessions. If these fields are zero, the default lengths are used. This permits selecting an alternate nonce length for AEAD ciphers such as AES-CCM which support multiple nonce leengths. It also supports truncated MACs as input to AEAD or ETA requests. Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32107
* Remove obsolete amd(8) rc.conf configurationTom Hukins2021-10-051-35/+1
| | | | | | | | | The script that used these was removed in 13f7dbe822d5f along with amd itself. Fixes: 13f7dbe822d5 ("retire amd(8)") MFC after: 1 week Pull Request: https://github.com/freebsd/freebsd-src/pull/548
* pthread_mutexattr(3): document each pthread_mutexattr_set/get* functionKonstantin Belousov2021-10-051-2/+88
| | | | | | | | | | The descriptions may be more elaborated of course, but this is a good step at starting providing any useful information in our man page, at all. Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D32243
* pthread_mutexattr(3): install pthread_mutexattr_get/setpshared linksKonstantin Belousov2021-10-051-0/+2
| | | | | | | Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D32243
* pthread_mutexattr(3): document pthread_mutexattr_set/getpsharedKonstantin Belousov2021-10-051-1/+33
| | | | | | | Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D32243
* pthread_mutexattr(3): use .Fo/.Fc to avoid too long linesKonstantin Belousov2021-10-054-9/+27
| | | | | | | Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D32243
* ncurses: chase dependency changes in the source treeBaptiste Daroussin2021-10-041-3/+3
| | | | Differential Revision: https://reviews.freebsd.org/D32098
* ncurses: split libtinfo from libncursesBaptiste Daroussin2021-10-042-2/+5
| | | | | | | | | | | many external program expects libncurses to not be provided as a single library. Instead of fixing all ports, distribute ncurses the way upstream distributes it Turn libncursesw.so into a ldscript which will link automatically as needed to libtinfow so so this change is seamless at compile time. Differential Revision: https://reviews.freebsd.org/D32098
* nvme: Only reset once on attach.Warner Losh2021-10-011-0/+8
| | | | | | | | | | | | | | | | | The FreeBSD nvme driver has reset the nvme controller twice on attach to address a theoretical issue assuring the hardware is in a known state. However, exierence has shown the second reset is unnecessary and increases the time to boot. Eliminate the second reset. Should there be a situation when you need a second reset (for buggy or at least somewhat out of the mainstream hardware), the hardware option NVME_2X_RESET will restore the old behavior. Document this in nvme(4). If there's any trouble at all with this, I'll add a sysctl tunable to control it. Sponsored by: Netflix Reviewed by: cperciva, mav Differential Revision: https://reviews.freebsd.org/D32241
* jail(3lua): add a jail.list() methodKyle Evans2021-09-301-4/+51
| | | | | | | | | | | This is implemented as an iterator, reusing parts of the earlier logic to populate jailparams from a passed in table. The user may request any number of parameters to pull in while we're searching, but we'll force jid and name to appear at a minimum. Reviewed by: freqlabs Differential Revision: https://reviews.freebsd.org/D26756
* bluetooth: complete removal of ng_h4Warner Losh2021-09-304-128/+2
| | | | | | | | | | | The ng_h4 module was disconnected 13 years ago when the tty later was locked by Ed. It completely fails to compile, and has a number of false positives for Giant use. Remove it for lack of interest. Bluetooth has largely (completely?) moved on from bluetooth over UART transport. OK'd by: emax Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31846