summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge OpenSSL 1.0.1r.jkim2016-01-28447-1089/+1518
| | | | Relnotes: yes
* MFC r294840hiren2016-01-284-2/+14
| | | | | | Persist timers TCPTV_PERSMIN and TCPTV_PERSMAX are hardcoded with 5 seconds and 60 seconds, respectively. Turn them into sysctls that can be tuned live. The default values of 5 seconds and 60 seconds have been retained.
* Fixed up version of r294061 that was reverted due to breakage of featuressbruno2016-01-287-194/+1590
| | | | | | | | | | | | | | | | | | | | | | | | | (netmap) and architectures(i386). <I'll take the pointyhat on that one> r283883 -- update to 3.1.0 r283893 -- update SRIOV API changes related to future possible MFC of SRIOV work r285590 -- Fix ixgbe(4) SRIOV VF initialization bugs r285591 -- Remove version check for FLOWID r285592 -- Update netmap support for ixgbe SRIOV VFs. r286238 -- Fixup MTU zeroing if INET/INET6 are undefined. Submitted by: kevin bowling <kevin.bowling@kev009.com> Differential Revision: https://reviews.freebsd.org/D4273
* MFC r293678:jimharris2016-01-281-2/+2
| | | | Update ismt(4) man page to reflect inclusion in upcoming 10.3 release.
* MFC r294068, r294265smh2016-01-2810-8/+377
| | | | | | | | | | | MFC r294068: Add EFI ZFS boot support MFC r294265: Fix broken DPRINTF and wire up EFI_DEBUG so -DEFI_DEBUG to make works. Relnotes: Yes Sponsored by: Multiplay
* MFC r281060, r294060, r294291, r294493, r294284:smh2016-01-288-221/+607
| | | | | | | | | | | | | | | | | | | MFC r281060: Remove an unnecessary space in a printf call MFC r294060: Modularise EFI boot loader MFC r294291 (by andrew): Reset the filesystem cache MFC r294493: Fix EFI UFS caching MFC r294284 (by emaste): boot1: correct typo in error message Sponsored by: Multiplay
* MFC r294506:smh2016-01-281-27/+66
| | | | | | Prevent loader.conf load failure due to unknown console entries Sponsored by: Multiplay
* MFC r293835:smh2016-01-283-11/+37
| | | | | | Improve non-interactive forth cmd error reporting Sponsored by: Multiplay
* MFC r286234 (by trasz):smh2016-01-281-0/+8
| | | | | | Fix a problem which made loader(8) load non-kld files twice. Sponsored by: Multiplay
* MFC r294059:smh2016-01-281-1/+8
| | | | | | Ensure boot fsread correctly probes all partitions Sponsored by: Multiplay
* MFC r281169, r293724, r293796, r294029, r294041, r294058smh2016-01-2840-130/+137
| | | | | | | | | | | | | | | | | | | | | | MFC r281169 (by andrew): Make global variabled only used in this file static MFC r294058: Make common boot file_loadraw name parameter const MFC r294041: Remove unused reg param from fdt_fixup_memory MFC r293724: Enable warnings in EFI boot code MFC r293796: Fix typo in libefi.c MFC r294029: Only build EFI components on supported compilers Sponsored by: Multiplay
* MFC r293831:smh2016-01-281-1/+1
| | | | | | | | | Increase efiboot.img size used in ISO creation This changes mkisoimages-uefi.sh instead of mkisoimages.sh in r293831 due to refactor not MFC'ed. Sponsored by: Multiplay
* MFC r293350:kib2016-01-287-89/+129
| | | | Convert sys/cam to use make_dev_s().
* MFC r293349:kib2016-01-281-52/+47
| | | | Convert tty common code to use make_dev_s().
* MFC r293346:kib2016-01-284-76/+235
| | | | Provide yet another KPI for cdev creation, make_dev_s(9).
* MFC r294040:smh2016-01-281-1/+7
| | | | | | Prevent bogus compiler in ZFS boot code. Sponsored by: Multiplay
* MFC r294968:smh2016-01-281-2/+3
| | | | | | Allow file specific user-specified flag overrides. Sponsored by: Multiplay
* MFC r294695:pfg2016-01-281-7/+5
| | | | | | | | | | | | | ext2fs: passthrough any extra timestamps to the dinode struct. In general we don't trust any of the extended timestamps unless the EXT2F_ROCOMPAT_EXTRA_ISIZE feature is set. However, in the case where we freshly allocated a new inode the information is valid and it is better to pass it along instead of leaving the value undefined. This should have no practical effect but should reduce the amount of garbage if EXT2F_ROCOMPAT_EXTRA_ISIZE is set, like in cases where the filesystem is converted from ext3 to ext4.
* MFC r294530: Add STB_GNU_UNIQUE symbol binding definitionemaste2016-01-281-2/+3
| | | | | | | | | Red Hat created STB_GNU_UNIQUE to handle certain special cases relating to dynamically loading C++ DSOs[1]. We don't (currently) have support for STB_GNU_UNIQUE, but ought to reserve the value in ELFNN_ST_BIND. This will also be used by an upcoming ELF Tool Chain import.
* MFC r294749:jamie2016-01-281-3/+3
| | | | | | | | Allow the (old rc-style) exec_afterstart jail parameters to start numbering at 0, like exec_prestart and the others do. Make param0 optional, i.e. still look for param1. PR: 142973
* MFC r294565: sem: Don't free nameinfo that is still in list when open()jilles2016-01-272-1/+38
| | | | | | | | | | | fails. This bug could be reproduced easily by calling sem_open() with O_CREAT | O_EXCL on a semaphore that is already open in the process. The struct sem_nameinfo would be freed while still in sem_list and later calls to sem_open() or sem_close() could access freed memory. PR: 206396
* - Add an entry for the SIIG Cyber 2SP1 PCIe adapter, which is basedmarius2016-01-271-20/+80
| | | | | | | | | | | | on an Oxford Semiconductor OX16PCI954 but uses only two ports and a non-default clock rate. [1] - Add entries for the more prominent members of the Digi International Neo series, which are based on Exar PCI chips. Tested by: Patrick Powell - Mark some unused parameters as such. - Fix style/whitespace PR: 176407 [1]
* MFC: r294362, r294414, r294753marius2016-01-273-50/+130
| | | | | | | | | | | | - Fix tty_drain() and, thus, TIOCDRAIN of the current tty(4) incarnation to actually wait until the TX FIFOs of UARTs have be drained before returning. This is done by bringing the equivalent of the TS_BUSY flag found in the previous implementation back in an ABI-preserving way. Reported and tested by: Patrick Powell - Make the code consistent with itself style-wise and bring it closer to style(9). - Mark unused arguments as such. - Make the ttystates table const.
* Sync the e1000 drivers with what's in head as of r294327, modulo partsmarius2016-01-2744-655/+710
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that don't apply to stable/10 (driver API, if_inc_counter(), RSS changes etc.) and modulo r287465 (which reportedly breaks igb(4)), i. e. assorted fixes and improvements only: o MFC r267385 (partial): - Don't compare bus_dma map pointers for static DMA allocations against NULL to determine if bus_dmamap_unload() or bus_dmamem_free() should be called. Instead, check the associated bus and virtual addresses. - Don't clear static DMA maps to NULL. o MFC r284933: Delete the refernce to VLAN handling being disabled by default. This is no longer the case. [1] o MFC r285639: Add an adapter CORE lock in the DDB hook em_dump_queue to avoid WITNESS panic in em_init_locked() while debugging. o MFC r285879: - Remove unused txd_saved. - Intialize txd_upper, txd_lower and txd_used at declaration. o MFC r286162: Free mbufs when busdma loading fails. o MFC r286829: Add capability to disable CRC stripping as it breaks IPMI/BMC capabilities on certain adatpers. [2] o MFC r286831: [3] - Increase EM_MAX_SCATTER to 64 such that the size of em_xmit():: segs[EM_MAX_SCATTER] doesn't get overrun by things like NFS that can and do shove more than 32 segs when being used with em(4) and TSO4. - Update tso handling code in em_xmit() with update from jhb@ - Set if_hw_tsomax, if_hw_tsomaxsegcount and if_hw_tsomaxsegsize to appropriate values. - Define a TSO workaround "magic" number of 4 that is used to avoid an alignment issue in hardware. - Change a couple of integer values that were used as booleans to actual bool types. - Ensure that em_enable_intr() enables the appropriate mask of interrupts and not just a hardcoded define of values. o MFC r286832: e1000/if_lem.c bump to 1.1.0 o MFC r286833: Bump all copywrite dates to 2015. o MFC r287112: Style/whitespace cleanup in shared/common code. o MFC r293331: - Switch em(4) to the extended RX descriptor format. - Split rxbuffer and txbuffer apart to support the new RX descriptor format structures. Move rxbuffer manipulation to em_setup_rxdesc() to unify the new behavior changes. - Add a RSSKEYLEN macro for help in generating the RSSKEY data structures in the card. - Change em_receive_checksum() to process the new rxdescriptor format status bit. o MFC r293332: Disable the reuse of checksum offload context descriptors in the case of multiple queues in em(4). Document errata in the code. o MFC r293854: Given that em(4), lem(4) and igb(4) hardware doesn't require the alignment guarantees provided by m_defrag(9), use m_collapse(9) instead for performance reasons. While at it, sanitize the statistics softc members, i. e. retire unused ones and add SYSCTL nodes missing for actually used ones. PR: 118693 [1], 161277 [2], 195078 [3], 199174 [3], 200221 [3]
* MFC 283933: Add commentsdteske2016-01-271-3/+3
| | | | r283933: Indicate where the flag for later abort" originates.
* MFC r294319:hselasky2016-01-271-14/+11
| | | | | | | | Fix an issue where the network adapter could be left in down state after changing the HW LRO sysctl when previously in up state. Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4941
* MFC r294318:hselasky2016-01-271-0/+5
| | | | | | | Add clarifying comment about CQE zipping. Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4940
* MFC r294317:hselasky2016-01-271-3/+6
| | | | | | | Declare local variables at top of function. Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4939
* MFC r294314:hselasky2016-01-273-36/+103
| | | | | | | Allow RX and TX pause frames to be set through ifconfig. Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4817
* Document SA-16:08, SA-16:09, SA-16:10.gjb2016-01-271-0/+15
| | | | Sponsored by: The FreeBSD Foundation
* MFC r294694:tuexen2016-01-271-2/+7
| | | | sctp_sendx() needs to provide the assoc_id back.
* MFC r294688:tuexen2016-01-271-0/+7
| | | | sctp_sendv() needs to fill in the association id on return.
* MFC r294900:delphij2016-01-273-3/+9
| | | | | | | | | | | | | Implement AT_SECURE properly. AT_SECURE auxv entry has been added to the Linux 2.5 kernel to pass a boolean flag indicating whether secure mode should be enabled. 1 means that the program has changes its credentials during the execution. Being exported AT_SECURE used by glibc issetugid() call. Submitted by: imp, dchagin Security: FreeBSD-SA-16:10.linux Security: CVE-2016-1883
* MFC 293617,294669: Minor fixesdteske2016-01-272-2/+1
| | | | | r293617: Fix improper duration for f_dialog_pause() API r294669: Fix a typo in a comment
* MFC r289797: dpv(1) merged to stable/10 before release/10.2.0dteske2016-01-271-3/+3
|
* MFC r293868: Default to en_US.ISO8859-1 if no localedteske2016-01-272-0/+9
|
* MFC r294557:sephe2016-01-271-3/+85
| | | | | | | | | | | | | | | | | | | hyperv/stor: Verify returned inquiry data before further dispatching Windows 10 and Window 2016 will return all zero inquiry data for non-existing slots. If we dispatched them, then a lot of useless (0 sized) disks would be created. So we verify the returned inquiry data (valid type, non-empty vendor/product/revision etc.), before further dispatching. Minor white space cleanup and wording fix. Submitted by: Hongjiang Zhang <honzhan microsoft com> Reviewed by: adrian, sephe, Jun Su <junsu microsoft com> Approved by: adrian (mentor) Modified by: sephe Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D4928
* MFC 294548-294549,294556,294684: Add watch scriptsdteske2016-01-274-1/+939
| | | | | | | r294548: Add scripts for watching common entry points. r294549: Fix bad title on script (caused by copy/paste). r294556: fbt -> syscall; fbt names changed to be sys_* r294684: Bump copyright for change from fbt to syscall
* MFC r294200: [PR 206224] bv_cnt is sometimes examined without holding therpokala2016-01-261-0/+5
| | | | | | | | | bufobj lock Add locking around access to bv_cnt which is currently being done unlocked Approved by: jhb Sponsored by: Panasas, Inc.
* MFC: r256940jkim2016-01-262-6/+13
| | | | Allow users to set UUID in network byte order regardless of SMBIOS version.
* MFC r294347asomers2016-01-261-7/+4
| | | | | | | | | Fix usr.bin.truncate.truncate_test.bad_truncate with ZFS /tmp. The bad_truncate test sets the uimmutable flag to produce an error in truncate, but that flag isn't supported by ZFS. If /tmp is on a ZFS filesystem, the test will fail. Change it to use readonly permissions and an unpriveleged user instead.
* MFC r292066, r292069, r293708, r294027, and r294358, mostly to vdev_geom.casomers2016-01-262-40/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r292066 | asomers | 2015-12-10 14:46:21 -0700 (Thu, 10 Dec 2015) | 25 lines During vdev_geom_open, require that the vdev guids match the device's label except during split, add, or create operations. This fixes a bug where the wrong disk could be returned, and higher layers of ZFS would immediately eject it again. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c: o When opening by GUID, require both the pool and vdev GUIDs to match. While it is highly unlikely for two vdevs to have the same vdev GUIDs, the ZFS storage pool allocator only guarantees they are unique within a pool. o Modify the open behavior to: - If we are opening a vdev that hasn't previously been opened, open by path without checking GUIDs. - Otherwise, open by path and verify GUIDs. - If that fails, search all geom providers for a device with matching GUIDs. - If that fails, return ENOENT. r292069 | asomers | 2015-12-10 17:04:13 -0700 (Thu, 10 Dec 2015) | 6 lines Change an important error message from ZFS_LOG to printf r293708 | asomers | 2016-01-11 15:15:46 -0700 (Mon, 11 Jan 2016) | 16 lines Fix importing l2arc device by guid After r292066, vdev_geom verifies both the vdev and pool guids of device labels during open. However, spare and l2arc devices don't have pool guids, so opening them by guid will fail (opening by path, when the pathname is known, still succeeds). This change allows a vdev to be opened by guid if the label contains no pool_guid, which is the case for inactive spares and l2arc devices. r294027 | asomers | 2016-01-14 11:19:05 -0700 (Thu, 14 Jan 2016) | 14 lines Fix race condition involving ZFS remove events When a ZFS drive disappears, ZFS sends a resource.fs.zfs.removed event to userland. A userland program like zfsd(8) can use that event, for example to activate a hotspare. The current code contains a race condition: vdev_geom will sent the sysevent _before_ spa.c would update the vdev's status, causing userland processes to see pool state that does not reflect the device removal. This change moves the sysevent to spa.c, closing the race. r294358 | asomers | 2016-01-19 16:16:24 -0700 (Tue, 19 Jan 2016) | 10 lines Quell harmless CID about unchecked return value in nvlist_get_guids. The return value doesn't need to be checked, because nvlist_get_guid's callers check the returned values of the guids.
* MFH: r293745brueffer2016-01-262-1/+98
| | | | Add a basic bhyvectl manpage.
* MFH (r275765): add a vigr(8) tool to mirror vipw(8)des2016-01-264-0/+173
|
* MFH (r277706): allow the user to specify the location of control.confdes2016-01-261-0/+2
|
* MFH (r290008): load_rc_config no longer requires a service namedes2016-01-262-2/+2
|
* MFH (r290006): loading rc.subr and rc.conf has no effect heredes2016-01-261-3/+0
|
* MFH (r293034, r29304): plasma screensaverdes2016-01-266-1/+500
|
* MFH (r293033): ignore unload unless loaded + add a reload targetdes2016-01-261-1/+12
|
* MFH (r291197): markup fixesdes2016-01-261-3/+9
|
OpenPOWER on IntegriCloud