svn commit: r345490 - in head/gnu/usr.bin/binutils: as ld objcopy

2019-03-24 Thread Ed Maste
Author: emaste Date: Mon Mar 25 01:18:26 2019 New Revision: 345490 URL: https://svnweb.freebsd.org/changeset/base/345490 Log: Apply WITH_PIE changes to other binutils components Followon to r345489, explicitly specified bare .a libraries need ${PIE_SUFFIX} (although these still built).

svn commit: r345489 - head/gnu/usr.bin/binutils/objdump

2019-03-24 Thread Ed Maste
Author: emaste Date: Mon Mar 25 01:06:29 2019 New Revision: 345489 URL: https://svnweb.freebsd.org/changeset/base/345489 Log: Fix GNU objdump build under WITH_PIE Explicitly specified bare .a libraries need ${PIE_SUFFIX}. Reported by: David E. Cross, on twitter Modified:

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

2019-03-24 Thread Ed Maste
Author: emaste Date: Sun Mar 24 23:26:03 2019 New Revision: 345488 URL: https://svnweb.freebsd.org/changeset/base/345488 Log: Add description for WITHOUT_RETPOLINE Not used by default at the moment, but added for the benefit of downstream projects/branches with different options. Added:

svn commit: r345487 - in stable/12/bin/sh: . tests/execution

2019-03-24 Thread Jilles Tjoelker
Author: jilles Date: Sun Mar 24 22:10:26 2019 New Revision: 345487 URL: https://svnweb.freebsd.org/changeset/base/345487 Log: MFC r344502: sh: Add set -o pipefail The pipefail option allows checking the exit status of all commands in a pipeline more easily, at a limited cost of

svn commit: r345486 - head/lib/libvgl

2019-03-24 Thread Bruce Evans
Author: bde Date: Sun Mar 24 20:43:21 2019 New Revision: 345486 URL: https://svnweb.freebsd.org/changeset/base/345486 Log: Oops, my previous commit to libvgl was missing the change of VGLSetBorder() to match the change in its declaration. Change the declaration back to "byte color" since

svn commit: r345485 - in head/sys/dev: mpr mps

2019-03-24 Thread Scott Long
Author: scottl Date: Sun Mar 24 20:37:37 2019 New Revision: 345485 URL: https://svnweb.freebsd.org/changeset/base/345485 Log: Add event table decoding for SAS Broadcast Primitive events. Modified: head/sys/dev/mpr/mpr_table.c head/sys/dev/mps/mps_table.c Modified:

svn commit: r345484 - head/lib/libvgl

2019-03-24 Thread Bruce Evans
Author: bde Date: Sun Mar 24 20:36:35 2019 New Revision: 345484 URL: https://svnweb.freebsd.org/changeset/base/345484 Log: Fix the type of the color args for VGLMouseFreeze(), VGLBitmapPutChar(), VGLBitmapString() and VGLSetBorder() so as to not truncate to 8 bits. Complete the

svn commit: r345482 - head/sys/dev/mps

2019-03-24 Thread Scott Long
Author: scottl Date: Sun Mar 24 19:29:30 2019 New Revision: 345482 URL: https://svnweb.freebsd.org/changeset/base/345482 Log: Fix a transposition error from the previous commit Modified: head/sys/dev/mps/mps.c Modified: head/sys/dev/mps/mps.c

svn commit: r345483 - head/lib/libvgl

2019-03-24 Thread Bruce Evans
Author: bde Date: Sun Mar 24 19:41:45 2019 New Revision: 345483 URL: https://svnweb.freebsd.org/changeset/base/345483 Log: Add support for arbitrary font widths. Only multiples of 8 were supported. Since the font format is undocumented, it is unclear how non-multiples of 8 should be

svn commit: r345481 - head/lib/libvgl

2019-03-24 Thread Bruce Evans
Author: bde Date: Sun Mar 24 19:27:03 2019 New Revision: 345481 URL: https://svnweb.freebsd.org/changeset/base/345481 Log: Fix reading of pixels in (4 and 8-plane) planar modes. There seems to be no alternative to reading each plane independently using 3 slow i/o's per plane (this

svn commit: r345474 - head/lib/libvgl

2019-03-24 Thread Bruce Evans
Author: bde Date: Sun Mar 24 16:47:43 2019 New Revision: 345474 URL: https://svnweb.freebsd.org/changeset/base/345474 Log: Fix libvgl to not always fail to initialize due to its invalid mmap() args (neither MAP_PRIVATE nor MAP_SHARED). It was broken in r271635 and/or r271724 by stricter

svn commit: r345480 - in head/sys: conf geom geom/label

2019-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 24 19:11:45 2019 New Revision: 345480 URL: https://svnweb.freebsd.org/changeset/base/345480 Log: Support device-independent labels for geom_flashmap slices. While geom_flashmap has always supported label names for its slices, it does so by appending

svn commit: r345479 - in head/sys/dev: mpr mps

2019-03-24 Thread Scott Long
Author: scottl Date: Sun Mar 24 19:09:50 2019 New Revision: 345479 URL: https://svnweb.freebsd.org/changeset/base/345479 Log: r329522 created problemss with commands that enter the TIMEDOUT state but are successfully returned by the card (usually due to an abort being issued as part of

svn commit: r345478 - head/lib/libvgl

2019-03-24 Thread Bruce Evans
Author: bde Date: Sun Mar 24 18:57:03 2019 New Revision: 345478 URL: https://svnweb.freebsd.org/changeset/base/345478 Log: Fix buffer overruns in modes with color depth more than 8. Support for 16-bit and 32-bit Truecolor modes was supposed to be complete in r70991 of main.c and in

svn commit: r345477 - in head/stand: common efi/libefi efi/loader i386/libi386 libsa/zfs mips/beri/loader uboot/common uboot/lib usb/storage userboot/userboot

2019-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 24 18:51:52 2019 New Revision: 345477 URL: https://svnweb.freebsd.org/changeset/base/345477 Log: Distinguish between "no partition" and "choose best partition" with a constant. The values of the d_slice and d_partition fields of a disk_devdesc have a few values

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

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 15:08:30 2019 New Revision: 345473 URL: https://svnweb.freebsd.org/changeset/base/345473 Log: Whitespace cleanup (annoying). MFC after:1 month Modified: head/sys/compat/linux/linux_fork.c Modified: head/sys/compat/linux/linux_fork.c

svn commit: r345476 - head/sys/kern

2019-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 24 18:02:27 2019 New Revision: 345476 URL: https://svnweb.freebsd.org/changeset/base/345476 Log: Revert accidental change that should not have been included in r345475. I had changed this value as part of a local experiment, and neglected to change it back before

svn commit: r345475 - head/sys/kern

2019-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 24 17:53:26 2019 New Revision: 345475 URL: https://svnweb.freebsd.org/changeset/base/345475 Log: Truncate a too-long interrupt handler name when there is only one handler. There are only 19 bytes available for the name of an interrupt plus the name(s) of

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

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:51:17 2019 New Revision: 345472 URL: https://svnweb.freebsd.org/changeset/base/345472 Log: Regen from r345471. MFC after:1 month Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h

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

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:44:35 2019 New Revision: 345469 URL: https://svnweb.freebsd.org/changeset/base/345469 Log: Linux between 4.18 and 5.0 split IPC system calls. In preparation for doing this in the Linuxulator modify our linux_shmat() to match actual Linux shmat() system

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

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:46:07 2019 New Revision: 345470 URL: https://svnweb.freebsd.org/changeset/base/345470 Log: Regen for r345469 (shmat()). MFC after:1 month Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_systrace_args.c

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

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:50:02 2019 New Revision: 345471 URL: https://svnweb.freebsd.org/changeset/base/345471 Log: Update syscall.master to 5.0. For 32-bit Linuxulator, ipc() syscall was historically the entry point for the IPC API. Starting in Linux 4.18, direct syscalls

svn commit: r345465 - head/sys/netinet

2019-03-24 Thread Michael Tuexen
Author: tuexen Date: Sun Mar 24 09:46:16 2019 New Revision: 345465 URL: https://svnweb.freebsd.org/changeset/base/345465 Log: Fix a signed/unsigned bug when receiving SCTP messages. This is joint work with rrs@. Reported by: syzbot+6b8a4bc8cc828e9d9...@syzkaller.appspotmail.com

svn commit: r345468 - head/sys/amd64/linux

2019-03-24 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 24 14:02:57 2019 New Revision: 345468 URL: https://svnweb.freebsd.org/changeset/base/345468 Log: Revert r313993. AMD64_SET_**BASE expects a pointer to a pointer, we just passing in the pointer value itself. Set PCB_FULL_IRET for doreti to restore %fs, %gs

svn commit: r345467 - head/sys/netinet

2019-03-24 Thread Michael Tuexen
Author: tuexen Date: Sun Mar 24 12:13:05 2019 New Revision: 345467 URL: https://svnweb.freebsd.org/changeset/base/345467 Log: Fix build issue for the userland stack. Joint work with rrs@. MFC after:1 week Modified: head/sys/netinet/sctp_output.c

svn commit: r345466 - head/sys/netinet

2019-03-24 Thread Michael Tuexen
Author: tuexen Date: Sun Mar 24 10:40:20 2019 New Revision: 345466 URL: https://svnweb.freebsd.org/changeset/base/345466 Log: Fox more signed unsigned issues. This time on the send path. This is joint work with rrs@ and was found by running syzkaller. MFC after:1 week

svn commit: r345464 - head/sys/dev/cfi

2019-03-24 Thread Allan Jude
Author: allanjude Date: Sun Mar 24 06:28:25 2019 New Revision: 345464 URL: https://svnweb.freebsd.org/changeset/base/345464 Log: Fix AMD type flash write operations, and display chip information at boot Applies to MX flash chips on AR9132 and RT3050 Submitted by: Hiroki Mori