svn commit: r285999 - head/sys/netpfil/pf

2015-07-28 Thread Kristof Provost
Author: kp Date: Wed Jul 29 06:35:36 2015 New Revision: 285999 URL: https://svnweb.freebsd.org/changeset/base/285999 Log: pf: Always initialise pf_fragment.fr_flags When we allocate the struct pf_fragment in pf_fillup_fragment() we forgot to initialise the fr_flags field. As a result we s

svn commit: r285998 - head/sys/compat/cloudabi

2015-07-28 Thread Ed Schouten
Author: ed Date: Wed Jul 29 06:31:44 2015 New Revision: 285998 URL: https://svnweb.freebsd.org/changeset/base/285998 Log: Implement CloudABI's readdir(). Summary: CloudABI's readdir() system call could be thought of as a mixture between FreeBSD's getdents(2) and pread(). Instead of usin

svn commit: r285997 - head/usr.sbin/pw

2015-07-28 Thread Baptiste Daroussin
Author: bapt Date: Wed Jul 29 06:23:06 2015 New Revision: 285997 URL: https://svnweb.freebsd.org/changeset/base/285997 Log: Actually add the new code Added: head/usr.sbin/pw/strtounum.c (contents, props changed) Added: head/usr.sbin/pw/strtounum.c ==

svn commit: r285996 - head/usr.sbin/pw

2015-07-28 Thread Baptiste Daroussin
Author: bapt Date: Wed Jul 29 06:22:41 2015 New Revision: 285996 URL: https://svnweb.freebsd.org/changeset/base/285996 Log: Create a strtounum function using the same API as strtonum This function returns uintmax_t Use this function to convert to gid_t/uid_t Modified: head/usr.sbin/pw/

Re: svn commit: r285993 - in head/sys: kern sys ufs/ffs vm

2015-07-28 Thread Conrad Meyer
On Tue, Jul 28, 2015 at 7:26 PM, Jeff Roberson wrote: > Author: jeff > Date: Wed Jul 29 02:26:57 2015 > New Revision: 285993 > URL: https://svnweb.freebsd.org/changeset/base/285993 > > Log: >- Make 'struct buf *buf' private to vfs_bio.c. Having a global variable > 'buf' is inconvenient a

svn commit: r285995 - head/sys/fs/ext2fs

2015-07-28 Thread Jeff Roberson
Author: jeff Date: Wed Jul 29 03:06:08 2015 New Revision: 285995 URL: https://svnweb.freebsd.org/changeset/base/285995 Log: - Remove some dead code copied from ffs. Modified: head/sys/fs/ext2fs/ext2_subr.c Modified: head/sys/fs/ext2fs/ext2_subr.c

svn commit: r285994 - in head: sbin/sysctl share/man/man9

2015-07-28 Thread Warner Losh
Author: imp Date: Wed Jul 29 02:34:25 2015 New Revision: 285994 URL: https://svnweb.freebsd.org/changeset/base/285994 Log: Teach sysctl about the new optional suffix after IK to specify precision. Update input as well. Add IK to the manual (it was missing completely). Differential Revis

svn commit: r285993 - in head/sys: kern sys ufs/ffs vm

2015-07-28 Thread Jeff Roberson
Author: jeff Date: Wed Jul 29 02:26:57 2015 New Revision: 285993 URL: https://svnweb.freebsd.org/changeset/base/285993 Log: - Make 'struct buf *buf' private to vfs_bio.c. Having a global variable 'buf' is inconvenient and has lead me to some irritating to discover bugs over the years

Re: svn commit: r285926 - in head: libexec/ypxfr usr.bin/ypcat usr.bin/ypmatch usr.bin/ypwhich usr.sbin/yp_mkdb usr.sbin/yppush usr.sbin/ypserv

2015-07-28 Thread Marcelo Araujo
Hello Ed, Fixed, thank you very much. https://svnweb.freebsd.org/base?view=revision&revision=285992 Best, 2015-07-28 15:05 GMT+08:00 Ed Schouten : > Hi Marcelo, > > Thanks for working on this! > > 2015-07-28 4:32 GMT+02:00 Marcelo Araujo : > > -struct ypalias { > > +const struct ypalias { > >

svn commit: r285992 - in head/usr.bin: ypcat ypmatch ypwhich

2015-07-28 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Wed Jul 29 02:21:35 2015 New Revision: 285992 URL: https://svnweb.freebsd.org/changeset/base/285992 Log: Compilers will complain the usage of obsolescent variable declarations. Also it will fix the build problem with sparc64. Submitted by: ed@ Modif

Re: svn commit: r285985 - in head/usr.sbin/pw: . tests

2015-07-28 Thread Bruce Evans
On Wed, 29 Jul 2015, Baptiste Daroussin wrote: On Wed, Jul 29, 2015 at 08:52:52AM +1000, Bruce Evans wrote: On Tue, 28 Jul 2015, Baptiste Daroussin wrote: Log: Check uid/gid used when creating a user/group are not larger than UID_MAX/GID_MAX PR:173977 Reported by: nv...@gmx

Re: svn commit: r284598 - head/share/mk

2015-07-28 Thread Bryan Drewery
On 6/19/15 7:56 AM, Simon J. Gerraty wrote: > Author: sjg > Date: Fri Jun 19 14:56:24 2015 > New Revision: 284598 > URL: https://svnweb.freebsd.org/changeset/base/284598 > > Log: > Move include of make.conf back to its old position. > > This means moving include of local.sys.mk and src.sys.

svn commit: r285991 - in releng/10.2/sys/dev: pccbb pci

2015-07-28 Thread Glen Barber
Author: gjb Date: Wed Jul 29 00:57:54 2015 New Revision: 285991 URL: https://svnweb.freebsd.org/changeset/base/285991 Log: MFS r285863 (jhb): Partially revert r284034. In particular, revert the final change in this MFC (281874). It broke suspend and resume on several Thinkpads (though

Re: svn commit: r285985 - in head/usr.sbin/pw: . tests

2015-07-28 Thread Baptiste Daroussin
On Wed, Jul 29, 2015 at 08:52:52AM +1000, Bruce Evans wrote: > On Tue, 28 Jul 2015, Baptiste Daroussin wrote: > > > Log: > > Check uid/gid used when creating a user/group are not larger than > > UID_MAX/GID_MAX > > > > PR:173977 > > Reported by: nv...@gmx.com > > This is

Re: svn commit: r285985 - in head/usr.sbin/pw: . tests

2015-07-28 Thread Bruce Evans
On Tue, 28 Jul 2015, Baptiste Daroussin wrote: Log: Check uid/gid used when creating a user/group are not larger than UID_MAX/GID_MAX PR:173977 Reported by: nv...@gmx.com This is broken in a different way than before. Modified: head/usr.sbin/pw/pw.c ===

svn commit: r285990 - head/lib/libc/sys

2015-07-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 28 22:48:58 2015 New Revision: 285990 URL: https://svnweb.freebsd.org/changeset/base/285990 Log: unlink(2): Note the possibility for ENOSPC to be returned on ZFS. PR: 154930 Modified: head/lib/libc/sys/unlink.2 Modified: head/lib/libc/sys/unlink.

Re: svn commit: r285782 - head/usr.bin/netstat

2015-07-28 Thread Mark Johnston
On Tue, Jul 28, 2015 at 05:31:06PM +0300, Gleb Smirnoff wrote: > Mark, Jason, > > On Tue, Jul 21, 2015 at 11:57:39PM +, Mark Johnston wrote: > M> Fix counter reads on platforms where sizeof(uint64_t) != sizeof(uint64_t > *). > M> > M> In the kernel, structs such as tcpstat are manipu

Re: svn commit: r285125 - in head/sys: kern sys

2015-07-28 Thread Jean-Sébastien Pédron
On 23.07.2015 23:36, Adrian Chadd wrote: > I've had no warnings/panics after applying this patch. Can we get it > into -head plz? I'm using this patch for three days and never got the panic again. -- Jean-Sébastien Pédron signature.asc Description: OpenPGP digital signature

svn commit: r285989 - head/usr.sbin/pw

2015-07-28 Thread Baptiste Daroussin
Author: bapt Date: Tue Jul 28 21:49:38 2015 New Revision: 285989 URL: https://svnweb.freebsd.org/changeset/base/285989 Log: Reject usermod and userdel if the user concerned is not on the user database supposed to be manipulated This prevent pw usermod creating a new local user when reques

svn commit: r285988 - head/sys/dev/drm2/i915

2015-07-28 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Jul 28 21:47:37 2015 New Revision: 285988 URL: https://svnweb.freebsd.org/changeset/base/285988 Log: drm/i915: Sort functions in i915_gem.c to match Linux 3.8's ordering While here, reduce the style diff with Linux. There is no functional change. The goal is

svn commit: r285987 - releng/10.1/sys/conf

2015-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 28 21:43:23 2015 New Revision: 285987 URL: https://svnweb.freebsd.org/changeset/base/285987 Log: Correct patchlevel. Noticed by: Piotr Kubaj Approved by: so Modified: releng/10.1/sys/conf/newvers.sh Modified: releng/10.1/sys/conf/newvers.sh ===

Re: svn commit: r284356 - head/usr.sbin/crunch/crunchgen

2015-07-28 Thread Bryan Drewery
On 7/28/15 2:20 PM, Bryan Drewery wrote: > On 6/13/15 3:01 PM, Adrian Chadd wrote: >> > Author: adrian >> > Date: Sat Jun 13 22:01:21 2015 >> > New Revision: 284356 >> > URL: https://svnweb.freebsd.org/changeset/base/284356 >> > >> > Log: >> > Fix up crunchgen binary generation to work with exte

svn commit: r285986 - head/usr.sbin/crunch/crunchgen

2015-07-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 28 21:39:58 2015 New Revision: 285986 URL: https://svnweb.freebsd.org/changeset/base/285986 Log: Fix rescue build after r284356 with STRIP= by using proper STRIPBIN per build(7). This was causing the following error: rescue sh: rescue: not found

Re: svn commit: r284356 - head/usr.sbin/crunch/crunchgen

2015-07-28 Thread Bryan Drewery
On 6/13/15 3:01 PM, Adrian Chadd wrote: > Author: adrian > Date: Sat Jun 13 22:01:21 2015 > New Revision: 284356 > URL: https://svnweb.freebsd.org/changeset/base/284356 > > Log: > Fix up crunchgen binary generation to work with external cross-build > tools. > > * Allow STRIP to be overrid

svn commit: r285985 - in head/usr.sbin/pw: . tests

2015-07-28 Thread Baptiste Daroussin
Author: bapt Date: Tue Jul 28 21:10:58 2015 New Revision: 285985 URL: https://svnweb.freebsd.org/changeset/base/285985 Log: Check uid/gid used when creating a user/group are not larger than UID_MAX/GID_MAX PR: 173977 Reported by: nv...@gmx.com Added: head/usr.sbin/pw/tests/

svn commit: r285984 - head/usr.sbin/pw

2015-07-28 Thread Baptiste Daroussin
Author: bapt Date: Tue Jul 28 20:52:10 2015 New Revision: 285984 URL: https://svnweb.freebsd.org/changeset/base/285984 Log: Fix wrong warning printed after changing or updating NIS users PR: 37672 Submitted by: chris+free...@chrullrich.de Modified: head/usr.sbin/pw/pw_user.c

svn commit: r285983 - releng/10.2/release/doc/share/xml

2015-07-28 Thread Glen Barber
Author: gjb Date: Tue Jul 28 20:42:36 2015 New Revision: 285983 URL: https://svnweb.freebsd.org/changeset/base/285983 Log: Document SA-15:14 through SA-15:16. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: releng/10.2/release/doc/share/xml/security.xml Modi

svn commit: r285982 - in stable: 10/release/doc/share/xml 8/release/doc/share/xml 9/release/doc/share/xml

2015-07-28 Thread Glen Barber
Author: gjb Date: Tue Jul 28 20:38:52 2015 New Revision: 285982 URL: https://svnweb.freebsd.org/changeset/base/285982 Log: Document SA-15:14 through SA-15:17. Sponsored by: The FreeBSD Foundation Modified: stable/9/release/doc/share/xml/security.xml Changes in other areas also in this r

svn commit: r285982 - in stable: 10/release/doc/share/xml 8/release/doc/share/xml 9/release/doc/share/xml

2015-07-28 Thread Glen Barber
Author: gjb Date: Tue Jul 28 20:38:52 2015 New Revision: 285982 URL: https://svnweb.freebsd.org/changeset/base/285982 Log: Document SA-15:14 through SA-15:17. Sponsored by: The FreeBSD Foundation Modified: stable/10/release/doc/share/xml/security.xml Changes in other areas also in this

svn commit: r285982 - in stable: 10/release/doc/share/xml 8/release/doc/share/xml 9/release/doc/share/xml

2015-07-28 Thread Glen Barber
Author: gjb Date: Tue Jul 28 20:38:52 2015 New Revision: 285982 URL: https://svnweb.freebsd.org/changeset/base/285982 Log: Document SA-15:14 through SA-15:17. Sponsored by: The FreeBSD Foundation Modified: stable/8/release/doc/share/xml/security.xml Changes in other areas also in this r

svn commit: r285981 - head/sys/kern

2015-07-28 Thread Jeff Roberson
Author: jeff Date: Tue Jul 28 20:24:09 2015 New Revision: 285981 URL: https://svnweb.freebsd.org/changeset/base/285981 Log: - Eliminate the EMPTYKVA queue. It served as a cache of KVA allocations attached to bufs to avoid the overhead of the vm. This purposes is now better served by

svn commit: r285980 - in releng: 8.4 8.4/contrib/bind9/lib/dns 8.4/crypto/openssh 8.4/sys/conf 8.4/sys/netinet 9.3 9.3/contrib/bind9/lib/dns 9.3/crypto/openssh 9.3/sys/conf 9.3/sys/netinet

2015-07-28 Thread Xin LI
THAT FreeBSD 8. debugging tools present in HEAD were left in place because sun4v support still needs work to become production ready. +20150728: p35 FreeBSD-SA-15:15.tcp + FreeBSD-SA-15:16.openssh + FreeBSD-SA-15:17.bind

svn commit: r285979 - in releng/10.1: . crypto/openssh sys/netinet usr.bin/patch

2015-07-28 Thread Xin LI
@@ from older versions of FreeBSD, try WITH stable/10, and then rebuild without this option. The bootstrap process from older version of current is a bit fragile. +20150728: p16 FreeBSD-SA-15:14.bsdpatch + FreeBSD-SA-15:15.tcp + FreeBSD-SA-15:16

svn commit: r285977 - in stable: 8/contrib/bind9/lib/dns 8/crypto/openssh 8/sys/netinet 9/contrib/bind9/lib/dns 9/crypto/openssh 9/sys/netinet

2015-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 28 19:58:54 2015 New Revision: 285977 URL: https://svnweb.freebsd.org/changeset/base/285977 Log: Fix resource exhaustion in TCP reassembly. [SA-15:15] Fix OpenSSH multiple vulnerabilities. [SA-15:16] Fix BIND remote denial of service vulnerability. [SA-15:

svn commit: r285978 - in releng/10.2: crypto/openssh sys/netinet usr.bin/patch

2015-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 28 19:59:04 2015 New Revision: 285978 URL: https://svnweb.freebsd.org/changeset/base/285978 Log: Fix patch(1) shell injection vulnerability. [SA-15:14] Fix resource exhaustion in TCP reassembly. [SA-15:15] Fix OpenSSH multiple vulnerabilities. [SA-15:16]

svn commit: r285975 - head/crypto/openssh

2015-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 28 19:58:38 2015 New Revision: 285975 URL: https://svnweb.freebsd.org/changeset/base/285975 Log: Fix multiple OpenSSH vulnerabilities. Security: CVE-2014-2653 Security: CVE-2015-5600 Security: FreeBSD-SA-15:16.openssh Modified: head/crypto/op

svn commit: r285976 - in stable/10: crypto/openssh sys/netinet usr.bin/patch

2015-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 28 19:58:44 2015 New Revision: 285976 URL: https://svnweb.freebsd.org/changeset/base/285976 Log: Fix patch(1) shell injection vulnerability. [SA-15:14] Fix resource exhaustion in TCP reassembly. [SA-15:15] Fix OpenSSH multiple vulnerabilities. [SA-15:16]

svn commit: r285977 - in stable: 8/contrib/bind9/lib/dns 8/crypto/openssh 8/sys/netinet 9/contrib/bind9/lib/dns 9/crypto/openssh 9/sys/netinet

2015-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 28 19:58:54 2015 New Revision: 285977 URL: https://svnweb.freebsd.org/changeset/base/285977 Log: Fix resource exhaustion in TCP reassembly. [SA-15:15] Fix OpenSSH multiple vulnerabilities. [SA-15:16] Fix BIND remote denial of service vulnerability. [SA-15:

svn commit: r285974 - head/usr.bin/patch

2015-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 28 19:58:36 2015 New Revision: 285974 URL: https://svnweb.freebsd.org/changeset/base/285974 Log: Fix shell injection vulnerability in patch(1) and drop SCCS support by replacing system() with execve(). Future revisions may remove the functionality completely.

svn commit: r285973 - head/sys/dev/bxe

2015-07-28 Thread David C Somayajulu
Author: davidcs Date: Tue Jul 28 19:15:44 2015 New Revision: 285973 URL: https://svnweb.freebsd.org/changeset/base/285973 Log: - Avoid lock contention in the if_transmit callback by using trylock and enqueueing the frames when it fails. This way there is some latency removed from the trans

svn commit: r285972 - in head: contrib/libarchive/libarchive contrib/libarchive/libarchive/test lib/libarchive/test

2015-07-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 28 18:41:28 2015 New Revision: 285972 URL: https://svnweb.freebsd.org/changeset/base/285972 Log: MFV r285970: Apply upstream changeset bf4f6ec64e: Fix issue 356: properly skip a sparse file entry in a tar file. PR: 201506 MFC after:

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

2015-07-28 Thread Conrad E. Meyer
Author: cem Date: Tue Jul 28 18:37:23 2015 New Revision: 285971 URL: https://svnweb.freebsd.org/changeset/base/285971 Log: MFC r285483: pipe_direct_write: Fix mismatched pipelock/unlock If a signal is caught in pipelock, causing it to fail, pipe_direct_write should not try to pipeunlock.

svn commit: r285970 - in vendor/libarchive/dist: . libarchive libarchive/test

2015-07-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 28 17:48:34 2015 New Revision: 285970 URL: https://svnweb.freebsd.org/changeset/base/285970 Log: Apply upstream changeset bf4f6ec64e: Fix issue 356: properly skip a sparse file entry in a tar file. Added: vendor/libarchive/dist/libarchive/test/test_read_fo

svn commit: r285969 - in head/contrib/libarchive: . libarchive

2015-07-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 28 17:32:14 2015 New Revision: 285969 URL: https://svnweb.freebsd.org/changeset/base/285969 Log: Mark vendor r285968 merged for r280870. Modified: Directory Properties: head/contrib/libarchive/ (props changed) head/contrib/libarchive/libarchive/ (props cha

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

2015-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 28 17:12:41 2015 New Revision: 285967 URL: https://svnweb.freebsd.org/changeset/base/285967 Log: MFC r284956: Do not calculate the stack's bottom address twice. Modified: stable/10/sys/kern/kern_exec.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r285968 - vendor/libarchive/dist/libarchive

2015-07-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 28 17:20:35 2015 New Revision: 285968 URL: https://svnweb.freebsd.org/changeset/base/285968 Log: Apply upstream changeset fa9e61: Fix --one-file-system to include the directory encountered rather than excluding it. Modified: vendor/libarchive/dist/libarch

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

2015-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 28 17:08:32 2015 New Revision: 285966 URL: https://svnweb.freebsd.org/changeset/base/285966 Log: MFC r285039: Remove asserts which might reference freed memory. Modified: stable/10/sys/kern/vfs_mount.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r285965 - stable/10/share/man/man9

2015-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 28 17:06:13 2015 New Revision: 285965 URL: https://svnweb.freebsd.org/changeset/base/285965 Log: MFC r285173: Document the locking context for the directly dispatched callouts. Cross-reference timeout(9). Modified: stable/10/share/man/man9/locking.9 Directory Pro

svn commit: r285964 - releng/10.2/sys/kern

2015-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 28 17:00:03 2015 New Revision: 285964 URL: https://svnweb.freebsd.org/changeset/base/285964 Log: MFC r285134 (by mjg): fd: de-k&r-ify functions + some whitespace fixes MFC r285269: Handle copyout for the fcntl(F_OGETLK) using oflock structure. Approved by:

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

2015-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 28 16:39:36 2015 New Revision: 285963 URL: https://svnweb.freebsd.org/changeset/base/285963 Log: MFC r285134 (by mjg): fd: de-k&r-ify functions + some whitespace fixes MFC r285269: Handle copyout for the fcntl(F_OGETLK) using oflock structure. Modified: stab

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-28 Thread Alexey Dokuchaev
On Sat, Jul 25, 2015 at 10:30:55AM -0700, John-Mark Gurney wrote: > Alexey Dokuchaev wrote this message on Sat, Jul 25, 2015 at 14:36 +: > > On Fri, Jul 24, 2015 at 07:59:35AM +0100, Mark R V Murray wrote: > > > [...] > > > > Heck, piping in mic data to /dev/random is a good way to seed the > >

Re: svn commit: r285782 - head/usr.bin/netstat

2015-07-28 Thread Jason Unovitch
On Jul 28, 2015 10:31 AM, "Gleb Smirnoff" wrote: > > Mark, Jason, > > On Tue, Jul 21, 2015 at 11:57:39PM +, Mark Johnston wrote: > M> Fix counter reads on platforms where sizeof(uint64_t) != sizeof(uint64_t *). > M> > M> In the kernel, structs such as tcpstat are manipulated as an array

svn commit: r285962 - releng/10.2/release/doc/en_US.ISO8859-1/relnotes

2015-07-28 Thread Glen Barber
Author: gjb Date: Tue Jul 28 15:05:19 2015 New Revision: 285962 URL: https://svnweb.freebsd.org/changeset/base/285962 Log: Fix the description for r274486. Submitted by: glebius Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: releng/10.2/release/doc/en_US.I

svn commit: r285961 - stable/10/release/doc/en_US.ISO8859-1/relnotes

2015-07-28 Thread Glen Barber
Author: gjb Date: Tue Jul 28 15:03:56 2015 New Revision: 285961 URL: https://svnweb.freebsd.org/changeset/base/285961 Log: Fix the description for r274486. Submitted by: glebius Sponsored by: The FreeBSD Foundation Modified: stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml M

svn commit: r285960 - head/sys/netpfil/pf

2015-07-28 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Jul 28 14:59:29 2015 New Revision: 285960 URL: https://svnweb.freebsd.org/changeset/base/285960 Log: Simplify logic added in r285945 as suggested by glebius Approved by: glebius MFC after:3 days Sponsored by: Netgate Modified: head/sys/n

Re: svn commit: r285945 - head/sys/netpfil/pf

2015-07-28 Thread Gleb Smirnoff
Renato, On Tue, Jul 28, 2015 at 10:18:57AM -0300, Renato Botelho wrote: R> Thanks for pointing this out. Do you approve the following patch? R> R> Index: sys/netpfil/pf/pf.c R> === R> --- sys/netpfil/pf/pf.c (revision 285945)

Re: svn commit: r285782 - head/usr.bin/netstat

2015-07-28 Thread Gleb Smirnoff
Mark, Jason, On Tue, Jul 21, 2015 at 11:57:39PM +, Mark Johnston wrote: M> Fix counter reads on platforms where sizeof(uint64_t) != sizeof(uint64_t *). M> M> In the kernel, structs such as tcpstat are manipulated as an array of M> counter_u64_t (uint64_t *), but made visible to use

svn commit: r285959 - head/sys/contrib/alpine-hal

2015-07-28 Thread Zbigniew Bodek
Author: zbb Date: Tue Jul 28 14:20:33 2015 New Revision: 285959 URL: https://svnweb.freebsd.org/changeset/base/285959 Log: Import Annapurna Labs Alpine HAL to sys/contrib/ Import from vendor-sys/alpine-hal/2.7 SVN rev.: 285432 HAL version: 2.7 Obtained from: Semihalf Sponsored b

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

2015-07-28 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 28 13:48:19 2015 New Revision: 285958 URL: https://svnweb.freebsd.org/changeset/base/285958 Log: Fix the r272906 description. Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml

Re: svn commit: r285945 - head/sys/netpfil/pf

2015-07-28 Thread Renato Botelho
> On Jul 28, 2015, at 08:20, Gleb Smirnoff wrote: > > Renato, > > On Tue, Jul 28, 2015 at 10:31:35AM +, Renato Botelho wrote: > R> Author: garga (ports committer) > R> Date: Tue Jul 28 10:31:34 2015 > R> New Revision: 285945 > R> URL: https://svnweb.freebsd.org/changeset/base/285945 > R> >

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

2015-07-28 Thread Zbigniew Bodek
Author: zbb Date: Tue Jul 28 13:16:08 2015 New Revision: 285957 URL: https://svnweb.freebsd.org/changeset/base/285957 Log: Limit ofw_cpu_early_foreach() to CPUs only On some platforms, the /cpus node contains cpu-to-cluster map which deffinitely is not a CPU node. Its presence was causi

svn commit: r285956 - releng/10.2/sys/boot/efi/libefi

2015-07-28 Thread Ed Maste
Author: emaste Date: Tue Jul 28 13:11:31 2015 New Revision: 285956 URL: https://svnweb.freebsd.org/changeset/base/285956 Log: MFS r285951: Avoid creating invalid UEFI device path The UEFI loader on the 10.1 release install disk (disc1) modifies an existing EFI_DEVICE_PATH_PROTOCOL instanc

svn commit: r285955 - head/contrib/llvm/tools/lldb/docs

2015-07-28 Thread Ed Maste
Author: emaste Date: Tue Jul 28 13:09:16 2015 New Revision: 285955 URL: https://svnweb.freebsd.org/changeset/base/285955 Log: Remove claim that the OS is Darwin from lldb(1) Reported by: bapt Modified: head/contrib/llvm/tools/lldb/docs/lldb.1 Modified: head/contrib/llvm/tools/lldb/docs

svn commit: r285954 - head/sys/compat/cloudabi

2015-07-28 Thread Ed Schouten
Author: ed Date: Tue Jul 28 12:57:19 2015 New Revision: 285954 URL: https://svnweb.freebsd.org/changeset/base/285954 Log: Implement file attribute modification system calls for CloudABI. CloudABI uses a system call interface to modify file attributes that is more similar to KPI's/FUSE, na

svn commit: r285953 - releng/10.2/usr.sbin/mfiutil

2015-07-28 Thread Ed Maste
Author: emaste Date: Tue Jul 28 12:52:22 2015 New Revision: 285953 URL: https://svnweb.freebsd.org/changeset/base/285953 Log: MFS r285950: mfiutil: increase buffer size to accommodate sprintf string PR: 201289 Approved by: re (gjb) Modified: releng/10.2/usr.sbin/mfiutil/mfi_

svn commit: r285952 - stable/10/usr.bin/clang/lldb

2015-07-28 Thread Ed Maste
Author: emaste Date: Tue Jul 28 12:46:37 2015 New Revision: 285952 URL: https://svnweb.freebsd.org/changeset/base/285952 Log: MFC r285248: lldb: use .PATH to find man page instead of symlinking it Modified: stable/10/usr.bin/clang/lldb/Makefile Directory Properties: stable/10/ (props chan

svn commit: r285951 - stable/10/sys/boot/efi/libefi

2015-07-28 Thread Ed Maste
Author: emaste Date: Tue Jul 28 12:45:08 2015 New Revision: 285951 URL: https://svnweb.freebsd.org/changeset/base/285951 Log: MFC r285246: Avoid creating invalid UEFI device path The UEFI loader on the 10.1 release install disk (disc1) modifies an existing EFI_DEVICE_PATH_PROTOCOL instanc

Re: svn commit: r285051 - head/sys/netinet

2015-07-28 Thread Gleb Smirnoff
Ermal, see comments inlined, On Thu, Jul 02, 2015 at 06:10:42PM +, Ermal Luçi wrote: E> Author: eri E> Date: Thu Jul 2 18:10:41 2015 E> New Revision: 285051 E> URL: https://svnweb.freebsd.org/changeset/base/285051 E> E> Log: E> Avoid doing multiple route lookups for the same destinati

svn commit: r285950 - stable/10/usr.sbin/mfiutil

2015-07-28 Thread Ed Maste
Author: emaste Date: Tue Jul 28 12:40:41 2015 New Revision: 285950 URL: https://svnweb.freebsd.org/changeset/base/285950 Log: MFC r201289: mfiutil: increase buffer size to accommodate sprintf string PR: 201289 Modified: stable/10/usr.sbin/mfiutil/mfi_foreign.c Directory Propert

svn commit: r285949 - stable/9/usr.sbin/mfiutil

2015-07-28 Thread Ed Maste
Author: emaste Date: Tue Jul 28 12:40:09 2015 New Revision: 285949 URL: https://svnweb.freebsd.org/changeset/base/285949 Log: MFC r285067: mfiutil: increase buffer size to accommodate sprintf string PR: 201289 Modified: stable/9/usr.sbin/mfiutil/mfi_foreign.c Directory Properti

svn commit: r285948 - in head/usr.sbin/pw: . tests

2015-07-28 Thread Baptiste Daroussin
Author: bapt Date: Tue Jul 28 12:20:57 2015 New Revision: 285948 URL: https://svnweb.freebsd.org/changeset/base/285948 Log: when -n is passed to any pw subcommand it is always expected to be considered as a name so do not try to convert it to an id if it is a numeric value PR:

svn commit: r285947 - head

2015-07-28 Thread Steven Hartland
etc/malloc.conf".) 20150728: - As ZFS requires a more kernel stack pages than is the default on some + As ZFS requires more kernel stack pages than is the default on some architectures e.g. i386, it now warns if KSTACK_PAGES is less than ZFS_MIN_KSTACK_PAGES (which is 4 at

Re: svn commit: r285945 - head/sys/netpfil/pf

2015-07-28 Thread Gleb Smirnoff
Renato, On Tue, Jul 28, 2015 at 10:31:35AM +, Renato Botelho wrote: R> Author: garga (ports committer) R> Date: Tue Jul 28 10:31:34 2015 R> New Revision: 285945 R> URL: https://svnweb.freebsd.org/changeset/base/285945 R> R> Log: R> Respect pf rule log option before log dropped packets wit

svn commit: r285946 - in head: . sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-07-28 Thread Steven Hartland
ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20150728: + As ZFS requires a more kernel stack pages than is the default on some + architectures e.g. i386, it now warns if KSTACK_PAGES is less than + ZFS_MIN_KSTACK_PAGES (which is 4 at the time of writing). + + P

svn commit: r285945 - head/sys/netpfil/pf

2015-07-28 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Jul 28 10:31:34 2015 New Revision: 285945 URL: https://svnweb.freebsd.org/changeset/base/285945 Log: Respect pf rule log option before log dropped packets with IP options or dangerous v6 headers Reviewed by: gnn, eri Approved by: gnn Obtaine

svn commit: r285944 - head/sys/netpfil/pf

2015-07-28 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 28 09:36:26 2015 New Revision: 285944 URL: https://svnweb.freebsd.org/changeset/base/285944 Log: Fix a typo in r280169. Of course we are interested in deleting nsn only if we have just created it and we were the last reference. Submitted by: dhartmei Modifie

svn commit: r285942 - in stable: 10/sys/dev/cxgb/ulp/iw_cxgb 7/sys/dev/cxgb/ulp/iw_cxgb 8/sys/dev/cxgb/ulp/iw_cxgb 9/sys/dev/cxgb/ulp/iw_cxgb

2015-07-28 Thread Dimitry Andric
Author: dim Date: Tue Jul 28 09:19:04 2015 New Revision: 285942 URL: https://svnweb.freebsd.org/changeset/base/285942 Log: MFC r285340: Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function. Detected by clang 3.7.0 with the warning: sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provide

svn commit: r285943 - stable/10/sys/netpfil/pf

2015-07-28 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 28 09:21:19 2015 New Revision: 285943 URL: https://svnweb.freebsd.org/changeset/base/285943 Log: Merge r283106: During module unload unlock rules before destroying UMA zones, which may sleep in uma_drain(). It is safe to unlock here, since we are already

svn commit: r285942 - in stable: 10/sys/dev/cxgb/ulp/iw_cxgb 7/sys/dev/cxgb/ulp/iw_cxgb 8/sys/dev/cxgb/ulp/iw_cxgb 9/sys/dev/cxgb/ulp/iw_cxgb

2015-07-28 Thread Dimitry Andric
Author: dim Date: Tue Jul 28 09:19:04 2015 New Revision: 285942 URL: https://svnweb.freebsd.org/changeset/base/285942 Log: MFC r285340: Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function. Detected by clang 3.7.0 with the warning: sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provide

svn commit: r285942 - in stable: 10/sys/dev/cxgb/ulp/iw_cxgb 7/sys/dev/cxgb/ulp/iw_cxgb 8/sys/dev/cxgb/ulp/iw_cxgb 9/sys/dev/cxgb/ulp/iw_cxgb

2015-07-28 Thread Dimitry Andric
Author: dim Date: Tue Jul 28 09:19:04 2015 New Revision: 285942 URL: https://svnweb.freebsd.org/changeset/base/285942 Log: MFC r285340: Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function. Detected by clang 3.7.0 with the warning: sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provide

svn commit: r285942 - in stable: 10/sys/dev/cxgb/ulp/iw_cxgb 7/sys/dev/cxgb/ulp/iw_cxgb 8/sys/dev/cxgb/ulp/iw_cxgb 9/sys/dev/cxgb/ulp/iw_cxgb

2015-07-28 Thread Dimitry Andric
Author: dim Date: Tue Jul 28 09:19:04 2015 New Revision: 285942 URL: https://svnweb.freebsd.org/changeset/base/285942 Log: MFC r285340: Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function. Detected by clang 3.7.0 with the warning: sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provide

svn commit: r285941 - stable/10/sys/netpfil/pf

2015-07-28 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 28 09:16:54 2015 New Revision: 285941 URL: https://svnweb.freebsd.org/changeset/base/285941 Log: Merge r283061, r283063: don't dereference NULL is pf_get_mtag() fails. PR: 200222 Modified: stable/10/sys/netpfil/pf/pf.c Directory Properties: stabl

svn commit: r285940 - in stable/10/sys: net netpfil/pf

2015-07-28 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 28 09:13:55 2015 New Revision: 285940 URL: https://svnweb.freebsd.org/changeset/base/285940 Log: Merge 280169: always lock the hash row of a source node when updating its 'states' counter. PR: 182401 Modified: stable/10/sys/net/pfvar.h stable/1

svn commit: r285939 - stable/10/sys/netpfil/pf

2015-07-28 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 28 09:09:01 2015 New Revision: 285939 URL: https://svnweb.freebsd.org/changeset/base/285939 Log: Merge r271458: - Provide a sleepable lock to protect against ioctl() vs ioctl() races. - Use the new lock to protect against simultaneous DIOCSTART and/or

svn commit: r285938 - head/sys/netinet

2015-07-28 Thread Michael Tuexen
Author: tuexen Date: Tue Jul 28 08:50:13 2015 New Revision: 285938 URL: https://svnweb.freebsd.org/changeset/base/285938 Log: Fix a typo reported by Erik Cederstrand. MFC after:1 week Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indata.c =

svn commit: r285937 - stable/9/sbin/geom/class/part

2015-07-28 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 28 08:25:49 2015 New Revision: 285937 URL: https://svnweb.freebsd.org/changeset/base/285937 Log: MFC r285735: lseek() allows an offset to be set beyond the end of file. Using it to check that partition has enough space to write bootcode doesn't work. Use the

svn commit: r285936 - stable/10/sbin/geom/class/part

2015-07-28 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 28 08:22:50 2015 New Revision: 285936 URL: https://svnweb.freebsd.org/changeset/base/285936 Log: MFC r285735: lseek() allows an offset to be set beyond the end of file. Using it to check that partition has enough space to write bootcode doesn't work. Use the

svn commit: r285935 - head/sys/dev/usb/controller

2015-07-28 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jul 28 07:30:07 2015 New Revision: 285935 URL: https://svnweb.freebsd.org/changeset/base/285935 Log: Optimise the DWC OTG host mode driver's receive path: Remove NAKing limit and pause IN and OUT transactions for 125us in case of NAK response for BULK and CONTRO

Re: svn commit: r285926 - in head: libexec/ypxfr usr.bin/ypcat usr.bin/ypmatch usr.bin/ypwhich usr.sbin/yp_mkdb usr.sbin/yppush usr.sbin/ypserv

2015-07-28 Thread Marcelo Araujo
2015-07-28 15:05 GMT+08:00 Ed Schouten : > Hi Marcelo, > > Thanks for working on this! > > 2015-07-28 4:32 GMT+02:00 Marcelo Araujo : > > -struct ypalias { > > +const struct ypalias { > > char *alias, *name; > > -} ypaliases[] = { > > +} static ypaliases[] = { > > { "passwd", "pass

Re: svn commit: r285926 - in head: libexec/ypxfr usr.bin/ypcat usr.bin/ypmatch usr.bin/ypwhich usr.sbin/yp_mkdb usr.sbin/yppush usr.sbin/ypserv

2015-07-28 Thread Ed Schouten
Hi Marcelo, Thanks for working on this! 2015-07-28 4:32 GMT+02:00 Marcelo Araujo : > -struct ypalias { > +const struct ypalias { > char *alias, *name; > -} ypaliases[] = { > +} static ypaliases[] = { > { "passwd", "passwd.byname" }, > { "master.passwd", "master.passwd.byna

svn commit: r285934 - head/sys/amd64/include

2015-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 28 07:04:51 2015 New Revision: 285934 URL: https://svnweb.freebsd.org/changeset/base/285934 Log: Remove full barrier from the amd64 atomic_load_acq_*(). Strong ordering semantic of x86 CPUs makes only the compiler barrier neccessary to give the acquire behaviour.