svn commit: r357567 - head/stand/i386/zfsboot

2020-02-04 Thread Toomas Soome
Author: tsoome Date: Wed Feb 5 05:42:42 2020 New Revision: 357567 URL: https://svnweb.freebsd.org/changeset/base/357567 Log: vdev_read_pad2: freeing wrong pointer Shoud free previously allocated tmp buffer instead. Issue introduced in r357497. Reported by: rpokala Modified: head

Re: svn commit: r357233 - head/sys/net

2020-02-04 Thread Kristof Provost
On 4 Feb 2020, at 11:32, Gleb Smirnoff wrote: On Sat, Feb 01, 2020 at 07:26:48PM +, Kristof Provost wrote: K> > K> -/* The below interface used only by epair(4). */ K> > K> +/* The below interfaces are used only by epair(4). */ K> > K> +void if_clone_addif(struct if_clone *, struct ifnet *);

svn commit: r357566 - head

2020-02-04 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 04:43:58 2020 New Revision: 357566 URL: https://svnweb.freebsd.org/changeset/base/357566 Log: Add RELNOTES entry for various daemons pulling in environment variables Modified: head/RELNOTES Modified: head/RELNOTES ==

svn commit: r357565 - in head/usr.sbin/cron: cron crontab

2020-02-04 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 04:35:54 2020 New Revision: 357565 URL: https://svnweb.freebsd.org/changeset/base/357565 Log: cron(8): set the environment variables of the user and/or login class Prior to processing environment variable set in the crontab file as those should be of higher

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

2020-02-04 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 04:32:49 2020 New Revision: 357564 URL: https://svnweb.freebsd.org/changeset/base/357564 Log: service(8): set the environment of the "daemon" class before invoking As mentioned in r357562, this gives the user a single place to configure environment variable

svn commit: r357563 - head/usr.bin/env

2020-02-04 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 04:29:55 2020 New Revision: 357563 URL: https://svnweb.freebsd.org/changeset/base/357563 Log: env(1): grow -L user/class and -U user/class options This allows one to set the environment of the specified user either from login.conf alone (-L) or both login.c

svn commit: r357561 - head/usr.bin/login

2020-02-04 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 04:27:08 2020 New Revision: 357561 URL: https://svnweb.freebsd.org/changeset/base/357561 Log: login.conf(5): set a default PATH for the daemon class This is a sensible default used by, e.g., cron(8), and useful if one wanted to honor it. This is a part

svn commit: r357562 - head/sbin/init

2020-02-04 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 04:27:44 2020 New Revision: 357562 URL: https://svnweb.freebsd.org/changeset/base/357562 Log: init(8): set environment variables from the "daemon" class as well Specifically, when running /etc/rc. This allows one to specify via login.conf(5) an environment

svn commit: r357560 - in head: lib/libutil usr.bin/login

2020-02-04 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 04:17:14 2020 New Revision: 357560 URL: https://svnweb.freebsd.org/changeset/base/357560 Log: login.conf(5): split MAIL env var out into a "mail" capability This allows it to be easily suppressed in, e.g., the "daemon" class where it will not be properly ex

svn commit: r357559 - head/sys/netgraph

2020-02-04 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 5 03:07:20 2020 New Revision: 357559 URL: https://svnweb.freebsd.org/changeset/base/357559 Log: I doubt anybody in the world uses ng_device, but its write method should also enter the network epoch when sending data from user level to netgraph. Modified: head/

svn commit: r357558 - head/sys/netgraph

2020-02-04 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 5 03:06:29 2020 New Revision: 357558 URL: https://svnweb.freebsd.org/changeset/base/357558 Log: Enter the network epoch when ng_socket sends data or control from user land to the netgraph and potentially further down the network stack. Modified: head/sys/netgr

svn commit: r357557 - head/sys/netgraph

2020-02-04 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 5 02:53:40 2020 New Revision: 357557 URL: https://svnweb.freebsd.org/changeset/base/357557 Log: netgraph(4) callouts need to be executed in the network epoch. Modified: head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/ng_base.c ==

svn commit: r357556 - head/contrib/netbsd-tests/lib/libc/c063

2020-02-04 Thread Kyle Evans
Author: kevans Date: Wed Feb 5 02:30:46 2020 New Revision: 357556 URL: https://svnweb.freebsd.org/changeset/base/357556 Log: O_SEARCH tests: plug trivial fd leak Coverity correctly reports this as a resource leak. It's an admittedly minor one, but plug it anyways. This has been subm

svn commit: r357555 - stable/12/sys/net

2020-02-04 Thread Alexander Motin
Author: mav Date: Wed Feb 5 00:47:03 2020 New Revision: 357555 URL: https://svnweb.freebsd.org/changeset/base/357555 Log: MFC r356993: Update route MTUs for bridge, lagg and vlan interfaces. Those interfaces may implicitly change their MTU on addition of parent interface in addition to n

svn commit: r357554 - head/sys/kern

2020-02-04 Thread Mateusz Guzik
Author: mjg Date: Wed Feb 5 00:20:26 2020 New Revision: 357554 URL: https://svnweb.freebsd.org/changeset/base/357554 Log: fd: always nullify *fdp in fget* routines Some consumers depend on the pointer being NULL if an error is returned. The guarantee got broken in r357469. Report

svn commit: r357553 - head/sys/dev/cxgbe

2020-02-04 Thread Navdeep Parhar
Author: np Date: Wed Feb 5 00:13:15 2020 New Revision: 357553 URL: https://svnweb.freebsd.org/changeset/base/357553 Log: cxgbe(4): Add a knob to allow netmap tx traffic to be checksummed by the hardware. hw.cxgbe.nm_txcsum=1 MFC after:2 weeks Sponsored by: Chelsio Communicatio

svn commit: r357552 - head/sys/dev/cxgbe

2020-02-04 Thread Navdeep Parhar
Author: np Date: Wed Feb 5 00:08:58 2020 New Revision: 357552 URL: https://svnweb.freebsd.org/changeset/base/357552 Log: cxgbe(4): Allow nm_black_hole and nm_cong_drop to be set at any time. The cong_drop setting will apply to queues created after the setting is changed and not to existi

svn commit: r357551 - head/sys/dev/cxgbe

2020-02-04 Thread Navdeep Parhar
Author: np Date: Tue Feb 4 23:55:21 2020 New Revision: 357551 URL: https://svnweb.freebsd.org/changeset/base/357551 Log: cxgbe(4): Report accurate rx_buf_maxsize to netmap. MFC after:2 weeks Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_netmap.c Modified: h

svn commit: r357548 - in head/sys: i386/i386 kern powerpc/aim

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:40:23 2020 New Revision: 357548 URL: https://svnweb.freebsd.org/changeset/base/357548 Log: uma: convert mbuf_jumbo_alloc to UMA_ZONE_CONTIG & tag others Remove mbuf_jumbo_alloc and let large mbuf zones use the new uma default contig allocator (a copy of

svn commit: r357547 - in head: share/man/man9 sys/vm

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:40:11 2020 New Revision: 357547 URL: https://svnweb.freebsd.org/changeset/base/357547 Log: uma: add UMA_ZONE_CONTIG, and a default contig_alloc For now, copy the mbuf allocator. Reviewed by: jeff, markj (previous version) Sponsored by: Dell EMC Isi

svn commit: r357549 - head/sys/vm

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:40:34 2020 New Revision: 357549 URL: https://svnweb.freebsd.org/changeset/base/357549 Log: uma: grow slabs to enforce minimum memory efficiency Memory efficiency can be poor with awkward item sizes (e.g. 1/2 or 1 page size + epsilon). In order to achiev

svn commit: r357550 - head/sys/vm

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:40:45 2020 New Revision: 357550 URL: https://svnweb.freebsd.org/changeset/base/357550 Log: uma: multipage chicken switch Add a switch to allow disabling multipage slabs, in order to facilitate measuring memory usage and performance effects. The tunable

svn commit: r357546 - head/sys/vm

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:39:58 2020 New Revision: 357546 URL: https://svnweb.freebsd.org/changeset/base/357546 Log: uma: pcpu_page_free needs to startup_free pages from startup_alloc After r357392, it is apparent that we do have some early-boot PCPU zones. Make it so we can saf

svn commit: r357545 - head

2020-02-04 Thread Kyle Evans
) +++ head/ObsoleteFiles.inc Tue Feb 4 21:43:39 2020(r357545) @@ -36,6 +36,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20200204: simple_httpd removed +OLD_FILES+=usr/sbin/simple_httpd + # 20200127: vpo removed OLD_FILES+=usr/share/man/man4/imm.4.gz OLD_FILES+=usr/share/man

svn commit: r357544 - head/share/man/man5

2020-02-04 Thread Kyle Evans
Author: kevans Date: Tue Feb 4 21:28:04 2020 New Revision: 357544 URL: https://svnweb.freebsd.org/changeset/base/357544 Log: src.conf(5): regen after r357543, HTTPD removal Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r357543 - in head: share/mk tools/build/options usr.sbin usr.sbin/simple_httpd

2020-02-04 Thread Kyle Evans
Author: kevans Date: Tue Feb 4 21:27:39 2020 New Revision: 357543 URL: https://svnweb.freebsd.org/changeset/base/357543 Log: Remove simple_httpd simple_httpd was granted a reprieve from the picobsd removal based on having some reported user; it turns out this user isn't actually using th

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

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:18:56 2020 New Revision: 357542 URL: https://svnweb.freebsd.org/changeset/base/357542 Log: readelf: Don't leak memory when dwarf_get_fde_info_for_all_regs() fails. CID: 1292493 MFC after:1 week Sponsored by: The FreeBSD Foundation Modified

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

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:18:16 2020 New Revision: 357540 URL: https://svnweb.freebsd.org/changeset/base/357540 Log: readelf: Fix a double close of the input file. The caller of dump_object() is responsible for opening the file, let it be responsible for closing too. CID:

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

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:18:37 2020 New Revision: 357541 URL: https://svnweb.freebsd.org/changeset/base/357541 Log: readelf: Fix the check for an error from realloc(). Use err() instead of errx() while here, since realloc() sets errno. CID: 1401326 MFC after:1 w

svn commit: r357539 - head/contrib/elftoolchain/size

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:17:59 2020 New Revision: 357539 URL: https://svnweb.freebsd.org/changeset/base/357539 Log: size: Avoid returning a stack pointer from xlatetom(). The callers only check whether the returned pointer is non-NULL, so this was harmless in practice, but change

svn commit: r357538 - head/contrib/elftoolchain/elfcopy

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:16:56 2020 New Revision: 357538 URL: https://svnweb.freebsd.org/changeset/base/357538 Log: elfcopy: Avoid leaking dst's fd when we fail to copy a file. We should really create the output file in the same directory as the destination file so that rename()

svn commit: r357537 - head/contrib/elftoolchain/elfcopy

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:16:41 2020 New Revision: 357537 URL: https://svnweb.freebsd.org/changeset/base/357537 Log: elfcopy: Handle multiple data descriptors properly. The code clearly meant to resize the buffer in the case where a section was backed by multiple data descriptors.

svn commit: r357535 - head/contrib/elftoolchain/libelftc

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:15:52 2020 New Revision: 357535 URL: https://svnweb.freebsd.org/changeset/base/357535 Log: libelftc: Fix memory leaks in the C++ demanglers. CID: 1262518, 1262519, 1262520, 1262529 MFC after:1 week Sponsored by: The FreeBSD Foundation Modi

svn commit: r357536 - head/contrib/elftoolchain/libelftc

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:16:16 2020 New Revision: 357536 URL: https://svnweb.freebsd.org/changeset/base/357536 Log: libelftc: Add a missing check for an error from vector_str_init(). While here consistently use the same spelling for such checks. CID: 1376769 MFC aft

svn commit: r357533 - head/contrib/elftoolchain/libdwarf

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:15:11 2020 New Revision: 357533 URL: https://svnweb.freebsd.org/changeset/base/357533 Log: libdwarf: Make an out-pointer of _dwarf_abbrev_add() mandatory. All callers pass a non-NULL pointer, and otherwise it was possible to leak memory if the abbrev was

svn commit: r357534 - head/contrib/elftoolchain/libdwarf

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:15:29 2020 New Revision: 357534 URL: https://svnweb.freebsd.org/changeset/base/357534 Log: libdwarf: Fix a memory leak in _dwarf_frame_section_init(). If frame length validation failed we would leak memory. CID: 1193366 MFC after:1 week

svn commit: r357532 - head/contrib/elftoolchain/libdwarf

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:14:53 2020 New Revision: 357532 URL: https://svnweb.freebsd.org/changeset/base/357532 Log: libdwarf: Fix a possible memory leak in dwarf_add_AT_location_expr(). CID: 1193364 MFC after:1 week Sponsored by: The FreeBSD Foundation Modified:

svn commit: r357531 - head/contrib/elftoolchain/libdwarf

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 21:14:34 2020 New Revision: 357531 URL: https://svnweb.freebsd.org/changeset/base/357531 Log: libdwarf: Remove unnecessary NULL checks. All callers of _dwarf_add_expr() and _dwarf_expr_into_block() pass a non-NULL expr pointer, and these functions assume tha

Re: svn commit: r357530 - head/sys/kern

2020-02-04 Thread Dmitry Chagin
ср, 5 февр. 2020 г. в 00:02, Konstantin Belousov : > Author: kib > Date: Tue Feb 4 21:02:08 2020 > New Revision: 357530 > URL: https://svnweb.freebsd.org/changeset/base/357530 > > Log: > Remove unneeded assert for curproc. Simplify. > > Reported by: syzkaller by markj > Sponsored by: The

svn commit: r357530 - head/sys/kern

2020-02-04 Thread Konstantin Belousov
Author: kib Date: Tue Feb 4 21:02:08 2020 New Revision: 357530 URL: https://svnweb.freebsd.org/changeset/base/357530 Log: Remove unneeded assert for curproc. Simplify. Reported by: syzkaller by markj Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_time.c Modified:

svn commit: r357529 - in head/sys/powerpc: aim booke powerpc

2020-02-04 Thread Brandon Bergren
Author: bdragon Date: Tue Feb 4 20:40:45 2020 New Revision: 357529 URL: https://svnweb.freebsd.org/changeset/base/357529 Log: [PowerPC] Fix VSX context handling In r356767, memcpy/memmove/bcopy optimizations were added to libc to improve performance. This exposed an existing kernel

svn commit: r357528 - head/sys/vm

2020-02-04 Thread Jeff Roberson
Author: jeff Date: Tue Feb 4 20:33:01 2020 New Revision: 357528 URL: https://svnweb.freebsd.org/changeset/base/357528 Log: Add an explicit busy state for free pages. This improves behavior with potential bugs that access freed pages as well as providing a path towards lockless page lookup.

svn commit: r357527 - head/sys/vm

2020-02-04 Thread Jeff Roberson
Author: jeff Date: Tue Feb 4 20:28:06 2020 New Revision: 357527 URL: https://svnweb.freebsd.org/changeset/base/357527 Log: Use literal bucket sizes for smaller buckets rather than the rounding system. Small bucket sizes already pack well even if they are an odd number of words. This preve

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

2020-02-04 Thread Conrad Meyer
Hi Dmitry, This seems to trigger some panics via clock_gettime syscalls (native and 32-bit, reported by Syzkaller): panic: mutex process lock not owned at /syzkaller/managers/main/kernel/sys/kern/kern_time.c:261 cpuid = 0 time = 1580841963 KDB: stack backtrace: db_trace_self_wrapper() at db_trace

svn commit: r357526 - in stable: 11/sys/dev/tpm 12/sys/dev/tpm

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 20:09:25 2020 New Revision: 357526 URL: https://svnweb.freebsd.org/changeset/base/357526 Log: MFC r357349: Merge r357348 from the clang 10.0.0 import branch: Disable new clang 10.0.0 warnings about converting the result of shift operations to a boolean in

svn commit: r357526 - in stable: 11/sys/dev/tpm 12/sys/dev/tpm

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 20:09:25 2020 New Revision: 357526 URL: https://svnweb.freebsd.org/changeset/base/357526 Log: MFC r357349: Merge r357348 from the clang 10.0.0 import branch: Disable new clang 10.0.0 warnings about converting the result of shift operations to a boolean in

svn commit: r357525 - head/sys/kern

2020-02-04 Thread Mark Johnston
Author: markj Date: Tue Feb 4 20:00:45 2020 New Revision: 357525 URL: https://svnweb.freebsd.org/changeset/base/357525 Log: Correct the malloc tag used when freeing the temporary semop(2) buffer. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/sysv_se

svn commit: r357524 - stable/12/share/mk

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:51:26 2020 New Revision: 357524 URL: https://svnweb.freebsd.org/changeset/base/357524 Log: MFC r357346: Merge r357342 from the clang1000-import branch: Work around two -Werror warning issues in googletest, which have been solved upstream in the mean ti

svn commit: r357523 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_pf 11/usr.sbin/bsnmpd/modules/snmp_pf 12/usr.sbin/bsnmpd/modules/snmp_pf

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:46:29 2020 New Revision: 357523 URL: https://svnweb.freebsd.org/changeset/base/357523 Log: MFC r357340: Merge r357339 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd: usr.sbin/bsnmpd/modules/snmp_pf/pf

svn commit: r357523 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_pf 11/usr.sbin/bsnmpd/modules/snmp_pf 12/usr.sbin/bsnmpd/modules/snmp_pf

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:46:29 2020 New Revision: 357523 URL: https://svnweb.freebsd.org/changeset/base/357523 Log: MFC r357340: Merge r357339 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd: usr.sbin/bsnmpd/modules/snmp_pf/pf

svn commit: r357523 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_pf 11/usr.sbin/bsnmpd/modules/snmp_pf 12/usr.sbin/bsnmpd/modules/snmp_pf

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:46:29 2020 New Revision: 357523 URL: https://svnweb.freebsd.org/changeset/base/357523 Log: MFC r357340: Merge r357339 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd: usr.sbin/bsnmpd/modules/snmp_pf/pf

svn commit: r357522 - in head/contrib/sqlite3: . tea tea/generic tea/win

2020-02-04 Thread Cy Schubert
Author: cy Date: Tue Feb 4 19:45:51 2020 New Revision: 357522 URL: https://svnweb.freebsd.org/changeset/base/357522 Log: Revert r357201: downgrade sqlite3 from sqlite3-3.31.0 (331) to sqlite3-3.30.1 (3300100), as it causes svnlite segfaults on PowerPC, resulting in corruption. Repo

svn commit: r357521 - in stable: 11/share/mk 11/usr.bin/lex 12/share/mk 12/usr.bin/lex

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:42:57 2020 New Revision: 357521 URL: https://svnweb.freebsd.org/changeset/base/357521 Log: MFC r357347: Merge r357345 from the clang1000-import branch: Disable new clang 10.0.0 warnings about misleading indentation in flex. As this is contributed co

svn commit: r357521 - in stable: 11/share/mk 11/usr.bin/lex 12/share/mk 12/usr.bin/lex

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:42:57 2020 New Revision: 357521 URL: https://svnweb.freebsd.org/changeset/base/357521 Log: MFC r357347: Merge r357345 from the clang1000-import branch: Disable new clang 10.0.0 warnings about misleading indentation in flex. As this is contributed co

svn commit: r357520 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_bridge 11/usr.sbin/bsnmpd/modules/snmp_bridge 12/usr.sbin/bsnmpd/modules/snmp_bridge

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:35:40 2020 New Revision: 357520 URL: https://svnweb.freebsd.org/changeset/base/357520 Log: MFC r357272: Merge r357271 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd: usr.sbin/bsnmpd/modules/snmp_bridg

svn commit: r357520 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_bridge 11/usr.sbin/bsnmpd/modules/snmp_bridge 12/usr.sbin/bsnmpd/modules/snmp_bridge

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:35:40 2020 New Revision: 357520 URL: https://svnweb.freebsd.org/changeset/base/357520 Log: MFC r357272: Merge r357271 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd: usr.sbin/bsnmpd/modules/snmp_bridg

svn commit: r357520 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_bridge 11/usr.sbin/bsnmpd/modules/snmp_bridge 12/usr.sbin/bsnmpd/modules/snmp_bridge

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:35:40 2020 New Revision: 357520 URL: https://svnweb.freebsd.org/changeset/base/357520 Log: MFC r357272: Merge r357271 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd: usr.sbin/bsnmpd/modules/snmp_bridg

Re: svn commit: r357233 - head/sys/net

2020-02-04 Thread Gleb Smirnoff
Kristof, On Sat, Feb 01, 2020 at 07:26:48PM +, Kristof Provost wrote: K> > K> -/* The below interface used only by epair(4). */ K> > K> +/* The below interfaces are used only by epair(4). */ K> > K> +void if_clone_addif(struct if_clone *, struct ifnet *); K> > K> intif_clone_destroyif

svn commit: r357519 - in stable: 10/usr.bin/procstat 11/usr.bin/procstat 12/usr.bin/procstat

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:31:01 2020 New Revision: 357519 URL: https://svnweb.freebsd.org/changeset/base/357519 Log: MFC r357268: Merge r357260 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in procstat: usr.bin/procstat/procstat_sigs.c

svn commit: r357519 - in stable: 10/usr.bin/procstat 11/usr.bin/procstat 12/usr.bin/procstat

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:31:01 2020 New Revision: 357519 URL: https://svnweb.freebsd.org/changeset/base/357519 Log: MFC r357268: Merge r357260 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in procstat: usr.bin/procstat/procstat_sigs.c

svn commit: r357519 - in stable: 10/usr.bin/procstat 11/usr.bin/procstat 12/usr.bin/procstat

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:31:01 2020 New Revision: 357519 URL: https://svnweb.freebsd.org/changeset/base/357519 Log: MFC r357268: Merge r357260 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in procstat: usr.bin/procstat/procstat_sigs.c

svn commit: r357518 - in stable: 10/usr.bin/tip/tip 11/usr.bin/tip/tip 12/usr.bin/tip/tip

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:24:10 2020 New Revision: 357518 URL: https://svnweb.freebsd.org/changeset/base/357518 Log: MFC r357269: Merge r357267 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in tip: usr.bin/tip/tip/tip.c:428:4: error: m

svn commit: r357518 - in stable: 10/usr.bin/tip/tip 11/usr.bin/tip/tip 12/usr.bin/tip/tip

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:24:10 2020 New Revision: 357518 URL: https://svnweb.freebsd.org/changeset/base/357518 Log: MFC r357269: Merge r357267 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in tip: usr.bin/tip/tip/tip.c:428:4: error: m

svn commit: r357518 - in stable: 10/usr.bin/tip/tip 11/usr.bin/tip/tip 12/usr.bin/tip/tip

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:24:10 2020 New Revision: 357518 URL: https://svnweb.freebsd.org/changeset/base/357518 Log: MFC r357269: Merge r357267 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in tip: usr.bin/tip/tip/tip.c:428:4: error: m

svn commit: r357517 - in stable: 10/libexec/rbootd 11/libexec/rbootd 12/libexec/rbootd

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:19:48 2020 New Revision: 357517 URL: https://svnweb.freebsd.org/changeset/base/357517 Log: MFC r357223: Merge r357222 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in rbootd: libexec/rbootd/rmpproto.c:335:49:

svn commit: r357517 - in stable: 10/libexec/rbootd 11/libexec/rbootd 12/libexec/rbootd

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:19:48 2020 New Revision: 357517 URL: https://svnweb.freebsd.org/changeset/base/357517 Log: MFC r357223: Merge r357222 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in rbootd: libexec/rbootd/rmpproto.c:335:49:

svn commit: r357517 - in stable: 10/libexec/rbootd 11/libexec/rbootd 12/libexec/rbootd

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:19:48 2020 New Revision: 357517 URL: https://svnweb.freebsd.org/changeset/base/357517 Log: MFC r357223: Merge r357222 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in rbootd: libexec/rbootd/rmpproto.c:335:49:

Re: svn commit: r357407 - head

2020-02-04 Thread Don Lewis
On 2 Feb, Warner Losh wrote: > Author: imp > Date: Sun Feb 2 11:37:27 2020 > New Revision: 357407 > URL: https://svnweb.freebsd.org/changeset/base/357407 > > Log: > Per the firm plan, start to remove sparc64 > > The sparc64 architecture is being removed from FreeBSD 13, starting > now.

svn commit: r357516 - stable/11/sbin/newfs_msdos

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:15:57 2020 New Revision: 357516 URL: https://svnweb.freebsd.org/changeset/base/357516 Log: MFC r351382 (by delphij): When creating a new FAT32 filesystem, use "unknown" (0x) for FSI_Nxt_Free instead of providing a wrong value. With this change,

svn commit: r357515 - head/sys/fs/tmpfs

2020-02-04 Thread Konstantin Belousov
Author: kib Date: Tue Feb 4 19:05:58 2020 New Revision: 357515 URL: https://svnweb.freebsd.org/changeset/base/357515 Log: tmpfs: add nomtime mount option, which disables tracking mtime updates due to writes through the shared mapped areas backed by tmpfs files. This removes periodic sca

svn commit: r357514 - head/sys/vm

2020-02-04 Thread Konstantin Belousov
Author: kib Date: Tue Feb 4 19:03:37 2020 New Revision: 357514 URL: https://svnweb.freebsd.org/changeset/base/357514 Log: Enable vm_object_mightbedirty() and vm_object_page_clean() for swap objects backing tmpfs vnodes data. The clean scan is limited to only remove write permissions from

svn commit: r357513 - stable/12/sbin/newfs_msdos

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:01:17 2020 New Revision: 357513 URL: https://svnweb.freebsd.org/changeset/base/357513 Log: MFC r357227: Merge r357225 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in newfs_msdos: sbin/newfs_msdos/newfs_msdos.

svn commit: r357512 - in head/sys: cddl/compat/opensolaris/kern compat/cloudabi

2020-02-04 Thread Konstantin Belousov
Author: kib Date: Tue Feb 4 18:56:26 2020 New Revision: 357512 URL: https://svnweb.freebsd.org/changeset/base/357512 Log: Add sys/systm.h to several places that use vm headers. It is needed (but not enough) to use e.g. KASSERT() in inline functions. Sponsored by: The FreeBSD Foundatio

svn commit: r357511 - head/sys/fs/tmpfs

2020-02-04 Thread Konstantin Belousov
Author: kib Date: Tue Feb 4 18:52:25 2020 New Revision: 357511 URL: https://svnweb.freebsd.org/changeset/base/357511 Log: tmpfs_mount update: simplify, cache the value of VFS_TO_TMPFS() calculation. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/fs/tmpfs/

svn commit: r357510 - head/sys/dev/atkbdc

2020-02-04 Thread Kyle Evans
Author: kevans Date: Tue Feb 4 18:45:28 2020 New Revision: 357510 URL: https://svnweb.freebsd.org/changeset/base/357510 Log: psm: use make_dev_s instead of make_dev This most importantly reduces duplication, but it also removes any potential race with usage of dev->si_drv1 since it's now

svn commit: r357509 - head/sys/dev/atkbdc

2020-02-04 Thread Kyle Evans
Author: kevans Date: Tue Feb 4 18:29:06 2020 New Revision: 357509 URL: https://svnweb.freebsd.org/changeset/base/357509 Log: psm: release resources on attach failure In exactly 1/3 cases we'll release resources on failure; touch up the other two to do so as well. Modified: head/sys/de

svn commit: r357508 - stable/11/sys/fs/nullfs

2020-02-04 Thread Konstantin Belousov
Author: kib Date: Tue Feb 4 17:17:40 2020 New Revision: 357508 URL: https://svnweb.freebsd.org/changeset/base/357508 Log: MFC r357199, r357306: Save lower root vnode in nullfs mnt data instead of upper. Modified: stable/11/sys/fs/nullfs/null.h stable/11/sys/fs/nullfs/null_subr.c stable

svn commit: r357507 - stable/11/sys/compat/linuxkpi/common/src

2020-02-04 Thread Konstantin Belousov
Author: kib Date: Tue Feb 4 17:15:51 2020 New Revision: 357507 URL: https://svnweb.freebsd.org/changeset/base/357507 Log: MFC r357198: Provide support for fdevname(3) on linuxkpi-backed devices. For merge, compat32 support was left out. It is not yet present for FIODGNAME over native

svn commit: r357506 - stable/12/sys/fs/nullfs

2020-02-04 Thread Konstantin Belousov
Author: kib Date: Tue Feb 4 17:12:09 2020 New Revision: 357506 URL: https://svnweb.freebsd.org/changeset/base/357506 Log: MFC r357199, r357306: Save lower root vnode in nullfs mnt data instead of upper. Modified: stable/12/sys/fs/nullfs/null.h stable/12/sys/fs/nullfs/null_subr.c stable

svn commit: r357505 - stable/12/sys/compat/linuxkpi/common/src

2020-02-04 Thread Konstantin Belousov
Author: kib Date: Tue Feb 4 17:08:00 2020 New Revision: 357505 URL: https://svnweb.freebsd.org/changeset/base/357505 Log: MFC r357198: Provide support for fdevname(3) on linuxkpi-backed devices. For merge, compat32 support was left out. It is not yet present for FIODGNAME over native

svn commit: r357504 - head/sys/amd64/linux

2020-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 4 16:02:04 2020 New Revision: 357504 URL: https://svnweb.freebsd.org/changeset/base/357504 Log: Regen after r357503. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall

svn commit: r357503 - head/sys/amd64/linux

2020-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 4 16:01:06 2020 New Revision: 357503 URL: https://svnweb.freebsd.org/changeset/base/357503 Log: Add missing linux(4) syscall entries. This fixes missing debug messages for some of the unimplemented syscalls, in particular the AIO-related ones. MFC after:

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

2020-02-04 Thread Alexander Motin
Author: mav Date: Tue Feb 4 15:53:51 2020 New Revision: 357502 URL: https://svnweb.freebsd.org/changeset/base/357502 Log: Few microoptimizations to dbuf layer. Move db_link into the same cache line as db_blkid and db_level. It allows significantly reduce avl_add() time in dbuf_create() o

Re: svn commit: r357246 - head/tests/sys/sys

2020-02-04 Thread Ed Maste
On Wed, 29 Jan 2020 at 17:38, Conrad Meyer wrote: > > Hi Li-Wen, > > Thanks for the report. I went ahead and reverted it in r357273. Thanks Conrad. I agree that this should be cleaned up and I hope that someone can find time to take another look at this. _

svn commit: r357501 - head/sys/netinet

2020-02-04 Thread Michael Tuexen
Author: tuexen Date: Tue Feb 4 14:01:07 2020 New Revision: 357501 URL: https://svnweb.freebsd.org/changeset/base/357501 Log: Remove unused timer. Submitted by: Taylor Brandstetter Modified: head/sys/netinet/sctp_pcb.c head/sys/netinet/sctp_structs.h head/sys/netinet/sctputil

Re: Expand Your Business gcu-squad.org

2020-02-04 Thread Kenneth Wilson
Hello gcu-squad.org As we all know, a website is the first impression that a customer perceives about an organisation. Well we offer tailor made services to counteract all your web problems! We have been successful in increasing the website visibility of our clients in major search engine. *Bel

svn commit: r357500 - head/sys/netinet

2020-02-04 Thread Michael Tuexen
Author: tuexen Date: Tue Feb 4 12:34:16 2020 New Revision: 357500 URL: https://svnweb.freebsd.org/changeset/base/357500 Log: Improve numbering of debug information. Submitted by: Taylor Brandstetter MFC after:1 week Modified: head/sys/netinet/sctp_constants.h hea

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

2020-02-04 Thread Andrew Turner
Author: andrew Date: Tue Feb 4 12:33:00 2020 New Revision: 357499 URL: https://svnweb.freebsd.org/changeset/base/357499 Log: Print useful debug data on unhandled kernel fault on arm64 When panicing because of an unhandled data abort from the kernel it is useful to know the register state

svn commit: r357498 - head/sys/sys

2020-02-04 Thread Warner Losh
Author: imp Date: Tue Feb 4 09:12:12 2020 New Revision: 357498 URL: https://svnweb.freebsd.org/changeset/base/357498 Log: Bump __FreeBSD_version to 1300077 for r357455 sparc64 was removed, bump to reflect that. Pointy-hat-to: imp Noticed by: linimon@ Modified: head/sys/sys/param.