aboutsummaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* rights(4): CAP_FSYNC also permits fdatasync(2).Jilles Tjoelker2016-08-171-1/+2
| | | | Notes: svn path=/head/; revision=304315
* Add two new macros, SLIST_CONCAT and LIST_CONCAT. Note in both theKirk McKusick2016-08-161-1/+41
| | | | | | | | | | | queue.h header file and in the queue.3 manual page that they are O(n) so should be used only in low-usage paths with short lists (otherwise an STAILQ or TAILQ should be used). Reviewed by: kib Notes: svn path=/head/; revision=304230
* Here we update the modular tcp to be able to switch to anRandall Stewart2016-08-162-4/+51
| | | | | | | | | | | | | | | | alternate TCP stack in other then the closed state (pre-listen/connect). The idea is that *if* that is supported by the alternate stack, it is asked if its ok to switch. If it approves the "handoff" then we allow the switch to happen. Also the fini() function now gets a flag to tell if you are switching away *or* the tcb is destroyed. The init() call into the alternate stack is moved to the end so the tcb is more fully formed before the init transpires. Sponsored by: Netflix Inc. Differential Revision: D6790 Notes: svn path=/head/; revision=304223
* The fdatasync(2) call must be cancellation point.Konstantin Belousov2016-08-161-1/+2
| | | | | | | | Sponsored by: The FreeBSD Foundation MFC after: 13 days Notes: svn path=/head/; revision=304209
* Fix ko_KR, zh_CN, zh_HK, and zh_TW locales. r304045 did not fully revertJung-uk Kim2016-08-169-174/+175
| | | | | | | date/time formats for these locales. Notes: svn path=/head/; revision=304192
* Remove the mcd(4) driver for Mitsumi CD-ROM players.John Baldwin2016-08-152-166/+0
| | | | | | | | | | This is a driver for a pre-ATAPI ISA CD-ROM adapter. As noted in the manpage, this driver is only useful as a backend to cdcontrol to play audio CDs since it doesn't use DMA, so its data performance is "abysmal" (and that was true in the mid 90's). Notes: svn path=/head/; revision=304187
* Set date and time formats back to what they were before CLDRBaptiste Daroussin2016-08-13119-498/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | While CLDR brings us a good and up to date source data to generate locales for all databses we are using for locales, it is not the case of LC_TIME. Where it does not defines the informations we need. Put back all the date and time formats from the old locales. Make it statically for now (in order to be able to merge it now into 11.0-RELEASE). The generation tools will be updated soon. That gives us time to properly work on LC_TIME during the 12 timeframe. While here fix abbreviated month for af_ZA (which are already fixed in CLDR data upstream) In locales where AP/PM was not defined before CLDR data, remove again the AP/PM informations For locales where AP/PM was defined before CLDR data, keep the CLDR information which was properly translated. MFC after: 3 days Notes: svn path=/head/; revision=304045
* Reviewed by: allanjudeToomas Soome2016-08-121-0/+4
| | | | | | | | Approved by: allanjude (mentor) Differential Revision: https://reviews.freebsd.org/D7491 Notes: svn path=/head/; revision=304025
* PROGS: Support INTERNALPROG.prog=yes to not install it.Bryan Drewery2016-08-112-2/+3
| | | | | | | | MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=303964
* Revert r303911 "Remove extra -msoft-float flags settings."Ruslan Bukin2016-08-111-0/+5
| | | | | | | This was not properly tested. Notes: svn path=/head/; revision=303959
* Remove extra -msoft-float flags settings.Ruslan Bukin2016-08-101-5/+0
| | | | | | | | | | This helps to build firmware modules. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Notes: svn path=/head/; revision=303911
* Reliably return PCI_GETCONF_LAST_DEVICE from PCIOCGETCONF.John Baldwin2016-08-091-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | Previously the loop in PCIIOCGETCONF would terminate as soon as it found enough matches. Now it will continue iterating through the PCI device list and only terminate if it finds another matching device for which it has no room to store a conf structure. This means that PCI_GETCONF_LAST_DEVICE is reliably returned when the number of matching devices is equal to the number of slots in the matches buffer. For example, if a program requests the conf structure for a single PCI function with a specified domain/bus/slot/function it will now get PCI_GETCONF_LAST_DEVICE instead of PCI_GETCONF_MORE_DEVS. While here, simplify the loop conditional a bit more by explicitly breaking out of the loop if copyout() fails and removing a redundant i < pci_numdevs check. Reviewed by: vangyzen, imp MFC after: 1 month Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D7445 Notes: svn path=/head/; revision=303881
* Re-correct the documentation for the 'type' parameter of the _SWAPBenjamin Kaduk2016-08-061-2/+2
| | | | | | | | | | | macros from sys/queue.h -- only the singly-linked forms do not need the 'field' argument. Pointy Hat to: bjk Reported by: akshay1994.leo_gmail.com Notes: svn path=/head/; revision=303805
* Update with the members of the 9th core team.Benedict Reuschling2016-08-061-1/+1
| | | | Notes: svn path=/head/; revision=303802
* Correct the documentation of the 'type' parameter for the _SWAPBenjamin Kaduk2016-08-061-4/+4
| | | | | | | | | | macros from sys/queue.h Submitted by: akshay1994.leo_gmail.com (for STAILQ) Differential Revision: https://reviews.freebsd.org/D7428 Notes: svn path=/head/; revision=303801
* Remove lockmgr_waiters(9) and BUF_LOCKWAITERS(9); they were not usedEdward Tomasz Napierala2016-08-052-8/+0
| | | | | | | | | | | for anything. Reviewed by: kib@ MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D7420 Notes: svn path=/head/; revision=303767
* Grammar fixes.Sergey Kandaurov2016-08-041-2/+2
| | | | Notes: svn path=/head/; revision=303742
* mdoc: The .Fn function.Sergey Kandaurov2016-08-041-1/+3
| | | | Notes: svn path=/head/; revision=303740
* DragonFly 4.6.0 release added.Maxim Konovalov2016-08-041-1/+2
| | | | Notes: svn path=/head/; revision=303739
* Permit the name of the /dev/iov entry to be set by the driver.John Baldwin2016-08-032-1/+25
| | | | | | | | | | | | | | | | | The PCI_IOV option creates character devices in /dev/iov for each PF device driver that registers support for creating VFs. By default the character device is named after the PF device (e.g. /dev/iov/foo0). This change adds a variant of pci_iov_attach() called pci_iov_attach_name() that allows the name of the /dev/iov entry to be specified by the driver. Reviewed by: rstone MFC after: 1 month Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D7400 Notes: svn path=/head/; revision=303721
* Man page for the new checksum netgraph module.Julian Elischer2016-08-011-0/+141
| | | | | | | | | PR: 206186 Submitted by: Dmitry Vagin <daemon.hammer@ya.ru> MFC after: 1 month Notes: svn path=/head/; revision=303613
* [gpioled] update manpage.Adrian Chadd2016-07-311-1/+3
| | | | | | | Submitted by: Dan Nelson <dnelson_1901@yahoo.com> Notes: svn path=/head/; revision=303579
* libproc: Add proc_getmodel().Mark Johnston2016-07-301-1/+1
| | | | | | | | | | | This is used by libdtrace to determine the data model of target processes. This allows for the creation of pid provider probes in 32-bit processes on amd64. MFC after: 1 month Notes: svn path=/head/; revision=303533
* librtld_db: Use the auxv to figure out where to look up loader symbols.Mark Johnston2016-07-301-0/+1
| | | | | | | | | | | | Previously, librtld_db just hardcoded /libexec/ld-elf.so, which isn't correct for processes that aren't using the native ABI. With this change, librtld_db can be used to inspect non-native processes; in particular, dtrace -c now works for 32-bit executables on amd64. MFC after: 1 month Notes: svn path=/head/; revision=303531
* Fix two return types in the cpuset(9) and bitset(9) man pagesEric van Gyzen2016-07-292-6/+6
| | | | | | | | | | The *_FFS() and *_COUNT() functions return int, not size_t. MFC after: 3 days Sponsored by: Dell Inc. Notes: svn path=/head/; revision=303519
* Once more refactor KPI between ntb_transport(4) and if_ntb(4)..Alexander Motin2016-07-292-7/+15
| | | | | | | | | New design allows to attach multiple consumers to ntb_transport(4) instance. Previous design obtained from Linux theoretically allowed that, but was not practically usable (Linux also has only one consumer driver now). Notes: svn path=/head/; revision=303494
* Normalise the CWARNFLAGS inter-word spacing: remove all leadingRuslan Bukin2016-07-281-1/+1
| | | | | | | | | | and trailing space, and convert multiple consecutive spaces to single space. This helps to keep build output looking good. Notes: svn path=/head/; revision=303453
* Regenerate src.conf.5 after r303394Ed Maste2016-07-281-3/+3
| | | | Notes: svn path=/head/; revision=303441
* Once more refactor KPI between NTB hardware and consumers.Alexander Motin2016-07-281-2/+16
| | | | | | | | | | | | | | New design allows hardware resources to be split between several consumers. For example, one BAR can be dedicated for remote memory access, while other resources can be used for packet transport for virtual Ethernet interface. And even without resource split, this code allows to specify which consumer driver should attach the hardware. From some points this makes the code even closer to Linux one, even though Linux does not provide the described flexibility. Notes: svn path=/head/; revision=303429
* Extract the calculation of the callout fire time into the new functionKonstantin Belousov2016-07-282-17/+121
| | | | | | | | | | | | | | callout_when(9). See the man page update for the description of the intended use. Tested by: pho Reviewed by: jhb, bjk (man page updates) Sponsored by: The FreeBSD Foundation MFC after: 1 month X-Differential revision: https://reviews.freebsd.org/D7137 Notes: svn path=/head/; revision=303425
* Add a hack to add weekday to date format for ko_KR locale.Jung-uk Kim2016-07-272-4/+4
| | | | Notes: svn path=/head/; revision=303404
* Enable LLVM libunwind by default on amd64 and i386Ed Maste2016-07-271-3/+6
| | | | | | | | | | | | | It is a maintained and updated runtime exception stack unwinder that should be a drop-in replacement. It can be disabled by setting WITHOUT_LLVM_LIBUNWIND in src.conf. PR: 206039 [exp-run] Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=303394
* Remove ${OBJDUMP} as it is not used by the base systemEd Maste2016-07-272-3/+1
| | | | | | | | | | | | | | | | | | It was added to sys.mk relatively recently (r274503) for EFI builds but is no longer used by the base system. The in-tree binutils are outdated, will not be updated, and will be removed in the future. Remove it from the toolchain build now to slightly simplify the build and make sure we don't grow an accidental dependency. Note that this affects only the toolchain build, and does not affect /usr/bin/objdump in the built world. Reviewed by: bdrewery Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6460 Notes: svn path=/head/; revision=303392
* syscons,vt: improve phrasing in kern.vty man page descriptionEd Maste2016-07-272-6/+8
| | | | | | | Submitted by: wblock Notes: svn path=/head/; revision=303390
* Regenerate timedef for zh_TW.Kevin Lo2016-07-272-3/+3
| | | | | | | Reviewed by: bapt Notes: svn path=/head/; revision=303373
* Add weekday to the date format.Kevin Lo2016-07-271-2/+2
| | | | Notes: svn path=/head/; revision=303354
* Mention AC3165 and AC8260 chipsets in iwm(4) and mention AC3165 in iwmfw(4)Imre Vadász2016-07-262-3/+7
| | | | | | | | | | - Support for the AC3165 and AC8260 chipsets was added by r303322 and r303327. Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D7322 Notes: svn path=/head/; revision=303345
* Fix start date to not be in the future.Phil Shafer2016-07-261-1/+1
| | | | | | | | | Submitted by: phil Reviewed by: sjg (mentor) Approved by: sjg Notes: svn path=/head/; revision=303341
* Add links for bit_ffc_at(3) and bit_ffs_at(3).Bryan Drewery2016-07-261-0/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=303328
* Update iwmfw(4) to include support for 8260 series units and updateSean Bruno2016-07-251-2/+4
| | | | | | | | | | | | | | | | f/w for the other devices supported by this driver. Patch linked in https://reviews.freebsd.org/D6967 but not actually a part of the review. Obtained from DragonflyBSD. Submitted by: Kevin Bowling <kev009@kev009.com> MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=303322
* miwi resigned from FreeBSD, update the graphRene Ladan2016-07-251-2/+2
| | | | Notes: svn path=/head/; revision=303320
* Fix style.Ruslan Bukin2016-07-241-2/+20
| | | | Notes: svn path=/head/; revision=303271
* Add weekday to the date format of more localesBaptiste Daroussin2016-07-2322-44/+44
| | | | | | | MFC after: 1 day Notes: svn path=/head/; revision=303219
* Implement mtx_trylock_spin(9).Konstantin Belousov2016-07-232-11/+37
| | | | | | | | | | | Discussed with: bde Reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D7192 Notes: svn path=/head/; revision=303211
* [new-committer:mizhka] add committer into graphMichael Zhilin2016-07-221-0/+2
| | | | | | | | Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D7288 Notes: svn path=/head/; revision=303203
* Update after r303154 to note that operations on local files are safe.John Baldwin2016-07-221-1/+3
| | | | Notes: svn path=/head/; revision=303202
* Set the soft-float flag for assembly code as well.Ruslan Bukin2016-07-221-0/+1
| | | | | | | | | This fixes compilation with GCC 6.1. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=303189
* Add warn flags for GCC 6.1 compiler.Ruslan Bukin2016-07-221-0/+5
| | | | | | | Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=303188
* Add more documentation regarding unsafe AIO requests.John Baldwin2016-07-211-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | The asynchronous I/O changes made previously result in different behavior out of the box. Previously all AIO requests failed with ENOSYS / SIGSYS unless aio.ko was explicitly loaded. Now, some AIO requests complete and others ("unsafe" requests) fail with EOPNOTSUPP. Reword the introductory paragraph in aio(4) to add a general description of AIO before describing the vfs.aio.enable_unsafe sysctl. Remove the ENOSYS error description from aio_fsync(2), aio_read(2), and aio_write(2) and replace it with a description of EOPNOTSUPP. Remove the ENOSYS error description from aio_mlock(2). Log a message to the system log the first time a process requests an "unsafe" AIO request that fails with EOPNOTSUPP. This is modeled on the log message used for processes using the legacy pty devices. Reviewed by: kib (earlier version) MFC after: 1 week Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D7151 Notes: svn path=/head/; revision=303164
* Remove spurious but harmless double-quote.Konstantin Belousov2016-07-211-2/+2
| | | | | | | Noted by: jhb Notes: svn path=/head/; revision=303153