aboutsummaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* New pfil(9) KPI together with newborn pfil API and control utility.Gleb Smirnoff2019-01-312-202/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The KPI have been reviewed and cleansed of features that were planned back 20 years ago and never implemented. The pfil(9) internals have been made opaque to protocols with only returned types and function declarations exposed. The KPI is made more strict, but at the same time more extensible, as kernel uses same command structures that userland ioctl uses. In nutshell [KA]PI is about declaring filtering points, declaring filters and linking and unlinking them together. New [KA]PI makes it possible to reconfigure pfil(9) configuration: change order of hooks, rehook filter from one filtering point to a different one, disconnect a hook on output leaving it on input only, prepend/append a filter to existing list of filters. Now it possible for a single packet filter to provide multiple rulesets that may be linked to different points. Think of per-interface ACLs in Cisco or Juniper. None of existing packet filters yet support that, however limited usage is already possible, e.g. default ruleset can be moved to single interface, as soon as interface would pride their filtering points. Another future feature is possiblity to create pfil heads, that provide not an mbuf pointer but just a memory pointer with length. That would allow filtering at very early stages of a packet lifecycle, e.g. when packet has just been received by a NIC and no mbuf was yet allocated. Differential Revision: https://reviews.freebsd.org/D18951 Notes: svn path=/head/; revision=343631
* Make iflib a loadable module.Konstantin Belousov2019-01-316-9/+15
| | | | | | | | | | | | | | | | iflib is already a module, but it is unconditionally compiled into the kernel. There are drivers which do not need iflib(4), and there are situations where somebody might not want iflib in kernel because of using the corresponding driver as module. Reviewed by: marius Discussed with: erj Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D19041 Notes: svn path=/head/; revision=343617
* regen src.conf.5 after r343606Ed Maste2019-01-311-14/+23
| | | | Notes: svn path=/head/; revision=343608
* Enable lld as the system linker by default on i386Ed Maste2019-01-311-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The migration to LLVM's lld linker has been in progress for quite some time - I opened an LLVM tracking bug (23214) in April 2015 to track issues using lld as FreeBSD's linker, and requested the first exp-run using lld as /usr/bin/ld in November 2016. In 12.0 LLD is the system linker on amd64, arm64, and armv7. i386 was not switched initially as there were additional ports failures not found on amd64. Those have largely been addressed now, although there are a small number of issues that are still being worked on. In some of these cases having lld as the system linker makes it easier for developers and third parties to investigate failures. Thanks to antoine@ for handling the exp-runs and to everyone in the FreeBSD and LLVM communites who have fixed issues with lld to get us to this point. PR: 214864 Relnotes: Yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=343606
* Remove unecessary "All rights reserved" from files under my or Panasas'sRavi Pokala2019-01-302-2/+0
| | | | | | | | | | | | | | | | copyright. When all member nations of the Buenos Aires Convention adopted the Berne Convention, the phrase "All rights reserved" became unnecessary to assert copyright. Remove it from files under my or Panasas's copyright. The files related to jedec_dimm(4) also bear avg@'s copyright; he has approved this change. Approved by: avg Sponsored by: Panasas Notes: svn path=/head/; revision=343583
* Update pci_vendors to 2019.01.29Baptiste Daroussin2019-01-291-89/+742
| | | | | | | MFC after: 2 days Notes: svn path=/head/; revision=343546
* rtwn_usb(4): add new USB id.Andriy Voskoboinyk2019-01-281-1/+2
| | | | | | | | | Submitted by: <yklaxds@gmail.com> Github issue: https://github.com/s3erios/rtwn/issues/4 MFC after: 5 days Notes: svn path=/head/; revision=343518
* wlan.4: improve wordingAndriy Voskoboinyk2019-01-271-3/+2
| | | | | | | | | PR: 218075 Submitted by: Aaron Taylor <halfnote1004@gmail.com> MFC after: 5 days Notes: svn path=/head/; revision=343495
* otus(4): fix a typo in man page (802.11 -> 802.11n)Andriy Voskoboinyk2019-01-261-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=343472
* Garbage collect AH_SUPPORT_AR5416 config option.Andriy Voskoboinyk2019-01-252-12/+4
| | | | | | | It does nothing since r318857. Notes: svn path=/head/; revision=343427
* Make sh(1) support \u in PS1. This removes one fork/exec on interactiveEdward Tomasz Napierala2019-01-241-1/+1
| | | | | | | | | | | | shell startup. Reviewed by: 0mp (man page), jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18790 Notes: svn path=/head/; revision=343399
* Remove documentation for the nonexistant cred_update_thread(9).Brooks Davis2019-01-232-12/+3
| | | | | | | | | This was a tangential change submitted as part of D18930. Submitted by: jack@gandi.net Notes: svn path=/head/; revision=343366
* Don't mess with BLOCKSIZE in shell startup files - it's set by login.conf(5);Edward Tomasz Napierala2019-01-202-2/+0
| | | | | | | | | | | | | there's no need to even mention it in shell rc files. Not that it's wrong; just pointless and somewhat misleading. Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18809 Notes: svn path=/head/; revision=343231
* Fix STAGE_DIR.* to handle indirect *DIR variables.Simon J. Gerraty2019-01-152-4/+4
| | | | | | | | | | | | bsd.{files,conf}.mk recently changed to allow *DIR to name a variable rather than a path. STAGE_DIR.* need to adapt. Reviewed by: bdrewery Differential Revision: D18847 Notes: svn path=/head/; revision=343067
* Use .undef per variableSimon J. Gerraty2019-01-151-2/+3
| | | | | | | | | | | Attempting to expand a variable to a list of vars to .undef does not actually work. Reviewed by: bdrewery Differential Revision: D17251 Notes: svn path=/head/; revision=343066
* Remove pbuf(9) manual page that is now nearly 100% outdated.Gleb Smirnoff2019-01-152-136/+0
| | | | Notes: svn path=/head/; revision=343031
* Add missing documentation for dev.acpi_ibm.0.mic_led added in r335304Allan Jude2019-01-121-0/+14
| | | | | | | | | PR: 229074 X-MFC-With: 335304 Submitted by: Ali Abdallah <aliovx@gmail.com> Notes: svn path=/head/; revision=342971
* Add man page for device_delete_children.Warner Losh2019-01-112-0/+59
| | | | | | | | Submitted by: Jeroen Ruigrok van der Werven Differential Revision: https://reviews.freebsd.org/D18452 Notes: svn path=/head/; revision=342948
* Update my committer name and add my new mentor relationshipEnji Cooper2019-01-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | ## Regarding the name change A few years ago I changed my legal name to "Enji Cooper". When I rejoined the project, I requested that accounts@ use my legal name instead of my [previous] nickname. This change syncs up a reference to use the proper name for clarity. ## Regarding the new mentor relationship @emaste and @jtl graciously accepted my request to mentor me this time around with my src commits while I get up to speed. I am leaving my previous mentorship details in committers-src.dot for historical reasons, per @emaste's request. -- Thank you very much @jmmv and @rpaulo for the help with my previous mentorship; I really appreciate it! Approved by: emaste (mentor) Differential Revision: https://reviews.freebsd.org/D18644 Notes: svn path=/head/; revision=342920
* netmap: fix bridge example in netmap(4)Vincenzo Maffione2019-01-091-2/+2
| | | | | | | | | PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194872 Reported by: adrian MFC after: 3 days Notes: svn path=/head/; revision=342886
* netmap: fix sysctl variable in vale(4)Vincenzo Maffione2019-01-091-2/+2
| | | | | | | | PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212333 MFC after: 3 days Notes: svn path=/head/; revision=342885
* Make sh(1) recognize the default $HOME. By default /homeEdward Tomasz Napierala2019-01-091-0/+3
| | | | | | | | | | | | | | is a symlink; without this change, when you log in, sh(1) won't realize the current directory (eg '/usr/home/test') is the same as $HOME ('/home/test'). Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18775 Notes: svn path=/head/; revision=342881
* Add termcap entries for TI Silent 703/707 terminals.Mark Johnston2019-01-081-0/+14
| | | | | | | | | PR: 234716 Submitted by: Robert Clausecker <fuz@fuz.su> MFC after: 1 week Notes: svn path=/head/; revision=342863
* ports.7: Do not mention deprecated WITH_SSP_PORTS and WITH_GHOSTSCRIPT_VERMateusz Piotrowski2019-01-081-9/+2
| | | | | | | | | | | | | | | | | | | As mentioned in this special status report[1] from EuroBSDCon 2013, WITH_SSP_PORTS was relevant in the FreeBSD 9 and FreeBSD 10 days. Nowadays, -fstack-protector is set by default. Relevant knobs and variables are documented in ports/Mk/bsd.port.mk. WITH_GHOSTSCRIPT_VER was part of USE_GHOSTSCRIPT, which is deprecated. [1]: https://www.freebsd.org/news/status/report-2013-09-devsummit.html#Ports-and-Packages Reviewed by: bcr, mat, tobik Approved by: bcr (doc) Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D18056 Notes: svn path=/head/; revision=342859
* Create MK_LOADER_VERBOSE and connect it to ELF_VERBOSE in the loaderWarner Losh2019-01-071-0/+1
| | | | | | | | | | code. PR: 18498 Submitted by: mellon at pobox dot com Notes: svn path=/head/; revision=342840
* Give sh(1) a proper default prompt instead of just "$".Edward Tomasz Napierala2019-01-061-2/+2
| | | | | | | | | | | Reviewed by: jilles MFC after: 2 weeks Relnotes: totally Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18697 Notes: svn path=/head/; revision=342812
* MK_ZFS -> {MK_ZFS|MK_LOADER_ZFS}, this is so we can diable userland / kernelMatt Macy2019-01-051-0/+2
| | | | | | | | | | | ZFS but keep the boot-loaders when using ZoL port. MFC after: 1 week Reviewed by: rgrimes Differential Revision: https://reviews.freebsd.org/D18739 Notes: svn path=/head/; revision=342793
* rc.subr: Provide rc_service variable for service scriptsKyle Evans2019-01-051-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Some rc scripts in ports (e.g. uwsgi, apache, openvpn) allow for 'application profiles' that usually require the rc script to be invoked again for each active profile. Because there's no consistent way to determine the path because it differs between manual/service(8) invocations and /etc/rc invocations, this leads to patterns like these: - www/uwsgi hardcodes the script path - security/openvpn guesses either $_file or $0 based on $0 = /etc/rc Instead of forcing rc scripts to guess, provide an rc_service variable to the scripts that gets set appropriately both for direct execution or when a script is being executed via run_rc_script (e.g. /etc/rc). This is our analog of an OpenRC variable with the same name, different case (RC_SERVICE). PR: 234614 Reported by: koobs Reviewed by: dteske, jilles MFC after: 3 days Notes: svn path=/head/; revision=342792
* pf: Remove references to pflow from the pf.conf man pageKristof Provost2019-01-051-8/+3
| | | | | | | | | | | pflow no longer exists. It was removed as part of a pf update back in 2012 (r240233). PR: 223957 MFC after: 1 week Notes: svn path=/head/; revision=342784
* Expose threads-per-core and physical core count informationConrad Meyer2019-01-041-29/+51
| | | | | | | | | | | | | | With new sysctls (to the best of our ability do detect them). Restructured smp.4 slightly for clarity (keep relevant stuff closer to the top) while documenting. Reviewed by: markj, jhibbits (ppc parts) MFC after: 3 days Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D18322 Notes: svn path=/head/; revision=342771
* rtwnfw(4): refresh this manpage too (add rtwn-rtl8188eefw module).Andriy Voskoboinyk2019-01-031-1/+5
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=342714
* rtwn(4): refresh manpages.Andriy Voskoboinyk2019-01-023-47/+53
| | | | | | | | | | | | - Add 'device rtwn' to rtwn_pci(4) and rtwn_usb(4) config sample; kernel will not compile otherwise. - Refresh devices list in rtwn_usb(4); add 'chipset' column. - Bump Dd after this commit and r342682. MFC after: 4 days Notes: svn path=/head/; revision=342702
* Typo.Mark Johnston2019-01-021-1/+1
| | | | | | | | Reported by: Christian Barthel MFC after: 3 days Notes: svn path=/head/; revision=342688
* rtwn_pci(4): add support for RTL8188EE chipset.Andriy Voskoboinyk2019-01-022-4/+5
| | | | | | | | | | | | | Initially based on https://reviews.freebsd.org/D15692; later deduplicated and improved a bit (Tx reports, IQ calibration support). Submitted by: Farhan Khan <khanzf@gmail.com> MFC after: 4 days Relnotes: yes Differential Revision: https://reviews.freebsd.org/D15692 Notes: svn path=/head/; revision=342682
* Add current working directory to the default (although commented out) sh(1)Edward Tomasz Napierala2018-12-311-2/+2
| | | | | | | | | | | | prompt, so it looks just like the tcsh(1) one when you uncomment it. Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18673 Notes: svn path=/head/; revision=342645
* Fix various issues with Chinese locales:Xin LI2018-12-305-119/+119
| | | | | | | | | | | | | | | | | | | | - Change short weekday names to use only one Chinese character. (note: this is a somewhat misunfortunate compromise due to the fact that some applications are using short buffer for weekday names, and in ~1905 when 星期 system was created to replace the traditional 七曜 system, which can use 日月火水木金土 to represent Sunday through Saturday with just one character without any confusion). - for zh_CN locales: use Arabic numerals for month names, matching the practice of all other CJK locales - Regenerate zh_CN.{GB2312,GBK} locales from zh_CN.UTF-8. Reported by: ygy Reviewed by: kevlo MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D18689 Notes: svn path=/head/; revision=342633
* ext2fs.5: Update the manpage.Pedro F. Giffuni2018-12-302-10/+27
| | | | | | | | | | | | | General update of the driver description and mention some important credits. Add a symlink for ext4fs as it is of special interest nowadays. Fic some `mandoc -Tlint` issues while here. MFC after: 15 days Differential Revision: https://reviews.freebsd.org/D18445 Notes: svn path=/head/; revision=342632
* ports.7: Add an example of getting dependencies without building themMateusz Piotrowski2018-12-301-5/+27
| | | | | | | | | | | | While here, improve formatting of the EXAMPLES section in general. Reviewed by: bcr Approved by: bcr (doc) Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D18682 Notes: svn path=/head/; revision=342602
* style.mdoc.5: Suggest preferred formatting for EXAMPLESMateusz Piotrowski2018-12-291-3/+49
| | | | | | | | | | | | | | | Add an example of how to format examples in EXAMPLES sections. The suggested format is heavily based on zfs.8. While here, capitalize subsection titles. Reviewed by: bcr Approved by: bcr (doc), Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D18681 Notes: svn path=/head/; revision=342600
* Remove legacy rc.d infrastructure references from rc(8)Enji Cooper2018-12-291-14/+1
| | | | | | | | | | | | | | Legacy rc.d scripts (.sh extension) have not been supported since r193118. Remove the outdated references to the legacy format, as they are no longer valid. Bug: 193936 MFC after: 1 week Reviewed by: cress, emaste (mentor) Differential Revision: https://reviews.freebsd.org/D18666 Notes: svn path=/head/; revision=342597
* Add a style.mdoc(5) manual page.Mateusz Piotrowski2018-12-282-0/+206
| | | | | | | | | | | | | | The aim of this manual page is to act as a style and formatting guide for mdoc(7) manual pages. Currently, mdoc(7) does not provide much guidance when it comes to the usage of macros making it difficult to format manual pages in a consistent way. Reviewed by: bcr Approved by: bcr (doc), krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D18394 Notes: svn path=/head/; revision=342578
* Simplify the way we set the default sh(1) PS1. No functional changes.Edward Tomasz Napierala2018-12-281-5/+1
| | | | | | | | | | Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18662 Notes: svn path=/head/; revision=342576
* vnet.9: clarify VNET sponsorshipEd Maste2018-12-271-5/+5
| | | | | | | | | | | The FreeBSD Foundation and NLnet Foundation sponsored the original work, and the Foundation sponsored followon work and integration efforts by bz@. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=342554
* DragonFly 5.4.0, 5.4.1 and FreeBSD 12.0 releases added.Maxim Konovalov2018-12-241-16/+21
| | | | Notes: svn path=/head/; revision=342397
* Clarify kld_list formatChris Rees2018-12-241-3/+5
| | | | | | | | | PR: docs/234248 Submitted by: David Fiander Submitted by: Miroslav Lachman Notes: svn path=/head/; revision=342389
* ifconfig.4, lagg.4: fix documentation bug: -use_flowid needs to be usedEugene Grosbein2018-12-221-1/+1
| | | | | | | | | | | to force local hash computation and disable usage of RSS hash provided by driver. PR: 234242 MFC after: 1 week Notes: svn path=/head/; revision=342367
* Rework UEFI ESP generationRebecca Cran2018-12-201-24/+5
| | | | | | | | | | | | | | | | Currently, the installer uses pre-created 800KB FAT12 filesystems that it dd's onto the ESP partition. This changeset improves that by having the installer generate a FAT32 filesystem directly onto the ESP using newfs_msdos and then copying loader.efi into /EFI/freebsd. For live installs it then runs efibootmgr to add a FreeBSD boot entry in the BIOS. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D17947 Notes: svn path=/head/; revision=342283
* Remove iBCS2, part1: userspaceMateusz Guzik2018-12-195-705/+2
| | | | | | | | | | | | iBCS2 was disconnected from the build in 2015 (see r291419) bsdconfig parts submitted by dteske. Reviewed by: kib (previous version) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=342242
* Update priv(9) after r341827Mateusz Guzik2018-12-191-5/+2
| | | | | | | | Reported by: trasz Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=342235
* cyapa.4, isl.4: cross-reference and document use of chromebook_platform(4)Andriy Gapon2018-12-182-4/+18
| | | | | | | | | PR: 218632 Reported by: Denis Kozadaev <denis@tambov.ru> MFC after: 1 week Notes: svn path=/head/; revision=342204