svn commit: r357959 - in head/sys/contrib/dev/acpica: . common compiler components/events components/hardware components/namespace components/tables components/utilities include

2020-02-14 Thread Jung-uk Kim
Author: jkim Date: Sat Feb 15 03:47:25 2020 New Revision: 357959 URL: https://svnweb.freebsd.org/changeset/base/357959 Log: MFV: r357927 Merge ACPICA 20200214. Modified: head/sys/contrib/dev/acpica/changes.txt head/sys/contrib/dev/acpica/common/adisasm.c head/sys/contrib/dev/acpica

svn commit: r357958 - svnadmin/conf

2020-02-14 Thread Joseph Mingrone
Author: jrm (ports committer) Date: Sat Feb 15 02:53:40 2020 New Revision: 357958 URL: https://svnweb.freebsd.org/changeset/base/357958 Log: Take in commit bit of Benno Rice (benno) for safe keeping Approved by: core Modified: svnadmin/conf/access Modified: svnadmin/conf/access

svn commit: r357957 - head/sys/kern

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 15 01:30:27 2020 New Revision: 357957 URL: https://svnweb.freebsd.org/changeset/base/357957 Log: capsicum: use new helpers Modified: head/sys/kern/subr_capability.c head/sys/kern/sys_capability.c Modified: head/sys/kern/subr_capability.c

svn commit: r357956 - head/sys/kern

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 15 01:30:13 2020 New Revision: 357956 URL: https://svnweb.freebsd.org/changeset/base/357956 Log: kqueue: use new capsicum helpers Modified: head/sys/kern/kern_event.c Modified: head/sys/kern/kern_event.c

svn commit: r357955 - head/sys/compat/cloudabi

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 15 01:29:58 2020 New Revision: 357955 URL: https://svnweb.freebsd.org/changeset/base/357955 Log: cloudabi: use new capsicum helpers Modified: head/sys/compat/cloudabi/cloudabi_file.c Modified: head/sys/compat/cloudabi/cloudabi_file.c

svn commit: r357954 - head/sys/netinet

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 15 01:29:40 2020 New Revision: 357954 URL: https://svnweb.freebsd.org/changeset/base/357954 Log: sctp: use new capsicum helpers Modified: head/sys/netinet/sctp_syscalls.c Modified: head/sys/netinet/sctp_syscalls.c

svn commit: r357952 - head/sys/kern

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 15 01:28:55 2020 New Revision: 357952 URL: https://svnweb.freebsd.org/changeset/base/357952 Log: fd: use new capsicum helpers Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r357953 - head/sys/vm

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 15 01:29:07 2020 New Revision: 357953 URL: https://svnweb.freebsd.org/changeset/base/357953 Log: vm: use new capsicum helpers Modified: head/sys/vm/vm_mmap.c Modified: head/sys/vm/vm_mmap.c

svn commit: r357951 - head/sys/kern

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 15 01:28:42 2020 New Revision: 357951 URL: https://svnweb.freebsd.org/changeset/base/357951 Log: vfs: use new capsicum helpers Modified: head/sys/kern/vfs_acl.c head/sys/kern/vfs_extattr.c head/sys/kern/vfs_lookup.c head/sys/kern/vfs_syscalls.c Modified:

svn commit: r357950 - head/sys/sys

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 15 01:28:06 2020 New Revision: 357950 URL: https://svnweb.freebsd.org/changeset/base/357950 Log: capsicum: add cap_rights_init_zero, cap_rights_init_one, cap_rights_set_one ... which allow the compiler to generate relevant code in place without resorting to

svn commit: r357949 - stable/12/libexec/rtld-elf

2020-02-14 Thread Konstantin Belousov
Author: kib Date: Sat Feb 15 00:48:44 2020 New Revision: 357949 URL: https://svnweb.freebsd.org/changeset/base/357949 Log: MFC r357813: Fix indent. Modified: stable/12/libexec/rtld-elf/rtld.c Directory Properties: stable/12/ (props changed) Modified: stable/12/libexec/rtld-elf/rtld.c

svn commit: r357948 - head/sys/kern

2020-02-14 Thread Konstantin Belousov
Author: kib Date: Fri Feb 14 23:27:45 2020 New Revision: 357948 URL: https://svnweb.freebsd.org/changeset/base/357948 Log: Consolidate read code for timecounters and fix possible overflow in bintime()/binuptime(). The algorithm to read the consistent snapshot of current timehand is

svn commit: r357947 - head/sys/kern

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 23:18:32 2020 New Revision: 357947 URL: https://svnweb.freebsd.org/changeset/base/357947 Log: vfs: remove no longer needed atomic_load_ptr casts Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

svn commit: r357946 - head/sys/kern

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 23:18:22 2020 New Revision: 357946 URL: https://svnweb.freebsd.org/changeset/base/357946 Log: fd: remove no longer needed atomic_load_ptr casts Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r357945 - head/sys/kern

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 23:18:03 2020 New Revision: 357945 URL: https://svnweb.freebsd.org/changeset/base/357945 Log: kcov: remove no longer needed atomic_load_ptr casts Modified: head/sys/kern/subr_coverage.c Modified: head/sys/kern/subr_coverage.c

svn commit: r357944 - head/sys/i386/i386

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 23:17:37 2020 New Revision: 357944 URL: https://svnweb.freebsd.org/changeset/base/357944 Log: i386: remove no longer needed atomic_load_ptr casts Modified: head/sys/i386/i386/trap.c Modified: head/sys/i386/i386/trap.c

svn commit: r357943 - head/sys/arm64/arm64

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 23:17:18 2020 New Revision: 357943 URL: https://svnweb.freebsd.org/changeset/base/357943 Log: arm64: remove no longer needed atomic_load_ptr casts Modified: head/sys/arm64/arm64/gicv3_its.c Modified: head/sys/arm64/arm64/gicv3_its.c

svn commit: r357942 - head/sys/amd64/amd64

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 23:17:03 2020 New Revision: 357942 URL: https://svnweb.freebsd.org/changeset/base/357942 Log: amd64: remove no longer needed atomic_load_ptr casts Modified: head/sys/amd64/amd64/trap.c Modified: head/sys/amd64/amd64/trap.c

svn commit: r357940 - in head/sys: amd64/amd64 sys x86/x86

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 23:15:41 2020 New Revision: 357940 URL: https://svnweb.freebsd.org/changeset/base/357940 Log: Make atomic_load_ptr type-aware Returned value has type based on the argument, meaning consumers no longer have to cast in the commmon case. This commit keeps

svn commit: r357941 - head/sys/vm

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 23:16:29 2020 New Revision: 357941 URL: https://svnweb.freebsd.org/changeset/base/357941 Log: vm: remove no longer needed atomic_load_ptr casts Modified: head/sys/vm/vm_mmap.c head/sys/vm/vm_page.c head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_mmap.c

svn commit: r357939 - head/crypto/openssh

2020-02-14 Thread Ed Maste
Author: emaste Date: Fri Feb 14 22:32:33 2020 New Revision: 357939 URL: https://svnweb.freebsd.org/changeset/base/357939 Log: Update version in openssh FREEBSD-vendor metadata It appears that FREEBSD-vendor is an idea that never really took off and we should probably just remove it, but

svn commit: r357938 - vendor/llvm-project/llvmorg-10.0.0-rc2-0-g90c78073f73

2020-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 21:24:56 2020 New Revision: 357938 URL: https://svnweb.freebsd.org/changeset/base/357938 Log: Tag llvm-project branch release/10.x llvmorg-10.0.0-rc2-0-g90c78073f73. Added: vendor/llvm-project/llvmorg-10.0.0-rc2-0-g90c78073f73/ - copied from r357937,

svn commit: r357937 - in vendor/llvm-project/release-10.x: clang/include/clang/AST clang/include/clang/Basic clang/include/clang/Driver clang/include/clang/Lex clang/include/clang/Sema clang/lib/AS...

2020-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 21:24:03 2020 New Revision: 357937 URL: https://svnweb.freebsd.org/changeset/base/357937 Log: Vendor import of llvm-project branch release/10.x llvmorg-10.0.0-rc2-0-g90c78073f73. Added:

svn commit: r357936 - vendor/llvm-project/release-10.x/clang/utils

2020-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 21:05:15 2020 New Revision: 357936 URL: https://svnweb.freebsd.org/changeset/base/357936 Log: Remove unused utility script. Deleted: vendor/llvm-project/release-10.x/clang/utils/convert_arm_neon.py ___

svn commit: r357935 - head/sys/mips/include

2020-02-14 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 20:25:04 2020 New Revision: 357935 URL: https://svnweb.freebsd.org/changeset/base/357935 Log: mips: fix kernel build after r357804 Drop the padding down the size of a single uintptr_t to account for pc_zpcpu_offset Modified: head/sys/mips/include/pcpu.h

svn commit: r357934 - vendor-crypto/openssh/8.0p1

2020-02-14 Thread Ed Maste
Author: emaste Date: Fri Feb 14 19:47:53 2020 New Revision: 357934 URL: https://svnweb.freebsd.org/changeset/base/357934 Log: Tag OpenSSH 8.0p1. Added: vendor-crypto/openssh/8.0p1/ - copied from r357933, vendor-crypto/openssh/dist/ ___

svn commit: r357932 - head/crypto/openssh

2020-02-14 Thread Ed Maste
Author: emaste Date: Fri Feb 14 19:33:50 2020 New Revision: 357932 URL: https://svnweb.freebsd.org/changeset/base/357932 Log: Update OpenSSH upgrade instructions to use https, not ftp ftp://ftp.openbsd.org/ does not work. Modified: head/crypto/openssh/FREEBSD-upgrade Modified:

Re: svn commit: r357929 - head/etc/mtree

2020-02-14 Thread Kyle Evans
On Fri, Feb 14, 2020 at 1:31 PM Dimitry Andric wrote: > > Author: dim > Date: Fri Feb 14 19:31:24 2020 > New Revision: 357929 > URL: https://svnweb.freebsd.org/changeset/base/357929 > > Log: > Remove /usr/include/ssp from BSD.include.dist after r356356 > > This avoids having to delete it

svn commit: r357929 - head/etc/mtree

2020-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 19:31:24 2020 New Revision: 357929 URL: https://svnweb.freebsd.org/changeset/base/357929 Log: Remove /usr/include/ssp from BSD.include.dist after r356356 This avoids having to delete it every time with "make delete-old". PR: 242950 MFC after:

svn commit: r357928 - vendor-sys/acpica/20200214

2020-02-14 Thread Jung-uk Kim
Author: jkim Date: Fri Feb 14 19:20:30 2020 New Revision: 357928 URL: https://svnweb.freebsd.org/changeset/base/357928 Log: Tag ACPICA 20200214. Added: vendor-sys/acpica/20200214/ - copied from r357927, vendor-sys/acpica/dist/ ___ svn-src-all

svn commit: r357927 - in vendor-sys/acpica/dist: . generate/lint generate/unix generate/unix/acpidump generate/unix/acpiexec source/common source/compiler source/components/events source/components...

2020-02-14 Thread Jung-uk Kim
Author: jkim Date: Fri Feb 14 19:19:39 2020 New Revision: 357927 URL: https://svnweb.freebsd.org/changeset/base/357927 Log: Merge ACPICA 20200214. Deleted: vendor-sys/acpica/dist/source/compiler/aslcompiler.y Modified: vendor-sys/acpica/dist/changes.txt vendor-sys/acpica/dist/generate

svn commit: r357926 - in head/crypto/openssh: . contrib/redhat contrib/suse openbsd-compat regress regress/misc/fuzz-harness regress/unittests/sshkey regress/unittests/sshkey/testdata regress/unitt...

2020-02-14 Thread Ed Maste
Author: emaste Date: Fri Feb 14 19:06:59 2020 New Revision: 357926 URL: https://svnweb.freebsd.org/changeset/base/357926 Log: Upgrade to OpenSSH 7.9p1. MFC after:2 months Sponsored by: The FreeBSD Foundation Added: head/crypto/openssh/regress/misc/fuzz-harness/authopt_fuzz.cc

svn commit: r357925 - head/crypto/openssh

2020-02-14 Thread Ed Maste
Author: emaste Date: Fri Feb 14 18:59:50 2020 New Revision: 357925 URL: https://svnweb.freebsd.org/changeset/base/357925 Log: sshd: add upgrade process note about TCP wrappers We need to add user-facing deprecation notices for TCP wrappers; start with a note in the upgrade process

svn commit: r357924 - head/usr.bin/dtc

2020-02-14 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 18:50:03 2020 New Revision: 357924 URL: https://svnweb.freebsd.org/changeset/base/357924 Log: dtc: re-apply r353961, r354115 I missed in final review of r357923's diff that these ones hadn't yet been sent upstream and inadvertently reverted them. =-(

svn commit: r357923 - head/usr.bin/dtc

2020-02-14 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 18:46:34 2020 New Revision: 357923 URL: https://svnweb.freebsd.org/changeset/base/357923 Log: Pull in latest fixes from dtc, up to 0060471 This includes a small battery of /memreserve/ fixes to make sure dtc is properly writing these regions into the

svn commit: r357922 - head/crypto/openssh

2020-02-14 Thread Ed Maste
Author: emaste Date: Fri Feb 14 17:05:35 2020 New Revision: 357922 URL: https://svnweb.freebsd.org/changeset/base/357922 Log: openssh: add a note about libwrap in config.h LIBWRAP is defined by the Makefile based on MK_TCP_WRAPPERS and should not be defined in config.h. PR:

svn commit: r357921 - head/sys/sys

2020-02-14 Thread Pawel Biernacki
Author: kaktus Date: Fri Feb 14 16:56:59 2020 New Revision: 357921 URL: https://svnweb.freebsd.org/changeset/base/357921 Log: sysctl(9): properly use xor in ENFORCE_FLAGS macro Assert on not specifying any of the (soon to be) required flags as well as specifying both of them.

svn commit: r357920 - head/sys/dev/ntb/ntb_hw

2020-02-14 Thread Alexander Motin
Author: mav Date: Fri Feb 14 15:04:56 2020 New Revision: 357920 URL: https://svnweb.freebsd.org/changeset/base/357920 Log: Add support for Hygon NTB PCI device in ntb_hw_amd driver. Submitted by: Pu Wen MFC after:1 week Differential Revision:

svn commit: r357919 - head/sys/dev/ahci

2020-02-14 Thread Alexander Motin
Author: mav Date: Fri Feb 14 14:55:40 2020 New Revision: 357919 URL: https://svnweb.freebsd.org/changeset/base/357919 Log: Add Hygon PCI ID and description for AHCI SATA controller. Submitted by: Pu Wen MFC after:1 week Differential Revision:

svn commit: r357918 - head/share/misc

2020-02-14 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 14:03:44 2020 New Revision: 357918 URL: https://svnweb.freebsd.org/changeset/base/357918 Log: committers-ports: add koobs@ information, somewhat belatedly Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-ports.dot

svn commit: r357917 - in stable/12: lib/libpmc lib/libpmc/pmu-events/arch/x86 sys/dev/hwpmc

2020-02-14 Thread Konstantin Belousov
Author: kib Date: Fri Feb 14 13:26:45 2020 New Revision: 357917 URL: https://svnweb.freebsd.org/changeset/base/357917 Log: MFC r357670: pmc: Add Hygon Dhyana support. Modified: stable/12/lib/libpmc/libpmc_pmu_util.c stable/12/lib/libpmc/pmu-events/arch/x86/mapfile.csv

svn commit: r357916 - stable/12/sys/dev/acpica

2020-02-14 Thread Konstantin Belousov
Author: kib Date: Fri Feb 14 13:25:37 2020 New Revision: 357916 URL: https://svnweb.freebsd.org/changeset/base/357916 Log: MFC r357669: acpi_hpet: Add Hygon Dhyana support. Modified: stable/12/sys/dev/acpica/acpi_hpet.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r357915 - stable/11/sys/compat/linux

2020-02-14 Thread Konstantin Belousov
Author: kib Date: Fri Feb 14 13:22:38 2020 New Revision: 357915 URL: https://svnweb.freebsd.org/changeset/base/357915 Log: MFC r357668: linux futex_put(): do not touch futex after dropping our reference. Modified: stable/11/sys/compat/linux/linux_futex.c Directory Properties: stable/11/

svn commit: r357914 - head/sys/amd64/amd64

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 13:14:19 2020 New Revision: 357914 URL: https://svnweb.freebsd.org/changeset/base/357914 Log: amd64: only check for error != 0 in the inlined part of l1d flush check this replaces the following near the syscall exit: cmp$0x39,%rax ja

svn commit: r357913 - stable/12/sys/compat/linux

2020-02-14 Thread Konstantin Belousov
Author: kib Date: Fri Feb 14 13:10:52 2020 New Revision: 357913 URL: https://svnweb.freebsd.org/changeset/base/357913 Log: MFC r357668: linux futex_put(): do not touch futex after dropping our reference. Modified: stable/12/sys/compat/linux/linux_futex.c Directory Properties: stable/12/

svn commit: r357912 - in head/sys: kern security/audit sys

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 13:09:41 2020 New Revision: 357912 URL: https://svnweb.freebsd.org/changeset/base/357912 Log: Merge audit and systrace checks This further shortens the syscall routine by not having to re-check after the system call. Modified: head/sys/kern/subr_syscall.c

svn commit: r357911 - in head/sys: kern security/audit sys

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 13:08:46 2020 New Revision: 357911 URL: https://svnweb.freebsd.org/changeset/base/357911 Log: Annotate branches in the syscall path This in particular significantly shortens amd64_syscall, which otherwise keeps jumping forward over 2KB of code in total.

Re: svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2020-02-14 Thread Konstantin Belousov
On Fri, Feb 14, 2020 at 01:37:40PM +0100, Antoine Brodin wrote: > On Fri, Feb 14, 2020 at 12:51 PM Konstantin Belousov > wrote: > > > > On Fri, Feb 14, 2020 at 11:17:12AM +0100, Antoine Brodin wrote: > > > On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov > > > wrote: > > > > > > > > Author:

svn commit: r357910 - head/libexec/rtld-elf/i386

2020-02-14 Thread Konstantin Belousov
Author: kib Date: Fri Feb 14 12:59:27 2020 New Revision: 357910 URL: https://svnweb.freebsd.org/changeset/base/357910 Log: r357895: fix typo in the relocation name for i386 IRELATIVE. Reported by: antoine Sponsored by: The FreeBSD Foundation MFC after:6 days Modified:

Re: svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2020-02-14 Thread Antoine Brodin
On Fri, Feb 14, 2020 at 1:37 PM Antoine Brodin wrote: > > On Fri, Feb 14, 2020 at 12:51 PM Konstantin Belousov > wrote: > > > > On Fri, Feb 14, 2020 at 11:17:12AM +0100, Antoine Brodin wrote: > > > On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov > > > wrote: > > > > > > > > Author: kib >

Re: svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2020-02-14 Thread Antoine Brodin
On Fri, Feb 14, 2020 at 12:51 PM Konstantin Belousov wrote: > > On Fri, Feb 14, 2020 at 11:17:12AM +0100, Antoine Brodin wrote: > > On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov > > wrote: > > > > > > Author: kib > > > Date: Thu Feb 13 23:42:09 2020 > > > New Revision: 357895 > > > URL:

svn commit: r357909 - head/sys/kern

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 11:56:50 2020 New Revision: 357909 URL: https://svnweb.freebsd.org/changeset/base/357909 Log: lockmgr: add a change missed in r357907 Modified: head/sys/kern/vfs_default.c Modified: head/sys/kern/vfs_default.c

Re: svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2020-02-14 Thread Konstantin Belousov
On Fri, Feb 14, 2020 at 11:17:12AM +0100, Antoine Brodin wrote: > On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov wrote: > > > > Author: kib > > Date: Thu Feb 13 23:42:09 2020 > > New Revision: 357895 > > URL: https://svnweb.freebsd.org/changeset/base/357895 > > > > Log: > > Handle non-plt

svn commit: r357908 - head/sys/kern

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 11:22:12 2020 New Revision: 357908 URL: https://svnweb.freebsd.org/changeset/base/357908 Log: fd: annotate finstall with prediction branches Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

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

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 11:21:28 2020 New Revision: 357907 URL: https://svnweb.freebsd.org/changeset/base/357907 Log: lockmgr: rename lock_fast_path to lock_flags The routine is not much of a fast path and the flags name better describes its purpose. Modified:

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

2020-02-14 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 14 11:20:25 2020 New Revision: 357906 URL: https://svnweb.freebsd.org/changeset/base/357906 Log: lockmgr: retire the unused lockmgr_unlock_fast_path routine Modified: head/sys/kern/kern_lock.c head/sys/sys/lockmgr.h Modified: head/sys/kern/kern_lock.c

Re: svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2020-02-14 Thread Antoine Brodin
On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov wrote: > > Author: kib > Date: Thu Feb 13 23:42:09 2020 > New Revision: 357895 > URL: https://svnweb.freebsd.org/changeset/base/357895 > > Log: > Handle non-plt IRELATIVE relocations, at least for x86. > > lld 10.0 seems to generate this

svn commit: r357905 - in head/tests/sys: common netinet netinet6

2020-02-14 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Feb 14 09:36:35 2020 New Revision: 357905 URL: https://svnweb.freebsd.org/changeset/base/357905 Log: Add basic IPDIVERT tests. Reviewed by: lwhsu,kp Differential Revision:https://reviews.freebsd.org/D23316 Added: head/tests/sys/common/divert.py

Re: svn commit: r357867 - head/tests/sys/net

2020-02-14 Thread Li-Wen Hsu
On Fri, Feb 14, 2020 at 5:33 AM Konstantin Belousov wrote: > On Thu, Feb 13, 2020 at 07:05:19PM +, Li-Wen Hsu wrote: > > -#define RANDOM_MAX ((1<<31) - 1) > > +#define RANDOM_MAX (((long)1<<31) - 1) > This still gives UB on ILP32 platforms. I believe the better fix would be > (1u << 31) -

svn commit: r357904 - head/tests/sys/net

2020-02-14 Thread Li-Wen Hsu
Author: lwhsu Date: Fri Feb 14 09:25:29 2020 New Revision: 357904 URL: https://svnweb.freebsd.org/changeset/base/357904 Log: Properly fix GCC build in r357867 Submitted by: kib Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/net/randsleep.c Modified: