svn commit: r352777 - releng/12.1/share/man/man5

2019-09-26 Thread Ed Maste
Author: emaste Date: Thu Sep 26 21:06:55 2019 New Revision: 352777 URL: https://svnweb.freebsd.org/changeset/base/352777 Log: Regen src.conf.5 after r352768, r352769 Approved by: re (gjb) Modified: releng/12.1/share/man/man5/src.conf.5 Modified: releng/12.1/share/man/man5/src.conf.5

svn commit: r352769 - in releng/12.1: share/mk tools/build/options

2019-09-26 Thread Ed Maste
Author: emaste Date: Thu Sep 26 18:56:41 2019 New Revision: 352769 URL: https://svnweb.freebsd.org/changeset/base/352769 Log: MFS r352752: Add a WITH_BIND_NOW build knob MFC r340186: Add a WITH_BIND_NOW build knob The linker's -z now flag sets the DF_BIND_NOW flag, which signals to

svn commit: r352768 - in releng/12.1: gnu/usr.bin/binutils/as gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/objcopy gnu/usr.bin/binutils/objdump gnu/usr.bin/gdb/gdb gnu/usr.bin/gdb/kgdb kerberos5/to...

2019-09-26 Thread Ed Maste
Author: emaste Date: Thu Sep 26 18:37:58 2019 New Revision: 352768 URL: https://svnweb.freebsd.org/changeset/base/352768 Log: MFS r352754: Add WITH_PIE knob to build Position Independent Executables MFC r344179: Add WITH_PIE knob to build Position Independent Executables Building

svn commit: r352760 - stable/12/sys/sys

2019-09-26 Thread Ed Maste
Author: emaste Date: Thu Sep 26 16:39:33 2019 New Revision: 352760 URL: https://svnweb.freebsd.org/changeset/base/352760 Log: MFC r352551: elf_common: add ELF note names r348628 added a definition of NT_GNU_BUILD_ID. Some software (Valgrind) also expects a #define for the note name

svn commit: r352755 - stable/12/share/man/man5

2019-09-26 Thread Ed Maste
Author: emaste Date: Thu Sep 26 16:09:28 2019 New Revision: 352755 URL: https://svnweb.freebsd.org/changeset/base/352755 Log: src.conf.5: regen after r352754, WITH_PIE Sponsored by: The FreeBSD Foundation Modified: stable/12/share/man/man5/src.conf.5 Modified:

svn commit: r352754 - in stable/12: gnu/usr.bin/binutils/as gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/objcopy gnu/usr.bin/binutils/objdump gnu/usr.bin/gdb/gdb gnu/usr.bin/gdb/kgdb kerberos5/tool...

2019-09-26 Thread Ed Maste
Author: emaste Date: Thu Sep 26 16:05:57 2019 New Revision: 352754 URL: https://svnweb.freebsd.org/changeset/base/352754 Log: Add WITH_PIE knob to build Position Independent Executables MFC r344179: Add WITH_PIE knob to build Position Independent Executables Building binaries as PIE

svn commit: r352753 - stable/12/share/man/man5

2019-09-26 Thread Ed Maste
Author: emaste Date: Thu Sep 26 15:52:42 2019 New Revision: 352753 URL: https://svnweb.freebsd.org/changeset/base/352753 Log: src.conf.5: regen after r352752, WITH_BIND_NOW Sponsored by: The FreeBSD Foundation Modified: stable/12/share/man/man5/src.conf.5 Modified:

svn commit: r352752 - in stable/12: share/mk tools/build/options

2019-09-26 Thread Ed Maste
Author: emaste Date: Thu Sep 26 15:50:18 2019 New Revision: 352752 URL: https://svnweb.freebsd.org/changeset/base/352752 Log: Add a WITH_BIND_NOW build knob MFC r340186: Add a WITH_BIND_NOW build knob The linker's -z now flag sets the DF_BIND_NOW flag, which signals to the runtime

svn commit: r352742 - head/usr.bin/bsdiff/bspatch

2019-09-26 Thread Ed Maste
Author: emaste Date: Thu Sep 26 13:27:25 2019 New Revision: 352742 URL: https://svnweb.freebsd.org/changeset/base/352742 Log: bspatch: add integer overflow checks Introduce a new add_off_t static function that exits with an error message if there's an overflow, otherwise returns their

Re: svn commit: r352661 - head/sys/netinet/tcp_stacks

2019-09-25 Thread Ed Maste
On Wed, 25 Sep 2019 at 17:13, Dimitry Andric wrote: > > > Interesting, it seems Clang doesn't even warn in the case of casting a > > uint64_t to a 32-bit pointer. Looks like there are some useful > > warnings that ought to be implemented. > > There is -Wconversion for this, or the more specific

Re: svn commit: r351319 - in head/usr.sbin/makefs: ffs msdos

2019-09-25 Thread Ed Maste
On Fri, 30 Aug 2019 at 00:29, Bruce Evans wrote: > > On Wed, 21 Aug 2019, Ed Maste wrote: > > > Author: emaste > > Date: Wed Aug 21 01:45:29 2019 > > New Revision: 351319 > > URL: https://svnweb.freebsd.org/changeset/base/351319 > > > > Log: > >

svn commit: r352689 - head/lib/libc/i386/string

2019-09-25 Thread Ed Maste
Author: emaste Date: Wed Sep 25 16:49:22 2019 New Revision: 352689 URL: https://svnweb.freebsd.org/changeset/base/352689 Log: remove obsolete i386 MD memchr implementation bde reports (in a reply to r351700 commit mail): This uses scasb, which was last optimal on the 8086, or perhaps

Re: svn commit: r351700 - head/lib/libc/string

2019-09-25 Thread Ed Maste
On Wed, 25 Sep 2019 at 11:46, Bruce Evans wrote: > > On Wed, 25 Sep 2019, Ed Maste wrote: > > > On Fri, 20 Sep 2019 at 08:14, Bruce Evans wrote: > >> > >> Optimizing this function [memchr] is especially unimportant, > > > > Why? > > Be

Re: svn commit: r351700 - head/lib/libc/string

2019-09-25 Thread Ed Maste
On Wed, 25 Sep 2019 at 10:11, Ed Maste wrote: > > Functionally equivalent, although I compared the compiled output of > both cases and what's currently there is somewhat smaller. Note that > it's not an #else case, the equivalent loop is used in both cases - > handling the non-wo

Re: svn commit: r351659 - in head: contrib/libc++/include contrib/netbsd-tests/lib/libc/ssp gnu/lib/libssp include lib/libc/stdio

2019-09-25 Thread Ed Maste
On Fri, 13 Sep 2019 at 08:00, Bruce Evans wrote: > > C11 removed gets(), but POSIX.1-2017 (Issue 7) still has it (marked as > obsolescent). Thus this change breaks support for all versions of POSIX. Yes, and intentionally so. If there is a compelling reason to restore it I'll add the #ifdef-ery

Re: svn commit: r351700 - head/lib/libc/string

2019-09-25 Thread Ed Maste
On Fri, 20 Sep 2019 at 08:14, Bruce Evans wrote: > > Optimizing this function [memchr] is especially unimportant, Why? Really, we should provide optimized assembly implementations of string functions deemed important, but it will take time for that to happen on all architectures. > and this

Re: svn commit: r352661 - head/sys/netinet/tcp_stacks

2019-09-25 Thread Ed Maste
On Tue, 24 Sep 2019 at 17:39, Bruce Evans wrote: > > On i386, these types have different sizes, so > gcc detects the type mismatch. clang is too broken to report this type > mismatch. Interesting, it seems Clang doesn't even warn in the case of casting a uint64_t to a 32-bit pointer. Looks like

svn commit: r352551 - head/sys/sys

2019-09-20 Thread Ed Maste
Author: emaste Date: Fri Sep 20 09:04:52 2019 New Revision: 352551 URL: https://svnweb.freebsd.org/changeset/base/352551 Log: elf_common: add ELF note names r348628 added a definition of NT_GNU_BUILD_ID. Some software (Valgrind) also expects a #define for the note name (ELF_NOTE_GNU) in

svn commit: r352514 - head/usr.sbin/freebsd-update

2019-09-19 Thread Ed Maste
Author: emaste Date: Thu Sep 19 11:46:43 2019 New Revision: 352514 URL: https://svnweb.freebsd.org/changeset/base/352514 Log: freebsd-update: make usage output consistent Drop trailing . which appeared only on description of IDS. Submitted by: grembo Event:EuroBSDCon

svn commit: r352513 - head/usr.sbin/freebsd-update

2019-09-19 Thread Ed Maste
Author: emaste Date: Thu Sep 19 11:34:35 2019 New Revision: 352513 URL: https://svnweb.freebsd.org/changeset/base/352513 Log: freebsd-update.8: appease igor igor follows American style guides in the belief that abbreviations i.e. and e.g. are always followed by a comma. Make that change

svn commit: r352392 - stable/12/sys/dev/acpica

2019-09-16 Thread Ed Maste
Author: emaste Date: Mon Sep 16 13:10:34 2019 New Revision: 352392 URL: https://svnweb.freebsd.org/changeset/base/352392 Log: MFC r350499: acpi_resource.c: mention ThunderX2 firmware revision with issue [This has been fixed in a later version] and the workaround can eventually be

svn commit: r352390 - stable/12/sys/modules/i2c/controllers/ichiic

2019-09-16 Thread Ed Maste
Author: emaste Date: Mon Sep 16 12:54:44 2019 New Revision: 352390 URL: https://svnweb.freebsd.org/changeset/base/352390 Log: MFC r350303: enable ig4_acpi on aarch64 The already-listed APMC0D0F ID belongs to the Ampere eMAG aarch64 platform, but ACPI support was not even built on

svn commit: r352388 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2019-09-16 Thread Ed Maste
Author: emaste Date: Mon Sep 16 12:51:28 2019 New Revision: 352388 URL: https://svnweb.freebsd.org/changeset/base/352388 Log: MFC r346445: Enable ioremap for aarch64 in the LinuxKPI Required for Mellanox drivers (e.g. on Ampere eMAG at Packet.com). PR: 237055 Submitted by:

svn commit: r352259 - head/sys/modules

2019-09-12 Thread Ed Maste
Author: emaste Date: Thu Sep 12 18:14:44 2019 New Revision: 352259 URL: https://svnweb.freebsd.org/changeset/base/352259 Log: arm64: connect Linuxulator to the build More work needs to be done, but it is capable of running basic statically or dynamically linked Linux/arm64 binaries.

svn commit: r352224 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 17:56:48 2019 New Revision: 352224 URL: https://svnweb.freebsd.org/changeset/base/352224 Log: Update comments and ordering in linux*_dummy.c - sort alphabetically - getcpu arrived in Linux 2.6.19 - fanotify_* arrived in 2.6.36 Modified:

svn commit: r352223 - head/sys/arm64/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 17:29:44 2019 New Revision: 352223 URL: https://svnweb.freebsd.org/changeset/base/352223 Log: linuxulator: add stub arm64 linux_genassym.c This will be fleshed out in the future but allows us to build the arm64 linuxulator using the same infrastructure as

svn commit: r352222 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 17:05:49 2019 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: linuxulator: memfd_create first appeared in Linux 3.17 Reference: http://man7.org/linux/man-pages/man2/memfd_create.2.html Modified:

svn commit: r352221 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 17:04:13 2019 New Revision: 352221 URL: https://svnweb.freebsd.org/changeset/base/352221 Log: linuxulator: seccomp syscall first appeared in Linux 3.17 Reference: http://man7.org/linux/man-pages/man2/seccomp.2.html Modified:

svn commit: r352213 - head/sys/tools

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 13:35:22 2019 New Revision: 352213 URL: https://svnweb.freebsd.org/changeset/base/352213 Log: fw_stub.awk: use @generated tag in generated files Multiple tools use @generated to identify generated files (for example, in a review Phabricator will by default

svn commit: r352210 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 13:01:59 2019 New Revision: 352210 URL: https://svnweb.freebsd.org/changeset/base/352210 Log: linux: add trivial renameat2 implementation Just return EINVAL if flags != 0. The Linux man page documents one case of EINVAL as "The filesystem does not support

svn commit: r352209 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 12:58:53 2019 New Revision: 352209 URL: https://svnweb.freebsd.org/changeset/base/352209 Log: regen linuxulator sysent after r352208 Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_systrace_args.c

svn commit: r352208 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 12:58:06 2019 New Revision: 352208 URL: https://svnweb.freebsd.org/changeset/base/352208 Log: make linux_renameat2 args consistent with linux_renameat Use 'dfd' consistently for a directory fd. Modified: head/sys/amd64/linux/syscalls.master

svn commit: r352106 - stable/12/usr.bin/ar

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 20:04:45 2019 New Revision: 352106 URL: https://svnweb.freebsd.org/changeset/base/352106 Log: MFC r351663: ar: use more correct size_t type for loop index Submitted by: cem Modified: stable/12/usr.bin/ar/write.c Directory Properties: stable/12/ (props

svn commit: r352097 - head/sys/fs/msdosfs

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 18:35:17 2019 New Revision: 352097 URL: https://svnweb.freebsd.org/changeset/base/352097 Log: msdosfsmount.h: fix ifdef comment Modified: head/sys/fs/msdosfs/msdosfsmount.h Modified: head/sys/fs/msdosfs/msdosfsmount.h

svn commit: r352096 - head/contrib/compiler-rt/lib/sanitizer_common

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 18:33:15 2019 New Revision: 352096 URL: https://svnweb.freebsd.org/changeset/base/352096 Log: compiler-rt: use 64-bit time_t for all FreeBSD archs except i386 Obtained from:LLVM r370756 Modified:

svn commit: r352095 - head/contrib/compiler-rt/lib/sanitizer_common

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 18:32:29 2019 New Revision: 352095 URL: https://svnweb.freebsd.org/changeset/base/352095 Log: compiler-rt: use more __sanitizer_time_t on FreeBSD A few structs were using long for time_t members. Obtained from:LLVM r370755 Modified:

svn commit: r352085 - stable/12/usr.sbin/makefs

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 17:44:14 2019 New Revision: 352085 URL: https://svnweb.freebsd.org/changeset/base/352085 Log: MFC r344555 (sobomax): makefs: 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).

svn commit: r352081 - stable/12/usr.sbin/makefs/msdos

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 17:34:18 2019 New Revision: 352081 URL: https://svnweb.freebsd.org/changeset/base/352081 Log: MFC r351396: makefs: diff reduction to sys/fs/msdosfs No functional change. Modified: stable/12/usr.sbin/makefs/msdos/direntry.h

svn commit: r352080 - stable/12/usr.sbin/makefs/msdos

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 17:33:31 2019 New Revision: 352080 URL: https://svnweb.freebsd.org/changeset/base/352080 Log: MFC r351347: makefs: Verify that the BPB media descriptor and FAT ID match From r322982 in sys/fs/msdosfs. Modified:

svn commit: r352079 - in stable/12/usr.sbin/makefs: . ffs msdos

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 17:32:40 2019 New Revision: 352079 URL: https://svnweb.freebsd.org/changeset/base/352079 Log: makefs: add msdosfs (FAT) support MFC r351232: makefs.8: expand description of image size Submitted by: ryan_freqlabs.com, Siva Mahadevan MFC r351273:

svn commit: r352078 - stable/12/usr.sbin/makefs

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 17:24:24 2019 New Revision: 352078 URL: https://svnweb.freebsd.org/changeset/base/352078 Log: MFC r351230: makefs.8: style updates from igor Sponsored by: The FreeBSD Foundation Modified: stable/12/usr.sbin/makefs/makefs.8 Directory Properties:

svn commit: r352077 - in stable/12/usr.sbin/makefs: . tests

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 17:22:11 2019 New Revision: 352077 URL: https://svnweb.freebsd.org/changeset/base/352077 Log: MFC r345281: makefs: Fix "time" mtree attribute handling When processing mtree(5) MANIFEST files, makefs(8) previously threw an error if it encountered an entry

svn commit: r352063 - head/tools/boot

2019-09-09 Thread Ed Maste
Author: emaste Date: Mon Sep 9 14:51:25 2019 New Revision: 352063 URL: https://svnweb.freebsd.org/changeset/base/352063 Log: ci-qemu-test: if firmware is not available, hint at pkg to install uefi-edk2-qemu-x86_64 provides the firmware ci-qemu-test.sh expects to use. Sponsored by:

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

2019-09-05 Thread Ed Maste
Author: emaste Date: Thu Sep 5 15:45:21 2019 New Revision: 351867 URL: https://svnweb.freebsd.org/changeset/base/351867 Log: pcie: return an error if a matching resource is not found Submitted by: markj Reviewed by: manu Event:vBSDCon FreeBSD hackathon Sponsored by:

svn commit: r351864 - stable/11/usr.bin/fortune/datfiles

2019-09-05 Thread Ed Maste
Author: emaste Date: Thu Sep 5 15:01:24 2019 New Revision: 351864 URL: https://svnweb.freebsd.org/changeset/base/351864 Log: fortune: correct typo in Merrill Markoe's last name Direct commit to stable/11 as this file has been removed in later versions. Modified:

svn commit: r351766 - stable/11/sys/sys

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 17:29:54 2019 New Revision: 351766 URL: https://svnweb.freebsd.org/changeset/base/351766 Log: MFC r348628: elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits To support Intel CET IBT/Shadow Stack. Sponsored by: The FreeBSD Foundation

svn commit: r351765 - stable/12/sys/sys

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 17:29:01 2019 New Revision: 351765 URL: https://svnweb.freebsd.org/changeset/base/351765 Log: MFC r348628: elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits To support Intel CET IBT/Shadow Stack. Sponsored by: The FreeBSD Foundation

svn commit: r351764 - in stable/12/share/man: man4 man5

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:57:32 2019 New Revision: 351764 URL: https://svnweb.freebsd.org/changeset/base/351764 Log: MFC r350989: Remove some more leftover rlogin man page xrefs rcmds were removed in r32435 and these three man pages can trivially drop the references.

svn commit: r351763 - stable/12/usr.sbin/crunch/examples

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:55:28 2019 New Revision: 351763 URL: https://svnweb.freebsd.org/changeset/base/351763 Log: MFC r350983: crunch: remove rsh and rlogin from example config file rcmds removed in r324351. Historical references in the README are maintained. There's a

svn commit: r351762 - stable/12/share/man/man7

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:54:27 2019 New Revision: 351762 URL: https://svnweb.freebsd.org/changeset/base/351762 Log: MFC r350979: Remove rsh/rlogin references from security man page More extensive changes to this page are certainly needed, but at least remove references to

svn commit: r351761 - stable/12/tools/build/options

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:52:44 2019 New Revision: 351761 URL: https://svnweb.freebsd.org/changeset/base/351761 Log: MFC r350980: Remove rlogin/rsh references from src.conf(5) WITHOUT_BLACKLIST_SUPPORT rcmds were removed in r324351 Sponsored by: The FreeBSD Foundation

svn commit: r351756 - in stable/12/sys: amd64/vmm/io x86/x86

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:26:35 2019 New Revision: 351756 URL: https://svnweb.freebsd.org/changeset/base/351756 Log: MFC r351000: sys/{x86,amd64}: remove one of doubled ;s Modified: stable/12/sys/amd64/vmm/io/vlapic.c stable/12/sys/x86/x86/local_apic.c Directory Properties:

svn commit: r351757 - in stable/11/sys: amd64/vmm/io x86/x86

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:27:23 2019 New Revision: 351757 URL: https://svnweb.freebsd.org/changeset/base/351757 Log: MFC r351000: sys/{x86,amd64}: remove one of doubled ;s Modified: stable/11/sys/amd64/vmm/io/vlapic.c stable/11/sys/x86/x86/local_apic.c Directory Properties:

svn commit: r351755 - stable/12/sys/fs/msdosfs

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:25:27 2019 New Revision: 351755 URL: https://svnweb.freebsd.org/changeset/base/351755 Log: MFC r351395: msdosfs_fat: reduce diffs with NetBSD and makefs Use pointer arithmetic (as now done in makefs, and in NetBSD) instead of taking the address of array

svn commit: r351753 - in stable/11/sys/amd64: include vmm vmm/intel vmm/io

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:23:46 2019 New Revision: 351753 URL: https://svnweb.freebsd.org/changeset/base/351753 Log: MFC r350492: vmx: use C99 bool, not boolean_t Bhyve's vmm is a self-contained modern component and thus a good candidate for use of C99 types. Sponsored by:

svn commit: r351751 - in stable/12/sys/amd64: include vmm vmm/intel vmm/io

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:18:07 2019 New Revision: 351751 URL: https://svnweb.freebsd.org/changeset/base/351751 Log: MFC r350492: vmx: use C99 bool, not boolean_t Bhyve's vmm is a self-contained modern component and thus a good candidate for use of C99 types. Sponsored by:

svn commit: r351750 - stable/11/usr.bin/vtfontcvt

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:17:01 2019 New Revision: 351750 URL: https://svnweb.freebsd.org/changeset/base/351750 Log: MFC r351425: vtfontcvt: simplify rshift_row We don't need to specify the buffer size in both bytes and bits. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r351749 - stable/12/usr.bin/vtfontcvt

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:15:57 2019 New Revision: 351749 URL: https://svnweb.freebsd.org/changeset/base/351749 Log: MFC r351425: vtfontcvt: simplify rshift_row We don't need to specify the buffer size in both bytes and bits. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r346555 - svnadmin/conf

2019-09-03 Thread Ed Maste
Author: emaste Date: Mon Apr 22 14:49:24 2019 New Revision: 346555 URL: https://svnweb.freebsd.org/changeset/base/346555 Log: Release ngie@ from mentorship They've demonstrated they're back up to speed on current FreeBSD conventions and tooling. Discussed with: jtl Modified:

svn commit: r346569 - head/usr.bin/ar

2019-09-03 Thread Ed Maste
Author: emaste Date: Mon Apr 22 17:29:26 2019 New Revision: 346569 URL: https://svnweb.freebsd.org/changeset/base/346569 Log: ar: use array notation to access s_so This is somewhat more readable than pointer arithmetic. Also remove an unnecessary cast while here. MFC after:1

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 16:45:42 2019 New Revision: 346321 URL: https://svnweb.freebsd.org/changeset/base/346321 Log: cap_fileargs: fix test after r346318 Reported by: danfe, mjg MFC after:3 weeks MFC with: r346315 Sponsored by: The FreeBSD Foundation Modified:

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Apr 16 20:41:04 2019 New Revision: 346299 URL: https://svnweb.freebsd.org/changeset/base/346299 Log: iflibtxrx.9: update function descriptions to match implementation isc_rxd_refill, isc_rxd_flush return nothing, not void *. isc_txd_credits_update,

svn commit: r346582 - head/usr.bin/ar

2019-09-03 Thread Ed Maste
Author: emaste Date: Mon Apr 22 19:55:47 2019 New Revision: 346582 URL: https://svnweb.freebsd.org/changeset/base/346582 Log: ar: shuffle symbol offsets during conversion for 32-bit ar archives During processing we maintain symbol offsets in the 64-bit s_so array, and when writing the

svn commit: r346598 - head/sys/modules

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Apr 23 15:11:01 2019 New Revision: 346598 URL: https://svnweb.freebsd.org/changeset/base/346598 Log: Enable Mellanox drivers (modules) on AArch64 Tested by Greg V with mlx5en on an Ampere eMAG instance at Packet.com on c2.large.arm (with some additional

Re: svn commit: r346316 - in head: contrib/elftoolchain/strings sbin/savecore usr.bin/brandelf usr.bin/head usr.bin/wc

2019-09-03 Thread Ed Maste
On Wed, 17 Apr 2019 at 15:42, Cy Schubert wrote: > > -.if !exists(/usr/include/casper/cap_fileargs.h) > CASPERINC+=${SRCTOP}/lib/libcasper/services/cap_fileargs/cap_fileargs. > h > -.endif Yes I think this change is correct as an immediate workaround for this issue (until we sort out header

svn commit: r346329 - head/tools/boot

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 19:16:26 2019 New Revision: 346329 URL: https://svnweb.freebsd.org/changeset/base/346329 Log: Install some entropy for QEMU CI smoke test See r346250 and followup commits and mailing list discussion. We currently fail to boot properly in the absense of

Re: svn commit: r346341 - head/tools/build

2019-09-03 Thread Ed Maste
On Thu, 18 Apr 2019 at 10:03, Kyle Evans wrote: > > Keep in mind that this is bootstrap; it's being built for the host > system, but it will link against a version of libcasper that's been > built in an earlier stage with the proper featureset. Not exactly the case here: if building on a system

svn commit: r346568 - head/usr.bin/ar

2019-09-03 Thread Ed Maste
Author: emaste Date: Mon Apr 22 17:25:00 2019 New Revision: 346568 URL: https://svnweb.freebsd.org/changeset/base/346568 Log: ar: test for writing 64-bit format only if symbol count is nonzero This is a minor simplification; if we do not have any symbols the empty symbol table can be in

Re: svn commit: r346316 - in head: contrib/elftoolchain/strings sbin/savecore usr.bin/brandelf usr.bin/head usr.bin/wc

2019-09-03 Thread Ed Maste
On Wed, 17 Apr 2019 at 20:50, Ed Maste wrote: > > On Wed, 17 Apr 2019 at 15:42, Cy Schubert wrote: > > > > -.if !exists(/usr/include/casper/cap_fileargs.h) > > CASPERINC+=${SRCTOP}/lib/libcasper/services/cap_fileargs/cap_fileargs. > > h > > -.endif &g

svn commit: r346330 - head/tools/boot

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 19:24:41 2019 New Revision: 346330 URL: https://svnweb.freebsd.org/changeset/base/346330 Log: Put QEMU CI smoke test boot log in /tmp if TMPDIR not set Sponsored by: The FreeBSD Foundation Modified: head/tools/boot/ci-qemu-test.sh Modified:

svn commit: r346316 - in head: contrib/elftoolchain/strings sbin/savecore usr.bin/brandelf usr.bin/head usr.bin/wc

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 16:18:14 2019 New Revision: 346316 URL: https://svnweb.freebsd.org/changeset/base/346316 Log: cap_fileargs: chase r346315, update fileargs_init in consumers Reported by: ci.freebsd.org (8 times so far) MFC after:3 weeks MFC with: r346315

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 16:00:33 2019 New Revision: 346314 URL: https://svnweb.freebsd.org/changeset/base/346314 Log: cap_fileargs.3: typo and markup corrections Submitted by: Bora Özarslan" MFC after:1 week MFC with: r346313 Sponsored by: The FreeBSD Foundation

Re: svn commit: r346263 - head/contrib/tcpdump

2019-09-03 Thread Ed Maste
On Tue, 16 Apr 2019 at 11:38, Conrad Meyer wrote: > > I don't think documenting that makes much sense in general. It would > be extremely burdensome to fully document and quickly become > desynchronized from the code. It's comparable to OpenBSD pledging > differently in different paths of

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 17:50:44 2019 New Revision: 346327 URL: https://svnweb.freebsd.org/changeset/base/346327 Log: readelf: use size_t for object counts PR: 212539 Reported by: cem Sponsored by: The FreeBSD Foundation Modified:

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 16:02:57 2019 New Revision: 346315 URL: https://svnweb.freebsd.org/changeset/base/346315 Log: cap_fileargs: add fileargs_lstat service Add fileargs_lstat function to cap_fileargs casper service to be able to lstat files while in capability mode. It can

svn commit: r346325 - in stable/12/sys: arm/ti/cpsw dev/fdt

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 17:19:19 2019 New Revision: 346325 URL: https://svnweb.freebsd.org/changeset/base/346325 Log: MFC r345855: cpsw: use `phy-handle` in FDT to find PHY address In r337703 DTS files were updated to Linux 4.18, including Linux commit

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 17:00:16 2019 New Revision: 346323 URL: https://svnweb.freebsd.org/changeset/base/346323 Log: readelf: speed up readelf -wo Use an array instead of STAILQ, and sort at the end instead of while adding new elements. PR: 212539 Submitted by:

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 15:48:33 2019 New Revision: 346313 URL: https://svnweb.freebsd.org/changeset/base/346313 Log: cap_fileargs.3: correct 'filerags' typo Submitted by: Bora Özarslan" MFC after:1 week Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r346315 - head/lib/libcasper/services/cap_fileargs

2019-09-03 Thread Ed Maste
On Tue, 23 Apr 2019 at 00:07, Yoshihiro Ota wrote: > > It looks this change is causing 'make xdev TARGET=mips TARGET_ARCH=mips' to > fail as the following with HEAD checked out under "/usr/obj/freebsd": Hello Hiro-san, sorry about that. I tried `make xdev TARGET=mips TARGET_ARCH=mips` on HEAD

Re: svn commit: r346316 - in head: contrib/elftoolchain/strings sbin/savecore usr.bin/brandelf usr.bin/head usr.bin/wc

2019-09-03 Thread Ed Maste
On Wed, 17 Apr 2019 at 21:17, Cy Schubert wrote: > > This only tests for the FA_OPEN. It will miss any new macro definitions > should there be any at some point in the future. Yes, this should be replaced with a more holistic approach to addressing includes.

Re: svn commit: r346341 - head/tools/build

2019-09-03 Thread Ed Maste
On Wed, 17 Apr 2019 at 21:07, Rodney W. Grimes wrote: > > Also a pathname rooted at / without ${DESTDIR} is almost certainly a mistake. It's not in fact; strings is being built for the host here, and the headers in /usr/include are the appropriate ones. In this specific case the Capsicum change

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Apr 16 13:26:31 2019 New Revision: 346273 URL: https://svnweb.freebsd.org/changeset/base/346273 Log: correct readlinkat(2) return type r176215 corrected readlink(2)'s return type and the type of the last argument. readlink(2) was introduced in r177788 after

svn commit: r346445 - in head/sys/compat/linuxkpi/common: include/linux src

2019-09-03 Thread Ed Maste
Author: emaste Date: Sat Apr 20 15:57:05 2019 New Revision: 346445 URL: https://svnweb.freebsd.org/changeset/base/346445 Log: Enable ioremap for aarch64 in the LinuxKPI Required for Mellanox drivers (e.g. on Ampere eMAG at Packet.com). PR: 237055 Submitted by: Greg V

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 17 16:31:30 2019 New Revision: 346318 URL: https://svnweb.freebsd.org/changeset/base/346318 Log: cap_fileargs: fix GCC build, don't shadow 'stat' Reported by: ci.freebsd.org MFC after:3 weeks MFC with: r346315 Sponsored by: The FreeBSD Foundation

Re: svn commit: r345562 - in head/sys: amd64/amd64 i386/i386

2019-09-03 Thread Ed Maste
On Tue, 26 Mar 2019 at 18:45, Conrad Meyer wrote: > > Author: cem > Date: Tue Mar 26 22:45:41 2019 > New Revision: 345562 > URL: https://svnweb.freebsd.org/changeset/base/345562 > > Log: > x86: Use XSAVEOPT for fpusave(), when available > > Remove redundant npxsave_core definition while here.

svn commit: r346268 - stable/12/lib/libc/string

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Apr 16 11:30:41 2019 New Revision: 346268 URL: https://svnweb.freebsd.org/changeset/base/346268 Log: MFC r346054: libc: update strstr implementation to match musl musl commits: 122d67f846cb0be2c9e1c3880db9eb9545bbe38c 0239cd0681e889a269fb7691f60e81ef8d081e6b

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Ed Maste
On Mon, 15 Apr 2019 at 14:40, Conrad Meyer wrote: > > Author: cem > Date: Mon Apr 15 18:40:36 2019 > New Revision: 346250 > URL: https://svnweb.freebsd.org/changeset/base/346250 > > Log: > random(4): Block read_random(9) on initial seeding Because Gerald (one of the FreeBSD Foundation's co-op

svn commit: r346228 - head/sys/dev/uart

2019-09-03 Thread Ed Maste
Author: emaste Date: Mon Apr 15 13:41:53 2019 New Revision: 346228 URL: https://svnweb.freebsd.org/changeset/base/346228 Log: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART The SPCR table on the Lenovo HR330A Ampere eMAG server indicates 8-bit access, but 32-bit access

svn commit: r346142 - in stable/12/libexec/rtld-elf: arm mips

2019-09-03 Thread Ed Maste
Author: emaste Date: Fri Apr 12 00:31:22 2019 New Revision: 346142 URL: https://svnweb.freebsd.org/changeset/base/346142 Log: MFC r345693, 345694: rtld: attempt to fix reloc_nonplt_object TLS allocation on arm and mips allocate_tls_offset returns true on success. This still needs

svn commit: r346121 - head

2019-09-03 Thread Ed Maste
Author: emaste Date: Thu Apr 11 13:01:26 2019 New Revision: 346121 URL: https://svnweb.freebsd.org/changeset/base/346121 Log: Cirrus-CI: pass OVMF env var to test script for upcoming changes In review D19876 ian@ has some proposed improvements to the tools/boot/ci-qemu-test.sh script.

svn commit: r346080 - head/tools/boot

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 10 13:41:34 2019 New Revision: 346080 URL: https://svnweb.freebsd.org/changeset/base/346080 Log: Add a smoke test QEMU boot script for CI Reviewed by: imp, lwhsu (earlier) Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r346079 - head/usr.bin/ar

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 10 13:13:34 2019 New Revision: 346079 URL: https://svnweb.freebsd.org/changeset/base/346079 Log: ar: implement support for /SYM64/ 64-bit archives PR: 234454 Submitted by: Gerald Aryeetey Reviewed by: imp (earlier) MFC after:3 weeks

svn commit: r346085 - head

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 10 15:38:53 2019 New Revision: 346085 URL: https://svnweb.freebsd.org/changeset/base/346085 Log: Add Cirrus CI config file to support CI builds (in downstream projects) Make use of the CI smoke test script added in r346080. Reviewed by: imp, lwhsu

svn commit: r346054 - head/lib/libc/string

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Apr 9 15:52:18 2019 New Revision: 346054 URL: https://svnweb.freebsd.org/changeset/base/346054 Log: libc: update strstr implementation to match musl musl commits: 122d67f846cb0be2c9e1c3880db9eb9545bbe38c 0239cd0681e889a269fb7691f60e81ef8d081e6b

Re: svn commit: r345900 - head/sbin/fsck_msdosfs

2019-09-03 Thread Ed Maste
On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes wrote: > > > +static const u_char dot_name[] = { > > + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > > +static const u_char dotdot_name[] = { > > + '.', '.',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > > + > > Does it make since to encode

svn commit: r345855 - in head/sys: arm/ti/cpsw dev/fdt

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 3 21:01:53 2019 New Revision: 345855 URL: https://svnweb.freebsd.org/changeset/base/345855 Log: cpsw: use `phy-handle` in FDT to find PHY address In r337703 DTS files were updated to Linux 4.18, including Linux commit 4d8b032d3c03f4e9788a18bbb51b10e6c9e8a56b

svn commit: r345889 - head/sys/dev/usb/net

2019-09-03 Thread Ed Maste
Author: emaste Date: Thu Apr 4 19:59:31 2019 New Revision: 345889 URL: https://svnweb.freebsd.org/changeset/base/345889 Log: if_muge: use NULL not 0 for DRIVER_MODULE pointer args Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/usb/net/if_muge.c Modified:

svn commit: r345844 - stable/12/sys/arm/arm

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Apr 3 13:19:47 2019 New Revision: 345844 URL: https://svnweb.freebsd.org/changeset/base/345844 Log: MFC r343764 (jchandra): arm, acpi: increase size of memory region arrays Bump up MAX_HWCNT and MAX_EXCNT to 32 when ACPI is enabled. These are the sizes of the

svn commit: r345802 - stable/11/usr.sbin/freebsd-update

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Apr 2 13:58:31 2019 New Revision: 345802 URL: https://svnweb.freebsd.org/changeset/base/345802 Log: MFC r344280: freebsd-update: Clarify help text Improve help text to include example release numbers for reference and clarify the -F option. PR:

svn commit: r345801 - stable/12/usr.sbin/freebsd-update

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Apr 2 13:57:52 2019 New Revision: 345801 URL: https://svnweb.freebsd.org/changeset/base/345801 Log: MFC r344280: freebsd-update: Clarify help text Improve help text to include example release numbers for reference and clarify the -F option. PR:

<    3   4   5   6   7   8   9   10   11   12   >