aboutsummaryrefslogtreecommitdiff
path: root/share/man
Commit message (Collapse)AuthorAgeFilesLines
* ddb(4): improve wordingWarner Losh2021-07-121-16/+14
| | | | | | | Incorporate feedback overlooked in revew by wblock@ Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D4860
* igc(4): Introduce new driver for the Intel I225 Ethernet controller.Peter Grehan2021-07-122-0/+169
| | | | | | | | | | | | | | | | This controller supports 2.5G/1G/100MB/10MB speeds, and allows tx/rx checksum offload, TSO, LRO, and multi-queue operation. The driver was derived from code contributed by Intel, and modified by Netgate to fit into the iflib framework. Thanks to Mike Karels for testing and feedback on the driver. Reviewed by: bcr (manpages), kbowling, scottl, erj MFC after: 1 month Relnotes: yes Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D30668
* hwpmc(4): Fix a typo in the man page dateGordon Bergling2021-07-111-1/+1
| | | | MFC after: 3 days
* Revert "Pass the syscall number to capsicum permission-denied signals"David Chisnall2021-07-101-2/+0
| | | | | | This broke the i386 build. This reverts commit 3a522ba1bc852c3d4660a4fa32e4a94999d09a47.
* mk: LZMA_SUPPORT is unusedWarner Losh2021-07-101-3/+1
| | | | | | | | | Retire LZMA_SUPPORT. It's unused since r332995. Reviewed by: delphij PR: 244302 Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31088
* Pass the syscall number to capsicum permission-denied signalsDavid Chisnall2021-07-101-0/+2
| | | | | | | | | | | | | | | The syscall number is stored in the same register as the syscall return on amd64 (and possibly other architectures) and so it is impossible to recover in the signal handler after the call has returned. This small tweak delivers it in the `si_value` field of the signal, which is sufficient to catch capability violations and emulate them with a call to a more-privileged process in the signal handler. Approved by: markj (mentor) Reviewed by: kib, bcr (manpages) Differential Revision: https://reviews.freebsd.org/D29185
* pf: fallback if $pf_rules fails to loadThomas Steen Rasmussen2021-07-081-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Support loading a default pf ruleset in case of invalid pf.conf. If no pf rules are loaded pf will pass/allow all traffic, assuming the kernel is compiled without PF_DEFAULT_TO_DROP, as is the case in GENERIC. In other words: if there's a typo in the main pf_rules we would allow all traffic. The new default rules minimise the impact of this. If $pf_program (i.e. pfctl) fails to set $pf_fules and $pf_fallback_rules_enable is YES we will load $pf_fallback_rules_file if set, or $pf_fallback_rules. $pf_fallback_rules can include multiple rules, for example to permit traffic on a management interface. $pf_fallback_rules_enable defaults to "NO", preserving historic behaviour. man page changes by ceri@. PR: 256410 Reviewed by: donner, kp Sponsored by: semaphor.dk Differential Revision: https://reviews.freebsd.org/D30791
* man7: Update FreeBSD.org URLsLi-Wen Hsu2021-07-042-3/+3
| | | | MFC after: 3 days
* EFI RT: resurrect EFIIOC_GET_TABLEPavel Balaev2021-07-031-3/+20
| | | | | | | | | | | | | | | | | | | | | | Make it work, but change the interface to be safe for non-root users. In particular, right now interface only works for the tables which can be minimally parsed by kernel to determine the table size. Then, userspace can query the table size, after that it provides a buffer of needed size and kernel copies out just table to userspace. Main advantage is that user no longer need to be able to read /dev/mem, the disadvantage is the need to have minimal parsers aware of the table types. Right now the parsers are implemented for ESRT and PROP tables. Future extension of the present interface might be a return of only the table physical address, in case kernel does not have suitable parser yet. Then, a privileged user could read the table from /dev/mem. This extension, which logically equivalent to the old (non-worked) EFIIOC_GET_TABLE variant, is not implemented until needed. Submitted by: Pavel Balaev <pavel.balaev@3mdeb.com> MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D30104
* hardclock.9: Refine some detailsWarner Losh2021-07-021-10/+16
| | | | | | | | | | | | Refine mistakes from adaptaton of NetBSD's hardclock man page to FreeBSD: o clarify what usermode means o clarify how often hardclock is called o remove Xr callout(9) since that's done elsewhere Reviewed by: mav@ Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30982
* nvmem(9): install the manpageCeri Davies2021-07-021-0/+1
| | | | | | | This is being installed on all architectures in line with the OF_* pages. Discussed with: fernape, manu
* rc.conf.5: -Tlint fixes.Ceri Davies2021-07-011-7/+7
|
* rc.conf.5: add .Xr to firewall(7), growfs(7), and tuning(7)Ceri Davies2021-07-011-1/+4
|
* cd(9): correct minor typo in manpage.Ceri Davies2021-07-011-1/+1
|
* build.7: remove documentation of "make update"Ceri Davies2021-07-011-18/+1
| | | | update target was removed in e290182bcf3895ca659dff111bca6a077c4708b1
* hz.9: update stathz for current usageWarner Losh2021-07-011-27/+72
| | | | | | | | | | | Update the stathz description to reflect reality. profhz is the only thing we should deprecate. Add some implementation notes that describe the optimizations made to date. Discusssed with: emaste Reviewed by: kib (prior), jhb (prior), gbe Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30815
* man: Build manpages for all architecturesFernando Apesteguía2021-06-306-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | Building and installing architecture-specific man pages only raises a number of problems: * The https://www.freebsd.org/cgi/man.cgi is incomplete. As an example, it does not show results for pae(4). The reason for this is that the cgi interface runs on FreeBSD amd64. * In FreeBSD amd64 some manual pages have broken X-refs. See hptrr(4) for an example. * Also, we have broken links in our Release Notes. This is a consequence of the first point. See https://www.freebsd.org/releases/13.0R/hardware/#proc-i386. Make MAN_ARCH default to 'all' so we build all the man pages for all the architectures. The difference in disk space is negligible. Also link architecture-specific man pages to their own section while keeping their own namespace. PR: 212290 Reported by: mj@bsdops.com Approved by: ceri@, wosch@ MFC after: 4 weeks
* Clarify notice for profiled libraries in FreeBSD 14Ed Maste2021-06-281-1/+3
| | | | | | Reported by: kevans Fixes: 175841285e28 ("Add deprecation notice for...") Sponsored by: The FreeBSD Foundation
* vn_isdisk(9): update after r364372Robert Wing2021-06-281-6/+10
| | | | | Reviewed by: mjg Differential Revision: https://reviews.freebsd.org/D30874
* src.conf.5: regen after RISC-V OPENMP (aa033e0b14f2)Ed Maste2021-06-271-3/+3
| | | | Sponsored by: The FreeBSD Foundation
* tcp: tolerate missing timestampsMichael Tuexen2021-06-271-2/+4
| | | | | | | | | | | Some TCP stacks negotiate TS support, but do not send TS at all or not for keep-alive segments. Since this includes modern widely deployed stacks, tolerate the violation of RFC 7323 per default. Reviewed by: rgrimes, rrs, rscheff MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D30740 Sponsored by: Netflix, Inc.
* Update ENA driver man pageMarcin Wojtas2021-06-241-35/+236
| | | | | | | | | | | | | | | Bring the obsolete man page up to date: * update diagnostic error messages * add documentation of loader tunables * document netmap support * add a driver history section * update the contact information Submitted by: Artur Rojek <ar@semihalf.com> Submitted by: Michal Krawczyk <mk@semihalf.com> Obtained from: Semihalf MFC after: 2 weeks Sponsored by: Amazon, Inc.
* Introduce new driver for NXP Ethernet controllerMarcin Wojtas2021-06-242-0/+70
| | | | | | | | | | | | | | | | | | | | ENETC it a gigabit Ethernet controller found on the LS1028A board. It supports basic VLAN offloads - tag extraction, injection and hardware filtering. Inband MDIO connectivity is used for link status monitoring through the miibus interface. Fixed-link mode is also supported, which allows for operation of internal cpu to switch port. Since no admin interrupts are present in hardware, link status polling has to be used. Due to a hardware bug software reset of the NIC results in a external abort. Because of that most of the hardware initialization is done during attach. This also means that in the case of an fatal error full board reset is required. The enetc_hw.h header was imporoted from Linux. It is dual licensed. Submitted by: Kornel Duleba <mindal@semihalf.com> Obtained from: Semihalf Sponsored by: Alstom Group Differential Revision: https://reviews.freebsd.org/D30729
* newbus: Move from bus_child_{pnpinfo,location}_src to ↵Warner Losh2021-06-233-0/+128
| | | | | | | | | | | | | | | | | | | | | | bus_child_{pnpinfo,location} with sbuf Now that the upper layers all go through a layer to tie into these information functions that translates an sbuf into char * and len. The current interface suffers issues of what to do in cases of truncation, etc. Instead, migrate all these functions to using struct sbuf and these issues go away. The caller is also in charge of any memory allocation and/or expansion that's needed during this process. Create a bus_generic_child_{pnpinfo,location} and make it default. It just returns success. This is for those busses that have no information for these items. Migrate the now-empty routines to using this as appropriate. Document these new interfaces with man pages, and oversight from before. Reviewed by: jhb, bcr Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D29937
* linux(4): Get rid of Linuxulator kernel build options.Dmitry Chagin2021-06-224-24/+12
| | | | | | | | | | | | | | Stop confusing people, retire COMPAT_LINUX and COMPAT_LINUX32 kernel build options. Since we have 32 and 64 bit Linux emulators, we can't build both emulators together into the kernel. I don't think it matters, Linux emulation depends on loadable modules (via rc). Cut LINPROCFS and LINSYSFS for consistency. PR: 215061 Reviewed by: bcr (manpages), trasz Differential Revision: https://reviews.freebsd.org/D30751 MFC after: 2 weeks
* regulator: Add manpage for this frameworkEmmanuel Vadot2021-06-192-0/+149
| | | | | | Reviewed by: imp, mmel Differential Revision: https://reviews.freebsd.org/D30762 Sponsored by: Diablotin Systems
* man9: add hz(9) and hardclock(9)Warner Losh2021-06-183-0/+217
| | | | | | | | | | | | | Document aspects of system time keeping. Hz is the nominal rate that we interrupt the system and is known and the 'tick' period of 1 / hz. hardclock is the routine that does various bits of timekeeping. stathz and profhz are documented as historical relics that are deprecated and replaced by hwpmc.4 and others. Reviewed by: phk@, mav@ and gnn@ (previous version) Obtained from: hardclock.9 from NetBSD (with FreeBSD adjustments) Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30802
* devmatch: improve naming of devmatch config variableCeri Davies2021-06-181-1/+9
| | | | | | | | Accept the old rc.conf variable if the new one is not present for compatability. Approved by: imp Differential Revision: https://reviews.freebsd.org/D30806
* man9: Sort unr in Makefile MLINKSWarner Losh2021-06-171-8/+8
| | | | | | | Sort unr entries in alphabetical order, like everything else in the MLINKS section. Sponsored by: Netflix
* style(9): Add advice about $FreeBSD$Warner Losh2021-06-171-4/+16
| | | | | | | | | | | | | Codify our standard practice with $FreeBSD$ o New code only needs it if it might land in stable/12 o Old code should retain it until stable/12 is unsupported o We'll do a bulk remove in the future: don't do it proactively. o Give advice about how to tag files derived from other files in the tree. Reviewed by: bcr, allanjude,ceri Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30789
* crypto: Remove now-unused crypto_cursor_seg{base,len}.John Baldwin2021-06-162-15/+1
| | | | | | | | Callers should use crypto_cursor_segment() instead. Reviewed by: markj Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30448
* vn_fullpath.9: update args after rev 364633Alan Somers2021-06-151-6/+2
| | | | | | | MFC after: 2 weeks Sponsored by: Axcient Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D30779
* u3g: Note range of GOBI devicesWarner Losh2021-06-151-2/+4
| | | | | | | | | | Qualcomm makes the GOBI devices, and gobi_loader port supports all the Qualcomm GOBI 1000 and 2000 devices with the MDM1000 and MDM2000 chipsets. And likely the 3000 as well, though that's not been tested on FreeBSD. Submitted by: zarychtam@plan-b.pwste.edu.pl Sponsored by: Netflix
* make.conf: DOC_LANG and PRINTERDEVICE clarifications in man and exampleCeri Davies2021-06-141-11/+7
|
* u3g: Add reference to gobi_loader portWarner Losh2021-06-141-4/+4
| | | | | | | | The gobi_loader port has been committed. Add a reference to it instead of the upstream project since the port has changes needed to run on FreeBSD that aren't yet part of upstream. Sponsored by: Netflix
* u3g: Document Panasonic CF-F9 GOBI supportWarner Losh2021-06-131-1/+7
| | | | | | | | | Document that the u3g driver supports the Panasonic CF-F9 GOBI. Note that gobi_loader is needed and give URL for that. There is a separate review for during a related version into a port at D22938, but it seems stalled. I'll update the docs when it arrives in ports. Sponsored by: Netflix
* src.conf.5: Regen for svnlite removal.John Baldwin2021-06-111-24/+1
| | | | | Reviewed by: bcr, imp, emaste Differential Revision: https://reviews.freebsd.org/D30738
* Remove 'make update'.John Baldwin2021-06-111-24/+1
| | | | | | | | | | | | In the CVS days this used be a wrapper around either CVS or CVSup and used to support updating src, doc, and ports checkouts. With the move to subversion this only supported updating src and was itself a wrapper around 'svn update'. With Git, users are probably better off using appropriate Git commands directly to update without needing an explicit make target as a wrapper. Reviewed by: bcr, imp, emaste Differential Revision: https://reviews.freebsd.org/D30736
* Remove an manpageWarner Losh2021-06-111-2/+0
|
* an: Remove driverEmmanuel Vadot2021-06-111-142/+0
| | | | | | | | | Last an(4) devices have been End Of Life and End Of Sale in 2007. Time to remove this driver. Differential Revision: https://reviews.freebsd.org/D30679 Reviewed by: imp (earlier version), emaste (earlier version) Sponsored by: Diablotin Systems
* an: Deprecate the driverEmmanuel Vadot2021-06-111-0/+5
| | | | | | | | | | Last an(4) devices have been End Of Life and End Of Sale in 2007. Time to remove this driver. Differential Revision: https://reviews.freebsd.org/D30678 Reviewed by: imp (earlier version), adrian (earlier version) MFC after: 3 days Sponsored by: Diablotin Systems
* style: Relax 80 column ruleWarner Losh2021-06-111-0/+4
| | | | | | | | | | | Note that the 80 column rule has been relaxed for some time when things are clearer when a little longer. Add in that things that people grep for, such as error messages, shouldn't be broken up which is the most common reason people exceed 80 columns intentionally. Reviewed by: jhb, domagoj.stolfa@gmail.com Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30255
* style: tweak tab after #define adviceWarner Losh2021-06-111-2/+2
| | | | | | | | | | | | Once upon a time, #define<tab> was cultural thing. However, even when it was promulgated, it was a minority usage. 20 years ago the split was 30k/69k (tab/space) and today the split is 80k/546k (tab/space). Update guidance to allow either with the usual suggestion to be consistent within a file. Reviewed by: sef, allenjude, 0mp (prior rev), jhb Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30254
* mmc(4), mmcsc(4): Remove missing XrefFernando Apesteguía2021-06-102-4/+2
| | | | | | | | | | | There is no evidence of at91_mci in the code whatsoever. Most of the at91 drivers where removed in 802baf0ba66c18ca52aeaf4a3e7b05e85d8e4d3b PR: 218970 Reported by: reezer@reezer.org Approved by: imp@ Differential Revision: https://reviews.freebsd.org/D29193
* ports(7): Add install-missing-packages to target listFernando Apesteguía2021-06-101-1/+3
| | | | | | | It is already used in the EXAMPLES section. Approved by: bcr@ (manpages) Differential Revision: https://reviews.freebsd.org/D30044
* Install the linux(4) man page also for aarch64Edward Tomasz Napierala2021-06-071-1/+1
| | | | | | | | Previously it was only installed on i386 and amd64. Reviewed By: emaste, gbe (manpages) Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30546
* linuxolator: Add compat.linux.setid_allowed knobKonstantin Belousov2021-06-061-1/+13
| | | | | | | | | | PR: 21463 Reported by: kris Reviewed by: dchagin Tested by: trasz Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28154
* fdescfs: add an option to return underlying file vnode on lookupKonstantin Belousov2021-06-041-13/+81
| | | | | | | | | | | | | | | | | | | | | | | The 'nodup' option forces fdescfs to return real vnode behind file descriptor instead of the fdescfs fd vnode, on lookup. The end result is that e.g. stat("/dev/fd/3") returns the stat data for the underlying vnode, if any. Similarly, fchdir(2) works in the expected way. For open(2), if applied over file descriptor opened with O_PATH, it effectively re-open that vnode into normal file descriptor which has the specified access mode, assuming the current vnode permissions allow it. If the file descriptor does not reference vnode, the behavior is unchanged. This is done by a mount option, because permission check on open(2) breaks established fdescfs open semantic of dup(2)-ing the descriptor. So it is not suitable for /dev/fd mount. Tested by: Andrew Walker <awalker@ixsystems.com> Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D30140
* periodic: add support for .xz and .zcat compressed logsCeri Davies2021-06-021-1/+1
| | | | | | | | | | | | Also improve temporary file usage in 200.accounting, add an xref to zstd(1) to newsyslog.conf.5, and clarify in periodic.conf that "daily accounting" means process accounting and "monthly accounting" is login accounting. PR: 253868 Reviewed by: allanjude Approved by: blackend (mentor) Differential Revision: https://reviews.freebsd.org/D29267
* kern: ether_gen_addr: randomize on default hostuuid, tooKyle Evans2021-06-021-2/+3
| | | | | | | | | | | | | | | Currently, this will still hash the default (all zero) hostuuid and potentially arrive at a MAC address that has a high chance of collision if another interface of the same name appears in the same broadcast domain on another host without a hostuuid, e.g., some virtual machine setups. Instead of using the default hostuuid, just treat it as a failure and generate a random LA unicast MAC address. Reviewed by: bz, gbe, imp, kbowling, kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29788