Re: svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Rodney W. Grimes
> On Mon, 25 Feb 2019, Jason Harmening wrote: > > > On 2/25/19 9:46 PM, Bruce Evans wrote: > >> > >> block_size <= PAGE_SIZE is very uncommon for ffs, even on systems with > >> large > >> pages.?? MINBSIZE is 4096 in ffs (except in my version, it is 512).?? The > >> default is 32768 in newfs.??

Re: svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Bruce Evans
On Mon, 25 Feb 2019, Jason Harmening wrote: On 2/25/19 9:46 PM, Bruce Evans wrote: block_size <= PAGE_SIZE is very uncommon for ffs, even on systems with large pages.?? MINBSIZE is 4096 in ffs (except in my version, it is 512).?? The default is 32768 in newfs.?? I consider this excessive and

Re: svn commit: r344567 - in head: etc/mtree include sbin sbin/veriexec

2019-02-25 Thread Simon J. Gerraty via svn-src-head
Rodney W. Grimes wrote: > > Differential Revision:D16575 > > Just a small nit, for future reference, from the template: Oops, noted thanks. This is all disabled by default, but I did a buildworld with it all enabled just prior so hopefully will not impact anyone negatively and will help t

svn commit: r344568 - in head/stand: . common ficl ficl32 i386/loader liblua libsa libsa32

2019-02-25 Thread Simon J. Gerraty
Author: sjg Date: Tue Feb 26 06:22:10 2019 New Revision: 344568 URL: https://svnweb.freebsd.org/changeset/base/344568 Log: Enable veriexec for loader This relies on libbearssl and libsecureboot to verify files read by loader in a maner equivalent to how mac_veriexec Note: disabled

Re: svn commit: r344567 - in head: etc/mtree include sbin sbin/veriexec

2019-02-25 Thread Rodney W. Grimes
> Author: sjg > Date: Tue Feb 26 06:17:23 2019 > New Revision: 344567 > URL: https://svnweb.freebsd.org/changeset/base/344567 > > Log: > Add verifying manifest loader for mac_veriexec > > This tool will verify a signed manifest and load contents into > mac_veriexec for storage > > Sp

svn commit: r344567 - in head: etc/mtree include sbin sbin/veriexec

2019-02-25 Thread Simon J. Gerraty
Author: sjg Date: Tue Feb 26 06:17:23 2019 New Revision: 344567 URL: https://svnweb.freebsd.org/changeset/base/344567 Log: Add verifying manifest loader for mac_veriexec This tool will verify a signed manifest and load contents into mac_veriexec for storage Sponsored by: Juniper Netw

Re: svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Jason Harmening
On 2/25/19 9:46 PM, Bruce Evans wrote: block_size <= PAGE_SIZE is very uncommon for ffs, even on systems with large pages.  MINBSIZE is 4096 in ffs (except in my version, it is 512).  The default is 32768 in newfs.  I consider this excessive and only use it for file systems with many files lar

svn commit: r344566 - in head: lib share/mk tools/build/options

2019-02-25 Thread Simon J. Gerraty
Author: sjg Date: Tue Feb 26 06:11:01 2019 New Revision: 344566 URL: https://svnweb.freebsd.org/changeset/base/344566 Log: Enable build of libbearssl Reviewed by: emaste Sponsored by: Juniper Networks Differential Revision:D16337 Added: head/tools/build/options/WITH_BEARSSL

svn commit: r344565 - in head/lib/libsecureboot: . h openpgp tests

2019-02-25 Thread Simon J. Gerraty
Author: sjg Date: Tue Feb 26 06:09:10 2019 New Revision: 344565 URL: https://svnweb.freebsd.org/changeset/base/344565 Log: Add libsecureboot Used by loader and veriexec Depends on libbearssl Reviewed by: emaste Sponsored by: Juniper Networks Differential Revision:D16335

svn commit: r344564 - in head: contrib/bearssl contrib/bearssl/tools lib/libbearssl

2019-02-25 Thread Simon J. Gerraty
Author: sjg Date: Tue Feb 26 05:59:22 2019 New Revision: 344564 URL: https://svnweb.freebsd.org/changeset/base/344564 Log: Add libbearssl Disabled by default, used by loader and sbin/veriexec Reviewed by: emaste Sponsored by: Juniper Networks Differential Revision: D16334 Added:

Re: svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Bruce Evans
On Tue, 26 Feb 2019, Jason A. Harmening wrote: ... Log: FFS: allow sendfile(2) to work with block sizes greater than the page size Implement ffs_getpages_async(), which when possible calls the asynchronous flavor of the generic pager's getpages function. When the underlying block size is la

svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Jason A. Harmening
Author: jah Date: Tue Feb 26 04:56:10 2019 New Revision: 344562 URL: https://svnweb.freebsd.org/changeset/base/344562 Log: FFS: allow sendfile(2) to work with block sizes greater than the page size Implement ffs_getpages_async(), which when possible calls the asynchronous flavor of the ge

svn commit: r344561 - head/sys/vm

2019-02-25 Thread Jason A. Harmening
Author: jah Date: Tue Feb 26 04:50:46 2019 New Revision: 344561 URL: https://svnweb.freebsd.org/changeset/base/344561 Log: Fix incorrect assertion in vnode_pager_generic_getpages() Reviewed by: kib, glebius MFC after:1 week Modified: head/sys/vm/vnode_pager.c Modified: head/sys/v

svn commit: r344560 - head/stand/efi/loader/arch/i386

2019-02-25 Thread Kyle Evans
Author: kevans Date: Tue Feb 26 03:37:12 2019 New Revision: 344560 URL: https://svnweb.freebsd.org/changeset/base/344560 Log: stand: Remove unused i386 EFI MD bits r328169 removed the copy of bootinfo that would've made this somewhat functional. However, this is irrelevant- earlier work i

svn commit: r344559 - head/sbin/ifconfig

2019-02-25 Thread Alan Somers
Author: asomers Date: Tue Feb 26 03:34:47 2019 New Revision: 344559 URL: https://svnweb.freebsd.org/changeset/base/344559 Log: ifconfig: eliminate trailing whitespace Eliminate trailing whitespace on inet, inet6, and groups lines. I think the "list txpower" command will still show some, b

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-25 Thread Rodney W. Grimes
> > The modest increase in activation energy for that task seems worth it > > for the short-term gains of reduced integration cost (this code will > > greatly improve our ZFS-on-Linux test coverage.) > > > > Rod rightly points out that we haven't accepted SPDX tags alone as > > license statements.

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-25 Thread K. Macy
> We had a brief discussion of this commit within a subset of core. This > addition of GPLv2 code is fine as the code is easily removal to a module > (per kmoore@) should the day come that we're read to evict all GPL code. I don't execute the ctors until coverage is enabled because I have to manu

svn commit: r344556 - head/sys/dev/spibus

2019-02-25 Thread Ian Lepore
Author: ian Date: Mon Feb 25 23:49:58 2019 New Revision: 344556 URL: https://svnweb.freebsd.org/changeset/base/344556 Log: Set maximum bus clock speed from hints when attaching hinted spibus(4) children. Some devices (such as spigen(4)) document that this works, but it appears that the

svn commit: r344555 - head/usr.sbin/makefs

2019-02-25 Thread Maxim Sobolev
Author: sobomax Date: Mon Feb 25 23:45:36 2019 New Revision: 344555 URL: https://svnweb.freebsd.org/changeset/base/344555 Log: Improve error handling: bail out if one of the files scheduled to go to the FS image we are making cannot be read (e.g. EPERM). Current behaviour when we issue warin

svn commit: r344554 - head

2019-02-25 Thread Dimitry Andric
Author: dim Date: Mon Feb 25 22:11:44 2019 New Revision: 344554 URL: https://svnweb.freebsd.org/changeset/base/344554 Log: After r344530, remove leading slashes from libprivateifconfig lines in ObsoleteFiles.inc. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

svn commit: r344553 - head/sys/dev/asmc

2019-02-25 Thread David Bright
Author: dab Date: Mon Feb 25 21:59:01 2019 New Revision: 344553 URL: https://svnweb.freebsd.org/changeset/base/344553 Log: asmc: Add support for Mac mini 2,1 PR: 235798 Submitted by: Trev Reported by: Trev MFC after:1 week Modified: head/sys/dev/asmc/asmc.c head/

svn commit: r344552 - in head: sbin/fsck_ffs sbin/fsdb sys/ufs/ffs

2019-02-25 Thread Kirk McKusick
Author: mckusick Date: Mon Feb 25 21:58:19 2019 New Revision: 344552 URL: https://svnweb.freebsd.org/changeset/base/344552 Log: After a crash, a file that extends into indirect blocks may end up shorter than its size resulting in a hole as its final block (which is a violation of the invarie

svn commit: r344551 - in head/usr.bin/cmp: . tests

2019-02-25 Thread Mark Johnston
Author: markj Date: Mon Feb 25 19:47:27 2019 New Revision: 344551 URL: https://svnweb.freebsd.org/changeset/base/344551 Log: Fix handling of rights on stdio streams, take two. Split the rights-limiting code into two cases: if one of the input files isn't a regular file, use caph_limit_str

svn commit: r344550 - in head/sys: kern vm

2019-02-25 Thread Mark Johnston
Author: markj Date: Mon Feb 25 19:22:13 2019 New Revision: 344550 URL: https://svnweb.freebsd.org/changeset/base/344550 Log: Improve vmem tuning for platforms without a direct map. On platforms without a direct map (i.e., platforms without UMA_MD_SMALL_ALLOC defined), the boundary tag all

Re: svn commit: r344534 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2019-02-25 Thread Ian Lepore
Nope, editing prior history is administratively disabled in the svn repo. But at least the commit message did include a reference to the review, so someone can dig up the info if they need it. -- Ian On Mon, 2019-02-25 at 16:10 -0300, luporl wrote: > Sorry, I forgot to copy the summary from D1935

svn commit: r344547 - head/sys/opencrypto

2019-02-25 Thread Sean Eric Fagan
Author: sef Date: Mon Feb 25 19:14:16 2019 New Revision: 344547 URL: https://svnweb.freebsd.org/changeset/base/344547 Log: Fix another bug introduced during the review process of r344140: the tag wasn't being computed properly due to chaning a >= comparison to an == comparison. Specific

Re: svn commit: r344534 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2019-02-25 Thread luporl
Sorry, I forgot to copy the summary from D19353. Is there a way to change it now? On Mon, Feb 25, 2019 at 3:56 PM Ian Lepore wrote: > > On Mon, 2019-02-25 at 18:52 +, Leandro Lupori wrote: > > Author: luporl > > Date: Mon Feb 25 18:52:47 2019 > > New Revision: 344534 > > URL: https://svnweb.

Re: svn commit: r344533 - in head/contrib/openpam: . bin bin/openpam_dump_policy bin/pamtest bin/su doc doc/man include include/security lib lib/libpam m4 misc modules modules/pam_deny modules/pam_per

2019-02-25 Thread Conrad Meyer
On Mon, Feb 25, 2019 at 10:41 AM Dag-Erling Smørgrav wrote: > > Author: des > Date: Mon Feb 25 18:41:16 2019 > New Revision: 344533 > URL: https://svnweb.freebsd.org/changeset/base/344533 > > Log: > Upgrade to OpenPAM Tabebuia. PR: 235903 ___ svn-src-

Re: svn commit: r344534 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2019-02-25 Thread Ian Lepore
On Mon, 2019-02-25 at 18:52 +, Leandro Lupori wrote: > Author: luporl > Date: Mon Feb 25 18:52:47 2019 > New Revision: 344534 > URL: https://svnweb.freebsd.org/changeset/base/344534 > > Log: > Increase ctfconvert buffer size > > Reviewed by:markj > Differential Revision:

svn commit: r344534 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2019-02-25 Thread Leandro Lupori
Author: luporl Date: Mon Feb 25 18:52:47 2019 New Revision: 344534 URL: https://svnweb.freebsd.org/changeset/base/344534 Log: Increase ctfconvert buffer size Reviewed by: markj Differential Revision:https://reviews.freebsd.org/D19353 Modified: head/cddl/contrib/opensolaris/too

svn commit: r344533 - in head/contrib/openpam: . bin bin/openpam_dump_policy bin/pamtest bin/su doc doc/man include include/security lib lib/libpam m4 misc modules modules/pam_deny modules/pam_perm...

2019-02-25 Thread Dag-Erling Smørgrav
Author: des Date: Mon Feb 25 18:41:16 2019 New Revision: 344533 URL: https://svnweb.freebsd.org/changeset/base/344533 Log: Upgrade to OpenPAM Tabebuia. Added: head/contrib/openpam/m4/ax_pkg_config.m4 - copied unchanged from r344500, vendor/openpam/dist/m4/ax_pkg_config.m4 head/contrib/

svn commit: r344532 - head/usr.sbin/wlandebug

2019-02-25 Thread Ed Maste
Author: emaste Date: Mon Feb 25 18:27:19 2019 New Revision: 344532 URL: https://svnweb.freebsd.org/changeset/base/344532 Log: Revert r344211: wlandebug: disable PIE to fix build failure As of r344530 libifconfig is built as a standard INTERNALLIB and the wlandebug PIE workaround from r344

svn commit: r344531 - head/sys/sys

2019-02-25 Thread Ed Maste
Author: emaste Date: Mon Feb 25 18:25:53 2019 New Revision: 344531 URL: https://svnweb.freebsd.org/changeset/base/344531 Log: Remove unintend change to capability.h from r344530 I expect to remove capability.h in the near future, but it should not have been part of this commit. Modified:

svn commit: r344530 - in head: . lib/libifconfig share/mk sys/sys

2019-02-25 Thread Ed Maste
Author: emaste Date: Mon Feb 25 18:22:20 2019 New Revision: 344530 URL: https://svnweb.freebsd.org/changeset/base/344530 Log: Make libifconfig INTERNALLIB Instead of PRIVATELIB + NO_PIC. This avoids the need for the wlandebug PIE special case added in r344211, and provides a stronger gua

svn commit: r344529 - head/sys/dev/flash

2019-02-25 Thread Ian Lepore
Author: ian Date: Mon Feb 25 18:11:59 2019 New Revision: 344529 URL: https://svnweb.freebsd.org/changeset/base/344529 Log: Fix a paste-o that broke the build on all arches. Reported by: many Pointy hat: ian@ Modified: head/sys/dev/flash/at45d.c Modified: head/sys/dev/flash/at45d.c

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-25 Thread Cy Schubert
On February 25, 2019 9:58:09 AM PST, Brooks Davis wrote: >On Sat, Feb 23, 2019 at 09:14:00PM +, Matt Macy wrote: >> Author: mmacy >> Date: Sat Feb 23 21:14:00 2019 >> New Revision: 344487 >> URL: https://svnweb.freebsd.org/changeset/base/344487 >> >> Log: >> gcov support >> >> add gcov

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-25 Thread Brooks Davis
On Sat, Feb 23, 2019 at 09:14:00PM +, Matt Macy wrote: > Author: mmacy > Date: Sat Feb 23 21:14:00 2019 > New Revision: 344487 > URL: https://svnweb.freebsd.org/changeset/base/344487 > > Log: > gcov support > > add gcov support and export results as files in debugfs We had a brief disc

svn commit: r344527 - head/sys/arm64/rockchip/clk

2019-02-25 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 25 17:40:00 2019 New Revision: 344527 URL: https://svnweb.freebsd.org/changeset/base/344527 Log: arm64: rockchip: clk: Set the write mask when setting the clock mux RockChip clocks have a write mask in the upper 16bits of the mux register which wasn't set in the

svn commit: r344526 - head/sys/dev/flash

2019-02-25 Thread Ian Lepore
Author: ian Date: Mon Feb 25 17:30:01 2019 New Revision: 344526 URL: https://svnweb.freebsd.org/changeset/base/344526 Log: Resolve a name conflict when both SpiFlash and DataFlash devices are present. Both SpiFlash (mx25l) and DataFlash (at45d) drivers create a disk device with a name of

svn commit: r344525 - head/sys/dev/flash

2019-02-25 Thread Ian Lepore
Author: ian Date: Mon Feb 25 16:40:10 2019 New Revision: 344525 URL: https://svnweb.freebsd.org/changeset/base/344525 Log: Add a metadata entry for the AT45DB641E chip. This chip has the same 3-byte jedec ID as its older cousin the AT45DB642D, but uses a different page size. The only way to

svn commit: r344524 - head/sys/dev/cxgbe/firmware

2019-02-25 Thread Navdeep Parhar
Author: np Date: Mon Feb 25 16:28:13 2019 New Revision: 344524 URL: https://svnweb.freebsd.org/changeset/base/344524 Log: cxgbe(4): Updates to the default and hashfilter configurations. - Do not use nvf = 4 as it is not really supported by the firmware. Firmwares 1.23.3.0 and above will

svn commit: r344523 - head/sys/dev/flash

2019-02-25 Thread Ian Lepore
Author: ian Date: Mon Feb 25 16:20:58 2019 New Revision: 344523 URL: https://svnweb.freebsd.org/changeset/base/344523 Log: Include the jedec "extended device information string" in the criteria used to match a chip to our table of metadata describing the chips. At least one new DataFlash chi

svn commit: r344519 - head/sys/dev/cxgbe/common

2019-02-25 Thread Navdeep Parhar
Author: np Date: Mon Feb 25 15:47:22 2019 New Revision: 344519 URL: https://svnweb.freebsd.org/changeset/base/344519 Log: cxgbe(4): Use correct port_info in the call to is_bt(). This fixes a panic during configuration if the tx channel of a port isn't the same as its port id. Reporte

Re: svn commit: r344518 - head/share/man/man9

2019-02-25 Thread Enji Cooper
> On Feb 25, 2019, at 07:03, Mateusz Piotrowski <0...@freebsd.org> wrote: > > Author: 0mp (ports committer) > Date: Mon Feb 25 15:03:50 2019 > New Revision: 344518 > URL: https://svnweb.freebsd.org/changeset/base/344518 > > Log: > Add missing types to the sysctl(9) manual page > > Update the

svn commit: r344518 - head/share/man/man9

2019-02-25 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Mon Feb 25 15:03:50 2019 New Revision: 344518 URL: https://svnweb.freebsd.org/changeset/base/344518 Log: Add missing types to the sysctl(9) manual page Update the diff to include other missing sysctl types found in sysctl.h. Some of these sysctls are

svn commit: r344517 - head/sys/kern

2019-02-25 Thread Andrew Turner
Author: andrew Date: Mon Feb 25 13:15:34 2019 New Revision: 344517 URL: https://svnweb.freebsd.org/changeset/base/344517 Log: Check the index hasn't changed after writing the cmp entry. If an interrupt fires while writing the cmp entry we may have a partial entry. Work around this by usin

svn commit: r344510 - head/sys/dev/netmap

2019-02-25 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Feb 25 09:57:06 2019 New Revision: 344510 URL: https://svnweb.freebsd.org/changeset/base/344510 Log: netmap: remove redundant call to nm_set_native_flags() This redundant call was introduced by mistake in r343772. MFC after:3 days Sponsored by: Sunny V