Re: svn commit: r332561 - head/stand/efi/boot1

2018-04-16 Thread Ed Maste
On 16 April 2018 at 09:18, Kyle Evans wrote: > Author: kevans > Date: Mon Apr 16 13:18:18 2018 > New Revision: 332561 > URL: https://svnweb.freebsd.org/changeset/base/332561 > > Log: > Rename volume label for ESP The desire to remove boot1.efifat notwithstanding, you'll also need to regenerate

svn commit: r332649 - head/lib/clang/include/lld/Common

2018-04-17 Thread Ed Maste
Author: emaste Date: Tue Apr 17 16:21:23 2018 New Revision: 332649 URL: https://svnweb.freebsd.org/changeset/base/332649 Log: lld: add a __FreeBSD_version-style identifier to version This will faciliate a WITH_SYSTEM_LINKER option. Reviewed by: dim MFC after:1 week Sponsored b

svn commit: r332673 - head/tools/tools

2018-04-18 Thread Ed Maste
Author: emaste Date: Wed Apr 18 14:02:37 2018 New Revision: 332673 URL: https://svnweb.freebsd.org/changeset/base/332673 Log: Remove mention of tools/recoverdisk, now in sbin PR: 227570 MFC after:3 days Modified: head/tools/tools/README Modified: head/tools/tools/README

svn commit: r332769 - head/usr.bin/chpass

2018-04-19 Thread Ed Maste
Author: emaste Date: Thu Apr 19 12:50:49 2018 New Revision: 332769 URL: https://svnweb.freebsd.org/changeset/base/332769 Log: chpass: reject change/expiry dates beyond y2106 The pwd.db and spwd.db files store the change and expire dates as unsigned 32-bit ints, which overflow in 2106. Re

svn commit: r332789 - head/usr.sbin/pwd_mkdb

2018-04-19 Thread Ed Maste
Author: emaste Date: Thu Apr 19 20:25:19 2018 New Revision: 332789 URL: https://svnweb.freebsd.org/changeset/base/332789 Log: pwd_mkdb: warn that legacy support is deprecated (if specified) r283981 switched pwd_mkdb to emit only v4 database entries by default, and introduced a -l (legacy)

Re: svn commit: r332782 - in head/sys: amd64/linux amd64/linux32 compat/freebsd32 i386/linux kern sys

2018-04-19 Thread Ed Maste
On 19 April 2018 at 12:49, Brooks Davis wrote: > > I do wonder if allocating AT_COUNT entries is quite right since some are > emitted only optionally. That said, it's not as though the waste is > significant. I think it's only a minor concern and not worth worrying about too much, but John and I

svn commit: r332794 - in head: share/mk stand/i386

2018-04-19 Thread Ed Maste
Author: emaste Date: Thu Apr 19 20:58:09 2018 New Revision: 332794 URL: https://svnweb.freebsd.org/changeset/base/332794 Log: Add support for linker-type-specific flags r332090 added a LINKER_TYPE test to add the --no-rosegment flag when linking the i386 loader components with lld. Inste

svn commit: r332803 - head/lib/clang/include/lld/Common

2018-04-19 Thread Ed Maste
Author: emaste Date: Fri Apr 20 00:59:53 2018 New Revision: 332803 URL: https://svnweb.freebsd.org/changeset/base/332803 Log: lld: use correct number of digits in __FreeBSD_version-style ID __FreeBSD_version-style IDs should have 5 digits following the major. Modified: head/lib/clang/inc

svn commit: r332844 - in head/usr.sbin/makefs: . cd9660 ffs

2018-04-20 Thread Ed Maste
Author: emaste Date: Fri Apr 20 22:23:38 2018 New Revision: 332844 URL: https://svnweb.freebsd.org/changeset/base/332844 Log: makefs: tidy up reach-over source - cd9660 relies on an #include "iso.h" but does not build any .c files out of source, so remove reach-over .PATH - ffs does n

svn commit: r332849 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2018-04-20 Thread Ed Maste
Author: emaste Date: Sat Apr 21 00:34:46 2018 New Revision: 332849 URL: https://svnweb.freebsd.org/changeset/base/332849 Log: lldb: propagate error to user if memory read fails Previously, an attempt to read an unreadable access reported zeros: (lldb) memory read -format hex -size 8 0

svn commit: r332875 - head/usr.sbin/pwd_mkdb

2018-04-22 Thread Ed Maste
Author: emaste Date: Sun Apr 22 23:10:37 2018 New Revision: 332875 URL: https://svnweb.freebsd.org/changeset/base/332875 Log: pwd_mkdb: add deprecation notice in manpage too Followon to r332789; as reported on the -current and -stable lists and in review D15144 the -l option will be remov

svn commit: r332893 - head/sys/compat/linux

2018-04-23 Thread Ed Maste
Author: emaste Date: Mon Apr 23 18:33:26 2018 New Revision: 332893 URL: https://svnweb.freebsd.org/changeset/base/332893 Log: Map FreeBSD EDOOFUS to Linux EINVAL Previously EDOOFUS mapped to EBUSY. EINVAL seems more appropriate. Discussed with: cem MFC after:1 week Spons

svn commit: r332902 - head/usr.sbin/pwd_mkdb

2018-04-23 Thread Ed Maste
Author: emaste Date: Tue Apr 24 01:22:57 2018 New Revision: 332902 URL: https://svnweb.freebsd.org/changeset/base/332902 Log: pwd_mkdb: default to network (big) endian hash order For cross-architecture reproducibility. The db(3) functions work with hashes of either endianness, and the cu

svn commit: r332964 - head/usr.bin/kdump

2018-04-24 Thread Ed Maste
Author: emaste Date: Tue Apr 24 19:23:26 2018 New Revision: 332964 URL: https://svnweb.freebsd.org/changeset/base/332964 Log: kdump: simplify/remove per-arch #ifdefs It is acceptable for syscallabi to map SV_ABI to SYSDECODE_ABI on all architectures; libsysdecode will return not-found sen

svn commit: r332965 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2018-04-24 Thread Ed Maste
Author: emaste Date: Tue Apr 24 19:26:58 2018 New Revision: 332965 URL: https://svnweb.freebsd.org/changeset/base/332965 Log: lldb: remove assertion that target_arch is FreeBSD The target is not necessarily a FreeBSD binary - for example, it may be a Linux binary running under the linuxul

svn commit: r332966 - in head: share/man/man4 sys/dev/lmc

2018-04-24 Thread Ed Maste
Author: emaste Date: Tue Apr 24 19:51:05 2018 New Revision: 332966 URL: https://svnweb.freebsd.org/changeset/base/332966 Log: Add deprecation notice for lmc(4) We intend to remove support before FreeBSD 12 is branched. These are available only as 32-bit PCI devices. The driver has an am

svn commit: r333017 - head

2018-04-26 Thread Ed Maste
Author: emaste Date: Thu Apr 26 13:18:24 2018 New Revision: 333017 URL: https://svnweb.freebsd.org/changeset/base/333017 Log: Correct r307825 BOOTSTRAPPING test for unsupported upgrade __FreeBSD_version has five digits after the major number, but the min versions in the test had an extra

Re: svn commit: r333017 - head

2018-04-26 Thread Ed Maste
On 26 April 2018 at 09:18, Ed Maste wrote: > > Log: > Correct r307825 BOOTSTRAPPING test for unsupported upgrade > > __FreeBSD_version has five digits after the major number, but the min > versions in the test had an extra 0 (so the test was always false). With the test

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

2018-04-26 Thread Ed Maste
Author: emaste Date: Thu Apr 26 18:38:59 2018 New Revision: 333027 URL: https://svnweb.freebsd.org/changeset/base/333027 Log: Add arm64 Linux syscall table This is the first step (after the recent refactoring of some common code) to supporting the Linuxulator on arm64. Reviewed by:

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

2018-04-26 Thread Ed Maste
Author: emaste Date: Thu Apr 26 18:46:38 2018 New Revision: 333028 URL: https://svnweb.freebsd.org/changeset/base/333028 Log: arm64 linuxulator: add generated sysent files From syscalls.master in r333027 Sponsored by: Turing Robotic Industries Inc. Added: head/sys/arm64/linux/linux_

svn commit: r333029 - head/lib/libsysdecode

2018-04-26 Thread Ed Maste
Author: emaste Date: Thu Apr 26 18:54:00 2018 New Revision: 333029 URL: https://svnweb.freebsd.org/changeset/base/333029 Log: libsysdecode: support errno and syscalls for arm64 Linux Sponsored by: Turing Robotic Industries Inc. Modified: head/lib/libsysdecode/errno.c head/lib/libsysdec

svn commit: r333062 - head/sys/sys

2018-04-27 Thread Ed Maste
Author: emaste Date: Fri Apr 27 13:55:46 2018 New Revision: 333062 URL: https://svnweb.freebsd.org/changeset/base/333062 Log: elf_common.h: add DT_SUNW_ASLR tag For upcoming ELF Tool Chain import (readelf). Modified: head/sys/sys/elf_common.h Modified: head/sys/sys/elf_common.h

svn commit: r333063 - in head: contrib/elftoolchain/ar contrib/elftoolchain/common contrib/elftoolchain/elfcopy contrib/elftoolchain/elfdump contrib/elftoolchain/libdwarf contrib/elftoolchain/libel...

2018-04-27 Thread Ed Maste
Author: emaste Date: Fri Apr 27 13:59:24 2018 New Revision: 333063 URL: https://svnweb.freebsd.org/changeset/base/333063 Log: Update ELF Tool Chain to r3614 MFC after:1 week Relnotes: Yes Sponsored by: The FreeBSD Foundation Modified: head/contrib/elftoolchain/ar/Makefile h

svn commit: r333065 - head/bin/setfacl

2018-04-27 Thread Ed Maste
Author: emaste Date: Fri Apr 27 15:25:24 2018 New Revision: 333065 URL: https://svnweb.freebsd.org/changeset/base/333065 Log: setfacl: style and break main() into manageable pieces Submitted by: Mitchell Horne MFC with: r332396 Sponsored by: The FreeBSD Foundation Differential Rev

svn commit: r333071 - head

2018-04-27 Thread Ed Maste
Author: emaste Date: Fri Apr 27 19:50:30 2018 New Revision: 333071 URL: https://svnweb.freebsd.org/changeset/base/333071 Log: Bump min supported release for building HEAD to 10.3 r307825 and r333017 disallow building FreeBSD-HEAD from 9.x or 10.x versions that have some clang issues. The

svn commit: r333072 - head

2018-04-27 Thread Ed Maste
Author: emaste Date: Fri Apr 27 20:20:57 2018 New Revision: 333072 URL: https://svnweb.freebsd.org/changeset/base/333072 Log: Retire UPDATING entries prior to the stable/10 branch We do not support building from FreeBSD 9.x releases. Approved by: imp Sponsored by: The FreeBSD Founda

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

2018-04-29 Thread Ed Maste
Author: emaste Date: Mon Apr 30 01:58:24 2018 New Revision: 333095 URL: https://svnweb.freebsd.org/changeset/base/333095 Log: if_smsc: fix reset check In smsc_phy_init function, when the driver was trying to reset PHY, it didn't poll for the correct bit (BMCR_RESET) to be cleared. Instea

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

2018-04-29 Thread Ed Maste
Author: emaste Date: Mon Apr 30 02:18:19 2018 New Revision: 333096 URL: https://svnweb.freebsd.org/changeset/base/333096 Log: if_smsc: set MII BUSY bit to read/write PHY regs Per the datasheet, the BUSY bit must be set when reading or writing PHY registers. From Linux commit 80928805babf

svn commit: r333119 - head/lib/libc/sys

2018-04-30 Thread Ed Maste
Author: emaste Date: Mon Apr 30 17:16:17 2018 New Revision: 333119 URL: https://svnweb.freebsd.org/changeset/base/333119 Log: Clarify bindat/connectat use with AT_FDCWD Discovered during investigation into the PR - the description of AT_FDCWD was somewhat confusing. PR: 222

svn commit: r333120 - in head: share/man/man4 sys/kern tests/sys/capsicum

2018-04-30 Thread Ed Maste
Author: emaste Date: Mon Apr 30 17:31:06 2018 New Revision: 333120 URL: https://svnweb.freebsd.org/changeset/base/333120 Log: Disable connectat/bindat with AT_FDCWD in capmode Previously it was possible to connect a socket (which had the CAP_CONNECT right) by calling "connectat(AT_FDCWD,

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

2018-04-30 Thread Ed Maste
Author: emaste Date: Tue May 1 00:36:56 2018 New Revision: 333132 URL: https://svnweb.freebsd.org/changeset/base/333132 Log: Install smartpqi.4 only on amd64, as with the driver Sponsored by: The FreeBSD Foundation Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Ma

svn commit: r333133 - head/usr.sbin/pwd_mkdb

2018-04-30 Thread Ed Maste
Author: emaste Date: Tue May 1 00:53:46 2018 New Revision: 333133 URL: https://svnweb.freebsd.org/changeset/base/333133 Log: pwd_mkdb: retire legacy v3 db support (-l option) pwd_mkdb has emitted v4 password database records since 2003 (r113596) in addition to v3, and as of r283981 by de

svn commit: r333144 - in head: . include lib/libsysdecode share/man/man4 sys/conf sys/dev/lmc sys/modules sys/modules/lmc tools/kerneldoc/subsys usr.sbin usr.sbin/lmcconfig

2018-05-01 Thread Ed Maste
Author: emaste Date: Tue May 1 16:30:48 2018 New Revision: 333144 URL: https://svnweb.freebsd.org/changeset/base/333144 Log: Retire lmc(4) This driver supports legacy, 32-bit PCI devices, and had an ambiguous license. Supported devices were already reported to be rare in 2003 (when an

Re: svn commit: r333133 - head/usr.sbin/pwd_mkdb

2018-05-01 Thread Ed Maste
On 1 May 2018 at 09:01, Slawa Olhovchenkov wrote: > On Tue, May 01, 2018 at 12:53:46AM +0000, Ed Maste wrote: > >> Author: emaste >> Date: Tue May 1 00:53:46 2018 >> New Revision: 333133 >> URL: https://svnweb.freebsd.org/changeset/base/333133 >> >&g

svn commit: r333188 - head/share/mk

2018-05-02 Thread Ed Maste
Author: emaste Date: Wed May 2 23:43:33 2018 New Revision: 333188 URL: https://svnweb.freebsd.org/changeset/base/333188 Log: Build lld as long as we have a C++11 host compiler As with Clang, build our toolchain components by default when the host compiler is capable of doing so, to make

svn commit: r333233 - in head/sys: geom/part sys/disk

2018-05-03 Thread Ed Maste
Author: emaste Date: Fri May 4 00:34:27 2018 New Revision: 333233 URL: https://svnweb.freebsd.org/changeset/base/333233 Log: gpart: add fat32lba MBR partition type FAT32 partition with LBA addressing. Reviewed by: marcel MFC after:3 days Sponsored by: The FreeBSD Foundation

svn commit: r333234 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-05-03 Thread Ed Maste
Author: emaste Date: Fri May 4 00:56:41 2018 New Revision: 333234 URL: https://svnweb.freebsd.org/changeset/base/333234 Log: zfs_ioctl: avoid out-of-bound read admbugs: 796 Submitted by: Domagoj Stolfa Reported by: Ilja Van Sprundel Reviewed by: avg MFC after:1 day Mo

svn commit: r333401 - in head: contrib/llvm/tools/lld/ELF lib/clang/include/lld/Common

2018-05-09 Thread Ed Maste
Author: emaste Date: Wed May 9 11:17:01 2018 New Revision: 333401 URL: https://svnweb.freebsd.org/changeset/base/333401 Log: lld: Omit PT_NOTE for SHT_NOTE without SHF_ALLOC A non-alloc note section should not have a PT_NOTE program header. Found while linking ghc (Haskell compiler) w

svn commit: r333457 - head/sys/kern

2018-05-10 Thread Ed Maste
Author: emaste Date: Thu May 10 11:36:16 2018 New Revision: 333457 URL: https://svnweb.freebsd.org/changeset/base/333457 Log: ANSIfy sys_generic.c Modified: head/sys/kern/sys_generic.c Modified: head/sys/kern/sys_generic.c =

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

2018-05-10 Thread Ed Maste
On 10 May 2018 at 09:18, Andrew Gallatin wrote: > On 05/10/18 07:36, Ed Maste wrote: >> >> Author: emaste >> Date: Thu May 10 11:36:16 2018 >> New Revision: 333457 >> URL: ... >> >> Log: >>ANSIfy sys_generic.c > > This breaks the kerne

svn commit: r333470 - in head: share/mk sys/conf

2018-05-10 Thread Ed Maste
Author: emaste Date: Thu May 10 20:10:02 2018 New Revision: 333470 URL: https://svnweb.freebsd.org/changeset/base/333470 Log: Error out on attempt to link amd64 kernel with old binutils linker As of r333461 we require ifunc support to link a working amd64 kernel. The default in-tree boots

Re: svn commit: r333470 - in head: share/mk sys/conf

2018-05-10 Thread Ed Maste
On 10 May 2018 at 18:24, Andrew Gallatin wrote: > Rather than erroring out, we please just use the appropriate linker? That's my goal, but it's a bit of an involved change and will take some time to make sure we don't introduce new corner cases. I'm sorry that I didn't catch this before the first

Re: svn commit: r333470 - in head: share/mk sys/conf

2018-05-10 Thread Ed Maste
On 10 May 2018 at 20:00, Andrew Gallatin wrote: > > Unfortunately, it looks like this method will get blown away by an > installworld: Ah. You can set WITH_LLD_IS_LD in /etc/src.conf and installworld will install ld as a symlink to ld.lld, > Would it make sense to just set LD=ld.lld in my and ro

Re: svn commit: r333470 - in head: share/mk sys/conf

2018-05-10 Thread Ed Maste
On 10 May 2018 at 20:38, Warner Losh wrote: > > It's a shame we can't get a link-time error if a too-old ld is used rather > than silent failure. That's what this commit does: +.if defined(LINKER_FEATURES) && ${LINKER_FEATURES:Mifunc} == "" +.error amd64 kernel requires linker ifunc support +.en

Re: svn commit: r333461 - head/sys/amd64/amd64

2018-05-10 Thread Ed Maste
On 10 May 2018 at 15:38, Konstantin Belousov wrote: > > Yes, I already noted and mjg noted that ifuncs are directed through PLT. > I remember that it was not the case when I did it the first time, but then > both compiler and linker were different. I'm trying to find evidence of non-PLT ifuncs, b

svn commit: r333487 - head/sbin/geom/class/part

2018-05-11 Thread Ed Maste
Author: emaste Date: Fri May 11 12:57:25 2018 New Revision: 333487 URL: https://svnweb.freebsd.org/changeset/base/333487 Log: gpart.8: sort suboptions per mdoc(7) Alphabetical order, uppercase before lowercase for each letter and with no regard to whether an option takes an argument.

svn commit: r333488 - head/sbin/geom/class/part

2018-05-11 Thread Ed Maste
Author: emaste Date: Fri May 11 12:58:36 2018 New Revision: 333488 URL: https://svnweb.freebsd.org/changeset/base/333488 Log: gpart.8: list all options in table form for each command Previously gpart's man page listed some command options in prose, and some in table form, which made it mo

svn commit: r333489 - head/sys/dev/usb

2018-05-11 Thread Ed Maste
Author: emaste Date: Fri May 11 13:09:21 2018 New Revision: 333489 URL: https://svnweb.freebsd.org/changeset/base/333489 Log: usbdevs: add new Microchip USB-Ethernet device IDs LAN7800 USB 3.1 to 10/100/1000 Ethernet with PHY LAN7801 USB 3.1 to 10/100/1000 Ethernet with RGMII interface

svn commit: r333495 - in head/tests/sys/cddl/zfs/tests: exec history link_count migration mount

2018-05-11 Thread Ed Maste
Author: emaste Date: Fri May 11 16:11:24 2018 New Revision: 333495 URL: https://svnweb.freebsd.org/changeset/base/333495 Log: Strip trailing / from TESTSDIR Otherwise makefs gets upset: makefs: ./usr/tests/sys/cddl/zfs/tests/exec/: empty leaf element Sponsored by: The FreeBSD Foundat

svn commit: r318302 - in head: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-05-15 Thread Ed Maste
Author: emaste Date: Mon May 15 17:51:01 2017 New Revision: 318302 URL: https://svnweb.freebsd.org/changeset/base/318302 Log: bsdgrep: don't allow negative -A / -B / -C Previously, when given a negative -A/-B/-C argument bsdgrep would overflow the respective context flag(s) and exhibited

svn commit: r318304 - head/lib/libc/gen

2017-05-15 Thread Ed Maste
Author: emaste Date: Mon May 15 17:57:09 2017 New Revision: 318304 URL: https://svnweb.freebsd.org/changeset/base/318304 Log: getusershell: don't write past end of line buffer reading local shells _local_initshells did not reset cp to the beginning of the line buffer for every iteration t

svn commit: r318305 - head/tools/build/options

2017-05-15 Thread Ed Maste
Author: emaste Date: Mon May 15 18:02:13 2017 New Revision: 318305 URL: https://svnweb.freebsd.org/changeset/base/318305 Log: makeman: reword description, based on feedback from wblock Modified: head/tools/build/options/makeman Modified: head/tools/build/options/makeman =

svn commit: r318316 - head/usr.bin/uniq

2017-05-15 Thread Ed Maste
Author: emaste Date: Mon May 15 20:18:14 2017 New Revision: 318316 URL: https://svnweb.freebsd.org/changeset/base/318316 Log: uniq: allow -c to be used with -d or -u Bring in some bits from NetBSD and lift the restriction in uniq(1) that -c cannot be used with the -d and -u options. This

svn commit: r318317 - head/contrib/netbsd-tests/usr.bin/grep

2017-05-15 Thread Ed Maste
Author: emaste Date: Mon May 15 20:41:29 2017 New Revision: 318317 URL: https://svnweb.freebsd.org/changeset/base/318317 Log: bsdgrep: add more tests for different binary flags The existing 'binary' test in netbsd-tests/ does a basic check of the default treatment for binary behavior, but

svn commit: r318355 - head/sbin/newfs_msdos

2017-05-16 Thread Ed Maste
Author: emaste Date: Tue May 16 17:04:50 2017 New Revision: 318355 URL: https://svnweb.freebsd.org/changeset/base/318355 Log: newfs_msdos: add -T (timestamp) option for reproducible builds This includes some whitespace and minor bug fixes relative to NetBSD, which will be submitted upstre

svn commit: r318366 - head/sbin/newfs_msdos

2017-05-16 Thread Ed Maste
Author: emaste Date: Tue May 16 19:03:26 2017 New Revision: 318366 URL: https://svnweb.freebsd.org/changeset/base/318366 Log: newfs_msdos: clarify description of -T (timestamp) option Submitted by: Siva Mahadevan Reported by: Daniel Shahaf Reviewed by: emaste Sponsored by: The Fre

svn commit: r318389 - in head/sys: amd64/amd64 arm/arm arm/include crypto/des ddb dev/cs dev/ixgb dev/lge dev/mse dev/my dev/pcn dev/ppbus dev/ppc dev/qlxgb dev/qlxgbe dev/qlxge dev/rl dev/sound/pc...

2017-05-16 Thread Ed Maste
Author: emaste Date: Wed May 17 00:34:34 2017 New Revision: 318389 URL: https://svnweb.freebsd.org/changeset/base/318389 Log: Remove register keyword from sys/ and ANSIfy prototypes A long long time ago the register keyword told the compiler to store the corresponding variable in a CPU re

svn commit: r318412 - head/sys/sparc64/include

2017-05-17 Thread Ed Maste
Author: emaste Date: Wed May 17 16:32:24 2017 New Revision: 318412 URL: https://svnweb.freebsd.org/changeset/base/318412 Log: fix sparc64 build by restoring 'register' in pcpu.h Reported by: jhb Sponsored by: The FreeBSD Foundation Modified: head/sys/sparc64/include/pcpu.h Modified:

svn commit: r318451 - in head/usr.sbin/makefs: . ffs

2017-05-18 Thread Ed Maste
Author: emaste Date: Thu May 18 14:05:29 2017 New Revision: 318451 URL: https://svnweb.freebsd.org/changeset/base/318451 Log: makefs: clean up signedness warnings and bump WARNS to 3 Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.fre

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

2017-05-18 Thread Ed Maste
Author: emaste Date: Thu May 18 17:55:33 2017 New Revision: 318474 URL: https://svnweb.freebsd.org/changeset/base/318474 Log: makefs: drop WARNS back to 2 GCC warns about additional signed comparision issues compared to Clang. Drop WARNS for now until the underlying issue is fixed. Modif

Re: svn commit: r318474 - head/usr.sbin/makefs

2017-05-18 Thread Ed Maste
On 18 May 2017 at 13:55, Ed Maste wrote: > Author: emaste > Date: Thu May 18 17:55:33 2017 > New Revision: 318474 > URL: https://svnweb.freebsd.org/changeset/base/318474 > > Log: > makefs: drop WARNS back to 2 > > GCC warns about additional signed comparisi

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

2017-05-19 Thread Ed Maste
Author: emaste Date: Fri May 19 18:13:41 2017 New Revision: 318548 URL: https://svnweb.freebsd.org/changeset/base/318548 Log: msdosfs: use C99 types General cleanup, for diff reduction with NetBSD and future use by FAT support in makefs. Submitted by: Siva Mahadevan Obtained from:

svn commit: r318565 - head/usr.bin/grep

2017-05-19 Thread Ed Maste
Author: emaste Date: Sat May 20 00:42:47 2017 New Revision: 318565 URL: https://svnweb.freebsd.org/changeset/base/318565 Log: bsdgrep: fix segfault with --mmap r313948 partially fixed --mmap behavior but was incomplete. This commit generally reverts it and does it the more correct way- b

svn commit: r318571 - in head: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-05-19 Thread Ed Maste
Author: emaste Date: Sat May 20 03:51:31 2017 New Revision: 318571 URL: https://svnweb.freebsd.org/changeset/base/318571 Log: bsdgrep: emit more than MAX_LINE_MATCHES per line We should not set an arbitrary cap on the number of matches on a line, and in any case MAX_LINE_MATCHES of 32 is

svn commit: r318574 - in head: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-05-20 Thread Ed Maste
Author: emaste Date: Sat May 20 11:20:03 2017 New Revision: 318574 URL: https://svnweb.freebsd.org/changeset/base/318574 Log: bsdgrep: Correct per-line line metadata printing Metadata printing with -b, -H, or -n flags suffered from a few flaws: 1) -b/offset printing was broken when use

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

2017-05-21 Thread Ed Maste
Author: emaste Date: Sun May 21 19:29:28 2017 New Revision: 318595 URL: https://svnweb.freebsd.org/changeset/base/318595 Log: msdosfs: capitalize FAT appropriately Diff reduction with NetBSD, including some nearby minor whitespace or style fixes. Obtained from:NetBSD Sponso

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

2017-05-21 Thread Ed Maste
Author: emaste Date: Sun May 21 19:48:16 2017 New Revision: 318596 URL: https://svnweb.freebsd.org/changeset/base/318596 Log: msdosfs: correct constant and typo in comment Revisions: fat.h 1.5 1.6 Obtained from:NetBSD Sponsored by: The FreeBSD Foundation Modified: head/s

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

2017-05-21 Thread Ed Maste
Author: emaste Date: Sun May 21 20:00:49 2017 New Revision: 318597 URL: https://svnweb.freebsd.org/changeset/base/318597 Log: msdosfs: constify Obtained from:NetBSD Sponsored by: The FreeBSD Foundation Modified: head/sys/fs/msdosfs/msdosfs_conv.c Modified: head/sys/fs/msdosfs/

svn commit: r318603 - head/contrib/elftoolchain/nm

2017-05-21 Thread Ed Maste
Author: emaste Date: Mon May 22 01:10:12 2017 New Revision: 318603 URL: https://svnweb.freebsd.org/changeset/base/318603 Log: nm: document 'r' symbol type PR: 219245 MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/contrib/elftoolchain/nm/nm.1 Modif

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

2017-05-22 Thread Ed Maste
Author: emaste Date: Mon May 22 11:43:19 2017 New Revision: 318634 URL: https://svnweb.freebsd.org/changeset/base/318634 Log: disallow open(2) in capability mode Previously open(2) was allowed in capability mode, with a comment that suggested this was likely the case to facilitate debuggi

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

2017-05-22 Thread Ed Maste
Author: emaste Date: Mon May 22 11:45:45 2017 New Revision: 318635 URL: https://svnweb.freebsd.org/changeset/base/318635 Log: Regen sysent after r318634, no open(2) in capability mode Sponsored by: The FreeBSD Foundation Modified: head/sys/compat/freebsd32/freebsd32_sysent.c head/sys/k

Re: svn commit: r318736 - in head: cddl/lib/libzfs contrib/compiler-rt/lib/sanitizer_common contrib/openbsm/libbsm include lib/libarchive lib/libc/gen lib/libc/include lib/libc/sys lib/libkvm lib/libm

2017-05-23 Thread Ed Maste
On 23 May 2017 at 05:29, Konstantin Belousov wrote: > Author: kib > Date: Tue May 23 09:29:05 2017 > New Revision: 318736 > URL: https://svnweb.freebsd.org/changeset/base/318736 > > Update note: strictly follow the instructions in UPDATING. Build > and install the new kernel with COMPAT_FREEB

Re: svn commit: r318736 - in head: cddl/lib/libzfs contrib/compiler-rt/lib/sanitizer_common contrib/openbsm/libbsm include lib/libarchive lib/libc/gen lib/libc/include lib/libc/sys lib/libkvm lib/libm

2017-05-23 Thread Ed Maste
On 23 May 2017 at 10:10, Ravi Pokala wrote: > > So then `tools/build/beinstall.sh' won't DTRT for this upgrade? This should be fine, because the new kernel and world get installed into a new boot environment, not over top of the existing system. The problem only occurs when installing a new userl

svn commit: r318757 - head

2017-05-23 Thread Ed Maste
Author: emaste Date: Tue May 23 20:25:49 2017 New Revision: 318757 URL: https://svnweb.freebsd.org/changeset/base/318757 Log: Add note to UPDATING for ino64 to follow the standard upgrade process The existing upgrade process documented in UPDATING is both necessary and sufficient for upgr

svn commit: r318758 - head

2017-05-23 Thread Ed Maste
Author: emaste Date: Tue May 23 20:51:48 2017 New Revision: 318758 URL: https://svnweb.freebsd.org/changeset/base/318758 Log: UPDATING: ino64 upgrade should include COMPAT_FREEBSD11 The upgrade process requires COMPAT_FREEBSD11 to support the combination of "old" userland and "new" kernel

Re: svn commit: r318736 - in head: cddl/lib/libzfs contrib/compiler-rt/lib/sanitizer_common contrib/openbsm/libbsm include lib/libarchive lib/libc/gen lib/libc/include lib/libc/sys lib/libkvm lib/libm

2017-05-24 Thread Ed Maste
On 24 May 2017 at 10:53, Pedro Giffuni wrote: > > There is now a bunch of coverity issues (OVERFLOW_BEFORE_WIDEN mostly) > tied to ino64_t. At least the following CIDs are related: On a quick look the OVERFLOW_BEFORE_WIDEN issues are false positives in practice: for correct operation the product

svn commit: r318792 - head

2017-05-24 Thread Ed Maste
Author: emaste Date: Wed May 24 17:11:10 2017 New Revision: 318792 URL: https://svnweb.freebsd.org/changeset/base/318792 Log: UPDATING: clarify ino64 upgrade instructions even further - mention COMPAT_FREEBSD11 earlier so that the steps are in chronological order - suggest removing /u

svn commit: r318884 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2017-05-25 Thread Ed Maste
Author: emaste Date: Thu May 25 16:41:07 2017 New Revision: 318884 URL: https://svnweb.freebsd.org/changeset/base/318884 Log: lldb: map TRAP_CAP to a trace trap In the absense of a more specific handler for TRAP_CAP (generated by ENOTCAPABLE or ECAPMODE while in capability mode) treat it

svn commit: r318902 - in head/usr.sbin/makefs: . ffs

2017-05-25 Thread Ed Maste
Author: emaste Date: Thu May 25 21:41:06 2017 New Revision: 318902 URL: https://svnweb.freebsd.org/changeset/base/318902 Log: makefs: make buf generic it has nothing to do with ffs and will eventually be moved. gc sectorsize. This is a corrected version of r317744. NetBSD versio

svn commit: r318908 - head/contrib/netbsd-tests/usr.bin/grep

2017-05-25 Thread Ed Maste
Author: emaste Date: Fri May 26 00:19:50 2017 New Revision: 318908 URL: https://svnweb.freebsd.org/changeset/base/318908 Log: bsdgrep: add --mmap tests Basic sanity tests as well as coverage for the bug fixed in r318565. Submitted by: Kyle Evans Reviewed by: bapt, ngie Differenti

svn commit: r318912 - head

2017-05-25 Thread Ed Maste
Author: emaste Date: Fri May 26 00:51:05 2017 New Revision: 318912 URL: https://svnweb.freebsd.org/changeset/base/318912 Log: libc: rm stale generated files which are no longer syscalls This is an attempt to help -DNO_CLEAN builds after r302092 (which removed the pipe libc syscall wrapper

svn commit: r318914 - head/usr.bin/grep

2017-05-25 Thread Ed Maste
Author: emaste Date: Fri May 26 02:30:26 2017 New Revision: 318914 URL: https://svnweb.freebsd.org/changeset/base/318914 Log: bsdgrep: correct assumptions to prepare for chunking Correct a couple of minor BSD grep assumptions that are valid for line processing but not future chunk-based p

svn commit: r318916 - head/usr.bin/grep/regex

2017-05-25 Thread Ed Maste
Author: emaste Date: Fri May 26 03:35:59 2017 New Revision: 318916 URL: https://svnweb.freebsd.org/changeset/base/318916 Log: bsdgrep: use safer sizeof() construct Submitted by: Kyle Evans Modified: head/usr.bin/grep/regex/tre-fastmatch.c Modified: head/usr.bin/grep/regex/tre-fastmatch

svn commit: r318951 - in head/usr.sbin/makefs: . ffs

2017-05-26 Thread Ed Maste
Author: emaste Date: Fri May 26 15:49:20 2017 New Revision: 318951 URL: https://svnweb.freebsd.org/changeset/base/318951 Log: makefs: add -O (offset) option NetBSD revs: ffs.c 1.60 makefs.8 1.44 makefs.c 1.48 makefs.h 1.33 ffs/buf.c 1.20 ffs/mkfs.c

svn commit: r318957 - head

2017-05-26 Thread Ed Maste
Author: emaste Date: Fri May 26 16:03:28 2017 New Revision: 318957 URL: https://svnweb.freebsd.org/changeset/base/318957 Log: rm stale ptrace dependencies after r305012 This is similar to r318912, except that ptrace.[sS] was previously a file in the source tree, not a generated assembly w

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

2017-05-26 Thread Ed Maste
Author: emaste Date: Sat May 27 02:07:22 2017 New Revision: 318974 URL: https://svnweb.freebsd.org/changeset/base/318974 Log: uart: add AMT SOL PCI ID I adjusted the description to be similar to existing AMT entries. PR: 219384 Submitted by: "Tooker" MFC after:1 week

svn commit: r319132 - head/usr.bin/grep

2017-05-29 Thread Ed Maste
Author: emaste Date: Mon May 29 13:10:01 2017 New Revision: 319132 URL: https://svnweb.freebsd.org/changeset/base/319132 Log: bsdgrep: bump version number and add Kyle Evans copyright The following changes have been made over the last couple of months: Features: - With bsdgrep -r

svn commit: r319219 - head

2017-05-30 Thread Ed Maste
Author: emaste Date: Tue May 30 15:51:48 2017 New Revision: 319219 URL: https://svnweb.freebsd.org/changeset/base/319219 Log: add a rescue/sh sanity check before installworld on the running system FreeBSD does not guarantee kernel forward compatibility (that is, running a newer userland o

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

2017-05-31 Thread Ed Maste
Author: emaste Date: Wed May 31 16:28:29 2017 New Revision: 319342 URL: https://svnweb.freebsd.org/changeset/base/319342 Log: makefs: free buf in case of error CID: 270190 Submitted by: Siva Mahadevan Reported by: Coverity Sponsored by: The FreeBSD Foundation Differential

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

2017-06-02 Thread Ed Maste
Author: emaste Date: Fri Jun 2 18:39:53 2017 New Revision: 319507 URL: https://svnweb.freebsd.org/changeset/base/319507 Log: msdosfs: use mem{cpy,move,set} instead of bcopy,bzero This somewhat simplifies use of msdosfs code in userland (for makefs), reduces diffs with NetBSD and is stand

svn commit: r319510 - head/contrib/xz/src/liblzma/check

2017-06-02 Thread Ed Maste
Author: emaste Date: Sat Jun 3 02:42:49 2017 New Revision: 319510 URL: https://svnweb.freebsd.org/changeset/base/319510 Log: xz: set noexec stack flag on FreeBSD Will also be proposed upstream. Reviewed by: delphij Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r319513 - head/sys/conf

2017-06-02 Thread Ed Maste
Author: emaste Date: Sat Jun 3 03:40:11 2017 New Revision: 319513 URL: https://svnweb.freebsd.org/changeset/base/319513 Log: linux vdso: pass -fPIC to the assembler, not linker -fPIC has no effect on linking although it seems to be ignored by GNU ld.bfd. However, it causes ld.lld to ter

svn commit: r319516 - head/contrib/compiler-rt/lib/tsan/rtl

2017-06-03 Thread Ed Maste
Author: emaste Date: Sat Jun 3 13:13:57 2017 New Revision: 319516 URL: https://svnweb.freebsd.org/changeset/base/319516 Log: tsan: set noexec stack on aarch64 This may be refined upstream. Reviewed by: dim MFC after:1 week Sponsored by: The FreeBSD Foundation Differential R

svn commit: r319521 - head/usr.sbin/makefs/ffs

2017-06-03 Thread Ed Maste
Author: emaste Date: Sat Jun 3 14:28:19 2017 New Revision: 319521 URL: https://svnweb.freebsd.org/changeset/base/319521 Log: makefs: rename variable for NetBSD diff reduction Modified: head/usr.sbin/makefs/ffs/buf.c Modified: head/usr.sbin/makefs/ffs/buf.c ==

Re: svn commit: r319507 - head/sys/fs/msdosfs

2017-06-04 Thread Ed Maste
On 4 June 2017 at 14:06, Bryan Drewery wrote: > > In r189170. It seems to me we should change systm.h back to a macro > #define memmove(dst, src, len) bcopy((src), (dst), (len)) Note that they're not quite equivalent: memmove returns dst, while bcopy has no return value. _

Re: svn commit: r317512 - in head: sys/conf sys/libkern sys/libkern/arm64 sys/sys tests/sys/kern

2017-06-07 Thread Ed Maste
On 27 April 2017 at 13:53, Michael Tuexen wrote: > Author: tuexen > Date: Thu Apr 27 17:53:05 2017 > New Revision: 317512 > URL: https://svnweb.freebsd.org/changeset/base/317512 FYI when compiling this with the clang500-import branch I see: /scratch/tmp/emaste/freebsd/sys/libkern/arm64/crc32c_ar

Re: svn commit: r317512 - in head: sys/conf sys/libkern sys/libkern/arm64 sys/sys tests/sys/kern

2017-06-07 Thread Ed Maste
On 7 June 2017 at 18:18, Ed Maste wrote: > On 27 April 2017 at 13:53, Michael Tuexen wrote: >> Author: tuexen >> Date: Thu Apr 27 17:53:05 2017 >> New Revision: 317512 >> URL: https://svnweb.freebsd.org/changeset/base/317512 > > FYI when compiling this with

svn commit: r319718 - head/sys/libkern/arm64

2017-06-08 Thread Ed Maste
Author: emaste Date: Thu Jun 8 20:06:09 2017 New Revision: 319718 URL: https://svnweb.freebsd.org/changeset/base/319718 Log: arm64: add ".arch armv8-a+crc" to allow use of crc instructions With Clang 5.0 the .arch directive is required, otherwise Clang complains "error: instruction requi

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

2017-06-12 Thread Ed Maste
Author: emaste Date: Mon Jun 12 13:49:57 2017 New Revision: 319853 URL: https://svnweb.freebsd.org/changeset/base/319853 Log: makefs: use C standard memcpy/memset in userland This file does not exist in NetBSD's makefs, but make the chance for consistency with memcpy/memset used in the re

svn commit: r319865 - head

2017-06-12 Thread Ed Maste
Author: emaste Date: Mon Jun 12 19:45:05 2017 New Revision: 319865 URL: https://svnweb.freebsd.org/changeset/base/319865 Log: remove stale dependencies for utimens* wrappers removed in r319663 Use a similar approach to r318957 (which was for ptrace dependencies): grep the .depend file for

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