svn commit: r303701 - in head/sys: compat/freebsd32 kern sys

2016-08-02 Thread Ed Schouten
Author: ed Date: Wed Aug 3 06:36:45 2016 New Revision: 303701 URL: https://svnweb.freebsd.org/changeset/base/303701 Log: Regenerate system call tables for r303699 and r303700. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/com

svn commit: r303700 - head/sys/kern

2016-08-02 Thread Ed Schouten
Author: ed Date: Wed Aug 3 06:35:58 2016 New Revision: 303700 URL: https://svnweb.freebsd.org/changeset/base/303700 Log: Re-add traling slash that was removed in r303699. I must have accidentally pressed some random key in vim. Modified: head/sys/kern/syscalls.master Modified: head/sys

svn commit: r303699 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2016-08-02 Thread Ed Schouten
Author: ed Date: Wed Aug 3 06:33:04 2016 New Revision: 303699 URL: https://svnweb.freebsd.org/changeset/base/303699 Log: mprotect(): Change prototype to comply to POSIX. Our mprotect() function seems to take a "const void *" address to the pages whose permissions need to be adjusted. POS

svn commit: r303698 - in stable/11/sys: netinet netinet6

2016-08-02 Thread Mike Karels
Author: karels Date: Wed Aug 3 06:32:44 2016 New Revision: 303698 URL: https://svnweb.freebsd.org/changeset/base/303698 Log: MFC r303171: Fix per-connection L2 caching in fast path r301217 re-added per-connection L2 caching from a previous change, but it omitted caching in the fast path.

svn commit: r303696 - head/sys/sys

2016-08-02 Thread Justin Hibbits
Author: jhibbits Date: Wed Aug 3 01:46:55 2016 New Revision: 303696 URL: https://svnweb.freebsd.org/changeset/base/303696 Log: Remove a duplicate PMC CPU number CPU number for MPC85XX is a duplicate for E500. Since we don't support MPC85XX "uncore" registers right now, rather than renu

svn commit: r303695 - stable/9/sys/rpc

2016-08-02 Thread Garrett Cooper
Author: ngie Date: Wed Aug 3 01:26:02 2016 New Revision: 303695 URL: https://svnweb.freebsd.org/changeset/base/303695 Log: MFstable/10 r303692: MFstable/11 r303691: MFC r302550,r302551,r302552,r302553: r302550: Deobfuscate cleanup path in clnt_dg_create(..) Similar to r

svn commit: r303694 - stable/10/tools/build/mk

2016-08-02 Thread Garrett Cooper
Author: ngie Date: Wed Aug 3 01:25:44 2016 New Revision: 303694 URL: https://svnweb.freebsd.org/changeset/base/303694 Log: MFC r302330: Remove ftp(1) related files when MK_FTP == no Modified: stable/10/tools/build/mk/OptionalObsoleteFiles.inc Directory Properties: stable/10/ (props

svn commit: r303693 - in head/sys: conf powerpc/conf powerpc/conf/dpaa powerpc/mpc85xx

2016-08-02 Thread Justin Hibbits
Author: jhibbits Date: Wed Aug 3 01:22:11 2016 New Revision: 303693 URL: https://svnweb.freebsd.org/changeset/base/303693 Log: Merge MPC85XX and QorIQ config options Summary: MPC85XX and QorIQ are very similar. When the DPAA dTSEC driver was added, QORIQ_DPAA was brought in as a confi

svn commit: r303692 - stable/10/sys/rpc

2016-08-02 Thread Garrett Cooper
Author: ngie Date: Wed Aug 3 01:19:10 2016 New Revision: 303692 URL: https://svnweb.freebsd.org/changeset/base/303692 Log: MFstable/11 r303691: MFC r302550,r302551,r302552,r302553: r302550: Deobfuscate cleanup path in clnt_dg_create(..) Similar to r300836 and r301800, cl and

svn commit: r303691 - stable/11/sys/rpc

2016-08-02 Thread Garrett Cooper
Author: ngie Date: Wed Aug 3 01:06:51 2016 New Revision: 303691 URL: https://svnweb.freebsd.org/changeset/base/303691 Log: MFC r302550,r302551,r302552,r302553: Approved by: re (gjb) r302550: Deobfuscate cleanup path in clnt_dg_create(..) Similar to r300836 and r301800, cl an

svn commit: r303690 - stable/11/sys/dev/cxgb/ulp/tom

2016-08-02 Thread Garrett Cooper
Author: ngie Date: Wed Aug 3 00:19:52 2016 New Revision: 303690 URL: https://svnweb.freebsd.org/changeset/base/303690 Log: MFC r302576: Approved by: re (gjb) r302576: (Re-do r302574 with corrected commit message..) Remove redundant declaration for tcp_dooptions netinet/

svn commit: r303689 - in stable/11/sys/dev/drm2: . i915 radeon

2016-08-02 Thread Garrett Cooper
Author: ngie Date: Wed Aug 3 00:03:03 2016 New Revision: 303689 URL: https://svnweb.freebsd.org/changeset/base/303689 Log: MFC r302571,r302572,r302577,r302841: Approved by: re (gjb) r302571: Remove redundant declaration for radeon_pm_acpi_event_handler(..) to fix -Wredundant-de

svn commit: r303688 - head/sys/dev/cxgbe/tom

2016-08-02 Thread Navdeep Parhar
Author: np Date: Tue Aug 2 23:54:21 2016 New Revision: 303688 URL: https://svnweb.freebsd.org/changeset/base/303688 Log: cxgbe/t4_tom: Read the chip's DDP page sizes and save them in a per-adapter data structure. This replaces a global array with hardcoded page sizes. Sponsored by: Ch

svn commit: r303687 - head/lib/libc/gen

2016-08-02 Thread Bryan Drewery
Author: bdrewery Date: Tue Aug 2 23:46:32 2016 New Revision: 303687 URL: https://svnweb.freebsd.org/changeset/base/303687 Log: Add link for getnetgrent_r(3). MFC after:3 days Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/gen/Makefile.inc Modified: head/lib/l

svn commit: r303686 - stable/11/sys/dev/cxgbe/tom

2016-08-02 Thread Garrett Cooper
Author: ngie Date: Tue Aug 2 23:34:59 2016 New Revision: 303686 URL: https://svnweb.freebsd.org/changeset/base/303686 Log: MFC r302581: Remove redundant declaration for tcp_dooptions, similar to r302576 netinet/tcp_var.h already defines this function Approved by: re (gjb) PR:

svn commit: r303685 - head/usr.bin/truss

2016-08-02 Thread Baptiste Daroussin
Author: bapt Date: Tue Aug 2 22:47:06 2016 New Revision: 303685 URL: https://svnweb.freebsd.org/changeset/base/303685 Log: truss: fix uninitialized trussinfo->curthread in add_threads()/enter_syscall trussinfo->curthread must be initialized before calling enter_syscall(), it is used by t

svn commit: r303684 - stable/10/usr.bin/systat

2016-08-02 Thread Michael Reifenberger
Author: mr Date: Tue Aug 2 22:33:29 2016 New Revision: 303684 URL: https://svnweb.freebsd.org/changeset/base/303684 Log: MFC r288306 Add support to systat to display zfs arc cache status/info Added: stable/10/usr.bin/systat/zarc.c - copied unchanged from r288306, head/usr.bin/systat/z

svn commit: r303683 - head/include

2016-08-02 Thread Warner Losh
Author: imp Date: Tue Aug 2 21:55:23 2016 New Revision: 303683 URL: https://svnweb.freebsd.org/changeset/base/303683 Log: tools/build looks for _WITH_GETLINE in /usr/include/stdio.h to see if we need to include it in -legacy or not. Since the ifdef was removed, this broke building 10.x and

svn commit: r303682 - head/usr.sbin/kgzip

2016-08-02 Thread Ed Maste
Author: emaste Date: Tue Aug 2 21:48:26 2016 New Revision: 303682 URL: https://svnweb.freebsd.org/changeset/base/303682 Log: kgzip.8: note that it is deprecated and clarify BUGS section kgzip is only useful on i386 and has a number of other limitations. We're better served by officially

svn commit: r303681 - stable/9/lib/libc/gen

2016-08-02 Thread Mark Johnston
Author: markj Date: Tue Aug 2 21:17:59 2016 New Revision: 303681 URL: https://svnweb.freebsd.org/changeset/base/303681 Log: MFC r301710: Fix an infinite loop in setnetgrent(3) with NIS netgroups. Modified: stable/9/lib/libc/gen/getnetgrent.c Directory Properties: stable/9/lib/libc/ (pr

svn commit: r303680 - stable/10/lib/libc/gen

2016-08-02 Thread Mark Johnston
Author: markj Date: Tue Aug 2 21:17:34 2016 New Revision: 303680 URL: https://svnweb.freebsd.org/changeset/base/303680 Log: MFC r301710: Fix an infinite loop in setnetgrent(3) with NIS netgroups. Modified: stable/10/lib/libc/gen/getnetgrent.c Directory Properties: stable/10/ (props cha

svn commit: r303679 - in stable/11/sys/modules: hyperv/vmbus ixl ixlv linux64 mlx5

2016-08-02 Thread Bryan Drewery
Author: bdrewery Date: Tue Aug 2 20:56:00 2016 New Revision: 303679 URL: https://svnweb.freebsd.org/changeset/base/303679 Log: MFC r303414,r303415,r303417: r303414: opt_random.h was removed in r287558 for opt_global.h r303415: opt_apic.h is only used on i386. r303417:

svn commit: r303678 - head/sbin/pfctl

2016-08-02 Thread Kristof Provost
Author: kp Date: Tue Aug 2 20:32:02 2016 New Revision: 303678 URL: https://svnweb.freebsd.org/changeset/base/303678 Log: pfctl: Use const where possible. This adds const qualifiers where it is possible. Submitted by: Christian Mauderer Modified: head/sbin/pfctl/pfctl.c head/sbin

svn commit: r303677 - in head/sys: arm/include sys

2016-08-02 Thread Ed Maste
Author: emaste Date: Tue Aug 2 20:26:04 2016 New Revision: 303677 URL: https://svnweb.freebsd.org/changeset/base/303677 Log: Move/add ARM ELF PHDR types to elf_common.h Accidentally missed in r303674 Modified: head/sys/arm/include/elf.h head/sys/sys/elf_common.h Modified: head/sys/ar

svn commit: r303676 - head/usr.bin/grep/regex

2016-08-02 Thread Dimitry Andric
Author: dim Date: Tue Aug 2 20:25:22 2016 New Revision: 303676 URL: https://svnweb.freebsd.org/changeset/base/303676 Log: Fix a segfault in bsdgrep when parsing the invalid extended regexps "?" or "+" (these are invalid, because there is no preceding operand). When bsdgrep attempts to em

svn commit: r303675 - in stable/11/usr.sbin: . pmcstudy

2016-08-02 Thread Bryan Drewery
Author: bdrewery Date: Tue Aug 2 20:18:43 2016 New Revision: 303675 URL: https://svnweb.freebsd.org/changeset/base/303675 Log: MFC r303410,r303419: r303410: Reconnect pmcstudy, lost in r291021 r303419: Fix non-amd64 build from r292043 after reconnecting in r303410. A

svn commit: r303674 - head/contrib/elftoolchain/readelf

2016-08-02 Thread Ed Maste
Author: emaste Date: Tue Aug 2 20:11:04 2016 New Revision: 303674 URL: https://svnweb.freebsd.org/changeset/base/303674 Log: readelf: report ARM program and section header types Reviewed by: andrew Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.free

svn commit: r303673 - head/sbin/pfctl

2016-08-02 Thread Kristof Provost
Author: kp Date: Tue Aug 2 19:54:40 2016 New Revision: 303673 URL: https://svnweb.freebsd.org/changeset/base/303673 Log: pfctl: Match prototype of pfctl_load_hostid. The prototype and the implementation of the pfctl_load_hostid used a different data type for one of the parameters. S

svn commit: r303672 - stable/11/share/man/man3

2016-08-02 Thread Bryan Drewery
Author: bdrewery Date: Tue Aug 2 19:41:54 2016 New Revision: 303672 URL: https://svnweb.freebsd.org/changeset/base/303672 Log: MFC r303328: Add links for bit_ffc_at(3) and bit_ffs_at(3). Approved by: re (kib) Modified: stable/11/share/man/man3/Makefile Directory Properties: st

svn commit: r303671 - stable/11/sys/netinet/cc

2016-08-02 Thread Brad Davis
Author: brd (doc,ports committer) Date: Tue Aug 2 18:46:11 2016 New Revision: 303671 URL: https://svnweb.freebsd.org/changeset/base/303671 Log: MFC r303343: Fix the case for some sysctl descriptions. Approved by: re (gjb) Modified: stable/11/sys/netinet/cc/cc.c Directory Properties:

svn commit: r303670 - head/sys/sys

2016-08-02 Thread Ed Maste
Author: emaste Date: Tue Aug 2 18:42:32 2016 New Revision: 303670 URL: https://svnweb.freebsd.org/changeset/base/303670 Log: Add ELFOSABI_ARM_AEABI ELF OSABI constant Reported by: andrew Sponsored by: The FreeBSD Foundation Modified: head/sys/sys/elf_common.h Modified: head/sys/sys/

svn commit: r303669 - head/lib/libproc

2016-08-02 Thread Conrad E. Meyer
Author: cem Date: Tue Aug 2 18:13:50 2016 New Revision: 303669 URL: https://svnweb.freebsd.org/changeset/base/303669 Log: proc_init: Fix a few memory leaks of 'phdl' In the normal case and correct failure cases, the 'phdl' pointer is passed to callers to use or clean up as needed. Howev

svn commit: r303665 - stable/10/sys/dev/e1000

2016-08-02 Thread Sean Bruno
Author: sbruno Date: Tue Aug 2 15:44:49 2016 New Revision: 303665 URL: https://svnweb.freebsd.org/changeset/base/303665 Log: MFC r303638 Unbreak NETMAP usage with em(4) broken in r293331. Modified: stable/10/sys/dev/e1000/if_em.c Directory Properties: stable/10/ (props changed) Mod

svn commit: r303664 - stable/11/sys/dev/e1000

2016-08-02 Thread Sean Bruno
Author: sbruno Date: Tue Aug 2 15:43:18 2016 New Revision: 303664 URL: https://svnweb.freebsd.org/changeset/base/303664 Log: MFC r303638 Unbreak NETMAP usage with em(4) broken in r293331. Approved by: re (gjb) Modified: stable/11/sys/dev/e1000/if_em.c Directory Properties: stabl

svn commit: r303663 - head/sbin/pfctl

2016-08-02 Thread Kristof Provost
Author: kp Date: Tue Aug 2 15:41:42 2016 New Revision: 303663 URL: https://svnweb.freebsd.org/changeset/base/303663 Log: pfctl: Allow TOS bits to be cleared TOS value 0 is valid, so use 256 as an invalid value rather than zero. This allows users to enforce TOS == 0 with pf. Reported

Re: svn commit: r303047 - head/usr.bin/sed

2016-08-02 Thread Alexey Dokuchaev
On Tue, Aug 02, 2016 at 10:03:20AM -0500, Pedro Giffuni wrote: > Hello; > > [...] > Thank you for the reports, this type of things make nice cases for the > test suite. > > There were good reasons this patch was not meant for 11.0-RELEASE. Given > it's the second regression and I am not satisfied

svn commit: r303662 - head/usr.bin/sed

2016-08-02 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 2 15:35:53 2016 New Revision: 303662 URL: https://svnweb.freebsd.org/changeset/base/303662 Log: sed(1): Revert r303047 "cleanup" and therefore r303572. While big, the change was meant to have no effect on behavior and instead so far we have found two regressions

Re: svn commit: r303047 - head/usr.bin/sed

2016-08-02 Thread Pedro Giffuni
Hello; On 08/02/16 09:54, Guido Falsi wrote: On 08/02/16 16:17, Alexey Dokuchaev wrote: On Tue, Jul 19, 2016 at 10:56:40PM +, Pedro F. Giffuni wrote: New Revision: 303047 URL: https://svnweb.freebsd.org/changeset/base/303047 Log: sed(1): Assorted cleanups and simplifications. C

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

2016-08-02 Thread Andrew Turner
Author: andrew Date: Tue Aug 2 15:26:46 2016 New Revision: 303661 URL: https://svnweb.freebsd.org/changeset/base/303661 Log: Remove trailing whitespace from the arm64 pmap Obtained from:ABT Systems Ltd MFC after:3 weeks Sponsored by: The FreeBSD Foundation Modified: head

Re: svn commit: r303047 - head/usr.bin/sed

2016-08-02 Thread Guido Falsi
On 08/02/16 16:17, Alexey Dokuchaev wrote: > On Tue, Jul 19, 2016 at 10:56:40PM +, Pedro F. Giffuni wrote: >> New Revision: 303047 >> URL: https://svnweb.freebsd.org/changeset/base/303047 >> >> Log: >> sed(1):Assorted cleanups and simplifications. >> >> Const-ify several variables, m

svn commit: r303660 - in head/sys: boot/fdt/dts/riscv cddl/contrib/opensolaris/uts/common/sys cddl/dev/dtrace/riscv conf riscv/conf riscv/htif riscv/include riscv/riscv

2016-08-02 Thread Ruslan Bukin
Author: br Date: Tue Aug 2 14:50:14 2016 New Revision: 303660 URL: https://svnweb.freebsd.org/changeset/base/303660 Log: Update RISC-V port to Privileged Architecture Version 1.9. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/sys/boot/fdt/dts/riscv/spike.dts head/sys/

Re: svn commit: r303047 - head/usr.bin/sed

2016-08-02 Thread Alexey Dokuchaev
On Tue, Jul 19, 2016 at 10:56:40PM +, Pedro F. Giffuni wrote: > New Revision: 303047 > URL: https://svnweb.freebsd.org/changeset/base/303047 > > Log: > sed(1): Assorted cleanups and simplifications. > > Const-ify several variables, make it build cleanly with WARNS level 5. > >

svn commit: r303659 - stable/11/usr.bin/calendar/calendars/ru_RU.UTF-8

2016-08-02 Thread Gleb Smirnoff
Author: glebius Date: Tue Aug 2 14:14:36 2016 New Revision: 303659 URL: https://svnweb.freebsd.org/changeset/base/303659 Log: Merge r303264 and corrections: The date format for ru_RU.UTF-8 locale has changed some time ago, adjust the ru_RU.UTF-8 calendar files. Approved by: re (ki

svn commit: r303658 - in stable/11/sys: compat/svr4 net

2016-08-02 Thread Gleb Smirnoff
Author: glebius Date: Tue Aug 2 13:57:20 2016 New Revision: 303658 URL: https://svnweb.freebsd.org/changeset/base/303658 Log: Merge r303263: Partially revert r257696/r257713, which have an issue with writing to user controlled address. Restore the old code that emulated OSIOCGIFCONF in

Re: svn commit: r303650 - head/sys/opencrypto

2016-08-02 Thread Dag-Erling Smørgrav
Conrad Meyer writes: > I don't think this is security-related despite being a bug in > crypto-adjacent code. At best it's a DoS, I think. If it can be triggered remotely, it's a security issue. DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-all

Re: svn commit: r303264 - head/usr.bin/calendar/calendars/ru_RU.UTF-8

2016-08-02 Thread Andrey Chernov
On 02.08.2016 12:26, Gleb Smirnoff wrote: > You got your own commit access now, so please do it yourself if you > are confident enough about the change. I am not :) Really this date is in the middle, see http://bibliopskov.ru/4november.htm ___ svn-src-al

svn commit: r303657 - head/sys/netinet6

2016-08-02 Thread Andrey V. Elsukov
Author: ae Date: Tue Aug 2 12:18:06 2016 New Revision: 303657 URL: https://svnweb.freebsd.org/changeset/base/303657 Log: Fix NULL pointer dereference. ro pointer can be NULL when IPSec consumes mbuf. PR: 211486 MFC after:3 days Modified: head/sys/netinet6/ip6_output.c

Re: svn commit: r303264 - head/usr.bin/calendar/calendars/ru_RU.UTF-8

2016-08-02 Thread Gleb Smirnoff
On Mon, Jul 25, 2016 at 02:42:43PM +0300, Michael Zhilin wrote: M> Hi Gleb, Andrey, M> M> Could you please fix one more line in M> usr.bin/calendar/calendars/ru_RU.UTF-8/calendar.common: M> >> 7 нояб.День окт.ябрьской революции 1917 года Thanks to Andrey, he fixed. M> BTW, the line of "usr.