Re: svn commit: r294773 - in head/etc: . defaults periodic/daily rc.d

2016-05-31 Thread Cy Schubert
In message <0100015509c22d19-fb9e2052-3ab3-4f80-b697-273cebbedcb5-00@ema il. amazonses.com>, Colin Percival writes: > On 01/25/16 23:06, Cy Schubert wrote: > > Author: cy > > Date: Tue Jan 26 07:06:44 2016 > > New Revision: 294773 > > URL: https://svnweb.freebsd.org/changeset/base/294773 > >

svn commit: r301102 - head/etc/periodic/daily

2016-05-31 Thread Cy Schubert
Author: cy Date: Wed Jun 1 04:37:43 2016 New Revision: 301102 URL: https://svnweb.freebsd.org/changeset/base/301102 Log: Don't rely on $ntpd_enable to periodically fetch the latest leapfile. Suggested by: cperciva MFC after:1 week Modified:

svn commit: r301101 - head/release/tools

2016-05-31 Thread Glen Barber
Author: gjb Date: Wed Jun 1 04:18:55 2016 New Revision: 301101 URL: https://svnweb.freebsd.org/changeset/base/301101 Log: Turn off nfsv4acls for arm/armv6 builds, which has an impact on performance, especially with SD cards on certain SoCs. Requested by: trasz Discussed with:

svn commit: r301100 - in stable/10/sys: kern sys ufs/ufs

2016-05-31 Thread Konstantin Belousov
Author: kib Date: Wed Jun 1 04:07:33 2016 New Revision: 301100 URL: https://svnweb.freebsd.org/changeset/base/301100 Log: MFC r300142: Ensure that ftruncate(2) is performed synchronously when file is opened in O_SYNC mode, at least for UFS. Modified: stable/10/sys/kern/vfs_vnops.c

svn commit: r301099 - stable/10/sys/vm

2016-05-31 Thread Konstantin Belousov
Author: kib Date: Wed Jun 1 04:03:55 2016 New Revision: 301099 URL: https://svnweb.freebsd.org/changeset/base/301099 Log: MFC r300622: In vm_page_cache(), only drop the vnode after radix insert failure for empty page cache when the object type is OBJT_VNODE. Modified:

svn commit: r301098 - stable/10/sys/vm

2016-05-31 Thread Konstantin Belousov
Author: kib Date: Wed Jun 1 04:01:48 2016 New Revision: 301098 URL: https://svnweb.freebsd.org/changeset/base/301098 Log: MFC r300596: In vm_page_alloc_contig(), on vm_page_insert() failure, mark each freed page as VPO_UNMANAGED. Otherwise vm_pge_free_toq() insists on owning the page

svn commit: r301097 - head/sys/contrib/dev/ath/ath_hal/ar9300

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:49:22 2016 New Revision: 301097 URL: https://svnweb.freebsd.org/changeset/base/301097 Log: [ath_hal] implement shared PA handling checks, based on ath9k. These are apparently conditional on there being a shared PA/LNA, which at least on AR9462/QCA9535

Re: svn commit: r301010 - in head/sys: cddl/contrib/opensolaris/common/zfs cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2016-05-31 Thread Allan Jude
On 2016-05-31 14:44, Allan Jude wrote: > On 2016-05-31 14:36, Nikolai Lifanov wrote: >> On 05/31/2016 03:28, Jan Beich wrote: >>> Allan Jude writes: >>> Author: allanjude Date: Tue May 31 04:12:14 2016 New Revision: 301010 URL:

svn commit: r301096 - in head/cddl/contrib/opensolaris/cmd: zfs zpool

2016-05-31 Thread Allan Jude
Author: allanjude Date: Wed Jun 1 03:36:31 2016 New Revision: 301096 URL: https://svnweb.freebsd.org/changeset/base/301096 Log: Update zfs(8) and zpool-features(7) man pages with new hashing algorithms Sponsored by: ScaleEngine Inc. Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs.8

svn commit: r301095 - head/sys/contrib/dev/ath/ath_hal/ar9300

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:27:33 2016 New Revision: 301095 URL: https://svnweb.freebsd.org/changeset/base/301095 Log: [ath_hal] add MCI bits from ath9k for QCA9565 * Add extra debugging - the weights debugging is really useful to ensure things are programmed into the wlan

svn commit: r301094 - head/sys/contrib/dev/ath/ath_hal/ar9300

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:24:53 2016 New Revision: 301094 URL: https://svnweb.freebsd.org/changeset/base/301094 Log: [ath_hal] add support for QCA9565 for configuring the bluetooth antenna LNA diversity. Notably, this also sets AR_BTCOEX_WL_LNADIV to FORCE_ON, so LNA diversity

svn commit: r301092 - head/sys/contrib/dev/ath/ath_hal/ar9300

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:20:55 2016 New Revision: 301092 URL: https://svnweb.freebsd.org/changeset/base/301092 Log: [ath_hal] add QCA9565 bluteooth antenna control. This configures the LNA antenna diversity control, which should be on if wlan owns the LNA for bluetooth

svn commit: r301093 - head/sys/contrib/dev/ath/ath_hal/ar9300

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:21:23 2016 New Revision: 301093 URL: https://svnweb.freebsd.org/changeset/base/301093 Log: [ath_hal] Allow the BT antenna diversity option to be enabled for QCA9565. Obtained from:Linux ath9k Modified:

svn commit: r301091 - head/sys/contrib/dev/ath/ath_hal/ar9300

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:17:36 2016 New Revision: 301091 URL: https://svnweb.freebsd.org/changeset/base/301091 Log: [ath_hal] add extra debugging for MCI interrupts. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_interrupts.c Modified:

svn commit: r301090 - head/usr.bin/mkimg

2016-05-31 Thread Mark Johnston
Author: markj Date: Wed Jun 1 02:30:06 2016 New Revision: 301090 URL: https://svnweb.freebsd.org/changeset/base/301090 Log: mkimg: Indicate that input file pages are unlikely to be reused. mkimg(1) uses a swap file to back input file chunks. When the output file is being written out,

Re: svn commit: r294773 - in head/etc: . defaults periodic/daily rc.d

2016-05-31 Thread Colin Percival
On 01/25/16 23:06, Cy Schubert wrote: > Author: cy > Date: Tue Jan 26 07:06:44 2016 > New Revision: 294773 > URL: https://svnweb.freebsd.org/changeset/base/294773 > > Log: > Add support for automatic leap-second file updates. > [...] > Added: head/etc/periodic/daily/480.leapfile-ntpd >

svn commit: r301089 - head/sys/dev/ath/ath_hal

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 01:43:46 2016 New Revision: 301089 URL: https://svnweb.freebsd.org/changeset/base/301089 Log: [ath_hal] add extra MCI definitions used by the later chips (QCA9565/Aphrodite). Obtained from:Linux ath9k Modified:

Re: svn commit: r301023 - head/sys/boot/geli

2016-05-31 Thread Allan Jude
On 2016-05-31 02:31, Xin Li wrote: > > > On 5/30/16 23:24, Garrett Cooper wrote: >> Author: ngie >> Date: Tue May 31 06:24:09 2016 >> New Revision: 301023 >> URL: https://svnweb.freebsd.org/changeset/base/301023 >> >> Log: >> Add missing libc includes to fix -Wimplicit-function-declaration

svn commit: r301088 - head/sys/conf

2016-05-31 Thread Bryan Drewery
Author: bdrewery Date: Tue May 31 23:40:21 2016 New Revision: 301088 URL: https://svnweb.freebsd.org/changeset/base/301088 Log: WITH_META_MDE: Fix machine/include and x86/include issues. - Fixes 'ln: File exists' errors. - Fixes creating include directories in the source directory as

svn commit: r301087 - in head: cddl/usr.sbin/zfsd lib/libdevdctl

2016-05-31 Thread Alan Somers
Author: asomers Date: Tue May 31 23:26:45 2016 New Revision: 301087 URL: https://svnweb.freebsd.org/changeset/base/301087 Log: Coverity fixes for r300906 lib/libdevdctl/consumer.cc In Consumer::DisconnectFromDevd, don't close the socket if it's already closed.

svn commit: r301086 - head/sys/conf

2016-05-31 Thread Bryan Drewery
Author: bdrewery Date: Tue May 31 23:14:15 2016 New Revision: 301086 URL: https://svnweb.freebsd.org/changeset/base/301086 Log: Define SYSDIR earlier since the defined(FIRMWS) block depends on it. It uses it in a dependency, which won't work if it is not yet defined. Sponsored by: EMC

svn commit: r301085 - head/sys/conf

2016-05-31 Thread Bryan Drewery
Author: bdrewery Date: Tue May 31 23:12:43 2016 New Revision: 301085 URL: https://svnweb.freebsd.org/changeset/base/301085 Log: Add missed updates for r301079 and r301084. Modified: head/sys/conf/dtb.mk Modified: head/sys/conf/dtb.mk

svn commit: r301084 - in head: share/mk sys/conf

2016-05-31 Thread Bryan Drewery
Author: bdrewery Date: Tue May 31 23:08:43 2016 New Revision: 301084 URL: https://svnweb.freebsd.org/changeset/base/301084 Log: WITH_META_MODE: Resolve SYSDIR to avoid changed build commands. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.kmod.mk

svn commit: r301083 - head/share/mk

2016-05-31 Thread Bryan Drewery
Author: bdrewery Date: Tue May 31 22:37:11 2016 New Revision: 301083 URL: https://svnweb.freebsd.org/changeset/base/301083 Log: WITH_META_MODE: Require filemon(4) be loaded. Since META_MODE is being sold and used as a working incremental build, it won't make much sense if filemon data

svn commit: r301079 - in head: share/mk sys/conf

2016-05-31 Thread Bryan Drewery
Author: bdrewery Date: Tue May 31 21:22:19 2016 New Revision: 301079 URL: https://svnweb.freebsd.org/changeset/base/301079 Log: WITH_META_MODE: Mitigate switching from without to with META_MODE. Adding .META to targets-to-build will ensure that they will rebuild if there is no .meta

svn commit: r301068 - head/etc/rc.d

2016-05-31 Thread Eric van Gyzen
Author: vangyzen Date: Tue May 31 18:40:47 2016 New Revision: 301068 URL: https://svnweb.freebsd.org/changeset/base/301068 Log: Fix indentation in dhclient rc.d script Modified: head/etc/rc.d/dhclient Modified: head/etc/rc.d/dhclient

svn commit: r301082 - head/sys/arm/allwinner

2016-05-31 Thread Jared McNeill
Author: jmcneill Date: Tue May 31 21:58:09 2016 New Revision: 301082 URL: https://svnweb.freebsd.org/changeset/base/301082 Log: Fix a crash while iterating compat strings when no match is found. Spotted by: ian Modified: head/sys/arm/allwinner/aw_ccu.c Modified:

svn commit: r301071 - head/sys/sys

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 19:05:41 2016 New Revision: 301071 URL: https://svnweb.freebsd.org/changeset/base/301071 Log: Improve POSIX conformance of . - This header file has always depended on pthread_t, pthread_attr_t, struct timespec, size_t and uid_t. Only as of POSIX 2008, these

svn commit: r301060 - head/sys/arm/arm

2016-05-31 Thread Andrew Turner
Author: andrew Date: Tue May 31 17:49:47 2016 New Revision: 301060 URL: https://svnweb.freebsd.org/changeset/base/301060 Log: Bin interrupts to the correct CPU when we boot on a non-zero CPU. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

svn commit: r301061 - head/sys/dev/sfxge/common

2016-05-31 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 31 18:04:16 2016 New Revision: 301061 URL: https://svnweb.freebsd.org/changeset/base/301061 Log: sfxge(4): regenerate MCDI headers from firmwaresrc .yml Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Modified:

svn commit: r301063 - head/release/doc/en_US.ISO8859-1/relnotes

2016-05-31 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue May 31 18:15:18 2016 New Revision: 301063 URL: https://svnweb.freebsd.org/changeset/base/301063 Log: Document r300906, ZFS fault management daemon Approved by: re (gjb, implicit, relnotes) Modified:

svn commit: r301072 - head/sys/arm64/arm64

2016-05-31 Thread Andrew Turner
Author: andrew Date: Tue May 31 19:17:32 2016 New Revision: 301072 URL: https://svnweb.freebsd.org/changeset/base/301072 Log: dpcpu_init should have also passed in the calculated cpuid, not the devicetree ID. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation

Re: svn commit: r300956 - head/lib/libc/stdlib

2016-05-31 Thread Chris Torek
>That was what I was complaining about. div.c is for C90 (misspelled >"ANSI"). It wasn't misspelled when I wrote it. :-) The 1989 ANSI C standard was formally ratified in Dec 1989, and the draft was pretty firm by the time I wrote the code (which I am sure was also 1989, despite the 1990

svn commit: r301081 - head/sys/sys

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 21:34:02 2016 New Revision: 301081 URL: https://svnweb.freebsd.org/changeset/base/301081 Log: Make RLIM_INFINITY usable without including . By using __uint64_t instead of uint64_t, this constant can also be used if is included on its own. Modified:

svn commit: r301080 - head/cddl/usr.sbin/zfsd

2016-05-31 Thread Pedro F. Giffuni
Author: pfg Date: Tue May 31 21:23:57 2016 New Revision: 301080 URL: https://svnweb.freebsd.org/changeset/base/301080 Log: zfsd: Remove a redundant semicolon, Modified: head/cddl/usr.sbin/zfsd/vdev_iterator.cc Modified: head/cddl/usr.sbin/zfsd/vdev_iterator.cc

svn commit: r301077 - head/share/man/man3

2016-05-31 Thread Jilles Tjoelker
Author: jilles Date: Tue May 31 21:16:34 2016 New Revision: 301077 URL: https://svnweb.freebsd.org/changeset/base/301077 Log: Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. Also add support for process-shared synchronization objects to the HISTORY sections

svn commit: r301073 - head/sys/conf

2016-05-31 Thread Andrew Turner
Author: andrew Date: Tue May 31 19:19:21 2016 New Revision: 301073 URL: https://svnweb.freebsd.org/changeset/base/301073 Log: Attach the generic USB OHCI driver to the arm64 build. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

svn commit: r301070 - head/sys/arm64/arm64

2016-05-31 Thread Andrew Turner
Author: andrew Date: Tue May 31 18:45:52 2016 New Revision: 301070 URL: https://svnweb.freebsd.org/changeset/base/301070 Log: Allow the kernel to boot on a CPU where the devicetree has numbered it with a non-zero ID. To do this we increment the cpuid of any CPUs with a smaller devicetree ID

svn commit: r301066 - in head: include lib/libc/db/hash lib/libc/db/man

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 18:32:57 2016 New Revision: 301066 URL: https://svnweb.freebsd.org/changeset/base/301066 Log: Fix prototype of dbm_open(). The last argument of dbm_open() should be a mode_t according to POSIX; not an int. Reviewed by: pfg, kib Differential Revision:

svn commit: r301075 - head/sys/dev/sfxge

2016-05-31 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 31 20:54:42 2016 New Revision: 301075 URL: https://svnweb.freebsd.org/changeset/base/301075 Log: sfxge(4): avoid code duplication in SW events definition Reviewed by:gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days

svn commit: r301074 - head/sys/sys

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 19:24:32 2016 New Revision: 301074 URL: https://svnweb.freebsd.org/changeset/base/301074 Log: Add missing dependency on . The SHMLBA definition provided by this header file is defined as PAGE_SIZE. PAGE_SIZE is only available when is included. Modified:

Re: svn commit: r301059 - head/sbin/ifconfig

2016-05-31 Thread John Baldwin
On Tuesday, May 31, 2016 05:30:08 PM Allan Jude wrote: > Author: allanjude > Date: Tue May 31 17:30:08 2016 > New Revision: 301059 > URL: https://svnweb.freebsd.org/changeset/base/301059 > > Log: > ifconfig(8) now supports some output formatting options > > specified by the -f flag or

svn commit: r301069 - head/lib/libc/locale

2016-05-31 Thread Andrey A. Chernov
Author: ache Date: Tue May 31 18:44:33 2016 New Revision: 301069 URL: https://svnweb.freebsd.org/changeset/base/301069 Log: For EILSEQ case in mbsnrtowcs() and wcsnrtombs() update src to point to the character after the one this conversion stopped at. PR: 209907 Submitted by: Roel

Re: svn commit: r301010 - in head/sys: cddl/contrib/opensolaris/common/zfs cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2016-05-31 Thread Nikolai Lifanov
On 05/31/2016 03:28, Jan Beich wrote: > Allan Jude writes: > >> Author: allanjude >> Date: Tue May 31 04:12:14 2016 >> New Revision: 301010 >> URL: https://svnweb.freebsd.org/changeset/base/301010 >> >> Log: >> Connect the SHA-512t256 and Skein hashing algorithms to ZFS

svn commit: r301065 - head/sys/dev/sfxge

2016-05-31 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 31 18:31:17 2016 New Revision: 301065 URL: https://svnweb.freebsd.org/changeset/base/301065 Log: sfxge(4): zero should be used as RxQ label in SW event The buggy code was using the rxq index but should use the evq label associated with the rxq. It was

svn commit: r301076 - head/share/man/man3

2016-05-31 Thread Jilles Tjoelker
Author: jilles Date: Tue May 31 21:09:42 2016 New Revision: 301076 URL: https://svnweb.freebsd.org/changeset/base/301076 Log: Fix typo ESRC -> ESRCH in pthread man pages. Modified: head/share/man/man3/pthread_attr_get_np.3 head/share/man/man3/pthread_resume_np.3

Re: svn commit: r301010 - in head/sys: cddl/contrib/opensolaris/common/zfs cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2016-05-31 Thread Allan Jude
On 2016-05-31 14:36, Nikolai Lifanov wrote: On 05/31/2016 03:28, Jan Beich wrote: Allan Jude writes: Author: allanjude Date: Tue May 31 04:12:14 2016 New Revision: 301010 URL: https://svnweb.freebsd.org/changeset/base/301010 Log: Connect the SHA-512t256 and Skein

svn commit: r301078 - stable/10

2016-05-31 Thread Nick Hibma
Author: n_hibma Date: Tue May 31 21:21:32 2016 New Revision: 301078 URL: https://svnweb.freebsd.org/changeset/base/301078 Log: Fixup botched merge in rev. r300488. This commit only updates mergeinfo, not sys/net/if.c. Modified: Directory Properties: stable/10/ (props changed)

svn commit: r301062 - head/sys/arm/arm

2016-05-31 Thread Andrew Turner
Author: andrew Date: Tue May 31 18:05:17 2016 New Revision: 301062 URL: https://svnweb.freebsd.org/changeset/base/301062 Log: arm_gic_map is a mask not the CPUs ID, there is no need to shift it. Pointy-hat to:andrew Obtained from:ABT Systems Ltd Sponsored by: The

svn commit: r301064 - head/release/doc/en_US.ISO8859-1/relnotes

2016-05-31 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue May 31 18:30:33 2016 New Revision: 301064 URL: https://svnweb.freebsd.org/changeset/base/301064 Log: Document r300240, net.inet.tcp.ecn.enable now is a three way setting Approved by: re (gjb, implicit, relnotes) Modified:

Re: svn commit: r301070 - head/sys/arm64/arm64

2016-05-31 Thread John Baldwin
On Tuesday, May 31, 2016 06:45:52 PM Andrew Turner wrote: > Author: andrew > Date: Tue May 31 18:45:52 2016 > New Revision: 301070 > URL: https://svnweb.freebsd.org/changeset/base/301070 > > Log: > Allow the kernel to boot on a CPU where the devicetree has numbered it with > a non-zero ID. To

svn commit: r301067 - head/sys/dev/sfxge

2016-05-31 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 31 18:34:39 2016 New Revision: 301067 URL: https://svnweb.freebsd.org/changeset/base/301067 Log: sfxge(4): move definition of the SW events to sfxge.h Tx flush done event is defined and Rx-specific header is not a good place for it. Sponsored by:

svn commit: r301059 - head/sbin/ifconfig

2016-05-31 Thread Allan Jude
Author: allanjude Date: Tue May 31 17:30:08 2016 New Revision: 301059 URL: https://svnweb.freebsd.org/changeset/base/301059 Log: ifconfig(8) now supports some output formatting options specified by the -f flag or IFCONFIG_FORMAT environment variable, the user can request that inet4

svn commit: r301058 - head/share/misc

2016-05-31 Thread Remko Lodder
Author: remko Date: Tue May 31 17:23:27 2016 New Revision: 301058 URL: https://svnweb.freebsd.org/changeset/base/301058 Log: Update the Security Team member list with the actual members. Discussed with: glebius Modified: head/share/misc/organization.dot Modified:

svn commit: r301057 - stable/10/sys/nfs

2016-05-31 Thread Ian Lepore
Author: ian Date: Tue May 31 17:15:57 2016 New Revision: 301057 URL: https://svnweb.freebsd.org/changeset/base/301057 Log: MFC r297323,r297324, r297325, r297326: Set only one default route for nfsroot mount, the one associated with the interface that will be used to mount the rootfs

svn commit: r301051 - in releng/10.2: . sys/compat/linux sys/conf sys/kern

2016-05-31 Thread Gleb Smirnoff
this option. The bootstrap process from older version of current is a bit fragile. +20160531 p18 FreeBSD-SA-16:20.linux + FreeBSD-SA-16:21.43bsd + FreeBSD-SA-16:22.libarchive + + Fix kernel stack disclosure in Linux compatibility layer. [SA

svn commit: r301056 - in stable/10: lib/libstand sys/boot/common sys/boot/i386/libi386 sys/boot/libstand32 sys/boot/userboot/libstand sys/nfs

2016-05-31 Thread Ian Lepore
Author: ian Date: Tue May 31 17:01:54 2016 New Revision: 301056 URL: https://svnweb.freebsd.org/changeset/base/301056 Log: MFC r297147, r297148, r297149, r297150, r297151: Make both the loader and kernel use the interface-mtu option if the dhcp server provides it. Made up of these

svn commit: r301055 - in stable/9/sys: compat/linux kern

2016-05-31 Thread Gleb Smirnoff
Author: glebius Date: Tue May 31 16:58:00 2016 New Revision: 301055 URL: https://svnweb.freebsd.org/changeset/base/301055 Log: Merge r301053: Fix kernel stack disclosures in the Linux and 4.3BSD compat layers. Security: SA-16:20 Security: SA-16:21 Modified:

svn commit: r301054 - in stable/10/sys: compat/linux kern

2016-05-31 Thread Gleb Smirnoff
Author: glebius Date: Tue May 31 16:57:42 2016 New Revision: 301054 URL: https://svnweb.freebsd.org/changeset/base/301054 Log: Merge r301053: Fix kernel stack disclosures in the Linux and 4.3BSD compat layers. Security: SA-16:20 Security: SA-16:21 Modified:

svn commit: r301053 - in head/sys: compat/linux kern

2016-05-31 Thread Gleb Smirnoff
Author: glebius Date: Tue May 31 16:56:30 2016 New Revision: 301053 URL: https://svnweb.freebsd.org/changeset/base/301053 Log: Fix kernel stack disclosures in the Linux and 4.3BSD compat layers. Submitted by: CTurt Security: SA-16:20 Security: SA-16:21 Modified:

svn commit: r301050 - in releng/10.1: . sys/compat/linux sys/conf sys/kern

2016-05-31 Thread Gleb Smirnoff
this option. The bootstrap process from older version of current is a bit fragile. +20160531 p35 FreeBSD-SA-16:20.linux + FreeBSD-SA-16:21.43bsd + FreeBSD-SA-16:22.libarchive + + Fix kernel stack disclosure in Linux compatibility layer. [SA

svn commit: r301052 - in releng/10.3: . sys/compat/linux sys/conf sys/kern

2016-05-31 Thread Gleb Smirnoff
this option. The bootstrap process from older version of current is a bit fragile. +20160531 p4 FreeBSD-SA-16:20.linux + FreeBSD-SA-16:21.43bsd + FreeBSD-SA-16:22.libarchive + + Fix kernel stack disclosure in Linux compatibility layer. [SA

svn commit: r301049 - in releng/9.3: . sys/compat/linux sys/conf sys/kern

2016-05-31 Thread Gleb Smirnoff
read that file before running portupgrade. +20160531 p43 FreeBSD-SA-16:20.linux + FreeBSD-SA-16:21.43bsd + FreeBSD-SA-16:22.libarchive + FreeBSD-SA-16:23.libarchive + + Fix kernel stack disclosure in Linux

svn commit: r301048 - in releng/10.3/contrib/libarchive: cpio libarchive libarchive/test

2016-05-31 Thread Gleb Smirnoff
Author: glebius Date: Tue May 31 16:35:03 2016 New Revision: 301048 URL: https://svnweb.freebsd.org/changeset/base/301048 Log: Merge r300361 by mm@: Backport security fix for absolute path traversal vulnerability in bsdcpio. Security: CVE-2015-2304 Security: SA-16:22

svn commit: r301047 - in releng/10.2/contrib/libarchive: cpio libarchive libarchive/test

2016-05-31 Thread Gleb Smirnoff
Author: glebius Date: Tue May 31 16:33:56 2016 New Revision: 301047 URL: https://svnweb.freebsd.org/changeset/base/301047 Log: Merge r300361 by mm@: Backport security fix for absolute path traversal vulnerability in bsdcpio. Security: CVE-2015-2304 Security: SA-16:22

svn commit: r301046 - in releng/10.1/contrib/libarchive: cpio libarchive libarchive/test

2016-05-31 Thread Gleb Smirnoff
Author: glebius Date: Tue May 31 16:32:42 2016 New Revision: 301046 URL: https://svnweb.freebsd.org/changeset/base/301046 Log: Merge r300361 by mm@: Backport security fix for absolute path traversal vulnerability in bsdcpio. Security: CVE-2015-2304 Security: SA-16:22

svn commit: r301045 - head/sys/arm64/arm64

2016-05-31 Thread Andrew Turner
Author: andrew Date: Tue May 31 16:28:56 2016 New Revision: 301045 URL: https://svnweb.freebsd.org/changeset/base/301045 Log: Enable setting BF_COHERENT on DMA tags. This allows the kernel to start using the cache handling functions. Obtained from:ABT Systems Ltd Sponsored by:

svn commit: r301044 - in releng/9.3/contrib/libarchive: cpio libarchive libarchive/test

2016-05-31 Thread Gleb Smirnoff
Author: glebius Date: Tue May 31 16:23:56 2016 New Revision: 301044 URL: https://svnweb.freebsd.org/changeset/base/301044 Log: Merge r300363 by mm@: Backport security fix for absolute path traversal vulnerability in bsdcpio. Security: CVE-2015-2304 Security: SA-16:22

svn commit: r301043 - in head/sys: contrib/dev/ath/ath_hal/ar9300 dev/ath/ath_hal

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Tue May 31 16:08:06 2016 New Revision: 301043 URL: https://svnweb.freebsd.org/changeset/base/301043 Log: [ath_hal] rename the MCI state info routine. It's not /really/ "get state". Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c

svn commit: r301042 - head/sys/dev/ath/ath_hal/ar5416

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Tue May 31 16:07:15 2016 New Revision: 301042 URL: https://svnweb.freebsd.org/changeset/base/301042 Log: [ath_hal] add support for setting the azimuth timestamp in the outgoing TX payload. FYI: This is an unsupported/deprecated feature of the 11n hardware. Modified:

svn commit: r301041 - head/sys/dev/ath/ath_hal

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Tue May 31 16:05:54 2016 New Revision: 301041 URL: https://svnweb.freebsd.org/changeset/base/301041 Log: [ath_hal] reserve a HAL_TXDESC_ bit for azimuth TX timestamp requests. Modified: head/sys/dev/ath/ath_hal/ah_desc.h Modified: head/sys/dev/ath/ath_hal/ah_desc.h

Re: svn commit: r301010 - in head/sys: cddl/contrib/opensolaris/common/zfs cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2016-05-31 Thread Matthew Ahrens
On Tue, May 31, 2016 at 7:44 AM, Allan Jude wrote: > On 2016-05-31 07:41, Ivan Klymenko wrote: > > On Tue, 31 May 2016 04:12:14 + (UTC) > > Allan Jude wrote: > > > >> Author: allanjude > >> Date: Tue May 31 04:12:14 2016 > >> New Revision:

svn commit: r301040 - head/sys/kern

2016-05-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 31 15:27:33 2016 New Revision: 301040 URL: https://svnweb.freebsd.org/changeset/base/301040 Log: Cosmetics - add missing space after ellipses in shutdown messages. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r301037 - head/sys/x86/include

2016-05-31 Thread Bruce Evans
On Tue, 31 May 2016, Ed Schouten wrote: Log: Implement _ALIGN() using internal integer types. The existing version depends on register_t and uintptr_t, which are only available when including headers such as . As this macro is used by , for example, it should be written in such a way that

svn commit: r301039 - head/sys/dev/sound/usb

2016-05-31 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 31 15:05:50 2016 New Revision: 301039 URL: https://svnweb.freebsd.org/changeset/base/301039 Log: Add support for simplex USB MIDI devices, which only provide BULK or INTERRUPT endpoints for moving data in one direction, like the KeyRig 49 from M-Audio.

Re: svn commit: r301010 - in head/sys: cddl/contrib/opensolaris/common/zfs cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2016-05-31 Thread Allan Jude
On 2016-05-31 07:41, Ivan Klymenko wrote: > On Tue, 31 May 2016 04:12:14 + (UTC) > Allan Jude wrote: > >> Author: allanjude >> Date: Tue May 31 04:12:14 2016 >> New Revision: 301010 >> URL: https://svnweb.freebsd.org/changeset/base/301010 >> >> Log: >> Connect the

Re: svn commit: r300999 - in head: include lib/libc/db/man

2016-05-31 Thread Ed Schouten
2016-05-30 19:55 GMT+02:00 Pedro Giffuni : > IMHO, just before a new release is the perfect time to break the ABI, and > POSIX > is a good reason to do it. I thought about it a bit more and switching this over to size_t will only cause breakage on 64-bit big endian platforms. On

Re: svn commit: r300956 - head/lib/libc/stdlib

2016-05-31 Thread Andrey Chernov
On 31.05.2016 17:17, Bruce Evans wrote: > Our rand should use just 1, and it is dangerous to change RAND_MAX again, > but can we even change the sequences? Something might depend on > reproducing the old sequences. This question already arises many times. The sequence must be reproducible during

Re: svn commit: r300956 - head/lib/libc/stdlib

2016-05-31 Thread Bruce Evans
On Tue, 31 May 2016, Andrey Chernov wrote: On 31.05.2016 12:58, Bruce Evans wrote: On Tue, 31 May 2016, Andrey Chernov wrote: ... You can download SPRNG library implementing all of them here: http://www.sprng.org/RNG/ For me it is overcomplicated. The general case is certainly too

Re: svn commit: r301010 - in head/sys: cddl/contrib/opensolaris/common/zfs cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2016-05-31 Thread Jan Beich
Allan Jude writes: > Author: allanjude > Date: Tue May 31 04:12:14 2016 > New Revision: 301010 > URL: https://svnweb.freebsd.org/changeset/base/301010 > > Log: > Connect the SHA-512t256 and Skein hashing algorithms to ZFS > > Support for the new hashing algorithms

svn commit: r301038 - head/sys/sys

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 13:32:33 2016 New Revision: 301038 URL: https://svnweb.freebsd.org/changeset/base/301038 Log: Make CMSG_*() work without having NULL available. The is not supposed to declare NULL, according to POSIX. Our implementation complies with that, meaning that we

svn commit: r301037 - head/sys/x86/include

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 13:31:19 2016 New Revision: 301037 URL: https://svnweb.freebsd.org/changeset/base/301037 Log: Implement _ALIGN() using internal integer types. The existing version depends on register_t and uintptr_t, which are only available when including headers such as .

Re: svn commit: r300956 - head/lib/libc/stdlib

2016-05-31 Thread Andrey Chernov
This implementation of shifts 32-bit and 64-bit PRNGs looks more reliable than Mersenne primes and don't use Bignums: http://wwwmaths.anu.edu.au/~brent/ftp/random/xorgens305.tar.gz PDF article inside. On 31.05.2016 14:30, Andrey Chernov wrote: > On 31.05.2016 12:58, Bruce Evans wrote: >> On Tue,

svn commit: r301036 - svnadmin/conf

2016-05-31 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue May 31 12:39:54 2016 New Revision: 301036 URL: https://svnweb.freebsd.org/changeset/base/301036 Log: Release Mariusz Zaborski (oshogbo) from mentorship. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

svn commit: r301035 - head/include

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 12:29:21 2016 New Revision: 301035 URL: https://svnweb.freebsd.org/changeset/base/301035 Log: Make strfmon_l() work without requiring the use of . The strfmon_l() function provided by is also part of POSIX 2008's , so it should be exposed by default.

Re: svn commit: r301010 - in head/sys: cddl/contrib/opensolaris/common/zfs cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2016-05-31 Thread Ivan Klymenko
On Tue, 31 May 2016 04:12:14 + (UTC) Allan Jude wrote: > Author: allanjude > Date: Tue May 31 04:12:14 2016 > New Revision: 301010 > URL: https://svnweb.freebsd.org/changeset/base/301010 > > Log: > Connect the SHA-512t256 and Skein hashing algorithms to ZFS > >

svn commit: r301033 - in head: sys/dev/iscsi usr.bin/iscsictl

2016-05-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 31 11:32:07 2016 New Revision: 301033 URL: https://svnweb.freebsd.org/changeset/base/301033 Log: Add "iscsictl -e". Among other things, it makes it possible to perform discovery without attaching to the targets ("iscsictl -Ad ... -e off"), and then attach to

svn commit: r301034 - head/sys/cddl/dev/dtrace/aarch64

2016-05-31 Thread Andrew Turner
Author: andrew Date: Tue May 31 11:32:09 2016 New Revision: 301034 URL: https://svnweb.freebsd.org/changeset/base/301034 Log: Set oldfp so the check for fp == oldfp works as expected. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r300956 - head/lib/libc/stdlib

2016-05-31 Thread Andrey Chernov
On 31.05.2016 12:58, Bruce Evans wrote: > On Tue, 31 May 2016, Andrey Chernov wrote: > >> On 31.05.2016 9:48, Bruce Evans wrote: Perhaps you can find some ideas, answers and PRNG comparison in the original paper: http://www.firstpr.com.au/dsp/rand31/p1192-park.pdf >>> >>> The ones

Re: svn commit: r300956 - head/lib/libc/stdlib

2016-05-31 Thread Bruce Evans
On Tue, 31 May 2016, Andrey Chernov wrote: On 31.05.2016 9:48, Bruce Evans wrote: Perhaps you can find some ideas, answers and PRNG comparison in the original paper: http://www.firstpr.com.au/dsp/rand31/p1192-park.pdf The ones with Mersenne primes and tweaked Mersenne primes in the reference

svn commit: r301032 - head/sys/dev/pci

2016-05-31 Thread Andrew Turner
Author: andrew Date: Tue May 31 09:24:16 2016 New Revision: 301032 URL: https://svnweb.freebsd.org/changeset/base/301032 Log: Move a device_printf under bootverbose where it should have been. Reported by: bz Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation

svn commit: r301031 - in head/sys: arm64/cavium dev/pci

2016-05-31 Thread Andrew Turner
Author: andrew Date: Tue May 31 09:15:21 2016 New Revision: 301031 URL: https://svnweb.freebsd.org/changeset/base/301031 Log: Mark the ThunderX and generic PCI drivers as cache-coherent when we know this to be the case. This will mean we don't try and handle the cache in bus_dmamap_sync

Re: svn commit: r301024 - head/sbin/swapon

2016-05-31 Thread Chris Torek
> This change makes the code use the POSIX basename() function. It has the > advantage that (if implemented correctly), it also imposes no restrict > on the pathname length. I'm not sure what the parenthetic remark "if implemented correctly" means, but libc basename() has this in it:

svn commit: r301030 - head/sys/x86/include

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 08:38:24 2016 New Revision: 301030 URL: https://svnweb.freebsd.org/changeset/base/301030 Log: Add missing dependency on . In r227474, this header file was changed to define SIG_ATOMIC_{MIN,MAX} in terms of LONG_{MIN,MAX}. Unlike all of the definitions in this

svn commit: r301029 - head/sys/x86/include

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 08:36:39 2016 New Revision: 301029 URL: https://svnweb.freebsd.org/changeset/base/301029 Log: Add missing dependency on . This header uses __INT_MIN and __INT_MAX, which is provided by . This is needed to make 's WCHAR_MIN and WCHAR_MAX work without

svn commit: r301028 - head/etc/rc.d

2016-05-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 31 08:31:34 2016 New Revision: 301028 URL: https://svnweb.freebsd.org/changeset/base/301028 Log: Cosmetics: add missing space after the ':' in etc/rc.d/random. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/etc/rc.d/random

svn commit: r301027 - head/lib/libfetch

2016-05-31 Thread Dag-Erling Smørgrav
Author: des Date: Tue May 31 08:27:39 2016 New Revision: 301027 URL: https://svnweb.freebsd.org/changeset/base/301027 Log: r169386 (PR 112515) was incomplete: it treated 307 as an error except in verbose mode, and did not handle 308 at all. r241840 (PR 172451) added support for 308, but

svn commit: r301026 - head/sys/sys

2016-05-31 Thread Ed Schouten
Author: ed Date: Tue May 31 08:07:40 2016 New Revision: 301026 URL: https://svnweb.freebsd.org/changeset/base/301026 Log: Let define struct timespec. POSIX 2004 doesn't require that this header defines struct timespec, but does allow it. For FreeBSD, we would at least need a forward

Re: svn commit: r300956 - head/lib/libc/stdlib

2016-05-31 Thread Andrey Chernov
On 31.05.2016 9:48, Bruce Evans wrote: >> Perhaps you can find some ideas, answers and PRNG comparison in the >> original paper: >> http://www.firstpr.com.au/dsp/rand31/p1192-park.pdf > > The ones with Mersenne primes and tweaked Mersenne primes in the reference > (lanl?) given by pfg@ seem OK.

svn commit: r301025 - head/usr.bin/iscsictl

2016-05-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 31 07:49:59 2016 New Revision: 301025 URL: https://svnweb.freebsd.org/changeset/base/301025 Log: Make iscsictl(8) error messages more consistent. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/iscsictl/iscsictl.c

  1   2   >