summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* MFC r301076: Fix typo ESRC -> ESRCH in pthread man pages.jilles2016-06-183-3/+3
|
* MFC r300970: Remove non-history libkse references and fix typojilles2016-06-184-12/+6
| | | | "PTHREAD_PROCESSES_PRIVATE".
* MFC r300607arybchik2016-06-041-1/+1
| | | | | | sfxge(4): cleanup: update copyright to 2016 Sponsored by: Solarflare Communications, Inc.
* Add ioat.4 missed in r300661.mav2016-05-251-0/+334
|
* MFC ioat(4) driver in its present state.mav2016-05-251-0/+2
|
* Follow-up r300233: Don't override MK_* from env as head does.bdrewery2016-05-191-0/+4
| | | | | PR: D6271 Sponsored by: EMC / Isilon Storage Division
* Allow MK_ overrides.bdrewery2016-05-191-15/+0
| | | | | | | | | | This is a direct commit to stable. This was done in head in r264661 and is needed to force certain options off for ports. PR: D6271 Sponsored by: EMC / Isilon Storage Division
* MFC r299276slm2016-05-161-44/+113
| | | | | | | | | Updates to mpr driver man page. - Add 3216 and 3224 support. - Add SSU, chain_alloc_fail, and spinup_wait_time information. - Clear up some sentences. - Correct some typos.
* MFC r298864:ngie2016-05-151-1/+1
| | | | Allow FILESGROUPS to be specified more than once by pruning out duplicates
* MFC r298881, 298882, 298883, 298885:pfg2016-05-152-4/+4
| | | | | | | Minor spelling fixes in: tools, share, bluetooth, pmcstat, etc Many of these have user-visible strings.
* MFC r299162,r299163:ngie2016-05-131-1/+7
| | | | | | | | | | | | | | | | | r299162: Only install NIS section 8 manpages if MK_NIS != no r299163: Fix r299162 share/man/man8/Makefile: - Add src.opts.mk so MK_NIS can be tested - Fix typo in MK_NIS conditional tools/build/mk/OptionalObsoleteFiles.inc: - Remove WIP diff from ^/user/ngie/detangle-rc
* MFC r299115:kib2016-05-123-4/+18
| | | | | Warn about consequences of suspending threads in arbitrary state of execution
* MFC r298904:wblock2016-05-1011-13/+13
| | | | | Spelling fixes supplied by pfg@, detected with codespell, plus additional misspellings detected by igor.
* MFC r298759:wblock2016-05-051-3/+15
| | | | Clarify build(7) instructions for alternate object directory.
* MFC r297243: Polish wbwd(4) driver and add more supported chips.mav2016-05-031-8/+41
|
* MFC r295471:jamie2016-04-301-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add new rc.conf parameter "jail_reverse_stop" When a user defines "jail_list" in rc.conf the jails are started in the order defined. Currently the jails are not are stopped in reverse order which may break dependencies between jails/services and prevent a clean shutdown. The new parameter "jail_reverse_stop" will shutdown jails in "jail_list" in reverse order when set to "YES". Please note that this does not affect manual invocation of the jail rc script. If a user runs the command # service jail stop jail1 jail2 jail3 the jails will be stopped in exactly the order specified regardless of jail_reverse_stop being defined in rc.conf. MFC r295568: Document the new jail_reverse_stop parameter While here clean up the documentation for jail_list PR: 196152 Submitted by: feld
* MFC r297367:jamie2016-04-301-3/+61
| | | | | | | | | Move the various per-type arrays of OSD data into a single structure array. MFC r297422: Add osd_reserve() and osd_set_reserved(), which allow M_WAITOK allocation of an OSD array.
* MFC r298522:bcr2016-04-271-4/+4
| | | | | | | | | | | | | The default value of MINFREE is defined to be 8% in ufs/ffs/fs.h and not 10%. The newfs(8) and tunefs(8) man pages had this change already, but fs(5) did not. This change makes it consistent again. Bump Dd. PR: 204929 Submitted by: amutu@amutu.com Sponsored by: Essen Linuxhotel Hackathon 2016
* MFC r298176:wblock2016-04-251-5/+18
| | | | | Add the kern.vt.enable_bell sysctl, which was not documented previously. Minor additional punctuation and wording changes.
* MFC r297282,r297456,r298012,r298013,r298014:ngie2016-04-233-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r297282 (by bdrewery): We don't have a CPPFLAGS, COPTS or CPUFLAGS. r297456 (by bdrewery): We don't support DPLIBS. r298012: Add DEBUG_FLAGS to PROG_VARS and STRIP to PROG_OVERRIDE_VARS This will allow the variables [*] to be overridden on a per-PROG basis, which is useful when controlling "stripping" behavior for some tests that require debug symbols or to be unstripped DEBUG_FLAGS (similar to CFLAGS) supports appending, whereas STRIP is an override *: Due to how STRIP is defined in bsd.own.mk (in addition to bsd.lib.mk and bsd.prog.mk), and the fact that bsd.test.mk pulls in bsd.own.mk first, overriding STRIP doesn't work today. A follow up commit is pending to "rectify" this after additional testing is done. Discussed with: bdrewery r298013: Commit documentation change for r298012 Requested by: bdrewery r298014: Regenerate the list of bsd.progs.mk supported variables Prefix with dashes (unordered list) and put one variable on each line (to avoid future conflicts) Done via the following one-liner: > sh -c 'for i in $(make -C tests/sys/aio PROG=foo -VPROG_VARS:O); do printf "\t\t- $i\n"; done'
* MFC r287009, r287120 and r298131:loos2016-04-161-1/+6
| | | | | | | | | | | | | Add ALTQ(9) support for the CoDel algorithm. CoDel is a parameterless queue discipline that handles variable bandwidth and RTT. It can be used as the single queue discipline on an interface or as a sub discipline of existing queue disciplines such as PRIQ, CBQ, HFSC, FAIRQ. Obtained from: pfSense Sponsored by: Rubicon Communications (Netgate)
* MFC r284777, r284814, r284863 and r298088:loos2016-04-161-1/+6
| | | | | | | | ALTQ FAIRQ discipline import from DragonFLY. Differential Revision: https://reviews.freebsd.org/D2847 Obtained from: pfSense Sponsored by: Rubicon Communications (Netgate)
* MFC r297571:wblock2016-04-131-1/+7
| | | | | Add another real-life example of setting a quirk for a USB gaming keyboard. From forum thread: https://forums.freebsd.org/threads/55717/
* MFC r297386: Add support for AMD FCH watchdog timers.mav2016-04-121-3/+3
|
* MFC r297364:wblock2016-04-042-2/+2
| | | | Fix two more unhappy instances of "user land".
* MFC r296585:bdrewery2016-03-282-4/+8
| | | | | These group names may be used as a cookie, so replace any non-fs-safe characters.
* MFC r279091.np2016-03-231-1/+3
| | | | Add cxl(4) and if_cxl(4) as links to cxgbe(4).
* MFC r296819:bdrewery2016-03-211-7/+5
| | | | Reword SX_NOADAPTIVE description to be clear that adaptive is default.
* MFC: 296167jgh2016-03-191-11/+11
| | | | | | | | | | - address obsolete Kerberos options PR: 205168 Submitted by: kevin@bostoncrypto.com Reviewed by: bjk MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D5430
* MFC r294873:bdrewery2016-03-121-2/+2
| | | | Set a value for _RECURSING_PROGS for debugging.
* MFC r294878:bdrewery2016-03-121-2/+2
| | | | Revert yacc dependency back to pre-r241298.
* MFC r296554:bdrewery2016-03-121-4/+0
| | | | Remove things set already by bsd.progs.mk.
* MFC r296122:bdrewery2016-03-121-5/+0
| | | | | (partial) Move PROGS logic to proper place and remove redundant and unneeded logic.
* MFC r296322:bdrewery2016-03-121-2/+1
| | | | Remove self-reference to destroy_dev_drain(9).
* MFC r296286,r296470,r296472,r296473,r296575:bdrewery2016-03-121-1/+17
| | | | | | | | | | | | | r296286: Remove filemon->lock wrappers. r296470: Only call bwillwrite() for logging to vnodes, as other fo_write() calls do. r296472: Require kldunload -f to unload. r296473: Add missing break for r296472. r296575: FILEMON_SET_FD: Disallow changing the fd.
* MFC r295994,r296000:bdrewery2016-03-121-13/+1
| | | | | | | r295994: PROGS: Remove the 'build one' optimization since it breaks 'build multiple' r296000: PROGS: Only the main process will install INCS.
* MFC r295976:bdrewery2016-03-121-0/+2
| | | | PROGS: Only recurse on called targets like done for SUBDIR in r291635.
* MFC r295998:kib2016-03-091-4/+6
| | | | | | | | Remove references to Giant in the description of vrele(9). Add notes about vnode lock and sleeping. MFC r296001: Fix year.
* MFC r295995:bdrewery2016-03-021-11/+1
| | | | | | | BDECFLAGS has not been available since r82604 removed /etc/defaults/make.conf. Approved by: re (gjb)
* MFC r294933,r294949,r294952,r294953,r294957,r294965,r294967,r294968,r295017,bdrewery2016-02-241-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r295026,r295027,r295029,r295030,r295649: r294933: Drop any previous fd when setting a new one. r294949: filemon_ioctl: Handle error from devfs_get_cdevpriv(9). r294952: filemon_ioctl: Lock the associated filemon handle before writing to it. r294953: filemon_comment has nothing to do with wrappers so move it out of filemon_wrapper.c. r294957: filemon_dtr: Lock the associated filemon handle before writing to it. r294965: filemon: Use process_exit EVENTHANDLER to capture process exit. r294967: filemon: Trace fork via process_fork event. r294968: Follow-up r294967: Mark flags unused. r295017: filemon: Use process_exec EVENTHANDLER to capture sys_execve. r295026: filemon_open: Don't record a process to trace here. r295027: filemon: Track the process pointer rather than a pid. r295029: Document the purpose and non-purpose of filemon(4). r295030: Note the double fork behavior with filemon. r295649: filemon: Fix panic when fork1() is called from kproc_create(). Approved by: re (marius)
* MFC r295665:bdrewery2016-02-231-8/+0
| | | | | | Remove temporary hack from r294370 for SSH upgrades. Approved by: re (marius)
* Revert 295285 which was an MFC of the tryforward work (r290383,295282,295283)gnn2016-02-221-2/+24
| | | | | | | In the IPFW+NAT+divergent MTU case there is a bug in sening ICMP MTU updates. Approved by: re (marius, gjb) Sponsored by: Rubicon Communications (Netgate)
* MFC r295022:jimharris2016-02-171-2/+11
| | | | | | | | | | | | | | | | | nvd: add hw.nvd.delete_max tunable The NVMe specification does not define a maximum or optimal delete size, so technically max delete size is min(full size of namespace, 2^32 - 1 LBAs). A single delete operation for a multi-TB NVMe namespace though may take much longer to complete than the nvme(4) I/O timeout period. So choose a sensible default here that is still suitably large to minimize the number of overall delete operations. This also fixes possible uint32_t overflow on initial TRIM operation for zpool create operations for NVMe namespaces with >4G LBAs. Approved by: re (glebius) Sponsored by: Intel
* MFC r295497: Update uefi.8 for ZFS and multi device boot supportemaste2016-02-161-20/+12
| | | | Approved by: re (gjb)
* MFC r295496: Document boot1.efi's handling of /boot.configemaste2016-02-141-1/+12
| | | | Approved by: re (marius)
* MFC 287442,287537,288944:jhb2016-02-101-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix corruption of coredumps due to procstat notes changing size during coredump generation. The changes in r287442 required some reworking since the 'fo_fill_kinfo' file op does not exist in stable/10. 287442: Detect badly behaved coredump note helpers Coredump notes depend on being able to invoke dump routines twice; once in a dry-run mode to get the size of the note, and another to actually emit the note to the corefile. When a note helper emits a different length section the second time around than the length it requested the first time, the kernel produces a corrupt coredump. NT_PROCSTAT_FILES output length, when packing kinfo structs, is tied to the length of filenames corresponding to vnodes in the process' fd table via vn_fullpath. As vnodes may move around during dump, this is racy. So: - Detect badly behaved notes in putnote() and pad underfilled notes. - Add a fail point, debug.fail_point.fill_kinfo_vnode__random_path to exercise the NT_PROCSTAT_FILES corruption. It simply picks random lengths to expand or truncate paths to in fo_fill_kinfo_vnode(). - Add a sysctl, kern.coredump_pack_fileinfo, to allow users to disable kinfo packing for PROCSTAT_FILES notes. This should avoid both FILES note corruption and truncation, even if filenames change, at the cost of about 1 kiB in padding bloat per open fd. Document the new sysctl in core.5. - Fix note_procstat_files to self-limit in the 2nd pass. Since sometimes this will result in a short write, pad up to our advertised size. This addresses note corruption, at the risk of sometimes truncating the last several fd info entries. - Fix NT_PROCSTAT_FILES consumers libutil and libprocstat to grok the zero padding. 287537: Follow-up to r287442: Move sysctl to compiled-once file Avoid duplicate sysctl nodes. 288944: Fix core corruption caused by race in note_procstat_vmmap This fix is spiritually similar to r287442 and was discovered thanks to the KASSERT added in that revision. NT_PROCSTAT_VMMAP output length, when packing kinfo structs, is tied to the length of filenames corresponding to vnodes in the process' vm map via vn_fullpath. As vnodes may move during coredump, this is racy. We do not remove the race, only prevent it from causing coredump corruption. - Add a sysctl, kern.coredump_pack_vmmapinfo, to allow users to disable kinfo packing for PROCSTAT_VMMAP notes. This avoids VMMAP corruption and truncation, even if names change, at the cost of up to PATH_MAX bytes per mapped object. The new sysctl is documented in core.5. - Fix note_procstat_vmmap to self-limit in the second pass. This addresses corruption, at the cost of sometimes producing a truncated result. - Fix PROCSTAT_VMMAP consumers libutil (and libprocstat, via copy-paste) to grok the new zero padding. Approved by: re (gjb)
* MFC r295234:ume2016-02-071-4/+4
| | | | | | Make sure to enable aliases for SHIFT_JIS. Approved by: re (marius)
* MFC: r290383,295282,295283gnn2016-02-041-24/+2
| | | | | | | | | | | | Replace the fastforward path with tryforward which does not require a sysctl and will always be on. The former split between default and fast forwarding is removed by this commit while preserving the ability to use all network stack features. Differential Revision: https://reviews.freebsd.org/D4042 Reviewed by: ae, melifaro, olivier, rwatson Approved by: re (glebius) Sponsored by: Rubicon Communications (Netgate)
* MFC 278320,278336,278830,285621:jhb2016-02-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add devctl(8): a utility for manipulating new-bus devices. Note that this version does not include the 'suspend' and 'resume' commands present in HEAD as those depend on larger changes to the suspend and resume code in the kernel. 278320: Add a new device control utility for new-bus devices called devctl. This allows the user to request administrative changes to individual devices such as attach or detaching drivers or disabling and re-enabling devices. - Add a new /dev/devctl2 character device which uses ioctls for device requests. The ioctls use a common 'struct devreq' which is somewhat similar to 'struct ifreq'. - The ioctls identify the device to operate on via a string. This string can either by the device's name, or it can be a bus-specific address. (For unattached devices, a bus address is the only way to locate a device.) Bus drivers register an eventhandler to claim unrecognized device names that the driver recognizes as a valid address. Two buses currently support addresses: ACPI recognizes any device in the ACPI namespace via its full path starting with "\" and the PCI bus driver recognizes an address specification of 'pci[<domain>:]<bus>:<slot>:<func>' (identical to the PCI selector strings supported by pciconf). - To make it easier to cut and paste, change the PnP location string in the PCI bus driver to output a full PCI selector string rather than 'slot=<slot> function=<func>'. - Add a devctl(3) interface in libdevctl which provides a wrapper around the ioctls and is the preferred interface for other userland code. - Add a devctl(8) program which is a simple wrapper around the requests supported by devctl(3). - Add a resource_unset_value() function that can be used to remove a hint from the kernel environment. This is used to clear a hint.<driver>.<unit>.disabled hint when re-enabling a boot-time disabled device. 278336: Unbreak the build (memchr is explicitly required by devctl(9) after r278320) 278830: install the man page... 285621: Fix formatting. Approved by: re (marius)
* MFC r284539, r284630, r284688, r284877, r285217, r285218,grehan2016-02-011-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r286837, r286838, r288470, r288522, r288524, r288826, r289001 Pull in bhyve bug fixes and changes to allow UEFI booting. This provides Windows support. Tested on Intel and AMD with: - Arch Linux i386+amd64 (kernel 4.3.3) - Ubuntu 15.10 server 64-bit - FreeBSD-CURRENT/amd64 20160127 snap - FreeBSD 10.2 i386+amd64 - OpenBSD 5.8 i386+amd64 - SmartOS latest - Windows 10 build 1511' Huge thanks to Yamagi Burmeister who submitted the patch and did the majority of the testing. r284539 - bootrom mem allocation support r284630 - Add SO_REUSEADDR when starting debug port r284688 - Fix a regression in "movs" emulation r284877 - verify_gla() non-zero segment base fix r285217 - Always assert DCD and DSR in the uart r285218 - devmem nodes moved to /dev/vmm.io/ r286837 - Add define for SATA Check-Power-Mode r286838 - Add simple (no-op) SATA cmd emulations r288470 - Increase virtio-blk indirect descs r288522 - Firmware guest query interface r288524 - Fix post-test typo r288826 - Clean up SATA unimplemented cmd msg r289001 - Add -l option to specify userboot path Submitted by: Yamagi Burmeister Approved by: re (kib)
OpenPOWER on IntegriCloud