svn commit: r354411 - head/share/man/man4

2019-11-06 Thread Ed Maste
Author: emaste Date: Wed Nov 6 19:52:31 2019 New Revision: 354411 URL: https://svnweb.freebsd.org/changeset/base/354411 Log: Add mgb(4) (Microchip LAN783x PCIe NIC) man page Sponsored by: The FreeBSD Foundation Added: head/share/man/man4/mgb.4 (contents, props changed) Added: head/sh

svn commit: r354410 - in head/sys: dev/mgb modules/mgb

2019-11-06 Thread Ed Maste
Author: emaste Date: Wed Nov 6 19:51:40 2019 New Revision: 354410 URL: https://svnweb.freebsd.org/changeset/base/354410 Log: Introduce if_mgb driver for Microchip LAN743x PCIe NIC The Microchip LAN7430 is a PCIe 10/100/1000 Ethernet MAC with integrated PHY, and the LAN7431 is a MAC with

svn commit: r354401 - head/contrib/blacklist/bin

2019-11-06 Thread Ed Maste
Author: emaste Date: Wed Nov 6 17:01:35 2019 New Revision: 354401 URL: https://svnweb.freebsd.org/changeset/base/354401 Log: blacklistd.conf.5: pluralization correction Submitted by: bcr in review D22259 MFC with: r354399 Modified: head/contrib/blacklist/bin/blacklistd.conf.5 Mod

svn commit: r354399 - in head/contrib/blacklist: bin diff lib

2019-11-06 Thread Ed Maste
Author: emaste Date: Wed Nov 6 16:21:35 2019 New Revision: 354399 URL: https://svnweb.freebsd.org/changeset/base/354399 Log: blacklist: update to NetBSD snapshot on 20191106 Cursory review: cem MFC after:3 months Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r354342 - head/lib/libpmc/pmu-events

2019-11-04 Thread Ed Maste
Author: emaste Date: Mon Nov 4 22:52:02 2019 New Revision: 354342 URL: https://svnweb.freebsd.org/changeset/base/354342 Log: libpmc: jevents: handle empty descriptoin PR: 241258 Reported by: sigsys @ gmail.com Obtained from:github.com/andikleen/pmu-tools commit bb3c7

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

2019-11-04 Thread Ed Maste
Author: emaste Date: Mon Nov 4 21:23:30 2019 New Revision: 354341 URL: https://svnweb.freebsd.org/changeset/base/354341 Log: arm64 linuxulator: default to RW stack (no X) This matches Linux's default arm64 data / stack permissions. MFC after:1 week Sponsored by: The FreeBSD Foun

svn commit: r354228 - head/sys/kern

2019-10-31 Thread Ed Maste
Author: emaste Date: Thu Oct 31 20:42:36 2019 New Revision: 354228 URL: https://svnweb.freebsd.org/changeset/base/354228 Log: avoid kernel stack data leak in core dump thrmisc note bzero the entire thrmisc struct, not just the padding. Other core dump notes are already done this way.

Re: svn commit: r353936 - head/contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch

2019-10-24 Thread Ed Maste
On Thu, 24 Oct 2019 at 04:26, Alexey Dokuchaev wrote: > > Why i686, not i586? i486 lacking 64-bit atomics is a sound and valid > reason, but I don't understand why i586 wasn't chosen, and quick review > of that -arch thread did not help. Could you shed some more light here? i686 as a minimum al

svn commit: r353962 - head/sys/arm64/conf

2019-10-23 Thread Ed Maste
Author: emaste Date: Wed Oct 23 19:35:26 2019 New Revision: 353962 URL: https://svnweb.freebsd.org/changeset/base/353962 Log: arm64: enable options NUMA in GENERIC As with amd64 NUMA is required for reasonable operation on big-iron arm64 systems and is expected to have no significant impa

svn commit: r353898 - head/contrib/blacklist/bin

2019-10-22 Thread Ed Maste
Author: emaste Date: Tue Oct 22 18:30:51 2019 New Revision: 353898 URL: https://svnweb.freebsd.org/changeset/base/353898 Log: blacklistd: remove reference to NetBSD npfctl Xr pfctl instead. PR: 221069 Submitted by: "fml" MFC after:3 days Modified: head/contrib/blac

svn commit: r353871 - head

2019-10-21 Thread Ed Maste
Author: emaste Date: Mon Oct 21 18:40:03 2019 New Revision: 353871 URL: https://svnweb.freebsd.org/changeset/base/353871 Log: Additional fix for -DNO_CLEAN build across r353340 and r353381 opensolaris_atomic.S is now only used on i386 with opensolaris_atomic.c used on other platforms. Af

svn commit: r353686 - in head/sys/dev/vt: . logo

2019-10-17 Thread Ed Maste
Author: emaste Date: Thu Oct 17 16:38:44 2019 New Revision: 353686 URL: https://svnweb.freebsd.org/changeset/base/353686 Log: Update Conrad Meyer's email cem is now a committer Approved by: cem Modified: head/sys/dev/vt/logo/logo_beastie.c head/sys/dev/vt/vt_cpulogos.c Modified:

svn commit: r353682 - head/sys/dev/sound/pci/hda

2019-10-17 Thread Ed Maste
Author: emaste Date: Thu Oct 17 14:58:03 2019 New Revision: 353682 URL: https://svnweb.freebsd.org/changeset/base/353682 Log: snd_hda: style(9) whitespace fixup PR: 241299 Submitted by: Neel Chauhan Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c Modified: head/sys/dev/s

svn commit: r353680 - head/sys/dev/vt

2019-10-17 Thread Ed Maste
Author: emaste Date: Thu Oct 17 13:08:50 2019 New Revision: 353680 URL: https://svnweb.freebsd.org/changeset/base/353680 Log: vt: remove comment that is not true since r259680 r259680 added support to vt(4) for printing double-width characters. Remove the comment that claims no support.

svn commit: r353042 - in head: . sys/amd64/conf sys/i386/conf

2019-10-03 Thread Ed Maste
Author: emaste Date: Thu Oct 3 12:51:57 2019 New Revision: 353042 URL: https://svnweb.freebsd.org/changeset/base/353042 Log: Remove host binary object drivers from GENERIC Four drivers (hpt27xx, hptmv, hptnr, hptrr, hpt27xx) include precompiled binary objects; have users load them as mod

svn commit: r353021 - head/sys/kern

2019-10-02 Thread Ed Maste
Author: emaste Date: Wed Oct 2 21:01:23 2019 New Revision: 353021 URL: https://svnweb.freebsd.org/changeset/base/353021 Log: simplify path handling in sysctl_try_reclaim_vnode MAXPATHLEN / PATH_MAX includes space for the terminating NUL, and namei verifies the presence of the NUL. Thus

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-01 Thread Ed Maste
On Tue, 1 Oct 2019 at 14:13, Brooks Davis wrote: > > Also ioctl. I didn't handle the *sys() ones since they are internal only. Ah, yes - I didn't notice ioctl because syscalls.master lacked a XXX or ... comment. ___ svn-src-head@freebsd.org mailing lis

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-01 Thread Ed Maste
On Tue, 1 Oct 2019 at 12:23, Brooks Davis wrote: > > This isn't true with CHERI and as a result I've moved the variadic > argument handling (except for syscall() and __syscall()) into libc. My grep found: open, openat, fcntl, semsys, msgsys, shmsys Is that the full list? _

svn commit: r352931 - head/sys/kern

2019-10-01 Thread Ed Maste
Author: emaste Date: Tue Oct 1 17:05:21 2019 New Revision: 352931 URL: https://svnweb.freebsd.org/changeset/base/352931 Log: sysalls.master: remove superfluous ellipsis in comment A single period is sufficient in this comment, and making this change lets us find references to varargs sys

svn commit: r352815 - head/tools/tools/controlelf

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 19:26:52 2019 New Revision: 352815 URL: https://svnweb.freebsd.org/changeset/base/352815 Log: controlelf: update man page Some minor corrections, clarifications or rewording. Modified: head/tools/tools/controlelf/controlelf.1 Modified: head/tools/tools/co

svn commit: r352809 - head/tools/tools/controlelf

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 19:07:11 2019 New Revision: 352809 URL: https://svnweb.freebsd.org/changeset/base/352809 Log: controlelf: exit with error if file endianness does not match host We need to add support for cross-endian operation, but until that's done just exit with an error

svn commit: r352808 - head/tools/tools/controlelf

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 18:49:13 2019 New Revision: 352808 URL: https://svnweb.freebsd.org/changeset/base/352808 Log: controlelf: simplify feature string parsing Also add error handling on failure to seek/write updated value. Modified: head/tools/tools/controlelf/controlelf.c Mo

svn commit: r352806 - head/tools/tools/controlelf

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 18:39:05 2019 New Revision: 352806 URL: https://svnweb.freebsd.org/changeset/base/352806 Log: controlelf: tidy up option parsing Sponsored by: The FreeBSD Foundation Modified: head/tools/tools/controlelf/controlelf.c Modified: head/tools/tools/controlelf/

svn commit: r352805 - head/tools/tools/controlelf

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 17:28:25 2019 New Revision: 352805 URL: https://svnweb.freebsd.org/changeset/base/352805 Log: controlelf: add protmax control Sponsored by: The FreeBSD Foundation Modified: head/tools/tools/controlelf/controlelf.c Modified: head/tools/tools/controlelf/con

svn commit: r352803 - head/tools/tools/controlelf

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 16:57:32 2019 New Revision: 352803 URL: https://svnweb.freebsd.org/changeset/base/352803 Log: controlelf: some style(9) cleanup Submitted by: clang-format Modified: head/tools/tools/controlelf/controlelf.c Modified: head/tools/tools/controlelf/controlelf.

svn commit: r352801 - head/tools/tools/controlelf

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 16:44:29 2019 New Revision: 352801 URL: https://svnweb.freebsd.org/changeset/base/352801 Log: controlelf: install standard BSD 2 clause license Reported by: kaktus Sponsored by: The FreeBSD Foundation Modified: head/tools/tools/controlelf/controlelf.c

svn commit: r352799 - head/tools/tools/controlelf

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 16:35:08 2019 New Revision: 352799 URL: https://svnweb.freebsd.org/changeset/base/352799 Log: controlelf: clean up warnings - use explicit ELF note name when not found - no trailing . on warnings - no \n Sponsored by: The FreeBSD Foundation Modified

svn commit: r352797 - head/tools/tools/controlelf

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 16:27:52 2019 New Revision: 352797 URL: https://svnweb.freebsd.org/changeset/base/352797 Log: Add tool to modify ELF binary feature control bits This will allow feature control bits (e.g. for ASLR, PROT_MAX) to be inspected or modified. Some clean-up a

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

2019-09-27 Thread Ed Maste
Author: emaste Date: Fri Sep 27 13:14:36 2019 New Revision: 352792 URL: https://svnweb.freebsd.org/changeset/base/352792 Log: compiler-rt: correct RISC-V struct_kernel_stat64_sz The value of struct_kernel_stat64_sz introduced by review D5021 for RISC-V was incorrect. Also add a __ris

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 sum

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 -W

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? > > Becaus

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

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 ver

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: 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: head/sys/amd64/

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 x

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: head/sys/amd64/linux/linux_du

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: head/sys/amd64/linux/linux_dumm

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 head/sys/amd64/linux32/linux32_proto

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 head/sys/amd6

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: head/contrib/compiler-rt/lib/sanitizer_common/sanit

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: head/cont

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: T

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:

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 j

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 3

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 uncommitte

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 arc

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 wee

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 Rev

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 w

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

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

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 >

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.

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 Sponso

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: hea

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

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 Modi

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 boot

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 onl

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: head/contrib/elftoolchain/readelf/

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: head/tools/boo

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 progra

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: head/lib/libcasper/s

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 being

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: B

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, isc_rxd_avai

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 s

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: 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 i

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. St

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 Spons

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 Sponso

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:https://reviews.fr

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 8f5a820d147da3

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: head/sys/dev/usb/n

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 thes

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: r345778 - in head/gnu/usr.bin/gdb: gdb kgdb

2019-09-03 Thread Ed Maste
Author: emaste Date: Mon Apr 1 19:19:51 2019 New Revision: 345778 URL: https://svnweb.freebsd.org/changeset/base/345778 Log: Fix gdb/kgdb build under WITH_PIE Explicitly specified bare .a libraries need ${PIE_SUFFIX}. Reported by: David E. Cross, on twitter Sponsored by: The FreeBS

svn commit: r345694 - head/libexec/rtld-elf/mips

2019-09-03 Thread Ed Maste
Author: emaste Date: Fri Mar 29 15:07:00 2019 New Revision: 345694 URL: https://svnweb.freebsd.org/changeset/base/345694 Log: rtld: attempt to fix reloc_non_plt TLS allocation on MIPS allocate_tls_offset returns true on success. The same issue existed on arm and was fixed in r345693.

svn commit: r345693 - head/libexec/rtld-elf/arm

2019-09-03 Thread Ed Maste
Author: emaste Date: Fri Mar 29 14:35:23 2019 New Revision: 345693 URL: https://svnweb.freebsd.org/changeset/base/345693 Log: rtld: attempt to fix reloc_nonplt_object TLS allocation allocate_tls_offset returns true on success. This still needs more testing and review, but this change is

Re: svn commit: r345693 - head/libexec/rtld-elf/arm

2019-09-03 Thread Ed Maste
On Fri, 29 Mar 2019 at 10:35, Ed Maste wrote: > > Author: emaste > Date: Fri Mar 29 14:35:23 2019 > New Revision: 345693 > URL: https://svnweb.freebsd.org/changeset/base/345693 > > Log: > rtld: attempt to fix reloc_nonplt_object TL

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Thu Mar 28 17:30:47 2019 New Revision: 345646 URL: https://svnweb.freebsd.org/changeset/base/345646 Log: readelf: add newline after dumping dynamic FLAGS / FLAGS_1 All three dump_flags() callers need a newline after printing the flags. Sponsored by: The FreeBSD Fou

svn commit: r345638 - head/sys/sys

2019-09-03 Thread Ed Maste
Author: emaste Date: Thu Mar 28 10:56:27 2019 New Revision: 345638 URL: https://svnweb.freebsd.org/changeset/base/345638 Log: Revert change accidentally committed along with r345625 Reported by: Oliver Pinter Modified: head/sys/sys/elf_common.h Modified: head/sys/sys/elf_common.h

svn commit: r345625 - in head: contrib/elftoolchain/readelf lib/libc lib/libthr libexec/rtld-elf sys/sys

2019-09-03 Thread Ed Maste
Author: emaste Date: Thu Mar 28 02:12:32 2019 New Revision: 345625 URL: https://svnweb.freebsd.org/changeset/base/345625 Log: revert r341429 "disable BIND_NOW in libc, libthr, and rtld" r345620 by kib@ fixed the rtld issue that caused a crash at startup during resolution of libc's ifuncs

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

2019-09-03 Thread Ed Maste
Author: emaste Date: Thu Mar 28 13:27:34 2019 New Revision: 345640 URL: https://svnweb.freebsd.org/changeset/base/345640 Log: Revert other accidentally committed part of r345625 Modified: head/contrib/elftoolchain/readelf/readelf.c Modified: head/contrib/elftoolchain/readelf/readelf.c ==

svn commit: r345583 - head/tools/tools/makeroot

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Mar 27 17:28:23 2019 New Revision: 345583 URL: https://svnweb.freebsd.org/changeset/base/345583 Log: revert r302146: makeroot: zero out subsecond component of time= keywords After r345281 by mhorne subsecond components are supported. PR: 194703 Spon

svn commit: r345576 - head/crypto/openssh

2019-09-03 Thread Ed Maste
Author: emaste Date: Wed Mar 27 14:35:38 2019 New Revision: 345576 URL: https://svnweb.freebsd.org/changeset/base/345576 Log: Merge r345574 from vendor-crypto: upstream: when checking that filenames sent by the server side match what the client requested, be prepared to handle shell-st

<    1   2   3   4   5   6   7   8   9   10   >