aboutsummaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Add Thomas Munro to the committers graphAllan Jude2021-06-301-0/+3
| | | | Reported by: gnn
* 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.
* bsd-family-tree: Add 2.8BSD relationship to Research 7th editionWarner Losh2021-06-251-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | In the 2BSD line, the 2.8BSD tapes were the first ones to include a kernel, both source and a bootable tape. This was an AT&T V7 kernel, with a number of bug fixes; new features in use at Berkeley; performance enhancements that were circulating to V7 in the licensee community; and build system changes. Based on the TUHS archives, it contains none of the V32 changes, however. In addition to the source code analysis, Mike Karels relates the story of how his group lost a customizes to V6 on a PDP-11/40 due to a disk crash. Since V7 just came out and Bill Jolitz had just brought that up elsewhere, they replaced their customized V6 with a V7 system, and that base would eventually become 2.8BSD. (Quarter Century of Unix) Given both lines of evidence, add a direct line from V7 Unix to 2.8BSD. Also confirmed that the V6 line to 1BSD and 2BSD was appropriate. 1BSD and 2BSD included ashell(1) and ex(1). ashell(1) was derived from v6 hell. ex(1) was an enhanced v6 ed. 2.8BSD included process control and user-land utilities from 4.1BSD Discussed with: Clem Cole, Diomidis Spinellis (dds) Differential Revision: https://reviews.freebsd.org/D30883
* Enable OPENMP on riscv64* by default.Piotr Kubaj2021-06-251-1/+1
| | | | | Differential revision: https://reviews.freebsd.org/D30862 Approved by: mhorne
* bsd-family-tree: add DragonFly 6.0.0Warner Losh2021-06-241-1/+2
| | | | | | Tagged on May 8, 2021. Sponsored by: Netflix
* 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
* Emit an error when we seen absolute paths to .o filesAlex Richardson2021-06-211-0/+11
| | | | | | | | | | | | | | | | | This is usually an error caused by using an absolute path in SRCS. This happened to me in 83c20b8a2da0 due to changing LDADD to SRCS. I did not notice that this had created a .o file inside the source tree since .gitignore contains "*.o" and therefore git did not report any changes. Adding this warning message to bsd.lib.mk/bsd.prog.mk should prevent issues like this in the future. There was exactly one case of an absolute OBJS path in the current source tree but that was removed in e713d3a013882893fceb84dd14569052271497a9. Reviewed By: emaste (earlier version), imp Differential Revision: https://reviews.freebsd.org/D28467
* pkgbase: Put the mibs and defs in the bnsmp packageEmmanuel Vadot2021-06-192-0/+5
| | | | | Differential Revision: https://reviews.freebsd.org/D30756 Sponsored by: Diablotin Systems
* pkgbase: Put dtrace in its own packageEmmanuel Vadot2021-06-191-0/+1
| | | | | | | While dtrace is usefull some people might not want it. Differential Revision: https://reviews.freebsd.org/D30752 Sponsored by: Diablotin Systems
* 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
* bsd.cpu.mk: Correct MACHINE_CPU for Intel Alder LakeJung-uk Kim2021-06-141-14/+14
| | | | | | Apparently Intel Alder Lake lacks AVX-512 instructions. Fixes: 09e7341c5ea4 "Catch up with Clang 12"
* Catch up with Clang 12.Jung-uk Kim2021-06-142-13/+17
| | | | Add "znver3" for AMD and "alderlake" and "sapphirerapids" for Intel.
* make.conf: DOC_LANG and PRINTERDEVICE clarifications in man and exampleCeri Davies2021-06-142-15/+11
|
* 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 svnlite.John Baldwin2021-06-111-8/+0
| | | | | Reviewed by: bcr, imp, emaste Differential Revision: https://reviews.freebsd.org/D30737
* 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
* insetad -> insteadWarner Losh2021-06-101-2/+2
|
* mk: WITH_FOO=no now generates a warningWarner Losh2021-06-101-0/+6
| | | | | | | | | | | | | Many people are used to gnu configure's behavior of changing --with-foo=no to --without-foo. At the same time, several folks have WITH_FOO=no in their config files to enable this ironic form of the option because of an old meme from IRC, a mailing list or the forums (I forget which). Add a warning to allow to alert people w/o breaking POLA. Reviewed by: allanjude, bdrewery, manu MFC After: 2 weeks Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30684
* Fix syscall kld exampleFernando Apesteguía2021-06-091-2/+2
| | | | | | | PR: 255936 Reported by: splitface@mailfence.com Approved by: gbe (mentor), imp@, jilles@ Differential Revision: https://reviews.freebsd.org/D30498
* 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
* libcasper: Create a minimal cap_netdb serviceRyan Moeller2021-06-051-0/+1
| | | | | | | | | | | Create a casper service for netdb functions. Initially only cap_getprotobyname is implemented. This is needed for capsicumizing sockstat. Reviewed by: oshogbo, bcr (manpages) Relnotes: yes Differential Revision: https://reviews.freebsd.org/D24832
* 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
* man: document ether_gen_addr(9)Kyle Evans2021-06-022-0/+80
| | | | | | | | | This KPI is used to assign a MAC address to an interface that doesn't already have one assigned. Reviewed by: bcr, gnn, imp, kbowling, kp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D29787
* wpa: Restructure wpa buildCy Schubert2021-06-011-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current WPA build assumes a flat namespace. However the latest sources from w1.fi now have a duplicate config.c, in two separate subdirectories. The flat namespace will overwrite config.o with the output from the most recently modified config.c, of which there are two of them. This commit resolves this problem by building each component in wpa's src subdirectory tree into its own .a archive, just as the w1.fi upstream build as used by the port does. The advantages of this approach are: 1. Duplicate source file names, i.e. config.c in the wpa_supplicant direcory and another config.c in src/utils in the next wpa will result in both compiles writing to the same .o file. 2. This restructure simplifies maintanence. A develper needs only to add new files as identified by git status in the vendor branch to the appropriate Makefile within the usr.sbin/wpa tree. This also reduces time required to prepare a new import and should reduce error. 3. The new wpa build structure more closely represents the build as performed by the upstream tarball. This is in preparation for the next wpa update from w1.fi. Reviewed by: philip Tested by: philip MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D30372