svn commit: r350162 - head/sys/dev/sdhci

2019-07-19 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Sat Jul 20 02:53:06 2019 New Revision: 350162 URL: https://svnweb.freebsd.org/changeset/base/350162 Log: Add emmc support for Rockchip RK3399 SoC. Tested on NanoPC-T4 board. Reviewed by: manu Differential Revision:https://reviews.freebsd.org/D20156 Modifi

svn commit: r350161 - in head/sys: arm64/conf arm64/rockchip conf

2019-07-19 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Sat Jul 20 02:03:31 2019 New Revision: 350161 URL: https://svnweb.freebsd.org/changeset/base/350161 Log: Add driver for Rockchip RK3399 eMMC PHY. Tested on NanoPC-T4 board. Reviewed by: manu Differential Revision:https://reviews.freebsd.org/D20840 Added:

svn commit: r350160 - head/lib/libc/tests/string

2019-07-19 Thread Brooks Davis
Author: brooks Date: Fri Jul 19 23:58:30 2019 New Revision: 350160 URL: https://svnweb.freebsd.org/changeset/base/350160 Log: Avoid copying too much from the input string. This avoids reading past the end of the static strings. On a system with bounds checking these tests fault. Rev

svn commit: r350159 - head/share/mk

2019-07-19 Thread Brooks Davis
Author: brooks Date: Fri Jul 19 23:39:21 2019 New Revision: 350159 URL: https://svnweb.freebsd.org/changeset/base/350159 Log: Make setting mips endian and ABI less verbose. Allow ABI to be over ridden to allow (with other changes) programs to be built targeting ABIs other than the default

svn commit: r350158 - head/lib/libproc

2019-07-19 Thread Brooks Davis
Author: brooks Date: Fri Jul 19 23:10:43 2019 New Revision: 350158 URL: https://svnweb.freebsd.org/changeset/base/350158 Log: Remove an unneeded temporary variable in two functions. There is no need to convert an intptr_t to a long just to cast it to a (void *). Obtained from:

svn commit: r350157 - head/lib/libgssapi

2019-07-19 Thread Brooks Davis
Author: brooks Date: Fri Jul 19 22:54:09 2019 New Revision: 350157 URL: https://svnweb.freebsd.org/changeset/base/350157 Log: Use the __DECONST macro rather than hand rolling it. Obtained from:CheriBSD MFC after:1 week Sponsored by: DARPA, AFRL Modified: head/lib/libgssap

svn commit: r350156 - head/sys/kern

2019-07-19 Thread Konstantin Belousov
Author: kib Date: Fri Jul 19 20:51:39 2019 New Revision: 350156 URL: https://svnweb.freebsd.org/changeset/base/350156 Log: Fix leak of memory and file refs with sendmsg(2) over unix domain sockets. When sendmsg(2) sucessfully internalized one SCM_RIGHTS control message, but failed to proc

svn commit: r350155 - head/sys/vm

2019-07-19 Thread Doug Moore
Author: dougm Date: Fri Jul 19 20:47:35 2019 New Revision: 350155 URL: https://svnweb.freebsd.org/changeset/base/350155 Log: Define vm_map_entry_in_transition to handle an in-transition map entry, combining code currently in vm_map_unwire and vm_map_wire_locked into a single function, called

svn commit: r350154 - head/usr.bin/vi

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 20:04:31 2019 New Revision: 350154 URL: https://svnweb.freebsd.org/changeset/base/350154 Log: Remove RELEASE_CRUNCH here If someone wants to subset, they can set MK_ICONV=no. We no longer use it for the release. Modified: head/usr.bin/vi/Makefile Modified:

svn commit: r350153 - head/share/man/man8

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 20:04:26 2019 New Revision: 350153 URL: https://svnweb.freebsd.org/changeset/base/350153 Log: Remove RELEASE_CRUNCH in example RELEASE_CRUNCH is no longer relevant. Modified: head/share/man/man8/picobsd.8 Modified: head/share/man/man8/picobsd.8 =

svn commit: r350152 - head/usr.sbin/crunch/crunchgen

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 20:04:21 2019 New Revision: 350152 URL: https://svnweb.freebsd.org/changeset/base/350152 Log: Remove obsolete RELEASE_CRUNCH Remove documentation of RELEASE_CRUNCH here. It's obsolete and no longer a good example. Modified: head/usr.sbin/crunch/crunchgen/c

svn commit: r350151 - head/sbin/ifconfig

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 20:04:13 2019 New Revision: 350151 URL: https://svnweb.freebsd.org/changeset/base/350151 Log: Remove RELEASE_CRUNCH RELEASE_CRUNCH isn't used for releases any more. If someone wants to subset, then they can set MK_JAIL=no instead. Modified: head/sbin/ifconf

svn commit: r350150 - head/sbin/camcontrol

2019-07-19 Thread Alexander Motin
Author: mav Date: Fri Jul 19 20:02:01 2019 New Revision: 350150 URL: https://svnweb.freebsd.org/changeset/base/350150 Log: Properly report ACS revisions alike to kernel. MFC after:2 weeks Modified: head/sbin/camcontrol/camcontrol.c Modified: head/sbin/camcontrol/camcontrol.c ===

svn commit: r350149 - in head: sbin/camcontrol sys/cam/ata sys/sys

2019-07-19 Thread Alexander Motin
Author: mav Date: Fri Jul 19 19:15:08 2019 New Revision: 350149 URL: https://svnweb.freebsd.org/changeset/base/350149 Log: Add Accessible Max Address Configuration support to camcontrol. AMA replaced HPA in ACS-3 specification. It allows to limit size of the disk alike to HPA, but declar

svn commit: r350148 - head/libexec/bootpd

2019-07-19 Thread Brooks Davis
Author: brooks Date: Fri Jul 19 18:47:13 2019 New Revision: 350148 URL: https://svnweb.freebsd.org/changeset/base/350148 Log: Restore WARNS?=1 here. I missed that libexec/bootpd/bootpgw existed. Modified: head/libexec/bootpd/Makefile.inc Modified: head/libexec/bootpd/Makefile.inc ==

svn commit: r350147 - head/sys/dev/nvme

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 18:39:24 2019 New Revision: 350147 URL: https://svnweb.freebsd.org/changeset/base/350147 Log: Keep track of the number of commands that exhaust their retry limit. While we print failure messages on the console, sometimes logs are lost or overwhelmed. Keeping a

svn commit: r350146 - head/sys/dev/nvme

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 18:39:18 2019 New Revision: 350146 URL: https://svnweb.freebsd.org/changeset/base/350146 Log: Keep track of the number of retried commands. Retried commands can indicate a performance degredation of an nvme drive. Keep track of the number of retries and report

svn commit: r350145 - head/sys/libkern

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 18:38:47 2019 New Revision: 350145 URL: https://svnweb.freebsd.org/changeset/base/350145 Log: Remove pre-FreeBSD 7.0 compatibility. Modified: head/sys/libkern/inet_pton.c Modified: head/sys/libkern/inet_pton.c =

svn commit: r350143 - in head/libexec/bootpd: . tools

2019-07-19 Thread Brooks Davis
Author: brooks Date: Fri Jul 19 17:52:23 2019 New Revision: 350143 URL: https://svnweb.freebsd.org/changeset/base/350143 Log: Chain Makefile.inc's so default are inherited as expected. Remove unneeded or duplicate variables. No functional change. Obtained from:CheriBSD M

svn commit: r350142 - head/sys/conf

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 17:48:29 2019 New Revision: 350142 URL: https://svnweb.freebsd.org/changeset/base/350142 Log: Add comments about KERN_OPT here. Modified: head/sys/conf/config.mk Modified: head/sys/conf/config.mk ===

svn commit: r350141 - stable/12/lib/libkvm

2019-07-19 Thread Mark Johnston
Author: markj Date: Fri Jul 19 16:21:19 2019 New Revision: 350141 URL: https://svnweb.freebsd.org/changeset/base/350141 Log: MFC r350048: Chase r350037. Modified: stable/12/lib/libkvm/kvm_aarch64.h Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/libkvm/kvm_aarc

svn commit: r350140 - stable/11/contrib/telnet/telnet

2019-07-19 Thread Philip Paeps
Author: philip Date: Fri Jul 19 15:37:53 2019 New Revision: 350140 URL: https://svnweb.freebsd.org/changeset/base/350140 Log: MFC r349890: telnet: fix a couple of snprintf() buffer overflows Obtained from: Juniper Networks MFC r349896: telnet: fix minor style violationo

svn commit: r350139 - stable/12/contrib/telnet/telnet

2019-07-19 Thread Philip Paeps
Author: philip Date: Fri Jul 19 15:37:29 2019 New Revision: 350139 URL: https://svnweb.freebsd.org/changeset/base/350139 Log: MFC r349890: telnet: fix a couple of snprintf() buffer overflows Obtained from: Juniper Networks MFC r349896: telnet: fix minor style violationo

svn commit: r350138 - stable/11/sys/netpfil/ipfw

2019-07-19 Thread Andrey V. Elsukov
Author: ae Date: Fri Jul 19 15:24:08 2019 New Revision: 350138 URL: https://svnweb.freebsd.org/changeset/base/350138 Log: MFC r349940: Correctly truncate the rule in case when it has several action opcodes. It is possible, that opcode at the ACTION_PTR() location is not real actio

svn commit: r350137 - stable/12/sys/netpfil/ipfw

2019-07-19 Thread Andrey V. Elsukov
Author: ae Date: Fri Jul 19 15:17:54 2019 New Revision: 350137 URL: https://svnweb.freebsd.org/changeset/base/350137 Log: MFC r349940: Correctly truncate the rule in case when it has several action opcodes. It is possible, that opcode at the ACTION_PTR() location is not real actio

svn commit: r350136 - in head/share/man: man1 man3 man4 man4/man4.aarch64 man4/man4.arm man4/man4.i386 man4/man4.powerpc man4/man4.sparc64 man5 man6 man7 man8 man9

2019-07-19 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 19 15:12:20 2019 New Revision: 350136 URL: https://svnweb.freebsd.org/changeset/base/350136 Log: pkgbase: move man pages from runtime-manual to runtime We don't split the other man pages in their own package so do the same for runtime. Reviewed by: bapt, gj

svn commit: r350135 - head/share/mk

2019-07-19 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 19 15:11:32 2019 New Revision: 350135 URL: https://svnweb.freebsd.org/changeset/base/350135 Log: bsd.confs.mk: Test the correct value for the destination package Reviewed by: bapt, gjb Differential Revision:https://reviews.freebsd.org/D20961 Modified:

svn commit: r350134 - stable/12/sys/arm64/include

2019-07-19 Thread Mark Johnston
Author: markj Date: Fri Jul 19 15:11:14 2019 New Revision: 350134 URL: https://svnweb.freebsd.org/changeset/base/350134 Log: MFC r350037: Fix the arm64 page table entry attribute mask. Modified: stable/12/sys/arm64/include/pte.h Directory Properties: stable/12/ (props changed) Modified

svn commit: r350133 - in head: lib/libdpv lib/libfigpar usr.bin/dpv

2019-07-19 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 19 15:10:53 2019 New Revision: 350133 URL: https://svnweb.freebsd.org/changeset/base/350133 Log: pkgbase: Add a FreeBSD-dpv package Move the dpv related files from FreeBSD-runtime to a new package named FreeBSD-dpv The only consumer is bsdinstall which is alre

svn commit: r350132 - in head: libexec/rc/rc.d release/packages usr.bin/bluetooth/bthost usr.bin/bluetooth/btsockstat usr.bin/bluetooth/rfcomm_sppd usr.sbin/bluetooth/ath3kfw usr.sbin/bluetooth/bcm...

2019-07-19 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 19 15:10:03 2019 New Revision: 350132 URL: https://svnweb.freebsd.org/changeset/base/350132 Log: pkgbase: Add a FreeBSD-bluetooth package Move the bluetooth related files from FreeBSD-runtime to a new package named FreeBSD-bluetooth The FreeBSD runtime is only

svn commit: r350131 - in head: release/packages usr.sbin/wpa/hostapd usr.sbin/wpa/hostapd_cli

2019-07-19 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 19 15:09:00 2019 New Revision: 350131 URL: https://svnweb.freebsd.org/changeset/base/350131 Log: pkgbase: Add a FreeBSD-hostapd package Move the hostapd related files from FreeBSD-runtime to a new package n FreeBSD-hostapd The FreeBSD runtime is only intended

svn commit: r350129 - in head: release/packages usr.sbin/wpa/wpa_cli usr.sbin/wpa/wpa_passphrase usr.sbin/wpa/wpa_priv usr.sbin/wpa/wpa_supplicant

2019-07-19 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 19 15:07:30 2019 New Revision: 350129 URL: https://svnweb.freebsd.org/changeset/base/350129 Log: pkgbase: Add a FreeBSD-wpa package Move the wpa related files from FreeBSD-runtime to a new package named FreeBSD-wpa The FreeBSD runtime is only intended to have

svn commit: r350130 - stable/12/lib/libnv

2019-07-19 Thread Mark Johnston
Author: markj Date: Fri Jul 19 15:07:31 2019 New Revision: 350130 URL: https://svnweb.freebsd.org/changeset/base/350130 Log: MFC r350054: Use a platform-independent constant for PKG_MAX_SIZE. PR: 238511 Modified: stable/12/lib/libnv/msgio.c Directory Properties: stable/12/ (props

svn commit: r350128 - stable/12/share/man/man9

2019-07-19 Thread Alan Somers
Author: asomers Date: Fri Jul 19 14:27:18 2019 New Revision: 350128 URL: https://svnweb.freebsd.org/changeset/base/350128 Log: MFC r349237: VOP_REVOKE(9): update locking requirements per r143495 Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebs

svn commit: r350127 - stable/11/share/man/man9

2019-07-19 Thread Alan Somers
Author: asomers Date: Fri Jul 19 14:25:49 2019 New Revision: 350127 URL: https://svnweb.freebsd.org/changeset/base/350127 Log: MFC r349237: VOP_REVOKE(9): update locking requirements per r143495 Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebs

svn commit: r350126 - in stable/11: share/man/man9 sys/kern

2019-07-19 Thread Alan Somers
Author: asomers Date: Fri Jul 19 14:24:33 2019 New Revision: 350126 URL: https://svnweb.freebsd.org/changeset/base/350126 Log: MFC r349230, r349234, r349477 r349230: Add a VOP_BMAP(9) man page Reviewed by: mckusick Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r350125 - stable/11/lib/libc/sys

2019-07-19 Thread Alan Somers
Author: asomers Date: Fri Jul 19 14:23:23 2019 New Revision: 350125 URL: https://svnweb.freebsd.org/changeset/base/350125 Log: MFC r349041: open(2): fix the description of O_FSYNC The man page claims that with O_FSYNC (aka O_SYNC) the kernel will not cache written data. However, that

svn commit: r350124 - stable/11/tests/sys/net

2019-07-19 Thread Alan Somers
Author: asomers Date: Fri Jul 19 14:22:24 2019 New Revision: 350124 URL: https://svnweb.freebsd.org/changeset/base/350124 Log: MFC r349009: Add test cases for epair Implements the missing test cases for epair in a similar fashion to the existing tests. Fixes shared abstractions to wo

Re: svn commit: r350116 - head/lib/libc/gen

2019-07-19 Thread Jilles Tjoelker
On Thu, Jul 18, 2019 at 09:41:15PM +, Brooks Davis wrote: > On Thu, Jul 18, 2019 at 09:33:56PM +, Brooks Davis wrote: > > Author: brooks > > Date: Thu Jul 18 21:33:55 2019 > > New Revision: 350116 > > URL: https://svnweb.freebsd.org/changeset/base/350116 > > Log: > > Document that setmod

svn commit: r350123 - in stable/12: share/man/man9 sys/kern

2019-07-19 Thread Alan Somers
Author: asomers Date: Fri Jul 19 14:16:11 2019 New Revision: 350123 URL: https://svnweb.freebsd.org/changeset/base/350123 Log: MFC r349230, r349234, r349477 r349230: Add a VOP_BMAP(9) man page Reviewed by: mckusick Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r350122 - stable/12/lib/libc/sys

2019-07-19 Thread Alan Somers
Author: asomers Date: Fri Jul 19 14:13:50 2019 New Revision: 350122 URL: https://svnweb.freebsd.org/changeset/base/350122 Log: MFC r349041: open(2): fix the description of O_FSYNC The man page claims that with O_FSYNC (aka O_SYNC) the kernel will not cache written data. However, that

svn commit: r350121 - stable/12/tests/sys/net

2019-07-19 Thread Alan Somers
Author: asomers Date: Fri Jul 19 14:12:11 2019 New Revision: 350121 URL: https://svnweb.freebsd.org/changeset/base/350121 Log: MFC r349009: Add test cases for epair Implements the missing test cases for epair in a similar fashion to the existing tests. Fixes shared abstractions to wo