svn commit: r338487 - in head/sys: kern sys

2018-09-05 Thread Mark Johnston
Author: markj Date: Thu Sep 6 02:10:59 2018 New Revision: 338487 URL: https://svnweb.freebsd.org/changeset/base/338487 Log: Rename hardclock_cnt() to hardclock() and remove the old implementation. Also remove some related and unused subroutines. They have long been replaced by variants

svn commit: r338486 - in head/libexec/rtld-elf: . aarch64 arm mips powerpc powerpc64 riscv

2018-09-05 Thread Brooks Davis
Author: brooks Date: Wed Sep 5 23:23:16 2018 New Revision: 338486 URL: https://svnweb.freebsd.org/changeset/base/338486 Log: Rework rtld's TLS Variant I implementation to match r326794 The above commit fixed handling overaligned TLS segments in libc's TLS Variant I implementation, but

svn commit: r338485 - head/lib/libelf

2018-09-05 Thread John Baldwin
Author: jhb Date: Wed Sep 5 21:47:22 2018 New Revision: 338485 URL: https://svnweb.freebsd.org/changeset/base/338485 Log: Add gelf_mips64el.c to the list of files to include in libelf. Missed in r338478. Pointy hat to:jhb Approved by: re (rgrimes) MFC after:1 month

Re: svn commit: r338478 - in head: contrib/elftoolchain/elfcopy contrib/elftoolchain/libelf sys/sys

2018-09-05 Thread John Baldwin
On 9/5/18 1:51 PM, John Baldwin wrote: > Author: jhb > Date: Wed Sep 5 20:51:53 2018 > New Revision: 338478 > URL: https://svnweb.freebsd.org/changeset/base/338478 > > Log: > Fix objcopy for little-endian MIPS64 objects. Bah, I forgot to include the hunk to add the new file to libelf's

Re: svn commit: r338478 - in head: contrib/elftoolchain/elfcopy contrib/elftoolchain/libelf sys/sys [breaks ci.freebsd.org builds for: FreeBSD-head-riscv64-build]

2018-09-05 Thread Mark Millard via svn-src-head
https://ci.freebsd.org/job/FreeBSD-head-riscv64-build/10428/consoleText shows: --- objcopy.full --- cc -O2 -pipe -I/workspace/src/contrib/elftoolchain/libelftc -I/workspace/src/contrib/elftoolchain/libpe -I/workspace/src/contrib/elftoolchain/common -DWITH_PE=1 -I. -g -std=gnu99

svn commit: r338478 - in head: contrib/elftoolchain/elfcopy contrib/elftoolchain/libelf sys/sys

2018-09-05 Thread John Baldwin
Author: jhb Date: Wed Sep 5 20:51:53 2018 New Revision: 338478 URL: https://svnweb.freebsd.org/changeset/base/338478 Log: Fix objcopy for little-endian MIPS64 objects. MIPS64 does not store the 'r_info' field of a relocation table entry as a 64-bit value consisting of a 32-bit symbol

svn commit: r338474 - head/stand

2018-09-05 Thread Warner Losh
Author: imp Date: Wed Sep 5 20:02:23 2018 New Revision: 338474 URL: https://svnweb.freebsd.org/changeset/base/338474 Log: Be a little conservative about when to force size optimizations. Reports have come in that there's issue with powerpc and sparc64 since we've switched to using -Oz /

svn commit: r338473 - head/bin/sh

2018-09-05 Thread Jilles Tjoelker
Author: jilles Date: Wed Sep 5 19:16:09 2018 New Revision: 338473 URL: https://svnweb.freebsd.org/changeset/base/338473 Log: sh: Fix formal overflow in pointer arithmetic The intention is to lower the value of the pointer, which according to ubsan cannot be done by adding an unsigned

svn commit: r338472 - head/sys/kern

2018-09-05 Thread Mark Johnston
Author: markj Date: Wed Sep 5 19:05:30 2018 New Revision: 338472 URL: https://svnweb.freebsd.org/changeset/base/338472 Log: Correct the condition under which we allocate a terminator node. We will have last_block < blocks if the block count is divisible by BLIST_BMAP_RADIX, but a

svn commit: r338471 - in head: etc libexec/getty

2018-09-05 Thread Brad Davis
Author: brd Date: Wed Sep 5 15:25:23 2018 New Revision: 338471 URL: https://svnweb.freebsd.org/changeset/base/338471 Log: Move gettytab to libexec/getty/ Approved by: re (gjb), will (mentor) Differential Revision:https://reviews.freebsd.org/D16953 Added:

svn commit: r338470 - head/sys/netinet

2018-09-05 Thread Mark Johnston
Author: markj Date: Wed Sep 5 15:04:11 2018 New Revision: 338470 URL: https://svnweb.freebsd.org/changeset/base/338470 Log: Fix style bugs in in_pcblookup_lbgroup(). No functional change intended. Reviewed by: bz, Johannes Lundberg Approved by: re (rgrimes) Sponsored by: The

svn commit: r338468 - head/sys/netinet

2018-09-05 Thread Eugene Grosbein
Author: eugen Date: Wed Sep 5 13:59:36 2018 New Revision: 338468 URL: https://svnweb.freebsd.org/changeset/base/338468 Log: Fix "ipfw fwd" to work for incoming IPv4 packets when ip_tryforward() chooses fast forwarding path, as it already works for IPv6 and for both of them on old slow

svn commit: r338467 - in head/sys/riscv: include riscv

2018-09-05 Thread Ruslan Bukin
Author: br Date: Wed Sep 5 11:34:58 2018 New Revision: 338467 URL: https://svnweb.freebsd.org/changeset/base/338467 Log: Permit supervisor to access user VA space for certain functions only. This is done by setting SUM (permit Supervisor User Memory access) bit in sstatus register.

svn commit: r338466 - head/sys/riscv/riscv

2018-09-05 Thread Ruslan Bukin
Author: br Date: Wed Sep 5 09:53:55 2018 New Revision: 338466 URL: https://svnweb.freebsd.org/changeset/base/338466 Log: Fix bug: compare uaddr to VM_MAXUSER_ADDRESS, not to a tmp value left by SET_FAULT_HANDLER(). Approved by: re (kib) Sponsored by: DARPA, AFRL Modified: