SVNews

NOTE: This service is experimental and subject to change! Use at your own risk!

Year:   Month: - or - Filter committers: - or -
Filter paths:
Include diffs if smaller than lines.

2014 - 07 - 22   (today)
20:49:58 - r268994
( 42 minutes ago)
by ian
Affects:  /head/contrib/gcc/config/arm/unwind-arm.h
Add FreeBSD to the list of environments that needs to handle R_ARM_TARGET2
relocations in unwind data as pc-relative indirect references.

MFC after:      1 week
20:32:24 - r268993
(1 hour ago)
by ian
Affects:  /head/contrib/libstdc++/libsupc++/unwind-cxx.h
Fix EABI unwind function declarations to match the function definitions.
The mismatch was noticed by clang, when using it to compile the in-tree
gcc and libstdc++.
20:13:46 - r268992
(1 hour 19 minutes ago)
by ache
Affects:  /head/lib/libc/stdio/ftell.c
Back the whole change out until I figure out how to obtain O_APPEND,
it can't be used in this field at all.
19:55:25 - r268991
(1 hour 37 minutes ago)
by ache
Affects:  /head/lib/libc/stdio/ftell.c
Checking for __SAPP alone is not enough because it is emulated O_APPEND
only, so works for only special fdopen() case. Add real O_APPEND too.
19:54:22 - r268990
(1 hour 38 minutes ago)
by tuexen
Affects:  /head/sys/netinet/sctp_uio.h
Cleanup the definition of two structures which are
exposed to userland. Therefore no MFC.
19:48:21 - r268989
(1 hour 44 minutes ago)
by np
Affects:  /head/sys/dev/cxgbe/t4_sge.c
Add missing newline to an error message.

MFC after:      3 days
19:37:38 - r268988
(1 hour 55 minutes ago)
by pluknet
Affects:  /head/share/man/man4/ddb.4
Grammar and spelling fixes.
18:37:59 - r268987
(2 hours 54 minutes ago)
by pfg
Affects:  /head/lib/libc/stdio/ftell.c
Revert  r268984:
Check for __SAPP flag before calling sflush.   This avoids
performance degradation compared to the previous approach.

Submitted by:   ache
MFC after:      2 weeks
17:30:05 - r268986
(4 hours 2 minutes ago)
by marcel
Affects:  /head/sys/geom/uzip/g_uzip.c
In r264504, we prevented doing I/O for more than MAXPHYS by making
the assumption that consumers would respect bio_completed and/or
bio_resid to detect short reads. This assumption proved false and
file corruption was the result.
Create as many bios as we need to satisfy the original request.
Check the cached chunk every time we need to do I/O to increase the
hit rate.

Obtained from:  junipre Networks, Inc.
MFC after:      1 week
16:39:11 - r268985
(4 hours 53 minutes ago)
by pfg
Affects:  /head/lib/libc/stdio/fputs.c
/head/lib/libc/stdio/puts.c
Mostly cosmetic cleanups.

In fputs() avoid implcit casting on iov.iov_len.

MFC after:      3 days
16:19:01 - r268984
(5 hours 13 minutes ago)
by pfg
Affects:  /head/lib/libc/stdio/ftell.c
ftello: return 1 when seeking offset on an append stream.

Obtained from:  Apple Inc. (Libc 997.90.3)
Phabric:        D442
MFC after:      2 weeks
16:10:56 - r268983
(5 hours 21 minutes ago)
by pfg
Affects:  /head/lib/libc/stdio/rewind.c
rewind: always clear error indicator.

Required by POSIX:
http://pubs.opengroup.org/onlinepubs/009695399/functions/rewind.html

Obtained from:  Apple Inc. (Libc 997.90.3)
MFC after:      1 week
13:58:33 - r268982
(7 hours 34 minutes ago)
by emaste
Affects:  /head/sys/amd64/amd64/machdep.c
Don't pass null kmdp to preload_search_info

On Xen PVH guests kmdp == NULL.

Submitted by:   royger
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
08:52:49 - r268981
(12 hours 39 minutes ago)
by ray
Affects:  /head/sys/dev/drm2/drm_fb_helper.c
Remove #ifdef-s to reduce difference to upstream.

Pointed by:     kib

MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
08:37:01 - r268980
(12 hours 55 minutes ago)
by delphij
Affects:  /head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h
Correct typo introduced with r268855.

MFC after:      10 days
X-MFC with:     r268855
06:40:27 - r268979
(14 hours 52 minutes ago)
by delphij
Affects:  /head/libexec/save-entropy/save-entropy.sh
Don't save entropy inside jails.

As of r126744, we no longer feed the entropy device in jails upon
start, and collecting them is no longer useful.

PR:             conf/126744
Submitted by:   Eugene Grosbein <eugen grosbein net> (with minor changes)
MFC after:      1 week
Approved by:    so (des)
04:47:19 - r268978
(16 hours 45 minutes ago)
by sbruno
Affects:  /head/sys/boot/userboot/test/test.c
copyin/copyout should return 0 if they are truly emulating copyin/copyout
behavior.

remove stray %s in printf

rewrite printf to display 64bit type without warning.
04:39:32 - r268977
(16 hours 53 minutes ago)
by br
Affects: 
(4 files)
/head/sys/arm/conf/IMX6
/head/sys/arm/freescale/imx/*
/head/sys/boot/fdt/dts/arm/imx6.dtsi
Enable Freescale i.MX I2C driver for i.MX6.
04:39:16 - r268976
(16 hours 53 minutes ago)
by jhb
Affects: 
(18 files)
/stable/10/lib/libvmmapi/*
/stable/10/sys/amd64/*
/stable/10/usr.sbin/bhyve/*
MFC 266424,266476,266524,266573,266595,266626,266627,266633,266641,266642,
266708,266724,266934,266935,268521:
Emulation of the "ins" and "outs" instructions.

Various fixes for translating guest linear addresses to guest physical
addresses.
04:38:28 - r268975
(16 hours 54 minutes ago)
by sbruno
Affects:  /head/sys/boot/amd64/boot1.efi/Makefile
Remove boot1.efi during clean target.
04:37:47 - r268974
(16 hours 55 minutes ago)
by sbruno
Affects:  /head/sys/boot/efi/libefi/Makefile
/head/sys/boot/i386/libi386/Makefile
Supress clang warning for FreeBSD printf %b and %D formats

MFC after:      2 weeks
03:59:14 - r268973
(17 hours 33 minutes ago)
by br
Affects: 
(6 files)
/head/sys/arm/freescale/imx/*
/head/sys/arm/freescale/vybrid/vf_i2c.c
Rename i.MX I2C driver file.
03:14:37 - r268972
(18 hours 18 minutes ago)
by jhb
Affects: 
(20 files)
/stable/10/lib/libvmmapi/*
/stable/10/sys/amd64/*
/stable/10/usr.sbin/bhyve/*
MFC 266125:
Implement a PCI interrupt router to route PCI legacy INTx interrupts to
the legacy 8259A PICs.
02:02:39 - r268971
(19 hours 30 minutes ago)
by np
Affects:  /head/sys/dev/cxgbe/adapter.h
/head/sys/dev/cxgbe/t4_sge.c
Simplify r267600, there's no need to distinguish between allocated and
inlined mbufs.

MFC after:      1 week
00:42:55 - r268970
(20 hours 49 minutes ago)
by sjg
Affects:  /head/share/mk/bsd.lib.mk
/head/share/mk/bsd.obj.mk
bsd.lib.mk does not add OBJS etc to CLEANFILES so does not automatically
get them flagged as .NOPATH.  This hurts people who don't use obj dirs.
Since its clean target seprate rm's for things, use NOPATH_FILES as list
to collect things that need .NOPATH.

bsd.obj.mk will add CLEANFILES to NOPATH_FILES and do the deed if needed.

Reviewed by: sbruno
00:33:41 - r268969
(20 hours 59 minutes ago)
by bdrewery
Affects: 
(2 files)
/stable/10/share/man/man4/ddb.4
MFC r268715,r268722:

    Document the 'show bio' command added in 2009.
    Also link 'show bio' to g_bio(9.)
2014 - 07 - 21   (yesterday)
23:23:20 - r268968
(22 hours 9 minutes ago)
by pfg
Affects: 
(3 files)
/stable/10/sbin/fsck_msdosfs/dir.c
/stable/10/sbin/fsck_msdosfs/fat.c
MFC     r268632:
fsck_msdosfs: Assorted fixes from other BSDs.

When truncating cluster chains fix the length of the cluster head.
http://marc.info/?t=140304310700005&r=1&w=2

Avoid infinite loops in cluster chain linked lists.
http://marc.info/?l=openbsd-tech&m=140275150804337&w=2

Avoid off-by-one on FAT12 filesystems.
http://marc.info/?l=openbsd-tech&m=140234174104724&w=2

Obtained from:  NetBSD (from OpenBSD)
23:00:26 - r268967
(22 hours 32 minutes ago)
by pfg
Affects: 
(4 files)
/stable/9/usr.bin/grep/grep.c
/stable/9/usr.bin/grep/queue.c
/stable/9/usr.bin/grep/util.c
MFC     r268798, r268799, r268801:
grep: Fix type.
grep: fix some memory leaks.

queue.c (CVS Rev. 1.4. 1.5)
Fix memory leaks.
NULL does not need a cast.

grep.c (CVS Rev. 1.6)
Use the more portable getline.

Obtained from:  NetBSD
22:59:40 - r268966
(22 hours 33 minutes ago)
by pfg
Affects: 
(4 files)
/stable/10/usr.bin/grep/grep.c
/stable/10/usr.bin/grep/queue.c
/stable/10/usr.bin/grep/util.c
MFC     r268798, r268799, r268801:
grep: Fix type.
grep: fix some memory leaks.

queue.c (CVS Rev. 1.4. 1.5)
Fix memory leaks.
NULL does not need a cast.

grep.c (CVS Rev. 1.6)
Use the more portable getline.

Obtained from:  NetBSD
22:48:38 - r268965
(22 hours 44 minutes ago)
by pfg
Affects: 
(4 files)
/stable/9/lib/libc/stdlib/hcreate.c
/stable/9/lib/libc/stdlib/tsearch.c
/stable/9/lib/libc/stdlib/twalk.c
MFC     r268644:
libc/stdlib: Minor cleanups to code originating in NetBSD

Mostly ANSIfication and typos.

Obtained from:  NetBSD
22:47:59 - r268964
(22 hours 44 minutes ago)
by pfg
Affects: 
(4 files)
/stable/10/lib/libc/stdlib/hcreate.c
/stable/10/lib/libc/stdlib/tsearch.c
/stable/10/lib/libc/stdlib/twalk.c
MFC     r268644:
libc/stdlib: Minor cleanups to code originating in NetBSD

Mostly ANSIfication and typos.

Obtained from:  NetBSD
22:44:06 - r268963
(22 hours 48 minutes ago)
by pfg
Affects: 
(3 files)
/stable/9/lib/libc/gen/arc4random.c
/stable/9/lib/libc/gen/readpassphrase.c
MFC     r268642:
libc/gen: small updates to code originating at OpenBSD

arc4random.c
- CVS rev. 1.22
Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as
``-upper_bound % upper_bound''. Simplifies the code and makes it the
same on both ILP32 and LP64 architectures, and also slightly faster on
LP64 architectures by using a 32-bit remainder instead of a 64-bit
remainder.
- CVS rev. 1.23
Spacing

readpassphrase.c
-CVS rev. v 1.24
most obvious unsigned char casts for ctype

Obtained from:  OpenBSD
22:37:33 - r268962
(22 hours 55 minutes ago)
by pfg
Affects: 
(3 files)
/stable/10/lib/libc/gen/arc4random.c
/stable/10/lib/libc/gen/readpassphrase.c
MFC     r268642:
libc/gen: small updates to code originating at OpenBSD

arc4random.c
- CVS rev. 1.22
Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as
``-upper_bound % upper_bound''. Simplifies the code and makes it the
same on both ILP32 and LP64 architectures, and also slightly faster on
LP64 architectures by using a 32-bit remainder instead of a 64-bit
remainder.
- CVS rev. 1.23
Spacing

readpassphrase.c
-CVS rev. v 1.24
most obvious unsigned char casts for ctype

Obtained from:  OpenBSD
22:21:09 - r268961
(23 hours 11 minutes ago)
by bdrewery
Affects: 
(3 files)
/stable/10/sys/fs/nfsserver/nfs_nfsdport.c
/stable/10/sys/nfsserver/nfs_serv.c
MFC r268114:

  Change NFS readdir() to only ignore cookies preceding the given offset for
  UFS rather than for all but ZFS.
22:10:29 - r268960
(23 hours 22 minutes ago)
by peter
Affects: 
(5 files)
/head/contrib/serf/*
Merge serf-1.3.6
+  Revert r2319 from serf 1.3.5: this change was making serf call
handle_response
+    multiple times in case of an error response, leading to unexpected
behavior.
22:09:16 - r268959
(23 hours 23 minutes ago)
by peter
Affects:  /vendor/serf/serf-1.3.6
Tag serf-1.3.6
22:08:50 - r268958
(23 hours 23 minutes ago)
by peter
Affects: 
(4 files)
/vendor/serf/dist/*
Vendor import serf-1.3.6
+  Revert r2319 from serf 1.3.5: this change was making serf call
handle_response
+    multiple times in case of an error response, leading to unexpected
behavior.
21:26:10 - r268957
(1 day ago)
by dim
Affects:  /head/Makefile.inc1
Run mtree for BSD.tests.dist during make xdev-install, if the tests are
enabled (which they are in the default configuration).  Otherwise, it
will fail because ${XDDESTDIR}/usr/include/atf-c does not exist.

MFC after:      3 days
20:38:21 - r268956
(1 day ago)
by np
Affects: 
(2 files)
/stable/10/sys/netinet/ip_output.c
MFC r268450 (by glebius).  The leak affects stable/10 too.

In several cases in ip_output() we obtain reference on ifa. Do not
leak it.
20:08:53 - r268955
(1 day 1 hour ago)
by sbruno
Affects: 
(3 files)
/stable/10/sys/dev/ciss/ciss.c
/stable/10/sys/dev/ciss/cissreg.h
MFC r268017 and r268018

268017:
Check return of cam_periph_find() before using it in a printf.

268018:
Add detection for ciss(4)  controllers that are set to non-raid JBOD mode.
19:33:08 - r268954
(1 day 1 hour ago)
by sbruno
Affects:  /head/sys/dev/drm2/radeon/rs690.c
/head/sys/dev/drm2/radeon/rv515.c
Merge change from upstream linux kernel submitted by OpenBSD:

drm/radeon: fix-up some float to fixed conversion thinkos

Spotted by Brad Smith when porting to OpenBSD.
Noticed-by: Brad Smith <brad@comstyle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

ref:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1cd73ff7

Remove #ifdef DUMBBELL_WIP in favor of upstream fix.

Phabric:        https://phabric.freebsd.org/D423
Reviewed by:    dumbbell, jkim
MFC after:      2 weeks
19:08:02 - r268953
(1 day 2 hours ago)
by jhb
Affects: 
(27 files)
/stable/10/lib/libvmmapi/*
/stable/10/sys/*
/stable/10/usr.sbin/bhyve/*
MFC 264353,264509,264768,264770,264825,264846,264988,265114,265165,265365,
265941,265951,266390,266550,266910:
Various bhyve fixes:
- Don't save host's return address in 'struct vmxctx'.
- Permit non-32-bit accesses to local APIC registers.
- Factor out common ioport handler code.
- Use calloc() in favor of malloc + memset.
- Change the vlapic timer frequency to be in the ballpark of contemporary
  hardware.
- Allow the guest to read the TSC via MSR 0x10.
- A VMCS is always inactive when it exits the vmx_run() loop.  Remove
  redundant code and the misleading comment that suggest otherwise.
- Ignore writes to microcode update MSR.  This MSR is accessed by RHEL7
  guest.
  Add KTR tracepoints to annotate wrmsr and rdmsr VM exits.
- Provide an alias for the userboot console and name it 'comconsole'.
- Use EV_ADD to create an mevent and EV_ENABLE to enable it.
- abort(3) the process in response to a VMEXIT_ABORT.
- Don't include the guest memory segments in the bhyve(8) process core dump.
- Make the vmx asm code dtrace-fbt-friendly.
- Allow vmx_getdesc() and vmx_setdesc() to be called for a vcpu that is in
  the VCPU_RUNNING state.
- Enable VMX in the IA32_FEATURE_CONTROL MSR if it not enabled and the MSR
  isn't locked.
18:26:51 - r268952
(1 day 3 hours ago)
by jhb
Affects: 
(2 files)
/stable/10/sys/amd64/vmm/x86.c
MFC 264347:
Account for the "plus 1" encoding of the CPUID Function 4 reported
core per package and cache sharing values.
18:23:48 - r268951
(1 day 3 hours ago)
by jhb
Affects: 
(2 files)
/stable/10/usr.sbin/bhyvectl/bhyvectl.c
MFC 264275:
Explicitly initialize 'vmname' to NULL.
18:13:14 - r268950
(1 day 3 hours ago)
by emaste
Affects: 
(2 files)
/stable/10/tools/tools/vt/mkkfont/mkkfont.c
MFC r266847: Add missing , in converted font output
17:43:37 - r268949
(1 day 3 hours ago)
by emaste
Affects:  /head/usr.bin/vtfontcvt/vtfontcvt.c
Remove redundant return statement after errx

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
17:18:00 - r268948
(1 day 4 hours ago)
by emaste
Affects:  /head/usr.bin/vtfontcvt/vtfontcvt.c
Use the standard way of printing the usage string

Sponsored by:   The FreeBSD Foundation
16:38:05 - r268947
(1 day 4 hours ago)
by emaste
Affects:  /head/sys/dev/drm2/i915/intel_fb.c
/head/sys/dev/vt/vt_core.c
Hide syscons-specific workaround under DEV_SC

This change is a bit ugly, but so is the coupling between the i915
driver and syscons.  It isn't worth developing a more elegant solution
only to support the legacy syscons console.
16:21:17 - r268946
(1 day 5 hours ago)
by emaste
Affects: 
(2 files)
/stable/10/share/man/man4/syscons.4
MFC syscons(4) man page updates:

r268050: Add a vt(4) cross reference to syscons(4)

r268169: Clarify the setting of syscons driver flags

  Submitted by: wblock

r268215: Describe kern.vty sc/vt tunable in syscons(4)

  Reviewed by:  wblock
15:44:59 - r268945
(1 day 5 hours ago)
by pfg
Affects:  /head/lib/libc/stdlib/hcreate.c
/head/sys/sys/param.h
Fix hdestroy() compliance issue.

The hcreate(3) implementation and related functions we inherited
from NetBSD used to free() the key value, something that is not
supported by the standard implementation.

This would cause a segmentation fault when attempting to run
the examples from the opengroup and linux manpages.  NetBSD
has added non-standard calls to provide the previous
behaviour but hdestroy is not very commonly used so at this
time it seems excessive to bring those to FreeBSD.

Bump the __FreeBSD_version as this is an ABI change.

Reference:
http://bugs.dragonflybsd.org/issues/1398

MFC after:      2 weeks
15:26:52 - r268944
(1 day 6 hours ago)
by pfg
Affects:  /head/lib/libc/stdlib/hcreate.c
Update license.

NetBSD has removed the advertisement clause from this file.

Obtained from:  NetBSD (CVS rev. 1,8)
15:22:48 - r268943
(1 day 6 hours ago)
by pfg
Affects: 
(5 files)
/head/include/search.h
/head/lib/libc/stdlib/*
Add re-entrant versions of the hash functions based on the GNU api.

While testing this I found a conformance issue in hdestroy()
that will be fixed in a subsequent commit.

Obtained from:  NetBSD (hcreate.c, CVS Rev. 1.7)
14:36:35 - r268942
(1 day 6 hours ago)
by emaste
Affects: 
(3 files)
/stable/9/sys/dev/vt/vt_core.c
MFC r268460 by ray:

  Fix inconsistent token parameters for kbd_allocate() and kbd_release()
  in vt(4).

PR:             191306
Submitted by:   jau789 at gmail.com
Sponsored by:   The FreeBSD Foundation
14:31:57 - r268941
(1 day 7 hours ago)
by emaste
Affects: 
(2 files)
/stable/10/sys/dev/vt/vt_core.c
MFC r268460 by ray:

  Fix inconsistent token parameters for kbd_allocate() and kbd_release()
  in vt(4).

PR:             191306
Submitted by:   jau789 at gmail.com
Sponsored by:   The FreeBSD Foundation
13:51:29 - r268940
(1 day 7 hours ago)
by emaste
Affects: 
(3 files)
/stable/10/share/vt/keymaps/Makefile
/stable/10/share/vt/keymaps/pl.kbd
MFC r267603 by trasz: Add polish vt(4) keymap.

Sponsored by:   The FreeBSD Foundation
08:47:54 - r268939
(1 day 12 hours ago)
by pluknet
Affects:  /head/share/man/man9/PCBGROUPS.9
Fixed fallout from previous change.
08:42:35 - r268938
(1 day 12 hours ago)
by pluknet
Affects:  /head/share/man/man9/PCBGROUPS.9
[mdoc] cleanup
06:45:19 - r268937
(1 day 14 hours ago)
by cy
Affects: 
(3 files)
/stable/10/contrib/ipfilter/lib/printipfexpr.c
/stable/10/sys/contrib/ipfilter/netinet/ip_compat.h
MFC r268532 and r268585. When world and kernel are built without INET6
support, the userland was still built with INET6 turned on.

PR:             190964
Approved by:    glebius (mentor, implicit)
04:48:02 - r268936
(1 day 16 hours ago)
by adrian
Affects:  /head/share/man/man9/Makefile
/head/share/man/man9/PCBGROUPS.9
Add the PCBGROUPS manpage.

Thanks to wblock for helping me with this manpage.
02:39:17 - r268935
(1 day 18 hours ago)
by jhb
Affects: 
(11 files)
/stable/10/lib/libvmmapi/*
/stable/10/sys/amd64/*
/stable/10/usr.sbin/*
MFC 263780,264516,265062,265101,265203,265364:
Add an ioctl to suspend a virtual machine (VM_SUSPEND).

Add logic in the HLT exit handler to detect if the guest has put all vcpus
to sleep permanently by executing a HLT with interrupts disabled.

When this condition is detected the guest with be suspended with a reason of
VM_SUSPEND_HALT and the bhyve(8) process will exit.

This logic can be disabled via the tunable 'hw.vmm.halt_detection'.
02:17:28 - r268934
(1 day 19 hours ago)
by jhb
Affects: 
(4 files)
/stable/10/usr.sbin/bhyve/Makefile
/stable/10/usr.sbin/bhyve/atkbdc.c
/stable/10/usr.sbin/bhyve/bhyverun.c
MFC 264916,267611:
Provide a very basic stub for the 8042 PS/2 keyboard controller.
00:21:56 - r268933
(1 day 21 hours ago)
by jhb
Affects: 
(16 files)
/stable/10/share/man/man4/*
/stable/10/sys/*
/stable/10/usr.sbin/bhyve/*
MFC 260847,264055,264867:
- Add a very simple virtio_random(4) driver for FreeBSD guests to harvest
  entropy from hypervisors.
- Add support to bhyve for the virtio RNG entropy-source device to provide
  entry to bhyve guests.
2014 - 07 - 20   (2 days ago)
22:54:03 - r268932
(1 day 22 hours ago)
by jhb
Affects: 
(8 files)
/stable/10/sys/boot/userboot/*
/stable/10/usr.sbin/bhyveload/bhyveload.c
MFC 262331,262487,262495,262523:
ZFS boot support for bhyveload.
22:13:51 - r268931
(1 day 23 hours ago)
by wblock
Affects:  /head/usr.sbin/ctld/ctl.conf.5
/head/usr.sbin/ctld/ctld.8
Correct spelling errors in ctld.8.  While here, correct similar errors
in ctl.conf.5 and fix a couple of contractions.

PR:             191984
Submitted by:   olgeni
MFC after:      1 week
21:24:29 - r268930
(2 days ago)
by pfg
Affects:  /head/lib/libc/stdio/vfprintf.c
/head/lib/libc/stdio/vfwprintf.c
/head/lib/libc/stdio/wbuf.c
Adjust errno on failed prepwrite.

Obtained from:  Apple Inc. (Libc 997.90.3)
Phabric:        D442
MFC after:      1 week
21:02:35 - r268929
(2 days ago)
by hselasky
Affects:  /head/sys/dev/usb/serial/u3g.c
/head/sys/dev/usb/usbdevs
Add new device ID.

MFC after:      1 week
PR:             191959
20:29:28 - r268928
(2 days 1 hour ago)
by pfg
Affects:  /head/lib/libc/stdio/gets.c
Const-ify a character string.

Obtained from:  Apple Inc. (Libc 997.90.3)
MFC after:      3 days
20:29:09 - r268927
(2 days 1 hour ago)
by jilles
Affects:  /head/bin/sh/eval.c
/head/bin/sh/tests/builtins/Makefile
/head/bin/sh/tests/builtins/break6.0
sh: Allow arbitrarily large numbers in break and continue.

The argument is capped to loopnest, so strtol()'s [ERANGE] can be ignored.
20:14:15 - r268926
(2 days 1 hour ago)
by pfg
Affects:  /head/lib/libc/stdio/freopen.c
Use a correct errno in freopen.

Use EBADF instead of EINVAL when working around incorrect O_ACCMODE.

Phabric:        D442
Obtained from:  Apple Inc. (Libc 997.90.3)
Reviewed by:    jilles
MFC after:      1 week
20:11:34 - r268925
(2 days 1 hour ago)
by rwatson
Affects:  /head/usr.bin/procstat/procstat.1
/head/usr.bin/procstat/procstat_vm.c
In "procstat -v" (VM), spell out 'FL' to 'FLAG' since there are two extra
columns available anyway.  Also left align as we tend to do for flags
fields, although you can't see that currently as the string fully fills
that available columns.

MFC after:      3 days
Sponsored by:   DARPA, AFRL
20:05:39 - r268924
(2 days 1 hour ago)
by pfg
Affects:  /head/lib/libc/stdio/fflush.c
Update fflush(3) to return success on a read-only stream.

This has small changes to what Apple uses for compliance
with SUSv3. The changes cause no secondary effects in the
gnulib tests (we pass them).

Obtained from:  Apple Inc. (Libc 997.90.3 with changes)
Reviewed by:    bde
Phabric:        D440
18:44:56 - r268923
(2 days 2 hours ago)
by markj
Affects:  /head/sys/amd64/amd64/trap.c
Fix the build when DTrace isn't enabled.

Reported by:    stefanf
X-MFC-With:     r268600
16:34:35 - r268922
(2 days 4 hours ago)
by neel
Affects:  /head/sys/amd64/vmm/intel/vmx.c
Fix build without INVARIANTS defined by getting rid of unused variable 'exc'.

Reported by:    adrian, stefanf
14:49:24 - r268921
(2 days 6 hours ago)
by des
Affects:  /head/share/mk/bsd.dep.mk
Older versions of flex (like the one used in FreeBSD <= 9) expect the
output file name to follow the -o flag immediately, with no intervening
whitespace.

Reported by:    ian@
MFC after:      1 week
12:06:52 - r268920
(2 days 9 hours ago)
by jilles
Affects: 
(4 files)
/head/bin/sh/*
sh: Remove prefix() function. Use strncmp() instead.
11:00:51 - r268919
(2 days 10 hours ago)
by bapt
Affects: 
(2 files)
/stable/9/usr.sbin/pkg/Makefile
MFC: r263650, r263686

Add missing dependency on libm
10:54:45 - r268918
(2 days 10 hours ago)
by bapt
Affects: 
(2 files)
/stable/10/usr.sbin/pkg/Makefile
MFC: r263650, r263686

Add missing dependency on libm
08:43:53 - r268917
(2 days 12 hours ago)
by adrian
Affects:  /head/sys/dev/ixgbe/ixgbe.c
Add the UDP hash -> RSS mbuf hash type for the ixgbe(4) driver.
07:45:48 - r268916
(2 days 13 hours ago)
by adrian
Affects:  /head/sys/dev/ixgbe/ixgbe.c
Teach ixgbe(4) about rss_gethashconfig().

If RSS is enabled, ixgbe(4) will query the RSS API for the types of hashes
which should be used.  It'll then only enable hashes that are exposed via
the RSS layer.

This way it won't try to do things like enable UDP hashing if RSS explicitly
states that it isn't supported in lookups.

Tested:

* 82599EB ixgbe(4) NIC
07:43:41 - r268915
(2 days 13 hours ago)
by adrian
Affects:  /head/sys/dev/ixgbe/ixgbe.c
Disable the ixgbe(4) UDP 4-tuple hashing for the time being.

A mix of fragmented and non-fragmented UDP in a single stream will end up
being hashed differently, resulting in out-of-order behaviour in the receive
path.

This was done in the linux e1000 driver in 2011.

Discussed with: jfv
07:39:54 - r268914
(2 days 13 hours ago)
by adrian
Affects:  /head/sys/netinet6/in6_pcbgroup.c
When it's time to do 4-tuple UDP IPv6 hashing, make sure this is a known
type.
07:38:38 - r268913
(2 days 13 hours ago)
by adrian
Affects:  /head/sys/netinet/in_pcbgroup.c
Make the PCBGROUPS code aware of IPv4 UDP 4-tuple.
07:37:47 - r268912
(2 days 13 hours ago)
by adrian
Affects:  /head/sys/netinet/in_rss.c
Add hash awareness of the IPv4 and IPv6 UDP 4-tuple.

Note: it would be nice if the supported hash check would be used here!
07:36:59 - r268911
(2 days 13 hours ago)
by adrian
Affects:  /head/sys/netinet/in_rss.c
/head/sys/netinet/in_rss.h
Implement rss_gethashconfig() - return the currently supported hash methods
by the stack.

Right now the stack isn't really setup for RSS with 4-tuple UDP hashing
for either IPv4 and IPv6.

The specifics:

* The UDP init path udp_init() and udplite_init() specify the hash as
  2-tuple, so the PCBGROUPS code only tries a 2-tuple check;
* The PCBGROUPS and RSS code doesn't know about the UDP hash types
  just yet, so they're never treated as valid hashes.
* For correctness, 4-tuple can't be enabled in the general case because
  UDP datagrams can be more fragmented than IP datagrams may be.

Strictly speaking, TCP datagrams may also be fragmented and this could
cause issues with PCBGROUPS/RSS until the IP defragment path grows some
code to re-calculate the RSS hash.

I'll follow this commit up with awareness of the UDP 4-tuple for those
who wish to configure it, but for now it'll stay disabled.

No drivers (yet) know to use this function when RSS is enabled.
07:35:00 - r268910
(2 days 13 hours ago)
by mav
Affects: 
(2 files)
/stable/10/usr.sbin/ctld/kernel.c
MFC r268795:
Fix ctld crash on startup if target alias is not set.
07:31:55 - r268909
(2 days 14 hours ago)
by adrian
Affects:  /head/sys/netinet/in_rss.c
Update the comment to be more concise.
06:03:52 - r268908
(2 days 15 hours ago)
by truckman
Affects: 
(3 files)
/stable/8/sys/kern/subr_rman.c
MFC r268373

Declaration whitespace changes for style(9).
04:11:18 - r268907
(2 days 17 hours ago)
by adrian
Affects:  /head/sys/dev/ixgbe/ixgbe.c
Correctly program the RSS redirection table entries.

Without this, the RSS bucket assignments aren't correct - they're
DCBA instead of ABCD in each DWORD.

Tested: 82599EB ixgbe(4), TCP and UDP RSS
02:38:58 - r268906
(2 days 18 hours ago)
by hiren
Affects:  /stable/9/sys/net/route.c
MFC r250764

Fix rte leak introduced in r248070.
02:20:03 - r268905
(2 days 19 hours ago)
by hiren
Affects:  /stable/9/sys/dev/ixgbe/ixgbe.c
MFC r268790

Fix a typo.
02:15:14 - r268904
(2 days 19 hours ago)
by hiren
Affects:  /stable/10/sys/dev/ixgbe/ixgbe.c
MFC r268790

Fix a typo.
00:34:54 - r268903
(2 days 20 hours ago)
by bapt
Affects: 
(3 files)
/stable/10/sbin/kldstat/kldstat.8
/stable/10/sbin/kldstat/kldstat.c
MFC: r261032
Add quiet support for kldstat -n

PR:             bin/180014
Submitted by:   Olivier Cochard-LabbĂ© <olivier at cochard.me>
00:32:22 - r268902
(2 days 21 hours ago)
by bapt
Affects: 
(3 files)
/stable/10/lib/libz/Makefile
/stable/10/lib/libz/zlib.pc
MFC: r267376

Add a zlib pkg-config file (more and more ports requires it)

Approved by:    delphij
00:30:28 - r268901
(2 days 21 hours ago)
by bapt
Affects: 
(5 files)
/stable/9/lib/libfetch/*
MFC: r267131, r267132, r267133, r268493, r268671

Use NULL instead of 0 (Patch by Sascha Wildner <saw at online.de> for Dragonfly)
Remove unnecessary semicolons (Patch by Sascha Wildner <saw at online.de> for
Dragonfly)
Add support for arbitrary http requests [1]
Support EAGAIN in fetch_writev

Submitted by:   Alex Hornung <alex at alexhornung.com> [1]
Reviewed by:    des
00:29:41 - r268900
(2 days 21 hours ago)
by bapt
Affects: 
(5 files)
/stable/10/lib/libfetch/*
MFC: r267131, r267132, r267133, r268493, r268671

Use NULL instead of 0 (Patch by Sascha Wildner <saw at online.de> for Dragonfly)
Remove unnecessary semicolons (Patch by Sascha Wildner <saw at online.de> for
Dragonfly)
Add support for arbitrary http requests [1]
Support EAGAIN in fetch_writev

Submitted by:   Alex Hornung <alex at alexhornung.com> [1]
Reviewed by:    des
00:21:38 - r268899
(2 days 21 hours ago)
by bapt
Affects: 
(152 files)
/stable/10/contrib/byacc/*
/stable/10/usr.bin/yacc/Makefile
MFC: r257315, r260445, r264803

Update byacc to 20140422
00:08:50 - r268898
(2 days 21 hours ago)
by nwhitehorn
Affects:  /head/sys/powerpc/ps3/platform_ps3.c
Fix allocation of 128MB extended memory region, broken since some careless
modifications in December.

MFC after:      3 days
2014 - 07 - 19   (3 days ago)
23:57:36 - r268897
(2 days 21 hours ago)
by bapt
Affects: 
(67 files)
/stable/9/contrib/libucl/*
/stable/9/lib/libucl/Makefile
/stable/9/usr.sbin/pkg/*
MFC: r263648, r264789, r266636

This brings:
- schema validation
- xpath-like interface for ucl objects

Adapt pkg(7) to the new libucl API
23:44:57 - r268896
(2 days 21 hours ago)
by bapt
Affects: 
(110 files)
/stable/10/contrib/libucl/*
/stable/10/lib/libucl/Makefile
/stable/10/usr.sbin/pkg/*
MFC: r263648, r264789, r266636

This brings:
- schema validation
- xpath-like interface for ucl objects

Adapt pkg(7) to the new libucl API
23:39:17 - r268895
(2 days 21 hours ago)
by nwhitehorn
Affects:  /head/sys/powerpc/ps3/ps3_syscons.c
Enable X11 via xf86-video-scfb on the Playstation 3. This commit made from
an xterm running for the first time on said Playstation.
22:24:29 - r268894
(2 days 23 hours ago)
by jhb
Affects: 
(5 files)
/stable/10/usr.sbin/bhyve/*
MFC 263432,265366,265376:
Fixes for vcpu management in bhyve:
- Use 'cpuset_t' to represent the vcpus active in a virtual machine.
- Modify the "-p" option to be more flexible when associating a 'vcpu' with
  a 'hostcpu'.
22:13:27 - r268893
(2 days 23 hours ago)
by ian
Affects: 
(5 files)
/head/lib/libc/arm/*
/head/sys/arm/include/elf.h
/head/sys/sys/link_elf.h
Add dl_unwind_find_exidx() for ARM EABI, required for C++ exception
handling.  For statically linked apps this uses the __exidx_start/end
symbols set up by the linker.  For dynamically linked apps it finds the
shared object that contains the given address and returns the location and
size of the exidx section in that shared object.

The dl_unwind_find_exidx() name is used by other BSD projects and Android,
and is mentioned in clang 3.5 comments as "the BSD interface" for finding
exidx data.  GCC (in libgcc_s) expects the exact same API and functionality
to be provided by a function named __gnu_Unwind_Find_exidx(), so we provide
that with an alias ("strong reference").

Reviewed by:    kib@
MFC after:      1 week
22:13:12 - r268892
(2 days 23 hours ago)
by jhb
Affects: 
(3 files)
/stable/10/usr.sbin/bhyve/pci_lpc.c
/stable/10/usr.sbin/bhyve/uart_emul.c
MFC 262884,263236,265407:
Various uart fixes:
- Open the uart emulation's backing tty in non-blocking mode.
- Support 16-bit register access.
- Disable the 'uart_drain()' callback when the emulated receive FIFO
  is full.
22:06:46 - r268891
(2 days 23 hours ago)
by jhb
Affects: 
(25 files)
/stable/10/lib/libvmmapi/*
/stable/10/sys/*
/stable/10/usr.sbin/bhyve/*
MFC 259942,262274,263035,263054,263211,263744,264179,264324,264468,264631,
264648,264650,264651,266572,267558:
Flesh out the AT PIC and 8254 PIT emulations and move them into the kernel.
21:04:21 - r268890
(3 days ago)
by des
Affects:  /head/lib/libpam/modules/pam_group/pam_group.8
/head/lib/libpam/modules/pam_group/pam_group.c
Add support for the "account" facility.

PR:             115164
MFC after:      1 week
20:59:08 - r268889
(3 days ago)
by neel
Affects: 
(10 files)
/head/lib/libvmmapi/*
/head/sys/amd64/*
/head/usr.sbin/*
Handle nested exceptions in bhyve.

A nested exception condition arises when a second exception is triggered while
delivering the first exception. Most nested exceptions can be handled serially
but some are converted into a double fault. If an exception is generated during
delivery of a double fault then the virtual machine shuts down as a result of
a triple fault.

vm_exit_intinfo() is used to record that a VM-exit happened while an event was
being delivered through the IDT. If an exception is triggered while handling
the VM-exit it will be treated like a nested exception.

vm_entry_intinfo() is used by processor-specific code to get the event to be
injected into the guest on the next VM-entry. This function is responsible for
deciding the disposition of nested exceptions.
20:55:13 - r268888
(3 days ago)
by des
Affects:  /head/lib/libpam/modules/pam_group/pam_group.c
Check if the specified group is the user's primary group before
iterating over the (possibly empty) list of members.  Otherwise, we
get a false negative when the target group has no members listed in
/etc/group.  This went mostly unnoticed because root is explicitly
listed as a member of wheel, so the bug is never triggered in the most
common use case, which is su(8).

PR:             109416
MFC after:      1 week
20:13:01 - r268887
(3 days 1 hour ago)
by jhb
Affects: 
(9 files)
/stable/10/usr.sbin/bhyve/*
MFC 261904,261905,262143,262184,264921,265211,267169,267292,267294:
Various PCI fixes:
- Allow PCI devices to be configured on all valid bus numbers from 0 to 255.
- Tweak the handling of PCI capabilities in emulated devices to remove
  the non-standard zero capability list terminator.
- Add a check to validate that memory BARs of passthru devices are 4KB
  aligned.
- Respect and track the enable bit in the PCI configuration address word.
- Handle quad-word access to 32-bit register pairs.
19:58:26 - r268886
(3 days 1 hour ago)
by hselasky
Affects: 
(4 files)
/stable/8/sys/dev/usb/controller/xhci_pci.c
MFC r268735:
Improve support for Intel Lynx Point USB 3.0 controllers by using the
USB 2.0 port mask in addition to the USB 3.0 port mask. The hardware
does not always accept when writing -1U to the port switching
registers.
19:57:27 - r268885
(3 days 1 hour ago)
by hselasky
Affects: 
(3 files)
/stable/9/sys/dev/usb/controller/xhci_pci.c
MFC r268735:
Improve support for Intel Lynx Point USB 3.0 controllers by using the
USB 2.0 port mask in addition to the USB 3.0 port mask. The hardware
does not always accept when writing -1U to the port switching
registers.
19:56:23 - r268884
(3 days 1 hour ago)
by hselasky
Affects: 
(2 files)
/stable/10/sys/dev/usb/controller/xhci_pci.c
MFC r268735:
Improve support for Intel Lynx Point USB 3.0 controllers by using the
USB 2.0 port mask in addition to the USB 3.0 port mask. The hardware
does not always accept when writing -1U to the port switching
registers.
18:38:48 - r268883
(3 days 2 hours ago)
by des
Affects: 
(8 files)
/head/contrib/unbound/freebsd-configure.sh
/head/contrib/unbound/util/*
/head/lib/libunbound/Makefile
Clean up the libunbound build to avoid accidentally regenerating the
configuration lexer and parser during buildworld.  Instead of being
included in the source as it is in the upstream distribution, the code is
now always generated (in ${.OBJDIR}) at build time.

PR:             190739
MFC after:      1 week
18:33:09 - r268882
(3 days 2 hours ago)
by dim
Affects: 
(4 files)
/stable/10/sys/conf/kern.mk
/stable/9/sys/conf/kern.mk
MFC r268774:

After r261991, clang warnings about unused functions in the kernel were
completely silenced.  Make sure these warnings appear again, so there is
some incentive to fix them, but do not error out the whole kernel build
for them.

Noticed by:     steven@pyro.eu.org
PR:             191867
15:12:38 - r268881
(3 days 6 hours ago)
by pfg
Affects: 
(2 files)
/stable/10/lib/libc/stdlib/strfmon.c
MFC     r268569:
strfmon: reduce unnecessary snprintf.

No need for the snprintf/asprintf dance; use fixed width formats.

Obtained from:  NetBSD (CVS rev. 1.8)
15:11:58 - r268880
(3 days 6 hours ago)
by nwhitehorn
Affects:  /head/sys/powerpc/aim/trap.c
/head/sys/powerpc/powerpc/mem.c
Allow mappings of memory not previously direct-mapped by the kernel when
calling mmap on /dev/mem and add a handler for the possible userland
machine checks that may result. Remove some pointless and wrong copy/paste
that has been in here for a decade as well.

This results in a /dev/mem with identical semantics to the x86 version.

MFC after:      1 week
15:09:53 - r268879
(3 days 6 hours ago)
by rwatson
Affects:  /head/usr.bin/procstat/procstat_files.c
Better align headers and data for 'procstat -f' with and without '-C'.

MFC after:      3 days
Sponsored by:   DARPA, AFRL
14:34:06 - r268878
(3 days 6 hours ago)
by pfg
Affects:  /head/lib/libc/net/sourcefilter.c
Clean r268867.

Proposed by:    bde
14:26:04 - r268877
(3 days 7 hours ago)
by des
Affects:  /head/share/mk/bsd.dep.mk
Use -o (output to file) instead of -t (print to stdout) and a redirect.

MFC after:      1 week
14:10:31 - r268876
(3 days 7 hours ago)
by bapt
Affects: 
(4 files)
/head/contrib/libucl/src/ucl_parser.c
/head/contrib/libucl/tests/basic/11.in
/head/contrib/libucl/tests/basic/11.res
Merge libucl 20140718 (fixes a bug in the parser)
14:08:15 - r268875
(3 days 7 hours ago)
by bapt
Affects:  /vendor/libucl/20140718
Tag import of libucl 20140718
14:07:49 - r268874
(3 days 7 hours ago)
by bapt
Affects:  /vendor/libucl/dist/src/ucl_parser.c
/vendor/libucl/dist/tests/basic/11.in
/vendor/libucl/dist/tests/basic/11.res
Import libucl 20140718 (fixes a bug in the parser)
14:06:23 - r268873
(3 days 7 hours ago)
by jilles
Affects:  /head/bin/sh/miscbltin.c
sh: Deduplicate some code in ulimit builtin.
13:22:12 - r268872
(3 days 8 hours ago)
by nwhitehorn
Affects:  /user/nwhitehorn/powerpcle/lib/csu/powerpc64/Makefile
Revert unrelated change that accidentally came in here.
06:27:24 - r268871
(3 days 15 hours ago)
by nwhitehorn
Affects: 
(19 files)
/user/nwhitehorn/powerpcle/*
Toolchain support. This gets important things like a little-endian libc
built without issue.
06:19:28 - r268870
(3 days 15 hours ago)
by nwhitehorn
Affects:  /user/nwhitehorn/powerpcle
Branch for hacking on little-endian PPC support, to see if it's a reasonable
thing to try to support or not.
02:27:31 - r268869
(3 days 19 hours ago)
by markj
Affects: 
(4 files)
/head/sys/amd64/amd64/*
/head/sys/cddl/dev/*
Use a C wrapper for trap() instead of checking and calling the DTrace trap
hook in assembly.

Suggested by:   kib
Reviewed by:    kib (original version)
X-MFC-With:     r268600
02:15:28 - r268868
(3 days 19 hours ago)
by gjb
Affects:  /projects/release-embedded/release/cloudware/release-azure.sh
Use the fixed-size VHD file format for Azure images.

Sponsored by:   The FreeBSD Foundation
01:53:52 - r268867
(3 days 19 hours ago)
by pfg
Affects:  /head/lib/libc/net/sourcefilter.c
Use unsigned optlen in getsourcefilter()

Sizes can not be negative and the functions that use it
expect an unsigned value anyways.

Obtained from:  Apple (Libc-997.90.3)
MFC after:      1 week
01:15:01 - r268866
(3 days 20 hours ago)
by rmacklem
Affects:  /head/usr.sbin/nfsd/nfsd.8
r243637 changed the default number of nfsd threads created,
but the man page did not reflect this.
This is a content change.

Reported by:    bde
MFC after:      2 weeks
00:26:03 - r268865
(3 days 21 hours ago)
by delphij
Affects: 
(8 files)
/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/*
Reduce lock contention on the z_teardown_lock under heavily cached
read workload by splitting the single teardown rrw lock into
RRM_NUM_LOCKS (17) of them.

Read acquisitions are randomly distributed among these locks based
on curthread pointer.  Write acquisitions are going to all the
locks, which for the usage of this type of lock should be rare.

Illumos issue:
    5008 lock contention (rrw_exit) while running a read only load

MFC after:      2 weeks
00:11:51 - r268864
(3 days 21 hours ago)
by des
Affects:  /head/UPDATING
Document the need to regenerate the local_unbound configuration.
2014 - 07 - 18   (4 days ago)
23:23:52 - r268863
(3 days 22 hours ago)
by dteske
Affects:  /head/usr.sbin/sysrc/sysrc.8
Oops, forgot to bump manual date/copyright in r268860.

MFC after:      3 days
X-MFC-to:       stable/10, stable/9, ports
X-MFC-with:     r268860
23:04:27 - r268862
(3 days 22 hours ago)
by bapt
Affects:  /head/ObsoleteFiles.inc
Add libsbuf.so.6 to obsolete libraries since it has been bumped to .so.7
22:56:59 - r268861
(3 days 22 hours ago)
by bapt
Affects:  /head/usr.bin/timeout/timeout.1
Improve timeout(1) man page

Document the exit values and the duration format
Improve wording
Pet mandoc -Tlint
Sort SEE ALSO

Phabric:        https://phabric.freebsd.org/D432
Reviewed by:    wblock
22:44:15 - r268860
(3 days 22 hours ago)
by dteske
Affects:  /head/usr.sbin/sysrc/sysrc
/head/usr.sbin/sysrc/sysrc.8
Minor enhancements, bug fixes, and man-page adjustments.

+ Make `sysrc -x foo' produce error status if foo is unset.
NB: Reported by lme (everything else ``while I'm at it'')
+ Remove mention of SYSRC_VERBOSE from `sysrc --help' output.
NB: False documentation leftover from an ancient precursor.
+ Make `sysrc -qc foo' work the same as `sysrc -ic foo' when foo is unset
NB: For syntax convenience (my fingers know `-q' more than `-i').
+ Update description of `-c' flag in help message/manual.
+ Update description of `-q' flag in help message/manual.
+ Make `sysrc -vc foo' work as documented in the manual
NB: Show message stating whether foo is currently set.
+ Make `sysrc -vc foo=1' work as documented in the manual
NB: Show message stating how value of foo would be changed (if at all).
+ Remove odd usage of parentheses in `-R dir' section of manual.
+ Clarify syntax section of manual w/respect to sysctl(8) similarities.
+ Add new/missing people to the `THANKS TO' section of the manual.

Reported by:    lme
MFC after:      3 days
X-MFC-to:       stable/10, stable/9, ports
22:34:01 - r268859
(3 days 22 hours ago)
by delphij
Affects: 
(6 files)
/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/*
MFV r268851:

When a sync task is waiting for a txg to complete, we should hurry it along
by increasing the number of outstanding async writes (i.e. make
vdev_queue_max_async_writes() return a larger number).

Illumos issue:
    4753 increase number of outstanding async writes when sync task is waiting

MFC after:      2 weeks
22:04:21 - r268858
(3 days 23 hours ago)
by delphij
Affects: 
(4 files)
/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h
MFV r268850:

Change the interaction between the DMU and ARC so that when the DMU is
shutting down an objset, we do not evict the data from the ARC.  Instead
we simply coordinate the destruction of the DMU's data with the ARC.

The only case where we actually need to explicitly evict from the ARC is
when dbuf_rele_and_unlock() determines that the administrator has requested
that it not be kept in memory, via the primarycache/secondarycache properties.
In this case, we evict the data from the ARC by its blkptr_t, the same way
as when a block is freed we explicitly evict it from the ARC.

Illumos issue:
    4631 zvol_get_stats triggering too many reads

MFC after:      2 weeks
21:29:59 - r268857
(4 days ago)
by jilles
Affects:  /head/lib/libc/gen/ttyname.3
ttyname(3): Fix EBADF/ENOTTY error descriptions.

Also, make sure to document the return values and errors for all three
functions in the man page.

PR:             191931
MFC after:      1 week
21:28:59 - r268856
(4 days ago)
by delphij
Affects:  /head/sys/dev/bxe/bxe_stats.c
Fix build by using the driver API (driver converted in r266979 which should
be upstreamed).

X-MFC with:     r268854
MFC after:      5 days
20:41:40 - r268855
(4 days ago)
by delphij
Affects: 
(10 files)
/head/cddl/contrib/opensolaris/cmd/ztest/ztest.c
/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/*
MFV r268848:

Instead of asserting all zio's be properly aligned, only assert
on the logical ones.

Cap uberblocks at 8k, otherwise with ashift=17, there would be
only one uberblock.

This fixes a problem that zdb would trip assert on pools with
ashift >= 0xe (8k).

While there, also change the code so it only attempt to condense
space map unless the uncondensed size consumes greater than
zfs_metaslab_condense_block_threshold blocks.

Illumos issue:
  4958 zdb trips assert on pools with ashift >= 0xe

MFC after:      2 weeks
20:04:11 - r268854
(4 days 1 hour ago)
by davidcs
Affects: 
(5 files)
/head/sys/dev/bxe/*
Initiate error recovery stats fail to update after 3 retries.
Change bxe_panic() ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() to
panic only if ECORE_STOP_ON_ERROR is defined.

MFC after:5 days
18:11:24 - r268853
(4 days 3 hours ago)
by truckman
Affects:  /stable/9/sys/modules/xenhvm/Makefile
Generate *all* the needed autogenerated header files.  For some reason
normal builds still work without this, but "make universe" requires it.

Tested with "make universe".

This is a direct commit to stable/9 because this module does not exist
in head or stable/10.
18:09:20 - r268852
(4 days 3 hours ago)
by delphij
Affects: 
(7 files)
/vendor-sys/illumos/dist/uts/common/fs/zfs/*
5008 lock contention (rrw_exit) while running a read only load
Reviewed by: Matthew Ahrens <matthew.ahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Richard Yao <ryao@gentoo.org>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Approved by: Garrett D'Amore <garrett@damore.org>

illumos/illumos-gate@c9030f6c93613fe30ee0c16f92b96da7816ac052
18:05:09 - r268851
(4 days 3 hours ago)
by delphij
Affects: 
(5 files)
/vendor-sys/illumos/dist/uts/common/fs/zfs/*
4753 increase number of outstanding async writes when sync task is waiting
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Garrett D'Amore <garrett@damore.org>

illumos/illumos-gate@73527f441cbbd953fa42cc5a30a413bad75f24a9
18:02:34 - r268850
(4 days 3 hours ago)
by delphij
Affects:  /vendor-sys/illumos/dist/uts/common/fs/zfs/arc.c
/vendor-sys/illumos/dist/uts/common/fs/zfs/dbuf.c
/vendor-sys/illumos/dist/uts/common/fs/zfs/sys/arc.h
4631 zvol_get_stats triggering too many reads
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>

illumos/illumos-gate@bbfa8ea8bb4168c969ba27d632dfe0aeec3fc0da
18:00:00 - r268849
(4 days 3 hours ago)
by truckman
Affects: 
(6 files)
/stable/9/sys/amd64/conf/NOTES
/stable/9/sys/dev/xen/netback/*
/stable/9/sys/dev/xen/netfront/netfront.c
Merge r256868,257276-257277,257515,257913 from head. These are fixes
required to make Xen buildable w/o INET.  This is the same as r259541
in stable/10 by glebius.
17:55:12 - r268848
(4 days 3 hours ago)
by delphij
Affects: 
(8 files)
/vendor-sys/illumos/dist/uts/common/fs/zfs/*
/vendor/illumos/dist/cmd/ztest/ztest.c
4958 zdb trips assert on pools with ashift >= 0xe
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>

illumos/illumos-gate@2a104a5236475eb73aa41eaaf3ed9f3ccbe0ca55
16:25:35 - r268847
(4 days 5 hours ago)
by hiren
Affects:  /head/sys/dev/e1000/if_igb.c
The description is a bit misleading. Trying to make it more obvious.

Phabric:    https://phabric.freebsd.org/D435
Reviewed by:    gnn
16:21:15 - r268846
(4 days 5 hours ago)
by pfg
Affects:  /head/include/search.h
Revert  r268826:
The current ordering of this header is a feature as it
is more consistent with POSIX.
Also adding gratuitous newlines is not elegant.

Pointed out by: bde
15:39:07 - r268845
(4 days 5 hours ago)
by alc
Affects:  /head/ObsoleteFiles.inc
/head/share/man/man9/Makefile
/head/share/man/man9/zero_copy.9
Remove obsolete man pages.  The corresponding code was removed in r255608.
14:59:35 - r268844
(4 days 6 hours ago)
by glebius
Affects:  /head/sys/kern/uipc_mbuf.c
Use assignment instead of bcopy.

Submitted by:   jmg
14:27:04 - r268843
(4 days 7 hours ago)
by bapt
Affects:  /head/lib/libc/sys/kqueue.2
/head/sys/kern/kern_event.c
/head/sys/sys/event.h
Extend kqueue's EVFILT_TIMER by adding precision unit flags support

Define the precision macros as bits sets to conform with XNU equivalent.
Test fflags passed for EVFILT_TIMER and return EINVAL in case an invalid flag
is passed.

Phabric:        https://phabric.freebsd.org/D421
Reviewed by:    kib
12:51:35 - r268842
(4 days 8 hours ago)
by gavin
Affects:  /head/usr.bin/iscsictl/iscsictl.8
Fix two typos in iscsictl.8

PR:             191581
Submitted by:   Jimmy Olgeni
MFC after:      3 days
12:36:18 - r268841
(4 days 8 hours ago)
by glebius
Affects: 
(592 files)
/projects/sendfile/*
Merge head r258543 through r268838.
12:33:22 - r268840
(4 days 8 hours ago)
by des
Affects:  /head/usr.sbin/unbound/local-setup/local-unbound-setup.sh
Use a combination of unblock-lan-zones (r268839) and domain-insecure
to fix reverse lookups on networks using private addresses.
11:32:44 - r268839
(4 days 10 hours ago)
by des
Affects: 
(11 files)
/head/contrib/unbound/doc/*
/head/contrib/unbound/services/localzone.c
/head/contrib/unbound/util/*
Import unblock-lan-zones feature backported from upstream svn trunk.
This is a partial fix for reverse lookups in RFC 1918 networks.  With
this option enabled, unbound no longer ignores these queries; however,
it will still reject the answer it gets from the forwarder, because
the RFC 1918 reverse zones are signed.

Submitted by:   "W.C.A. Wijngaards" <wouter@nlnetlabs.nl>
08:23:53 - r268838
(4 days 13 hours ago)
by br
Affects:  /head/sys/arm/conf/APALIS-IMX6
/head/sys/boot/fdt/dts/arm/apalis-imx6.dts
Add support for Toradex Apalis i.MX6 development board.

Sponsored by:   Toradex AG
08:22:13 - r268837
(4 days 13 hours ago)
by adrian
Affects:  /head/sys/netinet/in_rss.c
Update the default RSS hash to the Chelsio T5 firmware one - it provides
markedly better distribution of IPv6 address/ports than the previous key.

The previous key would hash large swaths of the port space for a given
source/destination IP address to the same low handful of bits, effectively
mapping them to the same queue.  This made testing very .. special.
08:08:45 - r268836
(4 days 13 hours ago)
by br
Affects:  /head/sys/boot/fdt/dts/arm/wandboard-dual.dts
/head/sys/boot/fdt/dts/arm/wandboard-quad.dts
/head/sys/boot/fdt/dts/arm/wandboard-solo.dts
Fix typo.
07:52:35 - r268835
(4 days 13 hours ago)
by br
Affects: 
(5 files)
/head/sys/arm/freescale/imx/*
Rename gpio driver file.
07:47:50 - r268834
(4 days 13 hours ago)
by br
Affects: 
(7 files)
/head/sys/arm/conf/IMX6
/head/sys/arm/freescale/imx/*
/head/sys/boot/fdt/dts/arm/*
o Enable GPIO device driver for i.MX6.
  It was originally written for i.MX5 and compatible with newer chip.
o Extend device tree information
o style(9) fixes

Discussed with: ian
07:41:38 - r268833
(4 days 13 hours ago)
by peter
Affects:  /head/sys/dev/bge/if_bge.c
Fix an apparent conversion error in bge to the new driver api.
if_multiaddr_array() does the LLADDR work, don't do it twice.

This broke IPv6 in "interesting" ways in the FreeBSD.org cluster.
07:18:37 - r268832
(4 days 14 hours ago)
by royger
Affects:  /stable/9/sys/dev/xen/blkfront/blkfront.c
MFC r256423:

Allow FreeBSD to be booted from CDROM media on XenServer 6.2 and prior
releases.

PR:             164630
06:58:01 - r268831
(4 days 14 hours ago)
by bapt
Affects: 
(20 files)
/head/contrib/libucl/*
/head/lib/libucl/Makefile
Update libucl to the 2014-07-16 snapshot
This update brings streamlined ucl emitter support
06:56:24 - r268830
(4 days 14 hours ago)
by alc
Affects: 
(5 files)
/head/ObsoleteFiles.inc
/head/share/man/man9/*
Remove an obsolete man page.
06:50:33 - r268829
(4 days 14 hours ago)
by bapt
Affects:  /vendor/libucl/20140716
Tag import of libucl 20140716
06:49:18 - r268828
(4 days 14 hours ago)
by bapt
Affects: 
(18 files)
/vendor/libucl/dist/*
Import libucl 2014-07-16
06:48:02 - r268827
(4 days 14 hours ago)
by peter
Affects:  /head/usr.sbin/ndp/ndp.c
Fix "ndp -d hostname".
02:49:41 - r268826
(4 days 18 hours ago)
by pfg
Affects:  /head/include/search.h
Minor sorting to match the NetBSD header

MFC after:      3 days
Obtained from:  NetBSD
01:35:20 - r268825
(4 days 19 hours ago)
by kevlo
Affects:  /head/sys/sys/mbuf.h
Remove deprecated definition "m_act".

Suggested by:   adrian, glebius
00:32:17 - r268824
(4 days 21 hours ago)
by np
Affects: 
(3 files)
/stable/9/sys/dev/cxgbe/t4_main.c
MFC r268706:
cxgbe(4): Display CF facility correctly in the device log.
00:31:06 - r268823
(4 days 21 hours ago)
by np
Affects: 
(2 files)
/stable/10/sys/dev/cxgbe/t4_main.c
MFC r268706:
cxgbe(4): Display CF facility correctly in the device log.
2014 - 07 - 17   (5 days ago)
23:50:49 - r268822
(4 days 21 hours ago)
by truckman
Affects: 
(2 files)
/stable/9/sys/kern/subr_rman.c
MFC r268373

Declaration whitespace changes for style(9).
23:49:01 - r268821
(4 days 21 hours ago)
by truckman
Affects: 
(2 files)
/stable/10/sys/kern/subr_rman.c
MFC r268373

Declaration whitespace changes for style(9).
23:30:29 - r268820
(4 days 22 hours ago)
by bapt
Affects:  /head/tools/build/mk/OptionalObsoleteFiles.inc
Fix manpages path and sort entries
23:24:33 - r268819
(4 days 22 hours ago)
by bapt
Affects:  /head/tools/build/mk/OptionalObsoleteFiles.inc
Remove texinfo manpages as well if built WITHOUT_INFO
23:23:01 - r268818
(4 days 22 hours ago)
by delphij
Affects:  /head/share/man/man9/socket.9
/head/share/man/man9/usbdi.9
Fix markups.
23:14:47 - r268817
(4 days 22 hours ago)
by delphij
Affects:  /head/share/man/man9/timeout.9
Fix markup regression introduced in r268369.
23:05:20 - r268816
(4 days 22 hours ago)
by imp
Affects: 
(3 files)
/stable/10/sys/cam/ata/ata_da.c
/stable/10/sys/cam/scsi/scsi_da.c
MFC:

>r267118 | imp | 2014-06-05 11:13:42 -0600 (Thu, 05 Jun 2014) | 9 lines
>The code that combines adjacent ranges for BIO_DELETEs to optimize
>trims to the device assumes the list is sorted. Don't apply the
>optimization of not sorting the queue when we have SSDs to the
>delete_queue, since it causes more discard traffic to the drive. While
>one could argue that the higher levels should coalesce the trims,
>that's not done today, so some optimization at this level is needed.
>CR: https://phabric.freebsd.org/D142
22:58:05 - r268815
(4 days 22 hours ago)
by imp
Affects: 
(2 files)
/stable/10/sys/cam/ata/ata_da.c
MFC:

>r268205 | imp | 2014-07-02 23:22:13 -0600 (Wed, 02 Jul 2014) | 9 lines
>Rework the BIO_DELETE code slightly. Always queue the BIO_DELETE
>requests on the trim_queue, even for the CFA ERASE. This allows us, in
>the future, to collapse adjacent requests. Since CFA ERASE is only for
>CF cards, and it is so restrictive in what it can do, the collapse
>code is not presently here. This also brings the ada driver more in
>line with the da driver's treatment of BIO_DELETEs.
22:42:18 - r268814
(4 days 22 hours ago)
by imp
Affects: 
(9 files)
/stable/9/UPDATING
/stable/9/sys/*
 MFC r263749,267146:

>r267146 | imp | 2014-06-05 22:08:55 -0600 (Thu, 05 Jun 2014) | 4 lines
>Restore comments accidentally removed.

>r263749 | imp | 2014-03-25 16:08:31 -0600 (Tue, 25 Mar 2014) | 18 lines
>Rather than require a makeoptions DEBUG to get debug correct,
>add it in kern.mk, but only if we're using clang. While this
>option is supported by both clang and gcc, in the future there
>may be changes to clang which change the defaults that require
>a tweak to build our kernel such that other tools in our tree
>will work. Set a good example by forcing -gdwarf-2 only for
>clang builds, and only if the user hasn't specified another
>dwarf level already. Update UPDATING to reflect the changed
>state of affairs. This also keeps us from having to update
>all the ARM kernels to add this, and also keeps us from
>in the future having to update all the MIPS kernels and is
>one less place the user will have to know to do something
>special for clang and one less thing developers will need
>to do when moving an architecture to clang.

Note: Due to the funkadellic way we used to do merges, I've made a
direct commit of the relevant text to UPDATING with no merge info
being recorded for it so I could commit it at the same time as the
other files.
22:31:46 - r268813
(4 days 23 hours ago)
by imp
Affects: 
(9 files)
/stable/10/UPDATING
/stable/10/sys/*
MFC r263749,267146:

>r267146 | imp | 2014-06-05 22:08:55 -0600 (Thu, 05 Jun 2014) | 4 lines
>Restore comments accidentally removed.

>r263749 | imp | 2014-03-25 16:08:31 -0600 (Tue, 25 Mar 2014) | 18 lines
>Rather than require a makeoptions DEBUG to get debug correct,
>add it in kern.mk, but only if we're using clang. While this
>option is supported by both clang and gcc, in the future there
>may be changes to clang which change the defaults that require
>a tweak to build our kernel such that other tools in our tree
>will work. Set a good example by forcing -gdwarf-2 only for
>clang builds, and only if the user hasn't specified another
>dwarf level already. Update UPDATING to reflect the changed
>state of affairs. This also keeps us from having to update
>all the ARM kernels to add this, and also keeps us from
>in the future having to update all the MIPS kernels and is
>one less place the user will have to know to do something
>special for clang and one less thing developers will need
>to do when moving an architecture to clang.
22:26:24 - r268812
(4 days 23 hours ago)
by bapt
Affects:  /head/etc/mtree/BSD.tests.dist
Add the mtree entry for yacc tests
22:22:38 - r268811
(4 days 23 hours ago)
by bapt
Affects: 
(125 files)
/head/contrib/byacc/*
/head/usr.bin/yacc/tests/*
Update to byacc 20140715 (only concerns regression tests being fixed)
Directly use regression test from upstream

PR:             191020
Submitted by:   gcooper (yaneurabeya@gmail.com)
21:59:13 - r268810
(4 days 23 hours ago)
by bapt
Affects:  /vendor/byacc/20140715
tag import of byacc 20140715
21:58:22 - r268809
(4 days 23 hours ago)
by bapt
Affects: 
(89 files)
/vendor/byacc/dist/*
import byacc 20140715
21:16:52 - r268808
(5 days ago)
by mav
Affects: 
(5 files)
/head/sys/cam/ctl/*
Increase maximal number of SCSI ports in CTL from 32 to 128.

After I gave each iSCSI target its own port, the old limit appeared to be
not so big.  This change almost proportionally increases per-LUN memory
use, but it is still three times better then it was before r268807.

MFC after:      2 weeks
20:28:51 - r268807
(5 days 1 hour ago)
by mav
Affects:  /head/sys/cam/ctl/ctl.c
/head/sys/cam/ctl/ctl_private.h
Reduce per-LUN memory usage from 18MB to 1.8MB.

CTL never had use for CA support code since SPI has gone, and there is no
even frontends supporting that.  But it still was reserving 256 bytes of
memory per LUN per every possible initiator on every possible port.

Wrap unused code with ifdef's in case somebody even need it.

MFC after:      2 weeks
20:03:52 - r268806
(5 days 1 hour ago)
by alc
Affects:  /head/share/man/man9/Makefile
/head/share/man/man9/pmap.9
/head/share/man/man9/pmap_unwire.9
Add a man page for the new function pmap_unwire().
18:58:30 - r268805
(5 days 2 hours ago)
by gibbs
Affects:  /svnadmin/conf/mentors
Release royger from mentorship.
18:24:34 - r268804
(5 days 3 hours ago)
by brooks
Affects: 
(41 files)
/head/*
Replace all uses of libncurses and libtermcap with their wide character
variants.  This allows usable file system images (i.e. those with both a
shell and an editor) to be created with only one copy of the curses library.

Exp-run:        antoine
PR:             189842
Discussed with: bapt
Sponsored by:   DARPA, AFRL
17:41:32 - r268803
(5 days 3 hours ago)
by alc
Affects: 
(5 files)
/head/ObsoleteFiles.inc
/head/share/man/man9/*
Remove the man page for a pmap function that no longer exists.
16:33:38 - r268802
(5 days 4 hours ago)
by marcel
Affects:  /head/usr.bin/mkimg/vhd.c
Add support for the fixed image type. The fixed image is effectively
a raw image with a VHD footer appended. There's little value that I
can see to use the fixed image type, but in order to make VHD images
for use by Microsoft's Azure platform, they must be fixed VHD images.

Support has been added by refactoring the code to re-use common code
and by adding a second output format structure.  To created fixed VHD
images, specify "vhdf" as the output format.
15:59:13 - r268801
(5 days 5 hours ago)
by pfg
Affects:  /head/usr.bin/grep/queue.c
grep: fix some memory leaks.
Add memory leak fix missing from r268799.

Obtained from:  NetBSD
15:50:23 - r268800
(5 days 5 hours ago)
by bdrewery
Affects:  /head/etc/mtree/BSD.tests.dist
Fix indentation
15:48:11 - r268799
(5 days 5 hours ago)
by pfg
Affects:  /head/usr.bin/grep/grep.c
/head/usr.bin/grep/queue.c
grep: fix some memory leaks.

Bring a couple of changes from NetBSD:

queue.c (CVS Rev. 1.4. 1.5)
Fix memory leaks.
NULL does not need a cast.

grep.c (CVS Rev. 1.6)
Use the more portable getline.

Obtained from:  NetBSD
MFC after:      3 days
14:51:50 - r268798
(5 days 6 hours ago)
by pfg
Affects:  /head/usr.bin/grep/util.c
grep: Fix type.

Obtained from:  NetBSD (CVS rev. 1.17)
MFC after:      3 days
13:39:18 - r268797
(5 days 7 hours ago)
by des
Affects: 
(5 files)
/user/des/phybs/*
autoconfuse
12:47:34 - r268796
(5 days 8 hours ago)
by nwhitehorn
Affects:  /head/sys/dev/vt/hw/fb/vt_fb.c
Fix embarassing typos I made.

Submitted by:   rayddteam
11:38:37 - r268795
(5 days 9 hours ago)
by mav
Affects:  /head/usr.sbin/ctld/kernel.c
Fix ctld crash on startup if target alias is not set.

MFC after:      3 days
07:12:12 - r268794
(5 days 14 hours ago)
by eadler
Affects: 
(5 files)
/head/etc/mtree/BSD.tests.dist
/head/usr.bin/units/Makefile
/head/usr.bin/units/tests/*
units(1): Add basic tests
        Add some tests to help avoid breaking units
06:57:26 - r268793
(5 days 14 hours ago)
by eadler
Affects:  /head/usr.sbin/chown/tests/chown-f_test.sh
chown: Fix chown test number
06:54:12 - r268792
(5 days 14 hours ago)
by eadler
Affects:  /head/usr.bin/units/units.1
/head/usr.bin/units/units.c
units(1): Add support for output-format
        Add support for the output-format argument.  This also exposes subtle
        rounding differences between GNU units and our units.
06:36:22 - r268791
(5 days 14 hours ago)
by delphij
Affects: 
(3 files)
/stable/10/usr.sbin/gstat/gstat.8
/stable/10/usr.sbin/gstat/gstat.c
MFC r268238:

Add an option, -p, which makes gstat(8) to only display physical providers
(those with rank of 1).
06:21:58 - r268790
(5 days 15 hours ago)
by hiren
Affects:  /head/sys/dev/ixgbe/ixgbe.c
Fix a typo.

PR:             191898
Submitted by:   vsjcfm@gmail.com
05:54:58 - r268789
(5 days 15 hours ago)
by pho
Affects:  /user/pho/stress2/misc/tmpfs12.sh
Added a "umount -f" test scenario for tmpfs.

Sponsored by:    EMC / Isilon storage division
05:45:54 - r268788
(5 days 15 hours ago)
by adrian
Affects:  /head/sys/netinet/in.h
Oops - somehow I missed the IP option numbers clashing with the multicast
numbers below.

Move them to a new set of non-clashing numbers.
05:21:16 - r268787
(5 days 16 hours ago)
by kevlo
Affects:  /head/sys/kern/uipc_usrreq.c
/head/sys/net/if.c
/head/sys/net/if_spppsubr.c
Deprecate m_act.  Use m_nextpkt always.
05:20:18 - r268786
(5 days 16 hours ago)
by delphij
Affects: 
(4 files)
/stable/10/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c
/stable/10/sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.c
/stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
MFC r268116:

 - Fix handling of "new" style of ioctl in compatiblity mode [1];
 - Reorganize code and reduce diff from upstream;
 - Improve forward compatibility shims for previous kernel;

Reported by:    sbruno [1]
02:43:53 - r268785
(5 days 18 hours ago)
by pfg
Affects: 
(5 files)
/stable/9/sbin/fsck_msdosfs/*
MFC     r268628, r268631, r268635:

Convert *rootDir from external to static.

fsck_msdosfs: be a bit more permissive.

The free space value in the FSInfo block is merely unitialized when it is
0xffffffff. This fixes a bug found in NetBSD.

Respect FSFIXFAT.

Fix some whitespace issues while here.

Obtained from:  NetBSD (CVS rev. 1.22, rev. 1.9), OpenBSD (misc)
02:33:40 - r268784
(5 days 18 hours ago)
by pfg
Affects: 
(4 files)
/stable/10/sbin/fsck_msdosfs/check.c
/stable/10/sbin/fsck_msdosfs/ext.h
/stable/10/sbin/fsck_msdosfs/fat.c
MFC     r268628, r268631, r268635:

Convert *rootDir from external to static.

fsck_msdosfs: be a bit more permissive.

The free space value in the FSInfo block is merely unitialized when it is
0xffffffff. This fixes a bug found in NetBSD.

Respect FSFIXFAT.

Fix some whitespace issues while here.

Obtained from:  NetBSD (CVS rev. 1.22, rev. 1.9), OpenBSD (misc)
02:22:03 - r268783
(5 days 19 hours ago)
by pfg
Affects: 
(14 files)
/stable/9/lib/libedit/*
MFC     r268502:
Sync some (mostly cosmetical) changes from NetBSD

Makefile,v 1.37
tc1.c v 1.3
Rename TEST/test.c tc1.c

common.c,v 1.23
pass lint on _LP64.

emacs.c,v 1.22
pass lint on _LP64.

filecomplete.h,v 1.8
mv NetBSD ID back from 1.9 as we don't
have the widecharacter support.

prompt.c,v 1.14
prompt.h,v 1.9
term.h,v 1.20
read.h,v 1.6
Update NetBSD version strings

sys.h,v 1.12
Misc sun stuff.

tty.c 1.31
handle EINTR in the termios operations
Allow a single process to control multiple ttys (for pthreads using _REENTRANT)
using multiple EditLine objects.
pass lint on _LP64.
Don't depend on side effects inside an assert

Obtained from:  NetBSD
02:14:25 - r268782
(5 days 19 hours ago)
by pfg
Affects: 
(14 files)
/stable/10/lib/libedit/*
MFC     r268502:
Sync some (mostly cosmetical) changes from NetBSD

Makefile,v 1.37
tc1.c v 1.3
Rename TEST/test.c tc1.c

common.c,v 1.23
pass lint on _LP64.

emacs.c,v 1.22
pass lint on _LP64.

filecomplete.h,v 1.8
mv NetBSD ID back from 1.9 as we don't
have the widecharacter support.

prompt.c,v 1.14
prompt.h,v 1.9
term.h,v 1.20
read.h,v 1.6
Update NetBSD version strings

sys.h,v 1.12
Misc sun stuff.

tty.c 1.31
handle EINTR in the termios operations
Allow a single process to control multiple ttys (for pthreads using _REENTRANT)
using multiple EditLine objects.
pass lint on _LP64.
Don't depend on side effects inside an assert

Obtained from:  NetBSD
2014 - 07 - 16   (6 days ago)
23:17:57 - r268781
(5 days 22 hours ago)
by alc
Affects:  /head/ObsoleteFiles.inc
/head/share/man/man9/Makefile
/head/share/man/man9/pmap.9
Correct the name of the man page for pmap_ts_referenced().

Sponsored by:   EMC / Isilon Storage Division
22:18:19 - r268780
(5 days 23 hours ago)
by truckman
Affects:  /head/share/man/man9/rman.9
/head/sys/kern/subr_rman.c
/head/sys/sys/rman.h
Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the
code.  The consensus on arch@ is that this feature might have been useful
in the distant past, but is now just unnecessary bloat.

The int_rman_activate_resource() and int_rman_deactivate_resource()
functions become trivial, so manually inline them.

The special deferred handling of RF_ACTIVE is no longer needed in
reserve_resource_bound(), so eliminate the associated code at the
end of the function.

These changes reduce the object file size by more than 500 bytes on i386.

Update the rman.9 man page to reflect the removal of the RF_TIMESHARE
feature.

MFC after:      2 weeks
21:43:24 - r268779
(5 days 23 hours ago)
by jmmv
Affects:  /head/share/man/man5/src.conf.5
Regen after r268778 to replace WITH_TESTS with WITHOUT_TESTS.
21:40:11 - r268778
(5 days 23 hours ago)
by jmmv
Affects:  /head/share/mk/src.opts.mk
/head/tools/build/options/WITHOUT_TESTS
/head/tools/build/options/WITH_TESTS
Enable MK_TESTS by default, take 2.

This is a redo of r267424, which was reverted in r267432 because it broke
"make buildworld" from FreeBSD 9.x.  This issue has been resolved and this
change is still "make tinderbox" clean.
21:26:26 - r268777
(6 days ago)
by neel
Affects: 
(8 files)
/head/sys/amd64/*
/head/usr.sbin/bhyve/*
Add emulation for legacy x86 task switching mechanism.

FreeBSD/i386 uses task switching to handle double fault exceptions and this
change enables that to work.

Reported by:    glebius
21:06:43 - r268776
(6 days ago)
by alc
Affects:  /head/sys/arm/arm/pmap-v6.c
/head/sys/arm/arm/pmap.c
Implement pmap_unwire().  See r268327 for the motivation behind this change.
21:04:31 - r268775
(6 days ago)
by dim
Affects: 
(3 files)
/stable/10/lib/libproc/Makefile
/stable/10/lib/libproc/proc_sym.c
MFC r268463:

In libproc, avoid calling __cxa_demangle(), and thus depending on either
libcxxrt or libsupc++, if WITHOUT_CXX is defined. [1]

Noticed by:     sbruno

[1] However, on stable/10 this is more accurately described by
WITHOUT_GNUCXX, so I've changed the test to that instead.
20:37:03 - r268774
(6 days ago)
by dim
Affects:  /head/sys/conf/kern.mk
After r261991, clang warnings about unused functions in the kernel were
completely silenced.  Make sure these warnings appear again, so there is
some incentive to fix them, but do not error out the whole kernel build
for them.

Noticed by:     steven@pyro.eu.org
PR:             191867
MFC after:      3 days
19:02:30 - r268773
(6 days 2 hours ago)
by dteske
Affects:  /head/usr.sbin/service/service.sh
Revert previous revision (r268461) for reasons documented in PR.
To use tmux in an rc.d script, use the new-session flag "-d".
To use screen in an rc.d script, use the "-dm" flag.
If you really need to launch an attached session, manually
export TERM=xterm (FreeBSD 9.0 or higher) or export TERM=cons25
for older releases.

Reported by:    bdrewery
Discussed on:   src-committers, svn-src-all, svn-src-head
PR:             bin/191869
18:52:21 - r268772
(6 days 2 hours ago)
by nwhitehorn
Affects:  /head/sys/dev/vt/hw/efifb/efifb.c
Allow efifb to be used with xf86-video-scfb. This is important for EFI
systems without either a CSM or real graphics drivers, such as my Lenovo
Haswell laptop.

This provides working X with the small complication of a console cursor
permanently overlaid on the upper-left corner of the screen that will be
dealt with later.

Also remove some redundant screen clearing.
18:49:46 - r268771
(6 days 2 hours ago)
by nwhitehorn
Affects: 
(4 files)
/head/sys/dev/fb/fbd.c
/head/sys/dev/vt/hw/fb/*
/head/sys/sys/fbio.h
Allow console drivers active from early boot to be used with xf86-video-scfb,
rather than only drivers attached later on. This involves a small amount of
code duplication with dev/fb/fbd.c, which will fixed later on.

Also improve performance of vt_blank() by making it not read from the
framebuffer unnecessarily.
16:42:58 - r268770
(6 days 4 hours ago)
by jmmv
Affects:  /head/libexec/rtld-elf/tests/libpythagoras/Makefile
libpythagoras needs libm.

This fixes "make tinderbox" failures on various architectures when
WITH_TESTS=yes is enabled.  Problem introduced in r267679.
16:38:25 - r268769
(6 days 4 hours ago)
by jceel
Affects:  /user/jceel/soc2014_evdev/head/sys/mips/beri/files.beri
Include Terasic MTL evdev driver as a part of build.
16:30:30 - r268768
(6 days 5 hours ago)
by jceel
Affects:  /user/jceel/soc2014_evdev/head/sys/dev/terasic/mtl/terasic_mtl.c
/user/jceel/soc2014_evdev/head/sys/dev/terasic/mtl/terasic_mtl.h
/user/jceel/soc2014_evdev/head/sys/dev/terasic/mtl/terasic_mtl_touch.c
Add Terasic MTL multitouch driver.
15:57:17 - r268767
(6 days 5 hours ago)
by mav
Affects: 
(15 files)
/head/sys/*
/head/usr.sbin/ctladm/ctladm.8
Add support for VMWare dialect of EXTENDED COPY command, aka VAAI Clone.

This allows to clone VMs and move them between LUNs inside one storage
host without generating extra network traffic to the initiator and back,
and without being limited by network bandwidth.

LUNs participating in copy operation should have UNIQUE NAA or EUI IDs set.
For LUNs without these IDs VMWare will use traditional copy operations.

Beware: the above LUN IDs explicitly set to values non-unique from the VM
cluster point of view may cause data corruption if wrong LUN is addressed!

MFC after:      2 weeks
Sponsored by:   iXsystems, Inc.
14:08:01 - r268766
(6 days 7 hours ago)
by kib
Affects:  /head/sys/fs/tmpfs/tmpfs_vnops.c
Do not ignore error from tmpfs_alloc_vp().  It results in access to
the random memory.

Reported and tested by: pho
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
14:06:16 - r268765
(6 days 7 hours ago)
by kib
Affects:  /head/sys/fs/tmpfs/tmpfs_vnops.c
Remove unused header.

Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
14:04:46 - r268764
(6 days 7 hours ago)
by kib
Affects: 
(7 files)
/head/sys/fs/*
/head/sys/kern/vfs_syscalls.c
/head/sys/ufs/ufs/ufs_vnops.c
Check for the cross-device cross-link attempt in the VFS, instead of
forcing filesystem VOP_LINK() methods to repeat the code.  In
tmpfs_link(), remove redundand check for the type of the source,
already done by VFS.

Note that NFS server already performs this check before calling
VOP_LINK().

Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
13:52:05 - r268763
(6 days 7 hours ago)
by bapt
Affects:  /head/usr.bin/timeout/timeout.c
Sort properly the headers
While here space/tabs cleanup

Reviewed by:    kib
12:57:53 - r268762
(6 days 8 hours ago)
by gavin
Affects: 
(2 files)
/stable/10/usr.sbin/uhsoctl/uhsoctl.c
Merge r268298,r268299 from head:
  Correct format string to fix build of uhsoctl when DEBUG is defined

PR:             185007
Submitted by:   saper saper.info
12:57:50 - r268761
(6 days 8 hours ago)
by gavin
Affects: 
(2 files)
/stable/9/usr.sbin/uhsoctl/uhsoctl.c
Merge r268298,r268299 from head:
  Correct format string to fix build of uhsoctl when DEBUG is defined

PR:             185007
Submitted by:   saper saper.info
12:52:05 - r268760
(6 days 8 hours ago)
by gavin
Affects: 
(2 files)
/stable/9/share/man/man7/build.7
Merge r267866 from head:
  Drop references to updating over csup from build(7).
12:51:29 - r268759
(6 days 8 hours ago)
by gavin
Affects: 
(2 files)
/stable/10/share/man/man7/build.7
Merge r267866 from head:
  Drop references to updating over csup from build(7).
12:49:56 - r268758
(6 days 8 hours ago)
by gavin
Affects: 
(2 files)
/stable/10/share/examples/etc/make.conf
Merge r267865 from head:
  Drop example variables for updating over csup.  These have not functioned
  since r251084
12:49:42 - r268757
(6 days 8 hours ago)
by gavin
Affects: 
(3 files)
/stable/9/share/examples/etc/make.conf
Merge r267865 from head:
  Drop example variables for updating over csup.  These have not functioned
  since r252305.
12:45:13 - r268756
(6 days 8 hours ago)
by gavin
Affects: 
(2 files)
/stable/10/ObsoleteFiles.inc
Merge r268342 from head:
  Remove /usr/share/doc/psd/28.cvs/paper.ps.gz if it exists, as it is
  obsolete since r251794.

PR:             191003
Submitted by:   Vick Khera
12:41:50 - r268755
(6 days 8 hours ago)
by gavin
Affects: 
(2 files)
/stable/10/games/fortune/datfiles/fortunes
Merge r268295 from head:
  Fix equation and limerick to be correct.  NetBSD fixed this 14 years ago
  (src/games/fortune/datfiles/fortunes2 1.7).

PR:             188714
Submitted by:   ksmakoto dd.iij4u.or.jp
12:41:49 - r268754
(6 days 8 hours ago)
by gavin
Affects: 
(2 files)
/stable/9/games/fortune/datfiles/fortunes
Merge r268295 from head:
  Fix equation and limerick to be correct.  NetBSD fixed this 14 years ago
  (src/games/fortune/datfiles/fortunes2 1.7).

PR:             188714
Submitted by:   ksmakoto dd.iij4u.or.jp
12:38:46 - r268753
(6 days 8 hours ago)
by gavin
Affects: 
(3 files)
/stable/9/usr.bin/calendar/calendars/calendar.holiday
Merge r268292 from head:
  Dominion Day became Canada Day in 1982, update the holiday calendar.

PR:             191533
Submitted by:   db
12:37:36 - r268752
(6 days 8 hours ago)
by gavin
Affects: 
(2 files)
/stable/10/usr.bin/calendar/calendars/calendar.holiday
Merge r268292 from head:
  Dominion Day became Canada Day in 1982, update the holiday calendar.

PR:             191533
Submitted by:   db
12:09:12 - r268751
(6 days 9 hours ago)
by bapt
Affects:  /head/usr.bin/timeout/timeout.c
White space fixes
11:41:28 - r268750
(6 days 9 hours ago)
by bapt
Affects:  /head/usr.bin/timeout/timeout.c
Sort headers
Constify long options
Remove useless call to sigemptyset
properly check errno when waiting for a process status when a SIGCHLD is
received
11:30:04 - r268749
(6 days 10 hours ago)
by bapt
Affects:  /head/usr.bin/timeout/timeout.1
Fix typo
11:28:53 - r268748
(6 days 10 hours ago)
by bapt
Affects:  /head/usr.bin/timeout/timeout.c
Style(9) fix
10:37:05 - r268747
(6 days 10 hours ago)
by bapt
Affects:  /head/usr.bin/timeout/timeout.c
Fix build with gcc
10:34:55 - r268746
(6 days 10 hours ago)
by bapt
Affects:  /head/usr.bin/timeout/timeout.c
Fix indentation
09:55:36 - r268745
(6 days 11 hours ago)
by bapt
Affects: 
(5 files)
/head/usr.bin/Makefile
/head/usr.bin/timeout/*
New BSDL timeout(1) utility compatible with GNU timeout

it fully passes the GNU timeout regression tests, it is written in a mostly
portable way (only signal parsing is relying on non portable structures)

Phabric:        D377
08:59:44 - r268744
(6 days 12 hours ago)
by kib
Affects: 
(2 files)
/stable/9/sys/amd64/amd64/machdep.c
MFC r268471:
For safety, ensure that any consumer of the set_regs() and
ptrace_set_pc() use the correct return to userspace using iret.
08:58:38 - r268743
(6 days 12 hours ago)
by kib
Affects: 
(2 files)
/stable/9/lib/libc/gen/sysconf.c
MFC r268467:
Implement sysconf(_SC_GETGR_R_SIZE_MAX) and sysconf(_SC_GETPW_R_SIZE_MAX).
08:55:53 - r268742
(6 days 12 hours ago)
by kib
Affects: 
(2 files)
/stable/10/sys/amd64/amd64/machdep.c
MFC r268471:
For safety, ensure that any consumer of the set_regs() and
ptrace_set_pc() use the correct return to userspace using iret.
08:52:44 - r268741
(6 days 12 hours ago)
by kib
Affects: 
(2 files)
/stable/10/lib/libc/gen/sysconf.c
MFC r268467:
Implement sysconf(_SC_GETGR_R_SIZE_MAX) and sysconf(_SC_GETPW_R_SIZE_MAX).
06:25:44 - r268740
(6 days 15 hours ago)
by hselasky
Affects: 
(4 files)
/stable/8/sys/dev/usb/input/uhid.c
MFC r268583:
Turn off blinking device leds at attach.

PR:             183735
06:23:54 - r268739
(6 days 15 hours ago)
by hselasky
Affects: 
(3 files)
/stable/9/sys/dev/usb/input/uhid.c
MFC r268583:
Turn off blinking device leds at attach.

PR:             183735
06:22:35 - r268738
(6 days 15 hours ago)
by hselasky
Affects: 
(2 files)
/stable/10/sys/dev/usb/input/uhid.c
MFC r268583:
Turn off blinking device leds at attach.

PR:             183735
06:20:18 - r268737
(6 days 15 hours ago)
by hselasky
Affects: 
(2 files)
/stable/10/sys/dev/usb/net/if_axge.c
MFC r268582:
Fix performance problems with AXGE network adapter in RX direction:
- Remove 4 extra bytes from the ethernet payload.
- The maximum RX buffer was incorrectly set. Increase it to 64K for
now, until the exact limit is understood.
- Enable hardware checksumming again.
- Make hardware data structure packed.
06:18:02 - r268736
(6 days 15 hours ago)
by hselasky
Affects: 
(3 files)
/stable/9/sys/dev/usb/net/if_axge.c
MFC r268582:
Fix performance problems with AXGE network adapter in RX direction:
- Remove 4 extra bytes from the ethernet payload.
- The maximum RX buffer was incorrectly set. Increase it to 64K for
now, until the exact limit is understood.
- Enable hardware checksumming again.
- Make hardware data structure packed.
06:14:41 - r268735
(6 days 15 hours ago)
by hselasky
Affects:  /head/sys/dev/usb/controller/xhci_pci.c
Improve support for Intel Lynx Point USB 3.0 controllers by using the
USB 2.0 port mask in addition to the USB 3.0 port mask. The hardware
does not always accept when writing -1U to the port switching
registers.

MFC after:      3 days
Tested by:      Huang Wen Hui <huanghwh@gmail.com>
02:02:46 - r268734
(6 days 19 hours ago)
by pfg
Affects: 
(3 files)
/stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c
/stable/10/sys/modules/dtrace/fasttrap/Makefile
MFC     r268097:

MFV     r260708
4427 pid provider rejects probes with valid UTF-8 names

This make use of Solaris' u8_validate() which we happen to
use since r185029 for ZFS.
Use of u8_textprep.c required -Wno-cast-qual for powerpc.

Illumos Revision:       1444d846b126463eb1059a572ff114d51f7562e5

Reference:
https://www.illumos.org/issues/4427

Obtained from:  Illumos
00:43:53 - r268733
(6 days 20 hours ago)
by wblock
Affects: 
(2 files)
/stable/9/usr.bin/showmount/showmount.8
MFC r268381:

Make synopsis version of -3 flag match other uses in the page.
00:41:47 - r268732
(6 days 20 hours ago)
by wblock
Affects: 
(2 files)
/stable/10/usr.bin/showmount/showmount.8
MFC r268381

Make synopsis version of -3 flag match other uses in the page.
00:39:58 - r268731
(6 days 20 hours ago)
by wblock
Affects: 
(2 files)
/stable/9/share/man/man4/vt.4
MFC r268187:

Improve markup, change references to nonexistent vt_vga(4), remove some
language redundancy, and move the examples so sections are in the
standard order.
00:36:55 - r268730
(6 days 20 hours ago)
by wblock
Affects: 
(2 files)
/stable/10/share/man/man4/vt.4
MFC r268187:

Improve markup, change references to nonexistent vt_vga(4), remove some
language redundancy, and move the examples so sections are in the
standard order.
00:34:20 - r268729
(6 days 20 hours ago)
by wblock
Affects: 
(2 files)
/stable/9/sbin/geom/class/eli/geli.8
MFC r267617:

Fix spelling, typos, missing articles, contractions.  Expanded version
of patch supplied with PR.
00:12:57 - r268728
(6 days 21 hours ago)
by gavin
Affects:  /head/usr.sbin/pkg/pkg.c
When we fail to extract the pkg binaries (for example, / is read-only),
give a more helpful error message.

MFC after:      1 week

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 23 ms, 267 revisions printed. Current time is 2014-07-22 21:32:47. All times are in UTC/GMT.