svn commit: r292531 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 08:14:45 2015 New Revision: 292531 URL: https://svnweb.freebsd.org/changeset/base/292531 Log: Make test_matches.sh into a series of TAP testcases Use temporary filesystems / memory disks instead of a hardcoded path which doesn't exist on test systems MFC

svn commit: r292532 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 08:53:26 2015 New Revision: 292532 URL: https://svnweb.freebsd.org/changeset/base/292532 Log: Mark `subject matching jailid` testcase as an unexpected failure with TODO to ensure that the testcase isn't marked as a failure PR: 205481 MFC after: 2 weeks Sp

svn commit: r292533 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 08:58:14 2015 New Revision: 292533 URL: https://svnweb.freebsd.org/changeset/base/292533 Log: Skip the testcases if mac_bsdextended(4) isn't detected on the system MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regres

svn commit: r292536 - head/sys/modules/tcp/fastpath

2015-12-21 Thread Ulrich Spoerlein
Author: uqs Date: Mon Dec 21 09:38:45 2015 New Revision: 292536 URL: https://svnweb.freebsd.org/changeset/base/292536 Log: Fix 'make depend' Modified: head/sys/modules/tcp/fastpath/Makefile Modified: head/sys/modules/tcp/fastpath/Makefile =

svn commit: r292537 - head/sys/compat/linuxkpi/common/include/linux

2015-12-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 21 10:56:38 2015 New Revision: 292537 URL: https://svnweb.freebsd.org/changeset/base/292537 Log: Implement ACCESS_ONCE(), WRITE_ONCE() and READ_ONCE(). MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common/incl

svn commit: r292538 - head/sys/compat/linuxkpi/common/include/linux

2015-12-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 21 11:03:12 2015 New Revision: 292538 URL: https://svnweb.freebsd.org/changeset/base/292538 Log: Implement sleepable RCU mechanism using shared exclusive locks. MFC after:1 week Sponsored by: Mellanox Technologies Added: head/sys/compat/linuxkpi/commo

svn commit: r292539 - head/lib/libc/net

2015-12-21 Thread Hajimu UMEMOTO
Author: ume Date: Mon Dec 21 11:24:14 2015 New Revision: 292539 URL: https://svnweb.freebsd.org/changeset/base/292539 Log: If we end up following a CNAME chain that does not find any data return that instead of internal error. PR: 156684 Obtained from:NetBSD MFC afte

svn commit: r292541 - head/sys/ufs/ffs

2015-12-21 Thread Konstantin Belousov
Author: kib Date: Mon Dec 21 11:50:32 2015 New Revision: 292541 URL: https://svnweb.freebsd.org/changeset/base/292541 Log: Recheck curthread->td_su after the VFS_SYNC() call, and re-sync if the ast was rescheduled during VFS_SYNC(). It is possible that enough parallel writes or slow/hung vo

svn commit: r292542 - in head/sys/compat/linuxkpi/common: include/linux src

2015-12-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 21 11:58:59 2015 New Revision: 292542 URL: https://svnweb.freebsd.org/changeset/base/292542 Log: Minor workqueue cleanup: - Make some functions global instead of inline to ease debugging. - Fix some minor style issues. MFC after:1 week Sponsored by:

svn commit: r292543 - head/sys/compat/linuxkpi/common/include/linux

2015-12-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 21 12:13:03 2015 New Revision: 292543 URL: https://svnweb.freebsd.org/changeset/base/292543 Log: In the zero delay case in queue_delayed_work() use the return value from taskqueue_enqueue() instead of reading "ta_pending" unlocked and also ensure the callout is

svn commit: r292544 - in head/sys/compat/linuxkpi/common: include/linux src

2015-12-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 21 12:20:02 2015 New Revision: 292544 URL: https://svnweb.freebsd.org/changeset/base/292544 Log: Implement drain_workqueue() function. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common/include/linux/workque

svn commit: r292545 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 12:39:16 2015 New Revision: 292545 URL: https://svnweb.freebsd.org/changeset/base/292545 Log: Redo the TAP integration so it works with Kyua Kyua needs numbers in the TAP results :/, but prove doesn't MFC after: 2 weeks Sponsored by: EMC / Isilon Storage

svn commit: r292546 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 12:43:04 2015 New Revision: 292546 URL: https://svnweb.freebsd.org/changeset/base/292546 Log: - Convert testcase to TAP format - Use nitems(x) instead of handrolled sizeof(x) / sizeof(*x) macro - Do not mark count != 0 case with bsde_get_rule_count as a failure;

svn commit: r292549 - head/usr.sbin/makefs

2015-12-21 Thread Ed Maste
Author: emaste Date: Mon Dec 21 16:12:41 2015 New Revision: 292549 URL: https://svnweb.freebsd.org/changeset/base/292549 Log: makefs: use ENTRY macro for diff reduction with NetBSD Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/makefs/makefs.c Modified: head/usr.sbin/makef

svn commit: r292550 - head/lib/libc/net

2015-12-21 Thread Hajimu UMEMOTO
Author: ume Date: Mon Dec 21 16:55:36 2015 New Revision: 292550 URL: https://svnweb.freebsd.org/changeset/base/292550 Log: Simplify _map_v4v6_address(). Suggested by: hrs MFC after:1 week Modified: head/lib/libc/net/map_v4v6.c Modified: head/lib/libc/net/map_v4v6.c ===

Re: svn commit: r290197 - in head: etc/defaults etc/rc.d sys/kern

2015-12-21 Thread Jilles Tjoelker
On Fri, Oct 30, 2015 at 03:52:10PM +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Fri Oct 30 15:52:10 2015 > New Revision: 290197 > URL: https://svnweb.freebsd.org/changeset/base/290197 > Log: > After r290196, the kernel won't wait for stuff like gmirror nodes > if they are not

svn commit: r292552 - head/contrib/smbfs/lib/smb

2015-12-21 Thread Ian Lepore
Author: ian Date: Mon Dec 21 17:17:00 2015 New Revision: 292552 URL: https://svnweb.freebsd.org/changeset/base/292552 Log: Avoid unaligned memory accesses when encoding netbios names in libsmb. The current code for encoding a netbios name converts each byte to a 16-bit value and stores th

svn commit: r292553 - in head: lib usr.sbin

2015-12-21 Thread Ian Lepore
Author: ian Date: Mon Dec 21 17:41:08 2015 New Revision: 292553 URL: https://svnweb.freebsd.org/changeset/base/292553 Log: Make the building of libsmb and mount_smbfs unconditional, now that r292552 has eliminated alignment and endian problems that were making it fail on some platforms.

svn commit: r292554 - head/lib/libc/net

2015-12-21 Thread Hajimu UMEMOTO
Author: ume Date: Mon Dec 21 17:54:23 2015 New Revision: 292554 URL: https://svnweb.freebsd.org/changeset/base/292554 Log: Use _map_v4v6_address(). MFC after:1 week Modified: head/lib/libc/net/name6.c Modified: head/lib/libc/net/name6.c ==

svn commit: r292555 - in head/sys: arm/arm arm/include conf dev/ofw powerpc/include powerpc/ofw

2015-12-21 Thread Ian Lepore
Author: ian Date: Mon Dec 21 18:07:32 2015 New Revision: 292555 URL: https://svnweb.freebsd.org/changeset/base/292555 Log: Implement OF_decode_addr() for arm. Move most of powerpc's implementation into a new function that other platforms can share. This creates a new ofw_reg_to_paddr() f

Re: svn commit: r292555 - in head/sys: arm/arm arm/include conf dev/ofw powerpc/include powerpc/ofw

2015-12-21 Thread Ian Lepore
On Mon, 2015-12-21 at 18:07 +, Ian Lepore wrote: > Author: ian > Date: Mon Dec 21 18:07:32 2015 > New Revision: 292555 > URL: https://svnweb.freebsd.org/changeset/base/292555 > > Log: > Implement OF_decode_addr() for arm. Move most of powerpc's implementation > into a new function that ot

svn commit: r292556 - in head/sys: conf mips/mips

2015-12-21 Thread Ian Lepore
Author: ian Date: Mon Dec 21 18:19:14 2015 New Revision: 292556 URL: https://svnweb.freebsd.org/changeset/base/292556 Log: Add a mips implementation of OF_decode_addr(). Added: head/sys/mips/mips/ofw_machdep.c (contents, props changed) Modified: head/sys/conf/files.mips Modified: head/sy

svn commit: r292557 - head/sys/arm/conf

2015-12-21 Thread Warner Losh
Author: imp Date: Mon Dec 21 18:27:51 2015 New Revision: 292557 URL: https://svnweb.freebsd.org/changeset/base/292557 Log: Configure the Atmel eval boards to boot the same way. This gives them the same layout as other embedded systems. Modified: head/sys/arm/conf/SAM9260EK head/sys/arm/co

svn commit: r292558 - head/sys/netinet

2015-12-21 Thread Michael Tuexen
Author: tuexen Date: Mon Dec 21 18:52:02 2015 New Revision: 292558 URL: https://svnweb.freebsd.org/changeset/base/292558 Log: Stop processing of a SACK when the association has been aborted. MFC after: 3 days Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indat

svn commit: r292559 - head

2015-12-21 Thread John Baldwin
Author: jhb Date: Mon Dec 21 19:15:06 2015 New Revision: 292559 URL: https://svnweb.freebsd.org/changeset/base/292559 Log: As previously noted in r290409, purge old entries from MAINTAINERS. Modified: head/MAINTAINERS Modified: head/MAINTAINERS ===

svn commit: r292563 - in head/sys/boot/efi/loader: . arch/amd64

2015-12-21 Thread Ed Maste
Author: emaste Date: Mon Dec 21 19:56:11 2015 New Revision: 292563 URL: https://svnweb.freebsd.org/changeset/base/292563 Log: loader.efi: strip trailing whitespace Sponsored by: The FreeBSD Foundation Modified: head/sys/boot/efi/loader/Makefile head/sys/boot/efi/loader/arch/amd64/frame

svn commit: r292564 - head/etc

2015-12-21 Thread Jeremie Le Hen
Author: jlh Date: Mon Dec 21 20:14:40 2015 New Revision: 292564 URL: https://svnweb.freebsd.org/changeset/base/292564 Log: Add port for IRC over TLS/SSL, as noted in RFC 7194. PR: 192505 Submitted by: loic.b...@unix-experience.fr MFC after:3 days Modified: head/etc/serv

svn commit: r292565 - head/sys/arm/freescale/imx

2015-12-21 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 21 20:17:24 2015 New Revision: 292565 URL: https://svnweb.freebsd.org/changeset/base/292565 Log: Add CCM functions to enable HDMI framer and IPU units (video controller) Reviewed by: andrew, ian Differential Revision:https://reviews.freebsd.org/D4168

svn commit: r292567 - head/sys/conf

2015-12-21 Thread Warner Losh
Author: imp Date: Mon Dec 21 20:36:01 2015 New Revision: 292567 URL: https://svnweb.freebsd.org/changeset/base/292567 Log: Revert this change. It broke the trampoline build. Until I'm sure nothing else is broken, I'm reverting. Modified: head/sys/conf/Makefile.mips head/sys/conf/kern.mk

Re: svn commit: r292472 - in head/sys: amd64/amd64 sys

2015-12-21 Thread John Baldwin
On Saturday, December 19, 2015 07:01:43 PM Warner Losh wrote: > Author: imp > Date: Sat Dec 19 19:01:43 2015 > New Revision: 292472 > URL: https://svnweb.freebsd.org/changeset/base/292472 > > Log: > Save the physical address passed into the kernel of the UEFI system > table. > > Modified: >

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

2015-12-21 Thread Ravi Pokala
-Original Message- From: on behalf of "Conrad E. Meyer" Date: 2015-12-20, Sunday at 20:42 To: , , Subject: svn commit: r292528 - head/sys/x86/include >Author: cem >Date: Mon Dec 21 04:42:58 2015 >New Revision: 292528 >URL: https://svnweb.freebsd.org/changeset/base/292528 > >Log: >

svn commit: r292569 - head/tools/regression/mac/mac_portacl

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 21:15:23 2015 New Revision: 292569 URL: https://svnweb.freebsd.org/changeset/base/292569 Log: Make the mac_portacl testcases work / more robust - A trap(1) call has been added to the test scripts to better ensure that the tests do a better job at trying to

Re: svn commit: r292460 - head/sys/powerpc/pseries

2015-12-21 Thread Gleb Smirnoff
Nathan, On Sat, Dec 19, 2015 at 02:16:38AM +, Nathan Whitehorn wrote: N> Author: nwhitehorn N> Date: Sat Dec 19 02:16:38 2015 N> New Revision: 292460 N> URL: https://svnweb.freebsd.org/changeset/base/292460 N> N> Log: N> Provide link state reporting so that ifconfig_llan0="DHCP" works. Th

svn commit: r292570 - in head: etc/mtree tests/sys tests/sys/mac tests/sys/mac/bsdextended tests/sys/mac/portacl tools/regression/mac

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 21:24:03 2015 New Revision: 292570 URL: https://svnweb.freebsd.org/changeset/base/292570 Log: Integrate tools/regression/mac/mac_bsdextended and tools/regression/mac/mac_portacl into the FreeBSD test suite as tests/sys/mac/bsdextended and tests/sys/mac/portacl,

Re: svn commit: r292460 - head/sys/powerpc/pseries

2015-12-21 Thread Nathan Whitehorn
On 12/21/15 13:24, Gleb Smirnoff wrote: Nathan, On Sat, Dec 19, 2015 at 02:16:38AM +, Nathan Whitehorn wrote: N> Author: nwhitehorn N> Date: Sat Dec 19 02:16:38 2015 N> New Revision: 292460 N> URL: https://svnweb.freebsd.org/changeset/base/292460 N> N> Log: N> Provide link state repor

svn commit: r292571 - in head/sys/arm: conf freescale/imx

2015-12-21 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 21 21:40:15 2015 New Revision: 292571 URL: https://svnweb.freebsd.org/changeset/base/292571 Log: - Add driver for i.MX 6 HDMI framer - Enable HDMI driver in IMX6 config Reviewed by: andrew, ian, mmel Differential Revision:https://reviews.freebsd.org/

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

2015-12-21 Thread Conrad Meyer
No, I didn't forget. AVX512VBMI is a flag in ECX ("cpu_stdext_feature2") rather than EBX ("cpu_stdext_feature"), and there aren't any macros for any of the ECX flags yet (PREFETCHWT1, AVX512VBMI, PKU, and OSPKE). Best, Conrad On Mon, Dec 21, 2015 at 12:57 PM, Ravi Pokala wrote: > -Original

svn commit: r292573 - head/sbin/mount

2015-12-21 Thread Alan Somers
Author: asomers Date: Mon Dec 21 22:19:22 2015 New Revision: 292573 URL: https://svnweb.freebsd.org/changeset/base/292573 Log: Fix "mount -a" for NFS and ZFS filesystems with shared mountpoints sbin/mount.c Check whether an fstab entry has the same fstype as a mounted filesy

svn commit: r292574 - in head/sys/arm: conf freescale/imx

2015-12-21 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 21 22:25:35 2015 New Revision: 292574 URL: https://svnweb.freebsd.org/changeset/base/292574 Log: Add i.MX 6 IPU driver and enable it in IMX6 config Current functionality is somewhat limited: driver assumes that there is only one active IPU unit (IPU1) and that

svn commit: r292575 - head/libexec/rtld-elf

2015-12-21 Thread Ed Maste
Author: emaste Date: Mon Dec 21 22:40:29 2015 New Revision: 292575 URL: https://svnweb.freebsd.org/changeset/base/292575 Log: rtld: Use common NT_FREEBSD_* note types introduced in r291909 Sponsored by: The FreeBSD Foundation Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec

svn commit: r292576 - head/sys/boot/efi/boot1

2015-12-21 Thread Ed Maste
Author: emaste Date: Mon Dec 21 22:42:03 2015 New Revision: 292576 URL: https://svnweb.freebsd.org/changeset/base/292576 Log: boot1.efi: show EFI error number, not full status value EFI return values set the high bit to indicate an error. The log messages changed here are printed only in

Re: svn commit: r292576 - head/sys/boot/efi/boot1

2015-12-21 Thread John Baldwin
On Monday, December 21, 2015 10:42:03 PM Ed Maste wrote: > Author: emaste > Date: Mon Dec 21 22:42:03 2015 > New Revision: 292576 > URL: https://svnweb.freebsd.org/changeset/base/292576 > > Log: > boot1.efi: show EFI error number, not full status value > > EFI return values set the high bit

svn commit: r292577 - head/sys/dev/ofw

2015-12-21 Thread Ian Lepore
Author: ian Date: Mon Dec 21 23:47:49 2015 New Revision: 292577 URL: https://svnweb.freebsd.org/changeset/base/292577 Log: Include machine/_bus.h so that bus_space_[tag|handle]_t will be available. It appears that all platforms except aarch64 are getting the file via various header pollut

svn commit: r292578 - in head/contrib/netbsd-tests/lib/libc: gen ssp

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 00:43:22 2015 New Revision: 292578 URL: https://svnweb.freebsd.org/changeset/base/292578 Log: Don't dump core files with lib/libc/ssp/ssp_test and lib/libc/gen/assert_test The default `sysctl kern.corefile` value is compatible with `kyua test` (FreeBSD will

svn commit: r292579 - head/sys/dev/ofw

2015-12-21 Thread Ian Lepore
Author: ian Date: Tue Dec 22 00:53:19 2015 New Revision: 292579 URL: https://svnweb.freebsd.org/changeset/base/292579 Log: Fix the detection of IO/memory space changing across busses when the bus is not pci (and thus where, ironically, the whole situation is meaningless). This was not an

svn commit: r292580 - head/usr.sbin/jls

2015-12-21 Thread Craig Rodrigues
Author: rodrigc Date: Tue Dec 22 00:58:35 2015 New Revision: 292580 URL: https://svnweb.freebsd.org/changeset/base/292580 Log: Add libxo support to jls PR:200746 Submitted by: Emmanuel Vadot Reviewed by: allanjude Relnotes: yes Di

svn commit: r292581 - head/contrib/netbsd-tests/usr.bin/grep

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 01:21:27 2015 New Revision: 292581 URL: https://svnweb.freebsd.org/changeset/base/292581 Log: Use stable output to a test file instead of depending on the OS name being grep'able in /bin/sh This fixes the situation where the OS has been rebranded to something

svn commit: r292582 - head/tests/sys/file

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 02:10:31 2015 New Revision: 292582 URL: https://svnweb.freebsd.org/changeset/base/292582 Log: Dump out the output from flock_helper on failure so failures with the test app can be debugged MFC after: 1 week Obtained from: Isilon OneFS (^/onefs/head@r511419)

svn commit: r292583 - head/lib/libstand

2015-12-21 Thread Ian Lepore
Author: ian Date: Tue Dec 22 03:02:52 2015 New Revision: 292583 URL: https://svnweb.freebsd.org/changeset/base/292583 Log: Allow dhcp/bootp server-provided values to be overriden from environment variables in loader(8) and other libstand applications. Sometimes a dhcp server provides inco

svn commit: r292584 - head/sys/boot/efi/loader

2015-12-21 Thread Ian Lepore
Author: ian Date: Tue Dec 22 03:07:38 2015 New Revision: 292584 URL: https://svnweb.freebsd.org/changeset/base/292584 Log: Set env vars from values on the efi loader command line. Examine each cmdline arg and if it contains an '=' convert it to ascii and pass it to putenv(). This allows v

Re: svn commit: r292576 - head/sys/boot/efi/boot1

2015-12-21 Thread Ed Maste
On 21 December 2015 at 23:26, John Baldwin wrote: > > Perhaps it would be useful to have a shared 'EFI_ERROR_NUM()' macro? Yes, or perhaps even an efi_err() similar to err(3). My immediate goal is to bring the UEFI fixes from HEAD into stable/10 for 10.3, but will add EFI_ERROR_NUM or efi_err in

svn commit: r292585 - head/usr.sbin/uhsoctl

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 05:57:23 2015 New Revision: 292585 URL: https://svnweb.freebsd.org/changeset/base/292585 Log: Prevent use-after-free with ctx->ns in set_nameservers(..), which could occur if the memory wasn't allocated again later on Reported by: Coverity Submitted by: Mil

svn commit: r292586 - head/tools/tools/nanobsd/embedded

2015-12-21 Thread Warner Losh
Author: imp Date: Tue Dec 22 06:36:00 2015 New Revision: 292586 URL: https://svnweb.freebsd.org/changeset/base/292586 Log: For embedded platforms that require it, use mtools to copy the appropriate u-boot port's files into the fat part. Modified: head/tools/tools/nanobsd/embedded/common Mo