svn commit: r275953 - head/sys/cam/ctl

2014-12-20 Thread Alexander Motin
Author: mav Date: Sat Dec 20 13:33:31 2014 New Revision: 275953 URL: https://svnweb.freebsd.org/changeset/base/275953 Log: Replace ctl_min() macro with MIN(). MFC after:1 week Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl.h head/sys/cam/ctl/ctl_backend_block.c

svn commit: r275954 - head/sys/netinet

2014-12-20 Thread Michael Tuexen
Author: tuexen Date: Sat Dec 20 13:47:38 2014 New Revision: 275954 URL: https://svnweb.freebsd.org/changeset/base/275954 Log: Cleanup the code. Reported by: Coverity CID: 1232003 Modified: head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_usrreq.c

Re: svn commit: r275768 - in head/usr.sbin: . vigr

2014-12-20 Thread Baptiste Daroussin
On Sun, Dec 14, 2014 at 04:40:47PM +, Dag-Erling Smørgrav wrote: Author: des Date: Sun Dec 14 16:40:46 2014 New Revision: 275768 URL: https://svnweb.freebsd.org/changeset/base/275768 Log: Add a vigr(8) utility which does for /etc/group what vipw(8) does for /etc/master.passwd.

svn commit: r275955 - head/sys/kern

2014-12-20 Thread Gleb Smirnoff
Author: glebius Date: Sat Dec 20 14:19:46 2014 New Revision: 275955 URL: https://svnweb.freebsd.org/changeset/base/275955 Log: Add to sbappendstream_locked() a check against NULL mbuf, like it is done in sbappend_locked() and sbappendrecord_locked(). This is a quick fix to the panic

Re: svn commit: r275768 - in head/usr.sbin: . vigr

2014-12-20 Thread Dag-Erling Smørgrav
Baptiste Daroussin b...@freebsd.org writes: I wonder why you chose making a script instead of using libutil? 50 lines of shell vs a few hundred lines of C... BTW, we need a new nss implementation; the current one has serious flaws that cannot be fixed without a redesign. That would be a good

svn commit: r275956 - in stable/10/sys: kern sys

2014-12-20 Thread Konstantin Belousov
Author: kib Date: Sat Dec 20 15:46:15 2014 New Revision: 275956 URL: https://svnweb.freebsd.org/changeset/base/275956 Log: MFC r275743: Put the buffer cleanup code after inactivation. Modified: stable/10/sys/kern/vfs_subr.c stable/10/sys/sys/bufobj.h Directory Properties: stable/10/

svn commit: r275957 - stable/10/sys/kern

2014-12-20 Thread Konstantin Belousov
Author: kib Date: Sat Dec 20 15:49:12 2014 New Revision: 275957 URL: https://svnweb.freebsd.org/changeset/base/275957 Log: MFC r275744: Only sleep interruptible while waiting for suspension end when filesystem specified VFCF_SBDRY flag, i.e. for NFS. Modified:

svn commit: r275958 - head/usr.sbin/ctladm

2014-12-20 Thread Alexander Motin
Author: mav Date: Sat Dec 20 16:13:31 2014 New Revision: 275958 URL: https://svnweb.freebsd.org/changeset/base/275958 Log: Report XML parsing errors. MFC after:3 days Modified: head/usr.sbin/ctladm/ctladm.c Modified: head/usr.sbin/ctladm/ctladm.c

Re: svn commit: r275952 - head/sys/amd64/vmm/io

2014-12-20 Thread Mark Linimon
On Sat, Dec 20, 2014 at 04:57:46AM +, Neel Natu wrote: Various 8259 device model improvements: While I am glad to see this particular commit ... ... I have to say that I am depressed seeing the string 8259 in 2014. That chip was a hack in its time, which was a long time ago. (For those

svn commit: r275959 - in head: sys/cam/ctl usr.sbin/ctladm

2014-12-20 Thread Alexander Motin
Author: mav Date: Sat Dec 20 16:39:56 2014 New Revision: 275959 URL: https://svnweb.freebsd.org/changeset/base/275959 Log: Report initiator id in portlist XML in more formalized way. MFC after:3 days Modified: head/sys/cam/ctl/ctl.c head/usr.sbin/ctladm/ctladm.c Modified:

svn commit: r275960 - head/sys/dev/cpuctl

2014-12-20 Thread Konstantin Belousov
Author: kib Date: Sat Dec 20 16:40:49 2014 New Revision: 275960 URL: https://svnweb.freebsd.org/changeset/base/275960 Log: Increase allowed size of the microcode blob to 32KB. Some Intel CPU's updates weight 28KB. PR: 179523 MFC after:1 week Modified:

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

2014-12-20 Thread Andrew Turner
Author: andrew Date: Sat Dec 20 18:15:23 2014 New Revision: 275961 URL: https://svnweb.freebsd.org/changeset/base/275961 Log: Clean up to use the standard style of options \t and device\t\t Modified: head/sys/arm/conf/IMX6 Modified: head/sys/arm/conf/IMX6

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

2014-12-20 Thread Andrew Turner
Author: andrew Date: Sat Dec 20 18:42:20 2014 New Revision: 275962 URL: https://svnweb.freebsd.org/changeset/base/275962 Log: Clean up the style of the CUBIEBOARD2 config file Modified: head/sys/arm/conf/CUBIEBOARD2 Modified: head/sys/arm/conf/CUBIEBOARD2

svn commit: r275963 - in head/sys: arm/broadcom/bcm2835 boot/fdt/dts/arm

2014-12-20 Thread Rui Paulo
Author: rpaulo Date: Sat Dec 20 19:15:10 2014 New Revision: 275963 URL: https://svnweb.freebsd.org/changeset/base/275963 Log: Driver for CPU frequency/voltage control on the Raspberry Pi. Differential Revision:https://reviews.freebsd.org/D1025 Submitted by: Daisuke Aoyama

svn commit: r275964 - head/sys/net80211

2014-12-20 Thread Adrian Chadd
Author: adrian Date: Sat Dec 20 19:41:31 2014 New Revision: 275964 URL: https://svnweb.freebsd.org/changeset/base/275964 Log: Document where in scan_task the scan state can change, and potentially deal/log a warning if the scan flags change during one of those race windows. It's highly

svn commit: r275965 - head/sys/amd64/vmm/intel

2014-12-20 Thread Neel Natu
Author: neel Date: Sat Dec 20 19:47:51 2014 New Revision: 275965 URL: https://svnweb.freebsd.org/changeset/base/275965 Log: Emulate writes to the IA32_MISC_ENABLE MSR. PR: 196093 Reported by: db Tested by:db Discussed with: grehan MFC after:1 week

svn commit: r275966 - head/sys/dev/wpi

2014-12-20 Thread Adrian Chadd
Author: adrian Date: Sat Dec 20 20:07:48 2014 New Revision: 275966 URL: https://svnweb.freebsd.org/changeset/base/275966 Log: Remove some hard-coded IE assembly over to use net80211 methods. PR: kern/196069 Submitted by: Andriy Voskoboinyk s3er...@gmail.com Modified:

svn commit: r275967 - head/sys/netinet

2014-12-20 Thread Michael Tuexen
Author: tuexen Date: Sat Dec 20 21:17:28 2014 New Revision: 275967 URL: https://svnweb.freebsd.org/changeset/base/275967 Log: Fix and harmonize the validation of PR-SCTP policies. Reported by: Coverity CID: 1232044 MFC after:3 days Modified:

svn commit: r275968 - head/sys/kern

2014-12-20 Thread Gleb Smirnoff
Author: glebius Date: Sat Dec 20 22:12:04 2014 New Revision: 275968 URL: https://svnweb.freebsd.org/changeset/base/275968 Log: Revert r274494, r274712, r275955 and provide extra comments explaining why there could appear a zero-sized mbufs in socket buffers. A proper fix would be to

svn commit: r275969 - svnadmin/conf

2014-12-20 Thread Cy Schubert
Author: cy Date: Sat Dec 20 22:51:01 2014 New Revision: 275969 URL: https://svnweb.freebsd.org/changeset/base/275969 Log: Temporarily remove size limit restriction in order to import ntp-4.2.8 into the vendor branch. Modified: svnadmin/conf/sizelimit.conf Modified:

svn commit: r275971 - vendor/ntp/4.2.8

2014-12-20 Thread Cy Schubert
Author: cy Date: Sat Dec 20 22:56:06 2014 New Revision: 275971 URL: https://svnweb.freebsd.org/changeset/base/275971 Log: Tag ntp-4.2.8. Reviewed by: roberto Security: VUXML: 4033d826-87dd-11e4-9079-3c970e169bc2 Security: http://www.kb.cert.org/vuls/id/852879 Security:

svn commit: r275972 - svnadmin/conf

2014-12-20 Thread Cy Schubert
Author: cy Date: Sat Dec 20 22:58:43 2014 New Revision: 275972 URL: https://svnweb.freebsd.org/changeset/base/275972 Log: ntp-4.2.8 vendor import complete. Remove sizelimit restriction. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

Re: svn commit: r275768 - in head/usr.sbin: . vigr

2014-12-20 Thread Baptiste Daroussin
On Sat, Dec 20, 2014 at 04:11:41PM +0100, Dag-Erling Smørgrav wrote: Baptiste Daroussin b...@freebsd.org writes: I wonder why you chose making a script instead of using libutil? 50 lines of shell vs a few hundred lines of C... Sure I was not thinking of rewriting a full version but rather

svn commit: r275973 - head/sys/net80211

2014-12-20 Thread Adrian Chadd
Author: adrian Date: Sat Dec 20 23:41:37 2014 New Revision: 275973 URL: https://svnweb.freebsd.org/changeset/base/275973 Log: Add some more debugging to the scan cancel methods - I'd like to see what situations would cause the scan cancel's to not complete. Modified:

svn commit: r275974 - head/sys/net80211

2014-12-20 Thread Adrian Chadd
Author: adrian Date: Sun Dec 21 01:15:55 2014 New Revision: 275974 URL: https://svnweb.freebsd.org/changeset/base/275974 Log: Add more debugging to try and track down this scan hang nonsense. Modified: head/sys/net80211/ieee80211_scan.c Modified: head/sys/net80211/ieee80211_scan.c

svn commit: r275975 - stable/10/sys/dev/iir

2014-12-20 Thread Steven Hartland
Author: smh Date: Sun Dec 21 01:39:21 2014 New Revision: 275975 URL: https://svnweb.freebsd.org/changeset/base/275975 Log: MFC: r274487 Lock iir(4) and mark it MPSAFE. Sponsored by: Multiplay Modified: stable/10/sys/dev/iir/iir.c stable/10/sys/dev/iir/iir.h

svn commit: r275976 - in stable/10/sys: dev/mrsas modules/mrsas modules/mrsas/mrsas_linux

2014-12-20 Thread Steven Hartland
Author: smh Date: Sun Dec 21 02:35:22 2014 New Revision: 275976 URL: https://svnweb.freebsd.org/changeset/base/275976 Log: MFC r272735: Support upto 256VD. MFC r272737: Support 32-bit linux binaries on FreeBSD 64bit. MFC r272738: Fix the minor svn add issue. MFC r272739:

svn commit: r275977 - stable/10/sys/dev/tws

2014-12-20 Thread Steven Hartland
Author: smh Date: Sun Dec 21 02:39:10 2014 New Revision: 275977 URL: https://svnweb.freebsd.org/changeset/base/275977 Log: MFC r272000: Switch from timeout(9) to callout(9) Sponsored by: Multiplay Modified: stable/10/sys/dev/tws/tws.c stable/10/sys/dev/tws/tws.h

svn commit: r275978 - stable/10/sys/dev/firewire

2014-12-20 Thread Steven Hartland
Author: smh Date: Sun Dec 21 02:47:38 2014 New Revision: 275978 URL: https://svnweb.freebsd.org/changeset/base/275978 Log: MFC r266772: Various cleanups and fixes including switching from timeout to callout Sponsored by: Multiplay Modified: stable/10/sys/dev/firewire/sbp.c Directory

svn commit: r275979 - stable/10/sys/dev/hpt27xx

2014-12-20 Thread Steven Hartland
Author: smh Date: Sun Dec 21 02:52:40 2014 New Revision: 275979 URL: https://svnweb.freebsd.org/changeset/base/275979 Log: MFC r267290: Make the hpt27xx(4) driver MPSAFE Sponsored by: Multiplay Modified: stable/10/sys/dev/hpt27xx/hpt27xx_os_bsd.c

svn commit: r275980 - stable/10/sys/dev/hptnr

2014-12-20 Thread Steven Hartland
Author: smh Date: Sun Dec 21 02:57:03 2014 New Revision: 275980 URL: https://svnweb.freebsd.org/changeset/base/275980 Log: MFC r269613: Various fixes to hptnr(4) Sponsored by: Multiplay Modified: stable/10/sys/dev/hptnr/hptnr_os_bsd.c stable/10/sys/dev/hptnr/hptnr_osm_bsd.c

svn commit: r275981 - stable/10/sys/dev/hptrr

2014-12-20 Thread Steven Hartland
Author: smh Date: Sun Dec 21 03:00:44 2014 New Revision: 275981 URL: https://svnweb.freebsd.org/changeset/base/275981 Log: MFC r269615: Various fixes to hptrr(4) Sponsored by: Multiplay Modified: stable/10/sys/dev/hptrr/hptrr_os_bsd.c stable/10/sys/dev/hptrr/hptrr_osm_bsd.c

svn commit: r275982 - in stable/10/sys: cam dev/advansys dev/aha dev/ahb dev/ahci dev/aic dev/arcmsr dev/asr dev/buslogic dev/ciss dev/dpt dev/firewire dev/glxiic dev/hpt27xx dev/hptnr dev/hptrr de...

2014-12-20 Thread Steven Hartland
Author: smh Date: Sun Dec 21 03:06:11 2014 New Revision: 275982 URL: https://svnweb.freebsd.org/changeset/base/275982 Log: MFC r274819: Prevent overflow issues in timeout processing MFC r274852: Fix build with asr driver Sponsored by: Multiplay Modified:

svn commit: r275983 - head/sys/net80211

2014-12-20 Thread Adrian Chadd
Author: adrian Date: Sun Dec 21 04:48:54 2014 New Revision: 275983 URL: https://svnweb.freebsd.org/changeset/base/275983 Log: Break out the unicast/multicast TIM bit setting into set something that indicates we have traffic bit and a do something if we have traffic bit. I'm going to be

svn commit: r275984 - head/sys/net80211

2014-12-20 Thread Adrian Chadd
Author: adrian Date: Sun Dec 21 04:58:45 2014 New Revision: 275984 URL: https://svnweb.freebsd.org/changeset/base/275984 Log: Update ieee80211_sta_tim_notify() to do double duty - handle STA sleep to awake transition as well as handle waking up a VAP in STA powersave mode if it's in bgscan.

svn commit: r275985 - in head/sys: i386/xen kern netinet sys

2014-12-20 Thread Warner Losh
Author: imp Date: Sun Dec 21 05:07:11 2014 New Revision: 275985 URL: https://svnweb.freebsd.org/changeset/base/275985 Log: Where appropriate, use the modern terms for the one true time base (UTC) rather than the archaic (GMT) in comments. Except where the comments are making fun of people

svn commit: r275986 - in stable/10: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2014-12-20 Thread Dmitry Chagin
Author: dchagin Date: Sun Dec 21 07:58:28 2014 New Revision: 275986 URL: https://svnweb.freebsd.org/changeset/base/275986 Log: MFC r274462: Add the ppoll() system call. Modified: stable/10/lib/libc/sys/Makefile.inc stable/10/lib/libc/sys/Symbol.map stable/10/lib/libc/sys/poll.2