svn commit: r350463 - in head/sys: amd64/amd64 arm64/arm64 i386/i386

2019-07-30 Thread Alan Cox
Author: alc Date: Wed Jul 31 05:38:39 2019 New Revision: 350463 URL: https://svnweb.freebsd.org/changeset/base/350463 Log: In pmap_advise(), when we encounter a superpage mapping, we first demote the mapping and then destroy one of the 4 KB page mappings so that there is a potential trigger

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

2019-07-30 Thread Konstantin Belousov
On Tue, Jul 30, 2019 at 08:40:28PM -0700, Bryan Drewery wrote: > This 2nd change alone (&& count1 == 0) was sufficient to fix the endless > loop problem. Good, thank you. > > I am not sure how to test the umtxq_check_susp() change. Do I just need > to ptrace the process? No, you should create a

svn commit: r350462 - head/sbin/nvmecontrol

2019-07-30 Thread Alexander Motin
Author: mav Date: Wed Jul 31 04:19:53 2019 New Revision: 350462 URL: https://svnweb.freebsd.org/changeset/base/350462 Log: Tune some commands desctiption. MFC after:2 weeks Modified: head/sbin/nvmecontrol/devlist.c head/sbin/nvmecontrol/firmware.c head/sbin/nvmecontrol/format.c

svn commit: r350461 - head/sbin/nvmecontrol

2019-07-30 Thread Alexander Motin
Author: mav Date: Wed Jul 31 03:48:48 2019 New Revision: 350461 URL: https://svnweb.freebsd.org/changeset/base/350461 Log: Fix usage printing for nested subcommands. Instead of `nvmecontrol create` should be `nvmecontrol ns create`, etc. MFC after:2 weeks Modified:

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

2019-07-30 Thread Bryan Drewery
On 7/30/19 4:27 PM, Konstantin Belousov wrote: > On Wed, Jul 31, 2019 at 02:13:02AM +0300, Konstantin Belousov wrote: >> On Tue, Jul 30, 2019 at 03:04:57PM -0700, Bryan Drewery wrote: >>> On 7/15/2019 12:18 PM, Konstantin Belousov wrote: Author: kib Date: Mon Jul 15 19:18:25 2019

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

2019-07-30 Thread Bryan Drewery
On 7/30/2019 4:27 PM, Konstantin Belousov wrote: > On Wed, Jul 31, 2019 at 02:13:02AM +0300, Konstantin Belousov wrote: >> On Tue, Jul 30, 2019 at 03:04:57PM -0700, Bryan Drewery wrote: >>> On 7/15/2019 12:18 PM, Konstantin Belousov wrote: Author: kib Date: Mon Jul 15 19:18:25 2019

svn commit: r350460 - in stable/12: sbin/fsck_ffs sbin/mount sys/sys sys/ufs/ffs sys/ufs/ufs

2019-07-30 Thread Kirk McKusick
Author: mckusick Date: Wed Jul 31 00:16:12 2019 New Revision: 350460 URL: https://svnweb.freebsd.org/changeset/base/350460 Log: MFC of 349589, 350070, 350071, 350096, and 350187 Make filesystem-full messages limited per filesystem rather than systemwide Add "untrusted" option to mount

svn commit: r350459 - stable/11/sbin/dump

2019-07-30 Thread Kirk McKusick
Author: mckusick Date: Tue Jul 30 23:50:49 2019 New Revision: 350459 URL: https://svnweb.freebsd.org/changeset/base/350459 Log: MFC of 349032 Clarify -r and -R only usable for level 0 dumps. Modified: stable/11/sbin/dump/dump.8 Directory Properties: stable/11/ (props changed)

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

2019-07-30 Thread Konstantin Belousov
On Wed, Jul 31, 2019 at 02:13:02AM +0300, Konstantin Belousov wrote: > On Tue, Jul 30, 2019 at 03:04:57PM -0700, Bryan Drewery wrote: > > On 7/15/2019 12:18 PM, Konstantin Belousov wrote: > > > Author: kib > > > Date: Mon Jul 15 19:18:25 2019 > > > New Revision: 350005 > > > URL:

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

2019-07-30 Thread Konstantin Belousov
On Tue, Jul 30, 2019 at 03:04:57PM -0700, Bryan Drewery wrote: > On 7/15/2019 12:18 PM, Konstantin Belousov wrote: > > Author: kib > > Date: Mon Jul 15 19:18:25 2019 > > New Revision: 350005 > > URL: https://svnweb.freebsd.org/changeset/base/350005 > > > > Log: > > In do_sem2_wait(), balance

svn commit: r350458 - head/sys/sys

2019-07-30 Thread Mark Johnston
Author: markj Date: Tue Jul 30 22:41:25 2019 New Revision: 350458 URL: https://svnweb.freebsd.org/changeset/base/350458 Log: Use VNASSERT() in checked VOP wrappers. Reviewed by: kib MFC after:3 days Sponsored by: The FreeBSD Foundation Differential Revision:

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

2019-07-30 Thread Bryan Drewery
On 7/15/2019 12:18 PM, Konstantin Belousov wrote: > Author: kib > Date: Mon Jul 15 19:18:25 2019 > New Revision: 350005 > URL: https://svnweb.freebsd.org/changeset/base/350005 > > Log: > In do_sem2_wait(), balance umtx_key_get() with umtx_key_release() on retry. > Is this also needed in

Re: svn commit: r350211 - head/tests/sys/kern

2019-07-30 Thread John Baldwin
On 7/22/19 3:37 AM, Li-Wen Hsu wrote: > Author: lwhsu > Date: Mon Jul 22 10:37:56 2019 > New Revision: 350211 > URL: https://svnweb.freebsd.org/changeset/base/350211 > > Log: > Temporarily skip flakey test case > sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger >

svn commit: r350457 - head/sbin/camcontrol

2019-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 30 20:58:56 2019 New Revision: 350457 URL: https://svnweb.freebsd.org/changeset/base/350457 Log: Make `camcontrol modepage` to use 10 byte commands. While old devices may not support 10 byte MODE SENSE/MODE SELECT commands, new ones may not be able to report all

svn commit: r350453 - head/share/mk

2019-07-30 Thread Alan Somers
Author: asomers Date: Tue Jul 30 19:34:39 2019 New Revision: 350453 URL: https://svnweb.freebsd.org/changeset/base/350453 Log: Add a CXXWARNFLAGS variable Some warning flags are valid for C++ but not C. GCC 8 complains if you pass such flags when building a C file. Using a separate

Re: svn commit: r350444 - head/stand/efi/loader

2019-07-30 Thread Ruslan Bukin
Hi No, this is linking-stage fix only. efinet.c, efihttp.c are still included to the build I guess we could exclude them from compilation as it makes no sense Ruslan On Tue, Jul 30, 2019 at 07:00:34PM +0300, Toomas Soome wrote: > hi! > > efihttp is also using network, is it intentionally left

svn commit: r350451 - in head/sys: amd64/linux amd64/linux32 arm64/linux conf i386/linux modules/linux64

2019-07-30 Thread Ed Maste
Author: emaste Date: Tue Jul 30 17:18:31 2019 New Revision: 350451 URL: https://svnweb.freebsd.org/changeset/base/350451 Log: linuxulator: rename linux_locore.s to .asm It is assembled using "${CC} -x assembler-with-cpp", which by convention (bsd.suffixes.mk) uses the .asm extension.

svn commit: r350450 - head/sys/kern

2019-07-30 Thread Mark Johnston
Author: markj Date: Tue Jul 30 17:09:58 2019 New Revision: 350450 URL: https://svnweb.freebsd.org/changeset/base/350450 Log: Enable witness(4) blessings. witness has long had a facility to "bless" designated lock pairs. Lock order reversals between a pair of blessed locks are not

svn commit: r350449 - head

2019-07-30 Thread Ed Maste
Author: emaste Date: Tue Jul 30 16:40:33 2019 New Revision: 350449 URL: https://svnweb.freebsd.org/changeset/base/350449 Log: cirrus.yml: stop fetching OVMF.fd now that we're using the pkg Missed in r350302 Sponsored by: The FreeBSD Foundation Modified: head/.cirrus.yml Modified:

Re: svn commit: r350444 - head/stand/efi/loader

2019-07-30 Thread Toomas Soome via svn-src-all
hi! efihttp is also using network, is it intentionally left untouched? rgds, toomas > On 30 Jul 2019, at 17:54, Ruslan Bukin wrote: > > Author: br > Date: Tue Jul 30 14:54:18 2019 > New Revision: 350444 > URL: https://svnweb.freebsd.org/changeset/base/350444 > > Log: > Fix EFI loader build

svn commit: r350448 - head/sys/kern

2019-07-30 Thread Mark Johnston
Author: markj Date: Tue Jul 30 16:01:16 2019 New Revision: 350448 URL: https://svnweb.freebsd.org/changeset/base/350448 Log: Regenerate after r350447. Modified: head/sys/kern/init_sysent.c Modified: head/sys/kern/init_sysent.c

svn commit: r350447 - head/sys/kern

2019-07-30 Thread Mark Johnston
Author: markj Date: Tue Jul 30 15:59:44 2019 New Revision: 350447 URL: https://svnweb.freebsd.org/changeset/base/350447 Log: Enable copy_file_range(2) in capability mode. copy_file_range() operates on a pair of file descriptors; it requires CAP_READ for the source descriptor and

svn commit: r350446 - head/sys/sys

2019-07-30 Thread Mark Johnston
Author: markj Date: Tue Jul 30 15:57:31 2019 New Revision: 350446 URL: https://svnweb.freebsd.org/changeset/base/350446 Log: Handle refcount(9) wraparound. Attempt to mitigate the security risks around refcount overflows by introducing a "saturated" state for the counter. Once a counter

svn commit: r350445 - head/etc/mtree

2019-07-30 Thread Ian Lepore
Author: ian Date: Tue Jul 30 15:51:28 2019 New Revision: 350445 URL: https://svnweb.freebsd.org/changeset/base/350445 Log: Create the /var/account dir with mode 0750; this is a followup to r349974. The rc.d/account script contains code to create the /var/account dir, so it hadn't

svn commit: r350444 - head/stand/efi/loader

2019-07-30 Thread Ruslan Bukin
Author: br Date: Tue Jul 30 14:54:18 2019 New Revision: 350444 URL: https://svnweb.freebsd.org/changeset/base/350444 Log: Fix EFI loader build when LOADER_NET_SUPPORT=no. Sponsored by: DARPA, AFRL Modified: head/stand/efi/loader/conf.c Modified: head/stand/efi/loader/conf.c

svn commit: r350443 - head/sys/dev/mmc/host

2019-07-30 Thread Ruslan Bukin
Author: br Date: Tue Jul 30 14:21:00 2019 New Revision: 350443 URL: https://svnweb.freebsd.org/changeset/base/350443 Log: Fix MMCCAM kernel build. Sponsored by: DARPA, AFRL Modified: head/sys/dev/mmc/host/dwmmc_altera.c Modified: head/sys/dev/mmc/host/dwmmc_altera.c

svn commit: r350442 - stable/11/usr.sbin/mptutil

2019-07-30 Thread Ed Maste
Author: emaste Date: Tue Jul 30 14:19:18 2019 New Revision: 350442 URL: https://svnweb.freebsd.org/changeset/base/350442 Log: MFC r350215: mptutil: emit a warning on big-endian architectures It is known to be broken. PR: 162513 Sponsored by: The FreeBSD Foundation

svn commit: r350441 - stable/12/usr.sbin/mptutil

2019-07-30 Thread Ed Maste
Author: emaste Date: Tue Jul 30 14:18:05 2019 New Revision: 350441 URL: https://svnweb.freebsd.org/changeset/base/350441 Log: MFC r350215: mptutil: emit a warning on big-endian architectures It is known to be broken. PR: 162513 Sponsored by: The FreeBSD Foundation

svn commit: r350440 - in head/sys: arm64/conf conf dev/mmc/host

2019-07-30 Thread Ruslan Bukin
Author: br Date: Tue Jul 30 12:51:14 2019 New Revision: 350440 URL: https://svnweb.freebsd.org/changeset/base/350440 Log: Add support for the SD/MMC controller found in Terasic DE10-Pro (an Intel Stratix 10 GX/SX FPGA Development Kit). Set the bus speed manually due to lack of clock

svn commit: r350439 - stable/12/sys/arm64/arm64

2019-07-30 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Tue Jul 30 12:17:11 2019 New Revision: 350439 URL: https://svnweb.freebsd.org/changeset/base/350439 Log: MFC r346993 Add a hw.model sysctl oid for arm64 which reports the CPU model similar to armv6/7. Modified: stable/12/sys/arm64/arm64/identcpu.c Modified:

Re: svn commit: r350436 - in head/sys: amd64/conf arm/arm conf i386/conf kern sys

2019-07-30 Thread Poul-Henning Kamp
In message <201907300513.x6u5dgjs004...@repo.freebsd.org>, Xin LI writes: >URL: https://svnweb.freebsd.org/changeset/base/350436 > >Log: > Remove gzip'ed a.out support. Backstory: http://phk.freebsd.dk/sagas/gzipaout/ -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20

svn commit: r350438 - head/lib/libcasper/services/cap_fileargs

2019-07-30 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Jul 30 08:53:03 2019 New Revision: 350438 URL: https://svnweb.freebsd.org/changeset/base/350438 Log: fileargs: fix formating in EXAMPLES PR: 239523 Submitted by: mikael.uran...@gmail.com Modified: