Re: svn commit: r358164 - in head: . lib/ncurses/ncurses

2020-02-20 Thread Baptiste Daroussin
On Thu, Feb 20, 2020 at 05:24:13PM -0800, Mark Millard wrote: > [This is not an objection to the version upgrade.] > > FYI: I happen to have updated to head -r358132 on multiple > environments, not having done anything to force rebuilds > of things tied to ncurses. > > armv7 / 32-bit powerpc :

svn commit: r358194 - head/sys/netgraph

2020-02-20 Thread Gleb Smirnoff
Author: glebius Date: Fri Feb 21 04:18:15 2020 New Revision: 358194 URL: https://svnweb.freebsd.org/changeset/base/358194 Log: Rework second part of r357558. Unroll the macro and allocate memory in sleepable manner before entering the epoch for the send. Modified:

svn commit: r358193 - head/sys/netgraph

2020-02-20 Thread Gleb Smirnoff
Author: glebius Date: Fri Feb 21 04:10:41 2020 New Revision: 358193 URL: https://svnweb.freebsd.org/changeset/base/358193 Log: Revert one half of previous change r357558. Don't enter the epoch on sends to control socket. Control socket messages can run constructors of nodes and other

svn commit: r358192 - head/sys/kern

2020-02-20 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 21 01:44:31 2020 New Revision: 358192 URL: https://svnweb.freebsd.org/changeset/base/358192 Log: vfs: stop duplicating vnode work in audit during path lookup Duplicating the work was putting an avoidable requirement that the filedesc lock is held across the

svn commit: r358191 - head/sys/security/audit

2020-02-20 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 21 01:40:49 2020 New Revision: 358191 URL: https://svnweb.freebsd.org/changeset/base/358191 Log: audit: provide audit_canon_path variant which accepts vnodes Modified: head/sys/security/audit/audit.h head/sys/security/audit/audit_arg.c

svn commit: r358190 - head/sys/security/audit

2020-02-20 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 21 01:40:20 2020 New Revision: 358190 URL: https://svnweb.freebsd.org/changeset/base/358190 Log: audit: simplify path resolving logic Modified: head/sys/security/audit/audit_bsm_klib.c Modified: head/sys/security/audit/audit_bsm_klib.c

svn commit: r358189 - head/sys/security/audit

2020-02-20 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 21 01:39:51 2020 New Revision: 358189 URL: https://svnweb.freebsd.org/changeset/base/358189 Log: audit: rely on use count instead of hold count in audit_canon_path Modified: head/sys/security/audit/audit_bsm_klib.c Modified: head/sys/security/audit/audit_bsm_klib.c

Re: svn commit: r358164 - in head: . lib/ncurses/ncurses

2020-02-20 Thread Mark Millard via svn-src-head
[This is not an objection to the version upgrade.] FYI: I happen to have updated to head -r358132 on multiple environments, not having done anything to force rebuilds of things tied to ncurses. armv7 / 32-bit powerpc : poudriere options displays look normal. aarch64 / powerpc64 / amd64: they

Re: svn commit: r358097 - in head/sys: kern vm

2020-02-20 Thread Jeff Roberson
On Fri, 21 Feb 2020, mmats...@cybernet.co.jp wrote: Hi Jeff, From: Jeff Roberson Date: Wed, 19 Feb 2020 08:17:27 + (UTC) Author: jeff Date: Wed Feb 19 08:17:27 2020 New Revision: 358097 URL: https://svnweb.freebsd.org/changeset/base/358097 Log: Eliminate some unnecessary uses of

Re: svn commit: r358097 - in head/sys: kern vm

2020-02-20 Thread mmatsuda--- via svn-src-head
Hi Jeff, From: Jeff Roberson Date: Wed, 19 Feb 2020 08:17:27 + (UTC) >Author: jeff >Date: Wed Feb 19 08:17:27 2020 >New Revision: 358097 >URL: https://svnweb.freebsd.org/changeset/base/358097 > >Log: > Eliminate some unnecessary uses of UMA_ZONE_VM. Only zones involved in > virtual

svn commit: r358187 - head/sys/kern

2020-02-20 Thread Eric van Gyzen
Author: vangyzen Date: Thu Feb 20 23:53:48 2020 New Revision: 358187 URL: https://svnweb.freebsd.org/changeset/base/358187 Log: clamp kernel dump compression level when using gzip If the configured compression level for kernel dumps it outside the supported range, clamp it to the closest

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

2020-02-20 Thread Eric van Gyzen
Author: vangyzen Date: Thu Feb 20 23:47:09 2020 New Revision: 358186 URL: https://svnweb.freebsd.org/changeset/base/358186 Log: truncate(2): extending the file is required by POSIX 2008 Update the man page to mention that extending a file with truncate(2) is required by POSIX as of 2008.

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-20 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Thu, 20 Feb 2020 at 09:54, Pedro Giffuni wrote: > > > > On 2020-02-20 09:46, Ed Maste wrote: > > > On Thu, 20 Feb 2020 at 04:56, Li-Wen Hsu wrote: > > >> Please note this is not fixed in ci.freebsd.org yet. The reason is it > > >> directly goes

svn commit: r358183 - head/usr.bin/dtc

2020-02-20 Thread Rebecca Cran
Author: bcran Date: Thu Feb 20 21:29:59 2020 New Revision: 358183 URL: https://svnweb.freebsd.org/changeset/base/358183 Log: dtc: remove unknown option printf, since getopt will print it Since we don't set opterr to 0, getopt prints a message when it encounters an unknown/invalid option.

svn commit: r358182 - head/sys/kern

2020-02-20 Thread Konstantin Belousov
Author: kib Date: Thu Feb 20 21:25:12 2020 New Revision: 358182 URL: https://svnweb.freebsd.org/changeset/base/358182 Log: Fix a bug in r358168, do not call sigfastblock_setpend() under a mutex. PR: 244250 Reported and tested by: lwhsu Sponsored by: The FreeBSD Foundation

Re: svn commit: r358181 - head/usr.sbin/pstat

2020-02-20 Thread csjp
To be clear, the before and after should have read: Before: $ swapinfo -h Device 1K-blocks Used Avail Capacity /dev/gpt/swapfs 1048576 0B 1.0G 0% $ After: $ swapinfo -h Device Size Used Avail Capacity /dev/gpt/swapfs 1.0G 0B 1.0G 0% $ On Thu, Feb 20, 2020 at 09:12:10PM +, Christian S.J.

svn commit: r358181 - head/usr.sbin/pstat

2020-02-20 Thread Christian S.J. Peron
Author: csjp Date: Thu Feb 20 21:12:10 2020 New Revision: 358181 URL: https://svnweb.freebsd.org/changeset/base/358181 Log: - Implement -h (human readable) for the size of the underlying block disk. Currently, the size of the swap device is unconditionally reported using blocks, even if

svn commit: r358180 - head/usr.sbin/bhyve

2020-02-20 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Feb 20 21:07:23 2020 New Revision: 358180 URL: https://svnweb.freebsd.org/changeset/base/358180 Log: bhyve: enable virtio-net mergeable rx buffers for tap(4) This patch adds a new netbe_peek_recvlen() function to the net backend API. The new function allows

Re: svn commit: r358170 - head/usr.sbin/services_mkdb

2020-02-20 Thread Ed Maste
On Thu, 20 Feb 2020 at 10:52, Pedro F. Giffuni wrote: > > Author: pfg > Date: Thu Feb 20 15:52:36 2020 > New Revision: 358170 > URL: https://svnweb.freebsd.org/changeset/base/358170 > > Log: > Revert r358153: it is causing unexpected issues with the build system. Thanks Pedro. As an aside

svn commit: r358178 - head/sys/dev/virtio/mmio

2020-02-20 Thread Kristof Provost
Author: kp Date: Thu Feb 20 17:26:08 2020 New Revision: 358178 URL: https://svnweb.freebsd.org/changeset/base/358178 Log: virtio: Pass the interrupt type in mmio mode When we register an interrupt handler we need to pass the intr_type along in bus_setup_intr(). The interrupt type

svn commit: r358177 - head/sys/compat/linuxkpi/common/include/linux

2020-02-20 Thread Emmanuel Vadot
Author: manu Date: Thu Feb 20 17:20:50 2020 New Revision: 358177 URL: https://svnweb.freebsd.org/changeset/base/358177 Log: linuxkpi: Add str_has_prefix This function test if the string str begins with the string pointed at by prefix. Reviewed by: hselasky MFC after:1 week

svn commit: r358176 - head/sys/compat/linuxkpi/common/include/linux

2020-02-20 Thread Emmanuel Vadot
Author: manu Date: Thu Feb 20 17:19:16 2020 New Revision: 358176 URL: https://svnweb.freebsd.org/changeset/base/358176 Log: linuxkpi: Add list_is_first function This function just test if the element is the first of the list. Reviewed by: hselasky MFC after:1 week

svn commit: r358175 - head/usr.sbin/pciconf

2020-02-20 Thread Konstantin Belousov
Author: kib Date: Thu Feb 20 17:10:25 2020 New Revision: 358175 URL: https://svnweb.freebsd.org/changeset/base/358175 Log: Print out some newly added PCIe extended capabilities and subclasses. Taken from https://pcisig.com/sites/default/files/files/PCI_Code-ID_r_1_11__v24_Jan_2019.pdf

svn commit: r358174 - head/sys/dev/pci

2020-02-20 Thread Konstantin Belousov
Author: kib Date: Thu Feb 20 17:08:52 2020 New Revision: 358174 URL: https://svnweb.freebsd.org/changeset/base/358174 Log: Add more values for PCI capabilities, PCIe extended capabilities, and subclasses. Taken from

svn commit: r358172 - in head: lib/libc/stdlib libexec/rtld-elf/rtld-libc sys/bsm sys/compat/freebsd32 sys/kern sys/security/audit sys/sys usr.bin/truss

2020-02-20 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 20 16:58:19 2020 New Revision: 358172 URL: https://svnweb.freebsd.org/changeset/base/358172 Log: vfs: add realpathat syscall realpath(3) is used a lot e.g., by clang and is a major source of getcwd and fstatat calls. This can be done more efficiently in the

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

2020-02-20 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 20 16:58:57 2020 New Revision: 358173 URL: https://svnweb.freebsd.org/changeset/base/358173 Log: make sysent for r358172 ("vfs: add realpathat syscall") Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c

svn commit: r358171 - head

2020-02-20 Thread Baptiste Daroussin
/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Thu Feb 20 15:52:36 2020(r358170) +++ head/ObsoleteFiles.inc Thu Feb 20 16:38:30 2020(r358171) @@ -37,10 +37,10 @@ # done # 20200220: Upgrade

svn commit: r358170 - head/usr.sbin/services_mkdb

2020-02-20 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 20 15:52:36 2020 New Revision: 358170 URL: https://svnweb.freebsd.org/changeset/base/358170 Log: Revert r358153: it is causing unexpected issues with the build system. Modified: head/usr.sbin/services_mkdb/services Modified: head/usr.sbin/services_mkdb/services

svn commit: r358169 - head/sys/netinet

2020-02-20 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 20 15:37:44 2020 New Revision: 358169 URL: https://svnweb.freebsd.org/changeset/base/358169 Log: Remove an unused timer type. MFC after:1 week Modified: head/sys/netinet/sctp_constants.h Modified: head/sys/netinet/sctp_constants.h

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-20 Thread Pedro Giffuni
On 20/02/2020 10:09, Ed Maste wrote: On Thu, 20 Feb 2020 at 09:54, Pedro Giffuni wrote: On 2020-02-20 09:46, Ed Maste wrote: On Thu, 20 Feb 2020 at 04:56, Li-Wen Hsu wrote: Please note this is not fixed in ci.freebsd.org yet. The reason is it directly goes to src/release and perform `make

svn commit: r358168 - in head/sys: kern sys

2020-02-20 Thread Konstantin Belousov
Author: kib Date: Thu Feb 20 15:34:02 2020 New Revision: 358168 URL: https://svnweb.freebsd.org/changeset/base/358168 Log: Do not read sigfastblock word on syscall entry. On machines with SMAP, fueword executes two serializing instructions which can be seen in microbenchmarks. As a

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-20 Thread Ed Maste
On Thu, 20 Feb 2020 at 09:54, Pedro Giffuni wrote: > > On 2020-02-20 09:46, Ed Maste wrote: > > On Thu, 20 Feb 2020 at 04:56, Li-Wen Hsu wrote: > >> Please note this is not fixed in ci.freebsd.org yet. The reason is it > >> directly goes to src/release and perform `make packagesystem` to > >>

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-20 Thread Pedro Giffuni
On 2020-02-20 09:46, Ed Maste wrote: > On Thu, 20 Feb 2020 at 04:56, Li-Wen Hsu wrote: >> Please note this is not fixed in ci.freebsd.org yet. The reason is it >> directly goes to src/release and perform `make packagesystem` to >> generate kernel.txz and base.txz. If I read release(7)

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-20 Thread Ed Maste
On Thu, 20 Feb 2020 at 04:56, Li-Wen Hsu wrote: > > Please note this is not fixed in ci.freebsd.org yet. The reason is it > directly goes to src/release and perform `make packagesystem` to > generate kernel.txz and base.txz. If I read release(7) correctly, > this should be performed under a

Re: svn commit: r358164 - in head: . lib/ncurses/ncurses

2020-02-20 Thread Tijl Coosemans
> --- head/ObsoleteFiles.incThu Feb 20 09:02:59 2020(r358163) > +++ head/ObsoleteFiles.incThu Feb 20 09:12:07 2020(r358164) > @@ -36,6 +36,12 @@ > # xargs -n1 | sort | uniq -d; > # done > > +# 20200220: Upgrade of ncurses, shli

svn commit: r358167 - head/sys/netinet6

2020-02-20 Thread Bjoern A. Zeeb
Author: bz Date: Thu Feb 20 10:56:12 2020 New Revision: 358167 URL: https://svnweb.freebsd.org/changeset/base/358167 Log: ip6_output: improve extension header handling Move IPv6 source address checks from after extension header heandling to the top of the function. If we do not pass

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-20 Thread Li-Wen Hsu
On Wed, Feb 19, 2020 at 7:09 PM Li-Wen Hsu wrote: > > On Wed, Feb 19, 2020 at 5:04 PM Dimitry Andric wrote: > > > > On 2020-02-18 09:11, Baptiste Daroussin wrote: > > > Author: bapt > > > Date: Tue Feb 18 08:11:52 2020 > > > New Revision: 358062 > > > URL:

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-20 Thread Li-Wen Hsu
On Thu, Feb 20, 2020 at 2:06 PM Xin Li wrote: > > > > On 2/19/20 10:01 PM, Yuri Pankov wrote: > > On 20 Feb 2020, at 06:54, Pedro F. Giffuni wrote: > >> > >> Author: pfg > >> Date: Thu Feb 20 03:54:07 2020 > >> New Revision: 358153 > >> URL: https://svnweb.freebsd.org/changeset/base/358153 > >>

svn commit: r358166 - head

2020-02-20 Thread Baptiste Daroussin
"ln -s 'abort:false,junk:false' /etc/malloc.conf".) -20200218: - ncurses has been updated to a newer version (6.1-20200118). After an - update some applications using ncurses may results have some rendering - problems and would need to be rebuilt. +20200220: +

svn commit: r358165 - head/sys/sys

2020-02-20 Thread Baptiste Daroussin
Author: bapt Date: Thu Feb 20 09:17:45 2020 New Revision: 358165 URL: https://svnweb.freebsd.org/changeset/base/358165 Log: Bump __FreeBSD_version after bumping ncurses shlib Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-20 Thread Pedro Giffuni
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Oops! Sorry was AFK ... Thanks! Pedro. On Thursday, February 20, 2020, 1:06 AM, Xin Li wrote: On 2/19/20 10:01 PM, Yuri

svn commit: r358164 - in head: . lib/ncurses/ncurses

2020-02-20 Thread Baptiste Daroussin
@@ # xargs -n1 | sort | uniq -d; # done +# 20200220: Upgrade of ncurses, shlib bumped to version 9 +OLD_FILES+=lib/libncurses.so.8 +OLD_FILES+=lib/libncursesw.so.8 +OLD_FILES+=usr/lib32/libncurses.so.8 +OLD_FILES+=usr/lib32/libncursesw.so.8 + # 20200206: Remove elf2aout OLD_FILES+=usr/bin/elf2aout

svn commit: r358163 - head/stand/efi/libefi

2020-02-20 Thread Toomas Soome
Author: tsoome Date: Thu Feb 20 09:02:59 2020 New Revision: 358163 URL: https://svnweb.freebsd.org/changeset/base/358163 Log: efi_register_handles() is missing NULL pointer check Add missing check of malloc() result. Modified: head/stand/efi/libefi/handles.c Modified:

svn commit: r358162 - head/stand/efi/libefi

2020-02-20 Thread Toomas Soome
Author: tsoome Date: Thu Feb 20 09:00:20 2020 New Revision: 358162 URL: https://svnweb.freebsd.org/changeset/base/358162 Log: insert_zfs() is missing NULL pointer check Add missing check of malloc() result. Modified: head/stand/efi/libefi/efizfs.c Modified:

svn commit: r358160 - head/stand/efi/libefi

2020-02-20 Thread Toomas Soome
Author: tsoome Date: Thu Feb 20 08:56:56 2020 New Revision: 358160 URL: https://svnweb.freebsd.org/changeset/base/358160 Log: efipart_inithandles() is missing NULL pointer check Add missing check of malloc() result. Modified: head/stand/efi/libefi/efipart.c Modified:

svn commit: r358159 - head/stand/efi/libefi

2020-02-20 Thread Toomas Soome
Author: tsoome Date: Thu Feb 20 08:55:18 2020 New Revision: 358159 URL: https://svnweb.freebsd.org/changeset/base/358159 Log: connect_controllers() is missing NULL pointer check Add missing check of malloc() result. Modified: head/stand/efi/libefi/efi_driver_utils.c Modified:

svn commit: r358158 - head/stand/efi/libefi

2020-02-20 Thread Toomas Soome
Author: tsoome Date: Thu Feb 20 08:53:04 2020 New Revision: 358158 URL: https://svnweb.freebsd.org/changeset/base/358158 Log: efihttp_fs_seek() is missing NULL pointer check Add missing check of malloc() result. Modified: head/stand/efi/libefi/efihttp.c Modified:

svn commit: r358157 - head/stand/efi/libefi

2020-02-20 Thread Toomas Soome
Author: tsoome Date: Thu Feb 20 08:48:34 2020 New Revision: 358157 URL: https://svnweb.freebsd.org/changeset/base/358157 Log: efinet_dev_init() is missing NULL pointer check Add missing check of malloc() result. Modified: head/stand/efi/libefi/efinet.c Modified: