svn commit: r324965 - in head: etc/defaults etc/rc.d sbin/dumpon sbin/savecore share/man/man5 sys/dev/null sys/geom sys/kern sys/sys

2017-10-24 Thread Mark Johnston
Author: markj Date: Wed Oct 25 00:51:00 2017 New Revision: 324965 URL: https://svnweb.freebsd.org/changeset/base/324965 Log: Add support for compressed kernel dumps. When using a kernel built with the GZIO config option, dumpon -z can be used to configure gzip compression using the in-ker

svn commit: r324964 - head/sys/dev/bnxt

2017-10-24 Thread Stephen Hurd
Author: shurd Date: Tue Oct 24 21:18:50 2017 New Revision: 324964 URL: https://svnweb.freebsd.org/changeset/base/324964 Log: bnxt: add support for Flow control setting using sysctl Created sysctl node dev.bnxt.0.fc with following options. A. dev.bnxt.0.fc.autoneg B. dev.bnxt.0.fc.rx

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

2017-10-24 Thread Fedor Uporov
Author: fsu Date: Tue Oct 24 20:10:08 2017 New Revision: 324963 URL: https://svnweb.freebsd.org/changeset/base/324963 Log: Fix physical block number overflow in different places. Approved by:pfg (mentor) MFC after: 6 months Modified: head/sys/fs/ext2fs/ext2_alloc.c head/sys/

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

2017-10-24 Thread Fedor Uporov
Author: fsu Date: Tue Oct 24 19:16:25 2017 New Revision: 324962 URL: https://svnweb.freebsd.org/changeset/base/324962 Log: Set doreallocblks sysctl value to zero by default because of possibility of filesystem corruption. Approved by:pfg (mentor) MFC after: 2 weeks Modified:

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

2017-10-24 Thread Fedor Uporov
Author: fsu Date: Tue Oct 24 19:14:33 2017 New Revision: 324961 URL: https://svnweb.freebsd.org/changeset/base/324961 Log: Do not free bufs in case of extents metadata blocks + remove unneeded asserts. Approved by:pfg (mentor) MFC after: 6 months Modified: head/sys/fs/ext2fs/e

Re: svn commit: r324957 - head/sys/dev/iscsi

2017-10-24 Thread Andriy Gapon
On 24/10/2017 17:59, Andriy Gapon wrote: > Author: avg > Date: Tue Oct 24 14:59:31 2017 > New Revision: 324957 > URL: https://svnweb.freebsd.org/changeset/base/324957 > > Log: > iscsi_shutdown_post: do nothing if panic-ing By the way, this change raised a question if we even should post shutdow

svn commit: r324960 - head/sys/vm

2017-10-24 Thread Alan Cox
Author: alc Date: Tue Oct 24 17:14:53 2017 New Revision: 324960 URL: https://svnweb.freebsd.org/changeset/base/324960 Log: Micro-optimize the handling of fictitious pages in vm_page_free_prep(). A fictitious page is always wired, so there is no point in trying to remove one from the page que

svn commit: r324959 - in head: lib lib/libpmcstat share/mk usr.sbin/pmcstat

2017-10-24 Thread Ruslan Bukin
Author: br Date: Tue Oct 24 16:28:00 2017 New Revision: 324959 URL: https://svnweb.freebsd.org/changeset/base/324959 Log: Extract a set of pmcstat functions and interfaces to the new internal library -- libpmcstat. This includes PMC logging module, symbols lookup functions, ELF parsing,

svn commit: r324958 - head/sys/netinet

2017-10-24 Thread Michael Tuexen
Author: tuexen Date: Tue Oct 24 16:24:12 2017 New Revision: 324958 URL: https://svnweb.freebsd.org/changeset/base/324958 Log: Fix a bug in handling special ABORT chunks. Thanks to Felix Weinrank for finding this issue using libfuzzer with the userland stack. MFC after:3 days Modifi

svn commit: r324957 - head/sys/dev/iscsi

2017-10-24 Thread Andriy Gapon
Author: avg Date: Tue Oct 24 14:59:31 2017 New Revision: 324957 URL: https://svnweb.freebsd.org/changeset/base/324957 Log: iscsi_shutdown_post: do nothing if panic-ing There is nothing that that routine should or could really do in that context. Reported by: Ben RUBSON MFC after:

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

2017-10-24 Thread Alan Somers
Author: asomers Date: Tue Oct 24 14:34:25 2017 New Revision: 324956 URL: https://svnweb.freebsd.org/changeset/base/324956 Log: Bump man page revision dates for r324941 Reported by: jhb MFC after:20 days X-MFC-with: 324941 Sponsored by: Spectra Logic Corp Modified: head/lib/l

svn commit: r324954 - head/sys/netinet

2017-10-24 Thread Michael Tuexen
Author: tuexen Date: Tue Oct 24 14:28:56 2017 New Revision: 324954 URL: https://svnweb.freebsd.org/changeset/base/324954 Log: Fix a locking issue found by running AFL on the userland stack. Thanks to Felix Weinrank for reporting the issue. MFC after:3 days Modified: head/sys/netine

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

2017-10-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 24 12:56:08 2017 New Revision: 324953 URL: https://svnweb.freebsd.org/changeset/base/324953 Log: Remove unneeded calls to access(2) from rtld(1); just call open(2) instead. The result looks like this: --- przed 2017-10-21 23:19:21.445034000 +0100 +++ po

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

2017-10-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 24 12:04:07 2017 New Revision: 324952 URL: https://svnweb.freebsd.org/changeset/base/324952 Log: Replace lseek(2)/read(2) pair with pread(2), removing yet another syscall from the binary startup code. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified:

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

2017-10-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 24 11:24:54 2017 New Revision: 324951 URL: https://svnweb.freebsd.org/changeset/base/324951 Log: Make find_library() conform to style(9). No functional changes. Suggested by: kib MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/libexec/rtld-

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

2017-10-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 24 11:16:38 2017 New Revision: 324950 URL: https://svnweb.freebsd.org/changeset/base/324950 Log: Reword the conditional; it was ugly, and adding another parameter, which I'm going to do in a subsequent commit, would make it even uglier. No functional changes.

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

2017-10-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 24 10:48:26 2017 New Revision: 324949 URL: https://svnweb.freebsd.org/changeset/base/324949 Log: Use xmalloc and read(2) instead of mmap(2) to read in libmap.conf(5). This removes the need to call munmap(2) afterwards. MFC after:2 weeks Sponsored by: DARP

svn commit: r324947 - head/sys/netpfil/ipfw

2017-10-24 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 24 08:39:05 2017 New Revision: 324947 URL: https://svnweb.freebsd.org/changeset/base/324947 Log: Add IPv6 support for O_TCPDATALEN opcode. PR: 222746 MFC after:1 week Modified: head/sys/netpfil/ipfw/ip_fw2.c Modified: head/sys/netpfil/ipfw/ip_fw2