svn commit: r287591 - head/sys/vm

2015-09-08 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 06:19:33 2015 New Revision: 287591 URL: https://svnweb.freebsd.org/changeset/base/287591 Log: Remove a check which caused spurious SIGSEGV on usermode access to the mapped address without valid pte installed, when parallel wiring of the entry happen. The entry m

svn commit: r287590 - head/usr.bin/w

2015-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 05:17:04 2015 New Revision: 287590 URL: https://svnweb.freebsd.org/changeset/base/287590 Log: w(1) is not setgid binary since r53279, so remove the setgid() call. Reviewed By: wollman MFC after:2 weeks Differential Revision: https://reviews.freebsd.

svn commit: r287588 - stable/8/sys/dev/sound/midi

2015-09-08 Thread Tai-hwa Liang
Author: avatar Date: Wed Sep 9 04:16:55 2015 New Revision: 287588 URL: https://svnweb.freebsd.org/changeset/base/287588 Log: MFC r286886: Fixing typo as well as improving readability of a few comments. Modified: stable/8/sys/dev/sound/midi/midi.c Directory Properties: stable/8/sys/ (prop

svn commit: r287587 - stable/9/sys/gnu/fs/reiserfs

2015-09-08 Thread Tai-hwa Liang
Author: avatar Date: Wed Sep 9 04:16:48 2015 New Revision: 287587 URL: https://svnweb.freebsd.org/changeset/base/287587 Log: MFC r286888: Using consistent coding style to deal with error inside the loop. Modified: stable/9/sys/gnu/fs/reiserfs/reiserfs_vfsops.c Directory Properties: stable/

svn commit: r287586 - head/sys/powerpc/include

2015-09-08 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 9 03:15:25 2015 New Revision: 287586 URL: https://svnweb.freebsd.org/changeset/base/287586 Log: Add PVR identifier for E6500, from the reference. Modified: head/sys/powerpc/include/spr.h Modified: head/sys/powerpc/include/spr.h

svn commit: r287584 - head/sys/dev/usb/wlan

2015-09-08 Thread Kevin Lo
Author: kevlo Date: Wed Sep 9 01:51:38 2015 New Revision: 287584 URL: https://svnweb.freebsd.org/changeset/base/287584 Log: Correct setting R92C_TDECTRL_BLK_DESC_NUM_M bit. Modified: head/sys/dev/usb/wlan/if_urtwnreg.h Modified: head/sys/dev/usb/wlan/if_urtwnreg.h ==

Re: svn commit: r287578 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2015-09-08 Thread Adrian Chadd
The main annoying thing is any migration that hostapd decides to do between 20 and 2040 and 40-only modes. Right now ath just resets the interface and drops all the packets in-flight, which is a big no-no for 11n (we have to save them and restore them.) It's additionally complicated because to do i

svn commit: r287583 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2015-09-08 Thread Jung-uk Kim
Author: jkim Date: Tue Sep 8 23:17:02 2015 New Revision: 287583 URL: https://svnweb.freebsd.org/changeset/base/287583 Log: Revert r287578. This patch requires more review. Requested by: adrian Modified: head/usr.sbin/wpa/hostapd/Makefile head/usr.sbin/wpa/wpa_supplicant/Makefile Mod

Re: svn commit: r287578 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2015-09-08 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 09/08/2015 18:44, Adrian Chadd wrote: > Wait a sec, did anyone review and test that this works out > correctly? I tested hostapd(8) with ath(4) myself and it is working flawlessly for me. I didn't get any review because I thought it wouldn't cha

svn commit: r287582 - head/games/fortune/datfiles

2015-09-08 Thread Allan Jude
Author: allanjude Date: Tue Sep 8 22:51:10 2015 New Revision: 287582 URL: https://svnweb.freebsd.org/changeset/base/287582 Log: Correctly case FreeBSD in my entry in the tips file Submitted by: feld Approved by: wblock (mentor) Differential Revision:https://reviews.freebsd.org

svn commit: r287581 - head/usr.sbin/service

2015-09-08 Thread Allan Jude
Author: allanjude Date: Tue Sep 8 22:50:17 2015 New Revision: 287581 URL: https://svnweb.freebsd.org/changeset/base/287581 Log: Add an additional check to service(8) -e incase rcvar is blank Approved by: bapt (mentor) X-MFC-With: 287576 Differential Revision:https://reviews.

Re: svn commit: r287578 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2015-09-08 Thread Adrian Chadd
Wait a sec, did anyone review and test that this works out correctly? We already have working 802.11n; it's done inside net80211. It also mostly adds 20/40 coexistence and channel width changing on the fly, which is absolutely going to break absolutely everything as we don't /have/ stable support

svn commit: r287580 - head/usr.sbin/pkg

2015-09-08 Thread Baptiste Daroussin
Author: bapt Date: Tue Sep 8 22:24:20 2015 New Revision: 287580 URL: https://svnweb.freebsd.org/changeset/base/287580 Log: Remove extra debug that crept in Modified: head/usr.sbin/pkg/pkg.c Modified: head/usr.sbin/pkg/pkg.c ===

svn commit: r287579 - head/usr.sbin/pkg

2015-09-08 Thread Baptiste Daroussin
Author: bapt Date: Tue Sep 8 21:25:36 2015 New Revision: 287579 URL: https://svnweb.freebsd.org/changeset/base/287579 Log: Implement pubkey support for the bootstrap Note that to not interfer with finger print it expects a signature on pkg itself which is named pkg.txz.pubkeysign T

svn commit: r287578 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2015-09-08 Thread Jung-uk Kim
Author: jkim Date: Tue Sep 8 21:04:33 2015 New Revision: 287578 URL: https://svnweb.freebsd.org/changeset/base/287578 Log: Enable 802.11n support. PR: 164102 Modified: head/usr.sbin/wpa/hostapd/Makefile head/usr.sbin/wpa/wpa_supplicant/Makefile Modified: head/usr.sbin/wpa/h

svn commit: r287577 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2015-09-08 Thread Jung-uk Kim
Author: jkim Date: Tue Sep 8 20:41:47 2015 New Revision: 287577 URL: https://svnweb.freebsd.org/changeset/base/287577 Log: Sort and remove duplicate compiler flags. MFC after:3 days Modified: head/usr.sbin/wpa/hostapd/Makefile head/usr.sbin/wpa/wpa_supplicant/Makefile Modified: h

svn commit: r287576 - head/usr.sbin/service

2015-09-08 Thread Allan Jude
Author: allanjude Date: Tue Sep 8 20:22:51 2015 New Revision: 287576 URL: https://svnweb.freebsd.org/changeset/base/287576 Log: service(8) -e does not respect /etc/rc.conf.d/* entries PR: 173454 Submitted by: giantl...@gmail.com (original patch) Approved by: bapt (mentor)

svn commit: r287575 - in head/sys/dev/usb: . serial

2015-09-08 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Sep 8 20:07:32 2015 New Revision: 287575 URL: https://svnweb.freebsd.org/changeset/base/287575 Log: Remove duplicate entry for Sierra Wireless Aircard 875 Approved by: loos MFC after:3 days Sponsored by: Rubicon Communications (Netgate) M

svn commit: r287574 - head/sys/dev/usb

2015-09-08 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Sep 8 19:57:02 2015 New Revision: 287574 URL: https://svnweb.freebsd.org/changeset/base/287574 Log: - Fix Sierra MC7354 ID from a bad copy/paste, correct ID is 68C0 Approved by: loos Obtained from:pfSense MFC after:3 days Sponsor

svn commit: r287573 - head/sys/dev/drm2/ttm

2015-09-08 Thread Jean-Sébastien Pédron
Author: dumbbell Date: Tue Sep 8 19:41:19 2015 New Revision: 287573 URL: https://svnweb.freebsd.org/changeset/base/287573 Log: drm/ttm: Drain taskqueue if taskqueue_cancel_timeout() returned an error Before, this was done if `pending` was true. This is not what the manpage suggests and n

svn commit: r287572 - head/usr.sbin/pkg

2015-09-08 Thread Baptiste Daroussin
Author: bapt Date: Tue Sep 8 19:25:15 2015 New Revision: 287572 URL: https://svnweb.freebsd.org/changeset/base/287572 Log: Fix indentation, no functional changes Modified: head/usr.sbin/pkg/pkg.c Modified: head/usr.sbin/pkg/pkg.c =

svn commit: r287571 - head/lib/libc/tests/sys

2015-09-08 Thread Andrew Turner
Author: andrew Date: Tue Sep 8 18:44:12 2015 New Revision: 287571 URL: https://svnweb.freebsd.org/changeset/base/287571 Log: Enable mincore_test on arm64, we now have a working pmap_mincore. PR: 202307 Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation

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

2015-09-08 Thread Andrew Turner
Author: andrew Date: Tue Sep 8 18:41:06 2015 New Revision: 287570 URL: https://svnweb.freebsd.org/changeset/base/287570 Log: Add support for pmap_mincore on arm64 by walking the page tables to find the details for the requested address. PR: 202307 Obtained from:ABT Sy

svn commit: r287569 - stable/10/sys/geom

2015-09-08 Thread Warner Losh
Author: imp Date: Tue Sep 8 18:37:16 2015 New Revision: 287569 URL: https://svnweb.freebsd.org/changeset/base/287569 Log: MFC: r287405: Make out of memory behavior less pathological. Modified: stable/10/sys/geom/geom_io.c Directory Properties: stable/10/ (props changed) Modified: s

svn commit: r287568 - stable/10/contrib/netbsd-tests/lib/libc/locale

2015-09-08 Thread Craig Rodrigues
Author: rodrigc Date: Tue Sep 8 17:54:31 2015 New Revision: 287568 URL: https://svnweb.freebsd.org/changeset/base/287568 Log: Merge r286649: Fix and re-enable UTF-8 tests. X-Merge with: r287393 Modified: stable/10/contrib/netbsd-tests/lib/libc/locale/t_mbrtowc.c stable/10/contrib

svn commit: r287567 - head/sys/vm

2015-09-08 Thread Warner Losh
Author: imp Date: Tue Sep 8 17:47:56 2015 New Revision: 287567 URL: https://svnweb.freebsd.org/changeset/base/287567 Log: The swap pager is compatible with direct dispatch. It does its own locking and doesn't sleep. Flag the consumer we create as such. In addition, decrement the in flight i

svn commit: r287566 - stable/10/sys/dev/ciss

2015-09-08 Thread Sean Bruno
Author: sbruno Date: Tue Sep 8 17:20:12 2015 New Revision: 287566 URL: https://svnweb.freebsd.org/changeset/base/287566 Log: MFC r287437 r249170 was just plain wrong. The effect of the change is to always delete a logic volume on status change which is NOT what we want here. The or

Re: svn commit: r287565 - head/sys/dev/uart

2015-09-08 Thread Nathan Whitehorn
Nice work! You might want to look at uart_cpu_powerpc.c, which already supports stdout-path and various related things. -Nathan On 09/08/15 09:06, Andrew Turner wrote: Author: andrew Date: Tue Sep 8 16:06:04 2015 New Revision: 287565 URL: https://svnweb.freebsd.org/changeset/base/287565 Log:

svn commit: r287565 - head/sys/dev/uart

2015-09-08 Thread Andrew Turner
Author: andrew Date: Tue Sep 8 16:06:04 2015 New Revision: 287565 URL: https://svnweb.freebsd.org/changeset/base/287565 Log: Allow us to set the console device tree node. This is needed as not all vendor supplied device trees contain the needed properties for us to select the correct uart t

svn commit: r287564 - head/sys/dev/isci

2015-09-08 Thread Jim Harris
Author: jimharris Date: Tue Sep 8 16:05:18 2015 New Revision: 287564 URL: https://svnweb.freebsd.org/changeset/base/287564 Log: isci: check return value of pci_alloc_msix() Certain VM guest types (VMware, Xen) do not support MSI, so pci_alloc_msix() always fails. isci(4) was not properl

svn commit: r287563 - head/sys/dev/isci

2015-09-08 Thread Jim Harris
Author: jimharris Date: Tue Sep 8 15:59:55 2015 New Revision: 287563 URL: https://svnweb.freebsd.org/changeset/base/287563 Log: isci: explicitly enable/disable PCI busmaster BIOS always enables PCI busmaster on the isci device, which effectively worked around this omission. But when pas

svn commit: r287562 - head/lib/libc/posix1e

2015-09-08 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 8 14:52:14 2015 New Revision: 287562 URL: https://svnweb.freebsd.org/changeset/base/287562 Log: Make it possible to use acl_create_entry_np(3) to use first entry to an empty ACL, and to append an entry to an ACL. Submitted by: sef@ MFC after:1 month Sp

svn commit: r287560 - stable/10/libexec/rtld-elf

2015-09-08 Thread Andrew Turner
Author: andrew Date: Tue Sep 8 12:00:13 2015 New Revision: 287560 URL: https://svnweb.freebsd.org/changeset/base/287560 Log: MFC r287369: Ensure we use calculate_first_tls_offset, even if the main program doesn't have TLS program header. This is needed on architectures with Variant I tls,

svn commit: r287559 - head/sys/modules/zfs

2015-09-08 Thread Garrett Cooper
Author: ngie Date: Tue Sep 8 08:54:40 2015 New Revision: 287559 URL: https://svnweb.freebsd.org/changeset/base/287559 Log: Revert r286984 (adding opt_random.h to sys/modules/zfs/Makefile) opt_random.h is no longer needed/referenced in the kernel build X-MFC with: r287558 Modified:

svn commit: r287558 - in head/sys: conf sys

2015-09-08 Thread Garrett Cooper
Author: ngie Date: Tue Sep 8 08:50:28 2015 New Revision: 287558 URL: https://svnweb.freebsd.org/changeset/base/287558 Log: Remove opt_random.h header pollution from sys/random.h by moving RANDOM_LOADABLE and RANDOM_YARROW's definitions from opt_random.h to opt_global.h This unbreaks `m

svn commit: r287557 - head/lib/libthr/thread

2015-09-08 Thread Konstantin Belousov
Author: kib Date: Tue Sep 8 08:48:53 2015 New Revision: 287557 URL: https://svnweb.freebsd.org/changeset/base/287557 Log: Style. Use ANSI definition, wrap long lines, no initialization in declaration for locals. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: he

svn commit: r287556 - head/lib/libthr/thread

2015-09-08 Thread Konstantin Belousov
Author: kib Date: Tue Sep 8 08:41:07 2015 New Revision: 287556 URL: https://svnweb.freebsd.org/changeset/base/287556 Log: In the pthread_once(), if the initializer has already run, then the calling thread is supposed to see accesses issued by the initializer. This means that the read of the

svn commit: r287555 - head/sys/dev/usb/wlan

2015-09-08 Thread Kevin Lo
Author: kevlo Date: Tue Sep 8 08:06:20 2015 New Revision: 287555 URL: https://svnweb.freebsd.org/changeset/base/287555 Log: Enable TSF timer in monitor mode. Tested on RT5370, sta mode. Submitted by: Andriy Voskoboinyk Differential Revision:https://reviews.freebsd.org/D3591 M

svn commit: r287554 - head/sys/dev/usb/wlan

2015-09-08 Thread Kevin Lo
Author: kevlo Date: Tue Sep 8 08:02:14 2015 New Revision: 287554 URL: https://svnweb.freebsd.org/changeset/base/287554 Log: Add TSF field into TX/RX radiotap headers Tested on RT5370, sta mode. Submitted by: Andriy Voskoboinyk Differential Revision:https://reviews.freebsd.org/

svn commit: r287553 - head/sys/dev/usb/wlan

2015-09-08 Thread Kevin Lo
Author: kevlo Date: Tue Sep 8 07:53:10 2015 New Revision: 287553 URL: https://svnweb.freebsd.org/changeset/base/287553 Log: Fix comparison in run_key_set_cb(). Tested on RT5370, sta mode. Submitted by: Andriy Voskoboinyk Differential Revision:https://reviews.freebsd.org/D35

svn commit: r287552 - head/sys/dev/usb/wlan

2015-09-08 Thread Kevin Lo
Author: kevlo Date: Tue Sep 8 07:50:35 2015 New Revision: 287552 URL: https://svnweb.freebsd.org/changeset/base/287552 Log: - Remove empty key_update_* functions. - Hide "struct ieee80211_node *" -> "struct run_node *" casting behind RUN_NODE() macro. - Simplify IEEE80211_HAS_ADDR4 macr

svn commit: r287551 - in stable/10: contrib/netbsd-tests/lib/libc/gen/posix_spawn lib/libc/tests/gen/posix_spawn

2015-09-08 Thread Konstantin Belousov
Author: kib Date: Tue Sep 8 07:15:10 2015 New Revision: 287551 URL: https://svnweb.freebsd.org/changeset/base/287551 Log: MFC r287360: Fix t_spawnattr test for attributes handling by posix_spawn(3). Connect it to the build. Modified: stable/10/contrib/netbsd-tests/lib/libc/gen/posix_spaw