svn commit: r350500 - head/sys/conf

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 14:13:04 2019 New Revision: 350500 URL: https://svnweb.freebsd.org/changeset/base/350500 Log: newvers: append commit count to uname version string In a git world this provides a facsimile of a monotonically increasing version number. This might be refined

svn commit: r350499 - head/sys/dev/acpica

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 14:02:59 2019 New Revision: 350499 URL: https://svnweb.freebsd.org/changeset/base/350499 Log: acpi_resource.c: mention ThunderX2 firmware revision with issue Presumably this will be fixed in the next version, and the workaround could eventually be removed.

svn commit: r350498 - head/contrib/telnet/telnet

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 13:46:04 2019 New Revision: 350498 URL: https://svnweb.freebsd.org/changeset/base/350498 Log: telnet: use asprintf for r349890 change Suggested by: imp MFC after:3 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r350497 - head/sys/net

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 13:42:58 2019 New Revision: 350497 URL: https://svnweb.freebsd.org/changeset/base/350497 Log: ppp: correct echo-req magic number on big endian archs The magic number is a 32-bit quantity; use uint32_t to match hton's return type and avoid sending zeros

svn commit: r350492 - in head/sys/amd64: include vmm vmm/intel vmm/io

2019-07-31 Thread Ed Maste
Author: emaste Date: Thu Aug 1 02:16:48 2019 New Revision: 350492 URL: https://svnweb.freebsd.org/changeset/base/350492 Log: 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. Reviewed by: jhb, kib,

svn commit: r350468 - head/sys/netpfil/pf

2019-07-31 Thread Ed Maste
Author: emaste Date: Wed Jul 31 16:58:09 2019 New Revision: 350468 URL: https://svnweb.freebsd.org/changeset/base/350468 Log: pf: zero (another) output buffer in pfioctl Avoid potential structure padding leak. r350294 identified a leak via static analysis; although there's no report of

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

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

svn commit: r350449 - head

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

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

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

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

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

Re: svn commit: r350301 - head/lib/libsysdecode

2019-07-26 Thread Ed Maste
On Wed, 24 Jul 2019 at 22:04, Cy Schubert wrote: > > In message <201907242106.x6ol6kam068...@repo.freebsd.org>, Ed Maste > writes: > > Author: emaste > > Date: Wed Jul 24 21:06:19 2019 > > New Revision: 350301 > > URL: https://svnweb.freebs

Re: svn commit: r350327 - in head: . lib/libsysdecode

2019-07-25 Thread Ed Maste
On Thu, 25 Jul 2019 at 13:10, Ed Maste wrote: > > Author: emaste > Date: Thu Jul 25 17:10:17 2019 > New Revision: 350327 > URL: https://svnweb.freebsd.org/changeset/base/350327 > > Log: > libsysdecode: use the proper include directory I forgot to mention in the commit m

svn commit: r350327 - in head: . lib/libsysdecode

2019-07-25 Thread Ed Maste
Author: emaste Date: Thu Jul 25 17:10:17 2019 New Revision: 350327 URL: https://svnweb.freebsd.org/changeset/base/350327 Log: libsysdecode: use the proper include directory Reported by: cy Reviewed by: lwhsu Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r350303 - head/sys/modules/i2c/controllers/ichiic

2019-07-24 Thread Ed Maste
Author: emaste Date: Wed Jul 24 21:26:17 2019 New Revision: 350303 URL: https://svnweb.freebsd.org/changeset/base/350303 Log: 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 aarch64.

svn commit: r350302 - head

2019-07-24 Thread Ed Maste
Author: emaste Date: Wed Jul 24 21:08:30 2019 New Revision: 350302 URL: https://svnweb.freebsd.org/changeset/base/350302 Log: cirrus.yml: use OVMF.fd from uefi-edk2-qemu-x86_64 package Sponsored by: The FreeBSD Foundation Modified: head/.cirrus.yml Modified: head/.cirrus.yml

svn commit: r350301 - head/lib/libsysdecode

2019-07-24 Thread Ed Maste
Author: emaste Date: Wed Jul 24 21:06:19 2019 New Revision: 350301 URL: https://svnweb.freebsd.org/changeset/base/350301 Log: libsysdecode: add explicit dependencies on recently changed headers r349369 removed IP_MIN_MEMBERSHIPS and IPV6_MIN_MEMBERSHIPS, and r349893 removed

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

2019-07-24 Thread Ed Maste
Author: emaste Date: Wed Jul 24 19:24:34 2019 New Revision: 350298 URL: https://svnweb.freebsd.org/changeset/base/350298 Log: src.conf.5: regenerate after r350297 (lld for i386 MFC) Modified: stable/12/share/man/man5/src.conf.5 Modified: stable/12/share/man/man5/src.conf.5

svn commit: r350297 - stable/12/share/mk

2019-07-24 Thread Ed Maste
Author: emaste Date: Wed Jul 24 19:21:16 2019 New Revision: 350297 URL: https://svnweb.freebsd.org/changeset/base/350297 Log: MFC r343606: Enable lld as the system linker on i386 The migration to LLVM's lld linker has been in progress for quite some time - I opened an LLVM tracking bug

svn commit: r350294 - head/sys/netpfil/pf

2019-07-24 Thread Ed Maste
Author: emaste Date: Wed Jul 24 16:51:14 2019 New Revision: 350294 URL: https://svnweb.freebsd.org/changeset/base/350294 Log: pf: zero output buffer in pfioctl Avoid potential structure padding leak. Reported by: Vlad Tsyrklevich Reviewed by: kp MFC after:3 days Security:

Re: svn commit: r349802 - head/sys/fs/ext2fs

2019-07-24 Thread Ed Maste
On Sun, 7 Jul 2019 at 04:58, Fedor Uporov wrote: > > Author: fsu > Date: Sun Jul 7 08:58:02 2019 > New Revision: 349802 > URL: https://svnweb.freebsd.org/changeset/base/349802 > > Log: > Add additional check for 'blocks per group' and 'fragments per group' > superblock fields. Will you MFC

svn commit: r350263 - stable/11/sys/kern

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 21:15:28 2019 New Revision: 350263 URL: https://svnweb.freebsd.org/changeset/base/350263 Log: MFC r350260: mqueuefs: fix struct file leak In some error cases we previously leaked a stuct file. Submitted by: mjg, markj Approved by: so (insta-MFC)

svn commit: r350261 - stable/12/sys/kern

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 21:12:32 2019 New Revision: 350261 URL: https://svnweb.freebsd.org/changeset/base/350261 Log: MFC r350260: mqueuefs: fix struct file leak In some error cases we previously leaked a stuct file. Submitted by: mjg, markj Approved by: so (insta-MFC)

svn commit: r350260 - head/sys/kern

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 20:59:36 2019 New Revision: 350260 URL: https://svnweb.freebsd.org/changeset/base/350260 Log: mqueuefs: fix struct file leak In some error cases we previously leaked a stuct file. Submitted by: mjg, markj Modified: head/sys/kern/uipc_mqueue.c

svn commit: r350252 - stable/11/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 18:12:44 2019 New Revision: 350252 URL: https://svnweb.freebsd.org/changeset/base/350252 Log: bhyve: Fix resource leak when using strdup MFC r340044 (araujo): Fix resource leak when using strdup(3). MFC r344160 (rgrimes): In r340044 an attempt

svn commit: r350251 - stable/12/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 18:11:42 2019 New Revision: 350251 URL: https://svnweb.freebsd.org/changeset/base/350251 Log: bhyve: Fix resource leak when using strdup MFC r340044 (araujo): Fix resource leak when using strdup(3). MFC r344160 (rgrimes): In r340044 an attempt

svn commit: r350249 - stable/12/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 18:07:44 2019 New Revision: 350249 URL: https://svnweb.freebsd.org/changeset/base/350249 Log: MFC r349915 (seanc): usr.sbin/bhyve: initialize return value ... ... in xhci device interrupt handler Coverity CID: 1357340 Modified:

svn commit: r350250 - stable/11/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 18:08:22 2019 New Revision: 350250 URL: https://svnweb.freebsd.org/changeset/base/350250 Log: MFC r349915 (seanc): usr.sbin/bhyve: initialize return value ... ... in xhci device interrupt handler Coverity CID: 1357340 Modified:

svn commit: r350247 - stable/11/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 17:48:37 2019 New Revision: 350247 URL: https://svnweb.freebsd.org/changeset/base/350247 Log: MFC r350244: bhyve: correct out-of-bounds read in XHCI device emulation Add appropriate bounds checks on the epid and streamid fields in the device doorbell

svn commit: r350246 - stable/12/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 17:48:37 2019 New Revision: 350246 URL: https://svnweb.freebsd.org/changeset/base/350246 Log: MFC r350244: bhyve: correct out-of-bounds read in XHCI device emulation Add appropriate bounds checks on the epid and streamid fields in the device doorbell

svn commit: r350244 - head/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 16:27:36 2019 New Revision: 350244 URL: https://svnweb.freebsd.org/changeset/base/350244 Log: bhyve: correct out-of-bounds read in XHCI device emulation Add appropriate bounds checks on the epid and streamid fields in the device doorbell registers.

svn commit: r350226 - stable/11/sys/dev/nand

2019-07-22 Thread Ed Maste
Author: emaste Date: Mon Jul 22 20:33:19 2019 New Revision: 350226 URL: https://svnweb.freebsd.org/changeset/base/350226 Log: MFS12 r350205: nand: create device with 0640 permission rw-r- is the usual/standard permissions for such devices. Merge of direct commit to stable/12 as

svn commit: r350217 - stable/11/sys/compat/freebsd32

2019-07-22 Thread Ed Maste
Author: emaste Date: Mon Jul 22 18:14:34 2019 New Revision: 350217 URL: https://svnweb.freebsd.org/changeset/base/350217 Log: Avoid kernel memory disclosure in freebsd32_ioctl_pciocgetconf This has been addressed in HEAD with other compat32 changes, but was not yet addressed in

svn commit: r350215 - head/usr.sbin/mptutil

2019-07-22 Thread Ed Maste
Author: emaste Date: Mon Jul 22 17:25:35 2019 New Revision: 350215 URL: https://svnweb.freebsd.org/changeset/base/350215 Log: mptutil: emit a warning on big-endian architectures It is known to be broken. PR: 162513 MFC after:1 week Sponsored by: The FreeBSD

svn commit: r350205 - stable/12/sys/dev/nand

2019-07-21 Thread Ed Maste
Author: emaste Date: Mon Jul 22 01:06:06 2019 New Revision: 350205 URL: https://svnweb.freebsd.org/changeset/base/350205 Log: nand: create device with 0640 permission rw-r- is the usual/standard permissions for such devices. Direct commit to stable/12 as this code has been removed

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

2019-07-04 Thread Ed Maste
Author: emaste Date: Thu Jul 4 20:42:08 2019 New Revision: 349751 URL: https://svnweb.freebsd.org/changeset/base/349751 Log: Update Linux compat version to 2.6.36 New system calls between 2.6.32 and 2.6.26 are already implemented. This should be mostly NFC as far as contemporary

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

2019-07-04 Thread Ed Maste
Author: emaste Date: Thu Jul 4 19:52:50 2019 New Revision: 349749 URL: https://svnweb.freebsd.org/changeset/base/349749 Log: MFC r349239, r349241: update vm_map_protect.9 Clarify that vm_map_protect cannot upgrade max_protection It's implied by the man page's RETURN VALUES section,

svn commit: r349697 - head/sys/vm

2019-07-03 Thread Ed Maste
Author: emaste Date: Wed Jul 3 19:59:56 2019 New Revision: 349697 URL: https://svnweb.freebsd.org/changeset/base/349697 Log: correct pmap_ts_referenced return type pmap_ts_referenced returns a count, not a boolean, and is supposed to have int as the return type not boolean_t. This

svn commit: r349658 - stable/11/sys/dev/nand

2019-07-03 Thread Ed Maste
Author: emaste Date: Wed Jul 3 17:35:23 2019 New Revision: 349658 URL: https://svnweb.freebsd.org/changeset/base/349658 Log: MFC r349268: nandsim: correct test to avoid out-of-bounds access Previously nandsim_chip_status returned EINVAL iff both of user-provided chip->ctrl_num and

svn commit: r349657 - stable/12/sys/dev/nand

2019-07-03 Thread Ed Maste
Author: emaste Date: Wed Jul 3 17:34:26 2019 New Revision: 349657 URL: https://svnweb.freebsd.org/changeset/base/349657 Log: MFC r349268: nandsim: correct test to avoid out-of-bounds access Previously nandsim_chip_status returned EINVAL iff both of user-provided chip->ctrl_num and

svn commit: r349624 - stable/11/lib/libc/iconv

2019-07-02 Thread Ed Maste
Author: emaste Date: Wed Jul 3 00:03:14 2019 New Revision: 349624 URL: https://svnweb.freebsd.org/changeset/base/349624 Log: MFC r349619: libc: correct iconv buffer overflow admbugs: 920 Submitted by: Andrea Venturoli, gabor Reported by: Andrea Venturoli , NetFence Approved

svn commit: r349622 - stable/12/lib/libc/iconv

2019-07-02 Thread Ed Maste
Author: emaste Date: Wed Jul 3 00:01:38 2019 New Revision: 349622 URL: https://svnweb.freebsd.org/changeset/base/349622 Log: MFC r349619: libc: correct iconv buffer overflow admbugs: 920 Submitted by: Andrea Venturoli, gabor Reported by: Andrea Venturoli , NetFence Approved

svn commit: r349619 - head/lib/libc/iconv

2019-07-02 Thread Ed Maste
Author: emaste Date: Tue Jul 2 23:56:37 2019 New Revision: 349619 URL: https://svnweb.freebsd.org/changeset/base/349619 Log: libc: correct iconv buffer overflow admbugs: 920 Submitted by: Andrea Venturoli, gabor Reported by: Andrea Venturoli , NetFence Security:

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

2019-07-02 Thread Ed Maste
Author: emaste Date: Tue Jul 2 16:44:04 2019 New Revision: 349602 URL: https://svnweb.freebsd.org/changeset/base/349602 Log: if_muge: set IFCAP_VLAN_MTU to maintain 1500 MTU with vlan use PR: 238665 Submitted by: Ralf MFC after:1 week Modified:

svn commit: r349545 - vendor/elftoolchain/elftoolchain-r3769

2019-06-29 Thread Ed Maste
Author: emaste Date: Sat Jun 29 15:28:36 2019 New Revision: 349545 URL: https://svnweb.freebsd.org/changeset/base/349545 Log: Tag ELF Tool Chain r3769 Added: vendor/elftoolchain/elftoolchain-r3769/ - copied from r349544, vendor/elftoolchain/dist/

svn commit: r349544 - in vendor/elftoolchain/dist: . addr2line common documentation/libelf-by-example elfcopy elfdump libdwarf libelf libelftc mk nm readelf test/ar/tc/add-nonexistent/out test/libe...

2019-06-29 Thread Ed Maste
Author: emaste Date: Sat Jun 29 15:27:18 2019 New Revision: 349544 URL: https://svnweb.freebsd.org/changeset/base/349544 Log: Import ELF Tool Chain snapshot at r3769 From https://svn.code.sf.net/p/elftoolchain/code/ Added: vendor/elftoolchain/dist/.cirrus.yml

svn commit: r349469 - head/usr.bin/uname

2019-06-27 Thread Ed Maste
Author: emaste Date: Thu Jun 27 20:34:50 2019 New Revision: 349469 URL: https://svnweb.freebsd.org/changeset/base/349469 Log: Expose the kernel's build-ID through `uname -b` After r348611 the kernel's build-ID is available via sysctl. Add a -b flag to uname to report it. Submitted

svn commit: r349453 - head/release/picobsd/build

2019-06-27 Thread Ed Maste
Author: emaste Date: Thu Jun 27 13:31:55 2019 New Revision: 349453 URL: https://svnweb.freebsd.org/changeset/base/349453 Log: picobsd: also exclude .git where we exclude .svn today Sponsored by: The FreeBSD Foundation Modified: head/release/picobsd/build/picobsd Modified:

svn commit: r349385 - head/usr.sbin/bhyve

2019-06-25 Thread Ed Maste
Author: emaste Date: Tue Jun 25 19:06:43 2019 New Revision: 349385 URL: https://svnweb.freebsd.org/changeset/base/349385 Log: bhyve: avoid theoretical stack buffer overflow from integer overflow Use the proper size_t type to match strlen's return type. This is not exploitable in

Re: svn commit: r349349 - in head/stand: efi/include efi/include/Protocol efi/libefi efi/loader libsa

2019-06-25 Thread Ed Maste
On Mon, 24 Jun 2019 at 19:18, Rebecca Cran wrote: > > Author: bcran > Date: Mon Jun 24 23:18:42 2019 > New Revision: 349349 > URL: https://svnweb.freebsd.org/changeset/base/349349 > > Log: > loader: add HTTP support using UEFI My QEMU smoke test script (tools/boot/ci-qemu-test.sh) fails after

svn commit: r349333 - head/usr.bin/vtfontcvt

2019-06-24 Thread Ed Maste
Author: emaste Date: Mon Jun 24 17:25:14 2019 New Revision: 349333 URL: https://svnweb.freebsd.org/changeset/base/349333 Log: vtfontcvt: improve .bdf validation Previously if we had a FONTBOUNDINGBOX or DWIDTH entry that had missing or invalid values and and failed sscanf, we would

svn commit: r349268 - head/sys/dev/nand

2019-06-21 Thread Ed Maste
Author: emaste Date: Fri Jun 21 13:42:40 2019 New Revision: 349268 URL: https://svnweb.freebsd.org/changeset/base/349268 Log: nandsim: correct test to avoid out-of-bounds access Previously nandsim_chip_status returned EINVAL iff both of user-provided chip->ctrl_num and chip->num were out

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

2019-06-20 Thread Ed Maste
Author: emaste Date: Thu Jun 20 18:30:19 2019 New Revision: 349241 URL: https://svnweb.freebsd.org/changeset/base/349241 Log: Clarify vm_map_protect max_protection downgrade As reported in review D20709 by brooks calling vm_map_protect to set a new max_protection value downgrades

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

2019-06-20 Thread Ed Maste
Author: emaste Date: Thu Jun 20 18:19:09 2019 New Revision: 349239 URL: https://svnweb.freebsd.org/changeset/base/349239 Log: Clarify that vm_map_protect cannot upgrade max_protection It's implied by the man page's RETURN VALUES section, but be explicit in the description that

svn commit: r349193 - stable/12/sys/kern

2019-06-19 Thread Ed Maste
Author: emaste Date: Wed Jun 19 14:57:51 2019 New Revision: 349193 URL: https://svnweb.freebsd.org/changeset/base/349193 Log: MFC r347228: makesyscalls: use @generated tag in generated files Multiple tools use @generated to identify generated files (for example, in a review Phabricator

Re: svn commit: r349189 - stable/12/usr.bin/vtfontcvt

2019-06-19 Thread Ed Maste
On Wed, 19 Jun 2019 at 05:29, Ed Maste wrote: > > > Author: emaste > > Date: Wed Jun 19 13:19:36 2019 > > New Revision: 349189 > > URL: https://svnweb.freebsd.org/changeset/base/349189 > > > > Log: > > vtfontcvt: whitespace and other cleanup > &g

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

2019-06-19 Thread Ed Maste
Author: emaste Date: Wed Jun 19 13:33:34 2019 New Revision: 349191 URL: https://svnweb.freebsd.org/changeset/base/349191 Log: vtfontcvt: whitespace and other cleanup MFC r343842: vtfontcvt: whitespace cleanup MFC r348653: vtfontcvt: use VFNT_MAP_{NORMAL|BOL}_RH symbolic constants

Re: svn commit: r349189 - stable/12/usr.bin/vtfontcvt

2019-06-19 Thread Ed Maste
> Author: emaste > Date: Wed Jun 19 13:19:36 2019 > New Revision: 349189 > URL: https://svnweb.freebsd.org/changeset/base/349189 > > Log: > vtfontcvt: whitespace and other cleanup > > MFC r343842: vtfontcvt: whitespace cleanup That should be 348342.

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

2019-06-19 Thread Ed Maste
Author: emaste Date: Wed Jun 19 13:19:36 2019 New Revision: 349189 URL: https://svnweb.freebsd.org/changeset/base/349189 Log: vtfontcvt: whitespace and other cleanup MFC r343842: vtfontcvt: whitespace cleanup MFC r348653: vtfontcvt: use VFNT_MAP_{NORMAL|BOL}_RH symbolic constants

svn commit: r349170 - in head: . sys/sys

2019-06-18 Thread Ed Maste
Author: emaste Date: Tue Jun 18 14:13:52 2019 New Revision: 349170 URL: https://svnweb.freebsd.org/changeset/base/349170 Log: Remove sys/capability.h for the third time In all supported (and most unsupported) FreeBSD versions the appropriate header for Capsicum is sys/capsicum.h.

svn commit: r349111 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 15:14:49 2019 New Revision: 349111 URL: https://svnweb.freebsd.org/changeset/base/349111 Log: vtfontcvt: correct typo in hex parsing update PR: 205707 Submitted by: Dmitry Wagin MFC with: 349100 Event:Berlin Devsummit 2019

svn commit: r349108 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 13:51:45 2019 New Revision: 349108 URL: https://svnweb.freebsd.org/changeset/base/349108 Log: vtfontcvt: improve .bdf validation Previously if we had a BBX entry that had invalid values (e.g. bounding box outside of font bounding box) and failed sscanf

svn commit: r349107 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 13:35:53 2019 New Revision: 349107 URL: https://svnweb.freebsd.org/changeset/base/349107 Log: vtfontcvt: improve .bdf verification Previously we would crash if the BBX y-offset was outside of the font bounding box. Reported by: afl MFC with:

svn commit: r349106 - head/share/vt/fonts

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 12:44:49 2019 New Revision: 349106 URL: https://svnweb.freebsd.org/changeset/base/349106 Log: allow vt(4) fonts to be built from .bdf files vtfontcvt(8) can convert both .bdf and .hex inputs to binary vt(4) .fnt files. Event:Berlin

svn commit: r349105 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 12:26:46 2019 New Revision: 349105 URL: https://svnweb.freebsd.org/changeset/base/349105 Log: vtfontcvt: initialize another variable to quiet GCC warning I believe this case could be triggered by a broken .bdf font. PR: 205707 Reported by:

svn commit: r349101 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 10:43:18 2019 New Revision: 349101 URL: https://svnweb.freebsd.org/changeset/base/349101 Log: vtfontcvt: initialize bbwbytes to avoid GCC 4.2.1 uninitialized warning PR: 205707 MFC with: 349100 Event:Berlin Devsummit 2019

svn commit: r349100 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 09:17:26 2019 New Revision: 349100 URL: https://svnweb.freebsd.org/changeset/base/349100 Log: vtfontcvt: improve BDF and hex font parsing Support larger font sizes. PR: 205707 Submitted by: Dmitry Wagin (original version) MFC after:2

svn commit: r349053 - stable/11/lib/atf/libatf-c/tests

2019-06-15 Thread Ed Maste
Author: emaste Date: Sat Jun 15 09:30:11 2019 New Revision: 349053 URL: https://svnweb.freebsd.org/changeset/base/349053 Log: MFC r348498: libatf: remove workaround not required after atf >= 0.18 update lib/atf/libatf-c/tests/Makefile added the -Wno-duplicate-decl-specifier due to an

svn commit: r349052 - stable/12/lib/atf/libatf-c/tests

2019-06-15 Thread Ed Maste
Author: emaste Date: Sat Jun 15 09:28:48 2019 New Revision: 349052 URL: https://svnweb.freebsd.org/changeset/base/349052 Log: MFC r348498: libatf: remove workaround not required after atf >= 0.18 update lib/atf/libatf-c/tests/Makefile added the -Wno-duplicate-decl-specifier due to an

svn commit: r349051 - stable/11/sys/mips/cavium/usb

2019-06-15 Thread Ed Maste
Author: emaste Date: Sat Jun 15 09:26:48 2019 New Revision: 349051 URL: https://svnweb.freebsd.org/changeset/base/349051 Log: MFC r348497: octusb: fix detach loop over USB ports Sponsored by: The FreeBSD Foundation Modified: stable/11/sys/mips/cavium/usb/octusb_octeon.c Directory

svn commit: r349050 - stable/12/sys/mips/cavium/usb

2019-06-15 Thread Ed Maste
Author: emaste Date: Sat Jun 15 09:25:40 2019 New Revision: 349050 URL: https://svnweb.freebsd.org/changeset/base/349050 Log: MFC r348497: octusb: fix detach loop over USB ports Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/mips/cavium/usb/octusb_octeon.c Directory

svn commit: r349049 - head/usr.bin/vtfontcvt

2019-06-15 Thread Ed Maste
Author: emaste Date: Sat Jun 15 09:15:58 2019 New Revision: 349049 URL: https://svnweb.freebsd.org/changeset/base/349049 Log: vtfontcvt: add comments in add_glyph During review for PR 205707. Event:Berlin Devsummit 2019 Modified: head/usr.bin/vtfontcvt/vtfontcvt.c

svn commit: r348796 - head/usr.bin/vtfontcvt

2019-06-08 Thread Ed Maste
Author: emaste Date: Sat Jun 8 08:25:43 2019 New Revision: 348796 URL: https://svnweb.freebsd.org/changeset/base/348796 Log: vtfontcvt: allow out-of-order glyphs PR: 205707 Reported by: mi MFC after:2 weeks Event:Vienna Hackathon 2019 Sponsored by:

svn commit: r348692 - head/usr.bin/vtfontcvt

2019-06-05 Thread Ed Maste
Author: emaste Date: Wed Jun 5 15:23:48 2019 New Revision: 348692 URL: https://svnweb.freebsd.org/changeset/base/348692 Log: vtfontcvt: exit on error if the input font has too many glyphs The kernel has a limit of 131072 glyphs in a font; add the same check to vtfontcvt so that we won't

Re: svn commit: r348610 - in head: lib/clang/libllvm usr.bin/clang

2019-06-05 Thread Ed Maste
On Tue, 4 Jun 2019 at 21:35, Kyle Evans wrote: > > Just to confirm... the commit for llvm-symbolizer included the move > from MK_CLANG_EXTRAS to MK_CLANG in OptionalObsoleteFiles. Not the man page though, it turns out - I moved it now in r348689. ___

svn commit: r348689 - head/tools/build/mk

2019-06-05 Thread Ed Maste
Author: emaste Date: Wed Jun 5 14:08:39 2019 New Revision: 348689 URL: https://svnweb.freebsd.org/changeset/base/348689 Log: Use CLANG knob to remove llvm-symbolizer man page r348504 moved llvm-symbolizer from the CLANG_EXTRAS knob to CLANG, but the man page was still in the

svn commit: r348677 - head/tools/build/mk

2019-06-04 Thread Ed Maste
Author: emaste Date: Wed Jun 5 00:55:22 2019 New Revision: 348677 URL: https://svnweb.freebsd.org/changeset/base/348677 Log: move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc After r348610 `make delete-old` was still removing llvm-ar and llvm-nm (and

svn commit: r348668 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 19:39:06 2019 New Revision: 348668 URL: https://svnweb.freebsd.org/changeset/base/348668 Log: vtfontcvt: zero memory allocated by xmalloc PR: 205707 Submitted by: Dmitry Wagin Modified: head/usr.bin/vtfontcvt/vtfontcvt.c Modified:

svn commit: r348662 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:55:02 2019 New Revision: 348662 URL: https://svnweb.freebsd.org/changeset/base/348662 Log: vtfontcvt: include width and height in verbose info PR: 205707 Submitted by: Dmitry Wagin Modified: head/usr.bin/vtfontcvt/vtfontcvt.c Modified:

svn commit: r348661 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:49:49 2019 New Revision: 348661 URL: https://svnweb.freebsd.org/changeset/base/348661 Log: vtfontcvt: rework height/width setting Introduce VFNT_MAXDIMENSION to replace bare 128, add set_height, and consistently use set_height and set_width. PR:

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Ed Maste
On Tue, 4 Jun 2019 at 13:44, Enji Cooper wrote: > > This is awesome! One minor critique is that I would have mentioned that the > sysctl is `kern.build_id`. You mean including the sysctl name in the commit message? > How is this linked into uname(1) though? I don’t see any additional options

svn commit: r348656 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:31:52 2019 New Revision: 348656 URL: https://svnweb.freebsd.org/changeset/base/348656 Log: vtfontcvt: unwrap a line per style(9) PR: 205707 Submitted by: Dmitry Wagin Modified: head/usr.bin/vtfontcvt/vtfontcvt.c Modified:

svn commit: r348653 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:26:42 2019 New Revision: 348653 URL: https://svnweb.freebsd.org/changeset/base/348653 Log: vtfontcvt: use VFNT_MAP_{NORMAL|BOL}_RH symbolic constants PR: 205707 Reported by: Dmitry Wagin MFC after:1 month Modified:

svn commit: r348651 - stable/12/sys/dev/vt/hw/efifb

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:11:12 2019 New Revision: 348651 URL: https://svnweb.freebsd.org/changeset/base/348651 Log: MFC r348059: vt efifb: add suspend/resume calls Using the latest NVIDIA driver, upon resuming from suspend with X running the display remained blank.

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Ed Maste
On Tue, 4 Jun 2019 at 10:58, Ian Lepore wrote: > > On Tue, 2019-06-04 at 13:07 +0000, Ed Maste wrote: > > Author: emaste > > Date: Tue Jun 4 13:07:10 2019 > > New Revision: 348611 > > URL: https://svnweb.freebsd.org/changeset/base/348611 > > > > Log:

svn commit: r348628 - head/sys/sys

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 15:44:31 2019 New Revision: 348628 URL: https://svnweb.freebsd.org/changeset/base/348628 Log: elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits To support Intel CET IBT/Shadow Stack. Reviewed by: markj MFC after:1 week Sponsored

svn commit: r348612 - head/sys/kern

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 13:45:30 2019 New Revision: 348612 URL: https://svnweb.freebsd.org/changeset/base/348612 Log: style(9) / tidying for r348611 MFC with: r348611 Event:Waterloo Hackathon 2019 Modified: head/sys/kern/kern_mib.c Modified:

svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 13:07:10 2019 New Revision: 348611 URL: https://svnweb.freebsd.org/changeset/base/348611 Log: Expose the kernel's build-ID through sysctl After our migration (of certain architectures) to lld the kernel is built with a unique build-ID. Make it available

svn commit: r348610 - in head: lib/clang/libllvm usr.bin/clang

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 13:00:49 2019 New Revision: 348610 URL: https://svnweb.freebsd.org/changeset/base/348610 Log: build llvm-ar and llvm-nm with Clang (promote out of CLANG_EXTRAS) To facilitate experimentation with LTO we require an ar that supports LLVM IR, and to a lesser

svn commit: r348609 - head

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 12:56:20 2019 New Revision: 348609 URL: https://svnweb.freebsd.org/changeset/base/348609 Log: Makefile.inc1: clean up stale dependency hacks Carrying on from r339607, remove ad-hoc dependency cleanup for changes prior to June 2018. Sponsored by: The

svn commit: r348498 - head/lib/atf/libatf-c/tests

2019-06-01 Thread Ed Maste
Author: emaste Date: Sat Jun 1 18:26:07 2019 New Revision: 348498 URL: https://svnweb.freebsd.org/changeset/base/348498 Log: libatf: remove workaround not required after atf >= 0.18 update lib/atf/libatf-c/tests/Makefile added the -Wno-duplicate-decl-specifier due to an issue with an

svn commit: r348497 - head/sys/mips/cavium/usb

2019-06-01 Thread Ed Maste
Author: emaste Date: Sat Jun 1 18:19:16 2019 New Revision: 348497 URL: https://svnweb.freebsd.org/changeset/base/348497 Log: octusb: fix detach loop over USB ports MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/mips/cavium/usb/octusb_octeon.c Modified:

svn commit: r348456 - head/sys/conf

2019-05-31 Thread Ed Maste
Author: emaste Date: Fri May 31 13:54:01 2019 New Revision: 348456 URL: https://svnweb.freebsd.org/changeset/base/348456 Log: newvers.sh correct typo from r348175 Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

svn commit: r348325 - stable/12/libexec/bootpd

2019-05-28 Thread Ed Maste
Author: emaste Date: Tue May 28 13:14:53 2019 New Revision: 348325 URL: https://svnweb.freebsd.org/changeset/base/348325 Log: MFC r348069: bootpd: avoid the same error indication for different issues There were several (apparently) copy-pasted NEED validation macros, leading to the same

svn commit: r348239 - in head/tools/tools/nanobsd: dhcpd pcengines

2019-05-24 Thread Ed Maste
Author: emaste Date: Fri May 24 15:21:23 2019 New Revision: 348239 URL: https://svnweb.freebsd.org/changeset/base/348239 Log: nanobsd: exclude .git (and .hg) in the same places we exclude .svn Allow support of other VCSes. Note that two other nanobsd files already had a similar case,

svn commit: r348237 - stable/12/sys/modules

2019-05-24 Thread Ed Maste
Author: emaste Date: Fri May 24 13:39:56 2019 New Revision: 348237 URL: https://svnweb.freebsd.org/changeset/base/348237 Log: MFC r346598: Enable Mellanox drivers (modules) on AArch64 PR: 237055 Submitted by: Greg V Modified: stable/12/sys/modules/Makefile Directory

svn commit: r348069 - head/libexec/bootpd

2019-05-21 Thread Ed Maste
Author: emaste Date: Tue May 21 21:27:14 2019 New Revision: 348069 URL: https://svnweb.freebsd.org/changeset/base/348069 Log: bootpd: avoid the same error indication for different issues There were several (apparently) copy-pasted NEED validation macros, leading to the same error string

svn commit: r348059 - head/sys/dev/vt/hw/efifb

2019-05-21 Thread Ed Maste
Author: emaste Date: Tue May 21 18:42:36 2019 New Revision: 348059 URL: https://svnweb.freebsd.org/changeset/base/348059 Log: vt efifb: add suspend/resume calls Using the latest NVIDIA driver, upon resuming from suspend with X running the display remained blank. Additionally OpenGL

svn commit: r348008 - head/lib/csu/mips

2019-05-20 Thread Ed Maste
Author: emaste Date: Mon May 20 20:48:04 2019 New Revision: 348008 URL: https://svnweb.freebsd.org/changeset/base/348008 Log: mips: remove 16-byte alignment from .init and .fini epilogues The .init and .fini epilogues from crtn should be placed immediately after any instructions in .init

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

2019-05-20 Thread Ed Maste
Author: emaste Date: Mon May 20 19:31:49 2019 New Revision: 348006 URL: https://svnweb.freebsd.org/changeset/base/348006 Log: muge: update FDT LED configuration Also use LED mode settings from the FDT to set the PHY. From v3 of the patch submitted in the PR. I moved the sc_led_modes

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

2019-05-20 Thread Ed Maste
Author: emaste Date: Mon May 20 18:41:07 2019 New Revision: 348001 URL: https://svnweb.freebsd.org/changeset/base/348001 Log: muge: configure LEDs per dtb (for Raspberry Pi 3B+) Also apply some style(9) and remove the message about EEPROM configuration (if there's an EEPROM the hardware

<    5   6   7   8   9   10   11   12   13   14   >