aboutsummaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
...
* wg(4): Fix an example in the manual pageGordon Bergling2021-03-071-2/+2
| | | | | | | | | | | | The example in the manual page of wg(4) for connecting to a peer was missing the 'public-key' ifconfig(8) keyword and for the addressed peer the port must be specified. PR: 253866 Reported by: Sergey Akhmatov <sergey at akhmatov dot ru> Reviewed by: debdrup MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D29115
* Remove references to the now-removed bktr(4) driver.Mark Murray2021-03-073-8/+4
|
* Implement mallocarray_domainset(9) variant of mallocarray(9).Hans Petter Selasky2021-03-062-1/+13
| | | | | | Reviewed by: kib @ MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
* pfctl: Add missing 'va' code point nameKristof Provost2021-03-061-0/+2
| | | | | | | | | Add the 'va' (voice-admit, RFC5865) symbolic name. Reviewed by: rgrimes, gbe (man page) MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D29069
* atomic(9): note that atomic_interrupt_fence first appeared in 13.0Konstantin Belousov2021-03-061-1/+6
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* libifconfig: Overhaul ifconfig_media_* interfacesRyan Moeller2021-03-051-9/+18
| | | | | | | | | | | | | | | | | | Define an ifmedia_t type to use for ifmedia words. Add ifconfig_media_lookup_* functions to lookup ifmedia words by name. Get media options as an array of option names rather than formatting it as a comma-delimited list into a buffer. Sprinkle const on static the static description tables for peace of mind. Don't need to zero memory allocated by calloc. Reviewed by: kp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D29029
* Silence annoying and incorrect non-default linker warning with GCCAlex Richardson2021-03-041-0/+4
| | | | | | | | | | The CROSS_TOOLCHAIN GCC .mk files include -B${CROSS_BINUTILS_PREFIX}, so GCC will select the right linker and we don't need to warn. While here also apply 17b8b8fb5fc4acc832dabfe7ef11e3e1d399ad0f to kern.mk. Test Plan: no more warning printed with CROSS_TOOLCHAIN=mips-gcc6 Reviewed By: jhb Differential Revision: https://reviews.freebsd.org/D29015
* release: fix VMSIZE following 1ca8842f3ad9Glen Barber2021-03-041-3/+3
| | | | | | | | | | | | truncate(1) is not case-sensitive with regard to setting the size of a file. makefs(8), however, does not honor upper-case values. Update release-specific files and the release(7) manual page to reflect this. MFC with: 1ca8842f3ad9 Submitted by: ehem_freebsd_m5p.com (original) Differential Review: https://reviews.freebsd.org/D28979 Sponsored by: Rubicon Communications, LLC ("Netgate")
* ossl: Add support for the ChaCha20 + Poly1305 AEAD cipher from RFC 8439John Baldwin2021-03-031-0/+2
| | | | | Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28757
* ossl: Add ChaCha20 cipher support.John Baldwin2021-03-031-0/+2
| | | | | Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28756
* The ChaCha20 counter is little endian, not big endian.John Baldwin2021-03-031-2/+2
| | | | | | Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28755
* ossl: Add Poly1305 digest support.John Baldwin2021-03-031-1/+3
| | | | | | Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28754
* qat.4: Fix some firmware module namesMark Johnston2021-03-031-2/+2
| | | | | PR: 252984 MFC after: 1 week
* release.7: describe the NOGIT optionAlan Somers2021-03-031-1/+5
| | | | | | | | | It was added in 91ce469984500aa994c85640e0af129e3e0c938f (svn r365638) MFC after: 7 days Sponsored by: Axcient Reviewed by: gjb Differential Revision: https://reviews.freebsd.org/D29027
* Regenerate src.conf(5) after FMTREE removalKyle Evans2021-03-021-5/+0
|
* Remove fmtree(8)Kyle Evans2021-03-021-1/+0
| | | | | | | | | | fmtree(8) deprecation was announced on February 12, 2021, and no longer built by default as of that date. The deprecation notice was merged back to stable/12 and stable/13 + releng/13.0. Continue with the plan by finishing the removal. Relnotes: yes
* Regenerate src.conf(5) after PIE default changeKyle Evans2021-03-021-3/+3
|
* security(7): mention new W^X sysctls in the manual pageEvgeniy Khramtsov2021-03-021-1/+7
| | | | | | Reviewed by: emaste, gbe MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28986
* share/man/man9: document zero_region(9)Ka Ho Ng2021-03-022-0/+87
| | | | | | | | | The zero_region() kernel interface was previously undocumented. Add a new zero_region(9) manual page to document it. Submitted by: Ka Ho Ng <khng@freebsdfoundation.org> Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D28914
* Add VOP_READ_PGCACHE(9)Konstantin Belousov2021-02-284-0/+137
| | | | | | | | PR: 253894 Reviewed by: gbe, rwatson Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28980
* Add Xrefs to the new VOP_SETLABEL(9) from mac(9) and vnode(9).Robert Watson2021-02-272-2/+4
| | | | MFC after: 3 days
* Provide a man page for VOP_SETLABEL(9).Robert Watson2021-02-271-0/+128
| | | | MFC after: 3 days
* Add if_wg.4 MLINKLi-Wen Hsu2021-02-251-0/+1
|
* terminfo: add terminfo databaseBaptiste Daroussin2021-02-252-0/+35
| | | | Tested by: manu, jbeich
* ncurses: Add support for terminfo databaseBaptiste Daroussin2021-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Along with the termcap database, ncurses will now lookup for the terminfo database, note that the terminfo database is being looked up first and then it fallsback on the termcap one. While here drop our custom reader for the termcap database, over the time it is needed maintenance to be able to catchup with changes on ncurses side. Install the ncurses tools which are needed to deal with the terminfo database: tic, infocmp, toe Replace our termcap only aware tools with the ncurses counterpart: tput, tabs, tset, clear and reset In particular they can your the extra capabilities described in the terminfo database, which does not exist in termcap Note that to add a new terminfo information to the database from ports the ports will just need to add their extra information into: /usr/local/share/site-terminfo/<firstletteroftheterm>/<term> Tested by: jbeich, manu
* Enable PIE by default on 64-bit architecturesMarcin Wojtas2021-02-241-1/+15
| | | | | | | | | | | | | | | | | | | This patch adds Position Independent Executables (PIE) flags for building OS. It allows to enable the ASLR feature based only on the sysctl knobs, without need to rebuild the image. Tests showed that no problems with stability / performance degradation were seen when using PIEs with ASLR disabled. The change is limited only for 64-bit architectures. Use bsd.opts.mk instead of the src.opts.mk in order to satisfy all build dependencies related to MK_PIE. Reviewed by: emaste, imp Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D28328
* atomic: add atomic_interrupt_fence()Konstantin Belousov2021-02-241-1/+12
| | | | | | | | | | | with the semantic following C11 signal_fence, that is, it establishes ordering between its place and any interrupt handler executing on the same CPU. Reviewed by: markj, mjg, rlibby Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28909
* Update manpage for AMD 10GbE driverRajesh Kumar M A2021-02-241-49/+20
| | | | | | | | Approved by: vmaffione, gallatin Differential Revision: https://reviews.freebsd.org/D28724 MFC after: 1 week
* rc.conf(5): Add note about parallel startup variableDaniel Ebdrup Jensen2021-02-231-1/+10
| | | | | | | | | | | The commit below added parallel service startup, and it needs to be documented, so people know about it. PR: 249192 MFC with: 77e1ccbee3ed Reviewed by: yuripv Differential Revision: https://reviews.freebsd.org/D28898
* release(7) Fix mistake noted in reviewDaniel Ebdrup Jensen2021-02-231-1/+1
| | | | | | I missed this when doing the final pass. Fixes: f695e960 release(7): Remove stray references to DOC* variables
* release(7): Remove stray references to DOC* variablesDaniel Ebdrup Jensen2021-02-231-54/+18
| | | | | | | | | | | | | | | | | | | | We now live in the world of git, and release(7) should reflect that. As of the commit referenced below, release images also no longer include (stale) documentation, as the documentation has moved to AsciiDoctor. This means that a few environment variables no longer make sense, so remove them from their sections and mention them in the compatibility section instead. While here, also pet mandoc. PR: 253615 MFC after: 3 days MFC with: f61e92ca5a23 release: permanently remove the 'reldoc' target and associates Reviewed by: gjb, lwhsu, yuripv Differential Revision: https://reviews.freebsd.org/D28881
* uefi: Add riscv to historical detailsJessica Clarke2021-02-221-2/+4
|
* Restore missing wordWarner Losh2021-02-221-1/+1
| | | | | | | "in" got dropped when I shuffled things around. Noticed by: rpokala@ MFC After: 3 days
* uefi: add historical detailsWarner Losh2021-02-221-3/+5
| | | | Add details about when armv6 and armv7 support was added.
* bhyve/snapshot: drop mkdir when creating the unix domain socketRobert Wing2021-02-221-1/+3
| | | | | | | | | | | | | | Add /var/run/bhyve/ to BSD.var.dist so we don't have to call mkdir when creating the unix domain socket for a given bhyve vm. The path to the unix domain socket for a bhyve vm will now be /var/run/bhyve/vmname instead of /var/run/bhyve/checkpoint/vmname Move BHYVE_RUN_DIR from snapshot.c to snapshot.h so it can be shared to bhyvectl(8). Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D28783
* Remove incorrect statement about EFI environment variables being unsupported.Warner Losh2021-02-221-5/+1
| | | | | | | Our uefi support has included environment variable support for several years now. Remove the bogus blanket statement saying we don't support them. MFC After: 3 days
* pci_vendors: update to 2021.02.20Baptiste Daroussin2021-02-211-74/+275
|
* termcap: add an entry for the foot terminalBaptiste Daroussin2021-02-211-0/+4
| | | | MFC after: 3 days
* ports(7): Update instructions for package targetDaniel Ebdrup Jensen2021-02-191-4/+6
| | | | | | | | | | | | | Packages default to ending up in a different location compared to the documentation, so catch up to the implementation by referring to the location where packages can usually be found if no environment variables have been set. While here, also update the mention of the file extension to match the txz format that packages use. PR: 253179, 224370 Reported by: rwatson, jeromer at fastmail dotnet
* Add an OCF algorithm for ChaCha20-Poly1305 AEAD.John Baldwin2021-02-181-1/+3
| | | | | | | | Note that this algorithm implements the mode defined in RFC 8439. Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D27836
* Add fileprefixmap compiler featureDan McGregor2021-02-171-0/+4
| | | | | | | | | | | | | -ffile-prefix-map=<old>=<new> is a compiler feature first added in GCC 8, and implemented for clang 10. It remaps old paths to new paths in both debug information and __FILE__ and __BASE_FILE__ macros. It can be used to improve reproducibility or to hide local system directories. I intend to use it to replace the real source directory and real object directory with constant values across all builds. Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D28632
* arm64: handle watchpoint exceptions from EL0Mitchell Horne2021-02-171-1/+6
| | | | | | | | | | | | | | | | | This is a prerequisite to allowing the use of hardware watchpoints for userspace debuggers. This is also a slight departure from the x86 behaviour, since `si_addr` returns the data address that triggered the watchpoint, not the address of the instruction that was executed. Otherwise, there is no straightforward way for the application to determine which watchpoint was triggered. Make a note of this in the siginfo(3) man page. Reviewed by: jhb, markj (earlier version) Tested by: Michał Górny (mgorny@gentoo.org) MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D28561
* update the SACK loss recovery to RFC6675, with the following new features:Richard Scheffenegger2021-02-161-1/+9
| | | | | | | | | | | | | | | - improved pipe calculation which does not degrade under heavy loss - engaging in Loss Recovery earlier under adverse conditions - Rescue Retransmission in case some of the trailing packets of a request got lost All above changes are toggled with the sysctl "rfc6675_pipe" (disabled by default). Reviewers: #transport, tuexen, lstewart, slavash, jtl, hselasky, kib, rgrimes, chengc_netapp.com, thj, #manpages, kbowling, #netapp, rscheff Reviewed By: #transport Subscribers: imp, melifaro MFC after: 2 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D18985
* Source repo changes to add new committer Rajesh Kumar M ARajesh Kumar M A2021-02-161-0/+4
| | | | | | Approved by: vmaffione, gallatin Differential Revision: https://reviews.freebsd.org/D28586
* Add metor -> mentee information (docs)Fernando Apesteguía2021-02-131-0/+4
| | | | | | | | | | As per Committers Guide Step 5 Reviewed by: 0mp Accepted By: 0mp (mentor) Differential Revision: https://reviews.freebsd.org/D28589
* Regenerate src.conf(5) after FMTREE default changeKyle Evans2021-02-131-3/+5
|
* build: turn off FMTREE by default to prepare for removalKyle Evans2021-02-131-1/+1
| | | | | | | | | | | | | | nmtree is derived from fmtree, and has been the default mtree(8) since 6adfbbbf161, a little over a year after its introduction. fmtree has not seen any substantial work since then, except for build fixes and runtime issues that were diagnosed in nmtree and backported because this was still in the tree. Turn it off by default. Reviewed by: bdrewery, brooks, cy, emaste Differential Revision: https://reviews.freebsd.org/D28573
* Adding PRR sysctls to tcp(4) man pageRichard Scheffenegger2021-02-121-2/+15
| | | | | | | | | | | | Summary: Documenting the newly added, and enabled by default, Proportional Rate Reduction algorithm's governing sysctls. MFC: 3 days Reviewed By: kbowling, rgrimes Differential Revision: https://reviews.freebsd.org/D28568
* VOP_ADVLOCK(9): fix a typoGuangyuan Yang2021-02-111-2/+2
| | | | | | Submitted by: Ka Ho Ng <khng300@gmail.com> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28575
* bsd.compiler.mk: Detect distribution-provided GCC when executed as ccJessica Clarke2021-02-091-0/+9
| | | | | | | | | | | | | | | | | | Clang always prints "clang $VERSION" regardless of the name used to execute it, whereas GCC prints "$progname $VERSION", meaning if CC is set to cc and cc is GCC it will print "cc $VERSION". We are able to detect some of those cases since it then prints "($PKGVERSION)", where the default is "GCC", but many distributions override that to print their name and the package version number (e.g. "Debian 10.2.1-6"), so nothing tells us it's GCC other than the fact that it's not Clang (and that there's an FSF copyright disclaimer). However, GCC's -v option will always print "gcc version $VERSION", so fall back on using that to detect GCC. Whilst Clang also supports this option, we should never get here, so Clang handling is not added. Reviewed by: brooks, emaste, arichardson Differential Revision: https://reviews.freebsd.org/D28315