| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
r283933: Indicate where the flag for later abort" originates.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
Add clarifying comment about CQE zipping.
Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4940
|
| |
| |
| |
| |
| |
| |
| | |
Declare local variables at top of function.
Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4939
|
| |
| |
| |
| |
| |
| |
| | |
Allow RX and TX pause frames to be set through ifconfig.
Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4817
|
| |
| |
| |
| | |
Sponsored by: The FreeBSD Foundation
|
| |
| |
| |
| | |
sctp_sendx() needs to provide the assoc_id back.
|
| |
| |
| |
| | |
sctp_sendv() needs to fill in the association id on return.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
r293617: Fix improper duration for f_dialog_pause() API
r294669: Fix a typo in a comment
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bufobj lock
Add locking around access to bv_cnt which is currently being done unlocked
Approved by: jhb
Sponsored by: Panasas, Inc.
|
| |
| |
| |
| | |
Allow users to set UUID in network byte order regardless of SMBIOS version.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Add a basic bhyvectl manpage.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
r286652 (by jmmv):
Mark usr/include/c++/v1/tr1 as obsolete
The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir
was not, resulting in a removal error in delete-old.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR: 206622
Sponsored by: EMC / Isilon Storage Division
r278047 (by amdmi3):
- Remove more files when MK_BSNMP == no
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a typo.
MFC r294621:
Remove obsolete comment.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
tdelete(3): don't delete the node we are about to return.
The original change, from NetBSD, was bogus; introduced a memory
leak and and broke POSIX. By reverting we actually match NetBSD's
latest revision.
This is a direct commit to 10 since this function was rewritten
in 11-current.
Reported by: Markiyan Kushnir
Obtained from: NetBSD (CVS rev. 1.7, 1.8)
|
| |
| |
| |
| | |
Prevent cv_waiters wraparound.
|
| |
| |
| |
| | |
mkdep: Fix -include not being added for .depend tracking.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Switch EFT boot1 to use libstand
This includes a change to the Makefile comment to correct it due to the
lack of arm and i386 support in 10.x.
Sponsored by: Multiplay
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update generated EFI boot image templates.
This is a partial MFC as stable/10 only has EFI boot support for amd64,
and there are no plans to change this, so the other platform images
aren't included.
Sponsored by: Multiplay
|
| |
| |
| |
| |
| |
| | |
Remove hidden "Not ufs" printfs from boot code
Sponsored by: Multiplay
|
| |
| |
| |
| |
| |
| | |
style(9) fixes for EFI boot
Sponsored by: Multiplay
|
| |
| |
| |
| |
| |
| | |
boot1 EFI: reset the screen and select the best mode.
Sponsored by: Multiplay
|
| |
| |
| |
| |
| |
| | |
Fix const conversion warning in lz4_decompress
Sponsored by: Multiplay
|
| |
| |
| |
| |
| |
| | |
Fix return from zfs_probe_dev
Sponsored by: Multiplay
|
| |
| |
| |
| |
| |
| | |
Fix _MSC_EXTENSIONS checks
Sponsored by: Multiplay
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
Limit stripesize reported from nvd(4) to 4K
Sponsored by: Multiplay
|
| |
| |
| |
| |
| |
| | |
Prevent g_access calls to bad multipath members
Sponsored by: Multiplay
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix panic on shutdown due to iscsi event priority.
Close iSCSI sessions on shutdown.
Sponsored by: Multiplay
|
| |
| |
| |
| | |
Remove the HPN and None cipher patches.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a strange macro re-definition compile error. If the VM_MAXUSER_ADDRESS
value is defined as a config option the definition is emitted into
opt_global.h which is force-included into everything. In addition, the
symbol is emitted by the genassym mechanism, but that by its nature reduces
the value to a 0xnnnnnnnn number. When compiling a .S file you end up
with two different definitions of the macro (they evaluate to the same
number, but the text is different, upsetting the compiler).
|
| |
| |
| |
| |
| |
| | |
Eliminate code for walking through the early static env data. This code
is called from a device attach routine, and thus cannot be called before
the cutover from static to dynamic kernel env.
|