svn commit: r364751 - head/cddl/lib/libzfs

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 03:43:52 2020 New Revision: 364751 URL: https://svnweb.freebsd.org/changeset/base/364751 Log: Fix libzfs build failures for some In some environments adding zstd/include to the include path would cause zstd's stdlib.h to hide the system one. Modified:

svn commit: r364750 - in stable/12/sys/dev/cxgbe: . cxgbei tom

2020-08-24 Thread Navdeep Parhar
Author: np Date: Tue Aug 25 02:54:48 2020 New Revision: 364750 URL: https://svnweb.freebsd.org/changeset/base/364750 Log: MFC r362616: cxgbe(4): Add a pointer to the adapter softc in vi_info. There were quite a few places where port_info was being accessed only to get to the

svn commit: r364749 - head

2020-08-24 Thread Matt Macy
== --- head/UPDATING Tue Aug 25 02:42:07 2020(r364748) +++ head/UPDATING Tue Aug 25 02:42:48 2020(r364749) @@ -27,6 +27,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20200824: + OpenZFS s

svn commit: r364748 - stable/12/sys/dev/cxgbe

2020-08-24 Thread Navdeep Parhar
Author: np Date: Tue Aug 25 02:42:07 2020 New Revision: 364748 URL: https://svnweb.freebsd.org/changeset/base/364748 Log: MFC r362532: cxgbe(4): Add a tx_len16_to_desc helper. No functional change. Sponsored by: Chelsio Communications Modified:

svn commit: r364747 - head/sys/sys

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 02:22:49 2020 New Revision: 364747 URL: https://svnweb.freebsd.org/changeset/base/364747 Log: Bump __FreeBSD_version for OpenZFS switchover Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r364746 - in head: . cddl/compat/opensolaris/include cddl/contrib/opensolaris/cmd/lockstat cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd...

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 02:21:27 2020 New Revision: 364746 URL: https://svnweb.freebsd.org/changeset/base/364746 Log: Merge OpenZFS support in to HEAD. The primary benefit is maintaining a completely shared code base with the community allowing FreeBSD to receive new features

svn commit: r364745 - in stable/12: share/man/man4 sys/dev/cxgbe sys/dev/cxgbe/common

2020-08-24 Thread Navdeep Parhar
Author: np Date: Tue Aug 25 02:14:36 2020 New Revision: 364745 URL: https://svnweb.freebsd.org/changeset/base/364745 Log: MFC r351444, r357475, r357479, r357481-r357482, r358859, and r364497. All these are rx improvements in the cxgbe(4) driver. r351444: cxgbe(4): Use the same

svn commit: r364744 - head/sys/kern

2020-08-24 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 25 00:58:14 2020 New Revision: 364744 URL: https://svnweb.freebsd.org/changeset/base/364744 Log: Fix hangs with processes stuck sleeping on btalloc on i386. r358097 introduced a problem for i386, where kernel builds will intermittently get hung, typically

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

2020-08-24 Thread Mark Johnston
Author: markj Date: Tue Aug 25 00:49:57 2020 New Revision: 364743 URL: https://svnweb.freebsd.org/changeset/base/364743 Log: MFC r364346: Fix handling of ancillary data on non-AF_UNIX Linux sockets. Modified: stable/12/sys/compat/linux/linux_socket.c Directory Properties: stable/12/

svn commit: r364742 - svnadmin/conf

2020-08-24 Thread Warner Losh
Author: imp Date: Mon Aug 24 23:50:23 2020 New Revision: 364742 URL: https://svnweb.freebsd.org/changeset/base/364742 Log: One more stale entry, alas... has it been 11 years :( Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r364741 - vendor-sys/openzfs/2.0-rc0-g184df27

2020-08-24 Thread Matt Macy
Author: mmacy Date: Mon Aug 24 23:38:22 2020 New Revision: 364741 URL: https://svnweb.freebsd.org/changeset/base/364741 Log: Tag initial import in vendor branch Added: vendor-sys/openzfs/2.0-rc0-g184df27/ - copied from r364740, vendor-sys/openzfs/dist/

svn commit: r364740 - head/sys/contrib/openzfs

2020-08-24 Thread Matt Macy
Author: mmacy Date: Mon Aug 24 23:31:26 2020 New Revision: 364740 URL: https://svnweb.freebsd.org/changeset/base/364740 Log: Initial import from vendor-sys branch of openzfs Added: head/sys/contrib/openzfs/ - copied from r364739, vendor-sys/openzfs/dist/

svn commit: r364739 - svnadmin/conf

2020-08-24 Thread Mark Johnston
Author: markj Date: Mon Aug 24 23:10:24 2020 New Revision: 364739 URL: https://svnweb.freebsd.org/changeset/base/364739 Log: Remove myself from sizelimit.conf. It was a one-off for importing some iwm(4) firmware. Modified: svnadmin/conf/sizelimit.conf Modified:

svn commit: r364737 - head/sys/dev/drm2

2020-08-24 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Mon Aug 24 22:53:23 2020 New Revision: 364737 URL: https://svnweb.freebsd.org/changeset/base/364737 Log: drm2: Update deprecation message Update the deprecation message in the drm2 (aka legacy drm) drivers to point towards the graphics/drm-kmod

svn commit: r364738 - svnadmin/conf

2020-08-24 Thread Warner Losh
Author: imp Date: Mon Aug 24 22:53:37 2020 New Revision: 364738 URL: https://svnweb.freebsd.org/changeset/base/364738 Log: Trim myself from the sizelimit log and others that haven't made large commits in a very long time. Modified: svnadmin/conf/sizelimit.conf Modified:

svn commit: r364735 - svnadmin/conf

2020-08-24 Thread Matt Macy
Author: mmacy Date: Mon Aug 24 22:47:24 2020 New Revision: 364735 URL: https://svnweb.freebsd.org/changeset/base/364735 Log: Bump limit for openzfs vendor branch import Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

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

2020-08-24 Thread Konstantin Belousov
Author: kib Date: Mon Aug 24 22:12:45 2020 New Revision: 364734 URL: https://svnweb.freebsd.org/changeset/base/364734 Log: Restore workaround for sysret fault on non-canonical address after LA57. Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/amd64/trap.c Modified:

svn commit: r364733 - head/share/mk

2020-08-24 Thread Dimitry Andric
Author: dim Date: Mon Aug 24 20:40:26 2020 New Revision: 364733 URL: https://svnweb.freebsd.org/changeset/base/364733 Log: After r364732, we can now enable MK_OPENMP for aarch64 by default. PR: 248864 MFC after:2 weeks Modified: head/share/mk/src.opts.mk Modified:

svn commit: r364732 - head/contrib/llvm-project/openmp/runtime/src

2020-08-24 Thread Dimitry Andric
Author: dim Date: Mon Aug 24 20:37:18 2020 New Revision: 364732 URL: https://svnweb.freebsd.org/changeset/base/364732 Log: Merge commit cde8f4c16 from llvm git (by me): Move special va_list handling to kmp_os.h Instead of copying and pasting the same #ifdef expressions in

svn commit: r364731 - head/sys/dev/netmap

2020-08-24 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Aug 24 20:28:21 2020 New Revision: 364731 URL: https://svnweb.freebsd.org/changeset/base/364731 Log: netmap: use FreeBSD guards for epoch calls EPOCH calls are FreeBSD specific. Use guards to protect these, so that the code can compile under Linux. MFC

svn commit: r364730 - in head/sys: kern net net/route

2020-08-24 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Aug 24 20:23:34 2020 New Revision: 364730 URL: https://svnweb.freebsd.org/changeset/base/364730 Log: Remove RT_LOCK mutex from rte. rtentry lock traditionally served 2 purposed: first was protecting refcounts, the second was assuring consistent field

Re: svn commit: r364675 - head/sys/powerpc/powerpc

2020-08-24 Thread John Baldwin
On 8/24/20 6:40 AM, Leandro Lupori wrote: > Author: luporl > Date: Mon Aug 24 13:40:35 2020 > New Revision: 364675 > URL: https://svnweb.freebsd.org/changeset/base/364675 > > Log: > [PowerPC] Make new auxv format default > > Assume ELF images without OSREL use the new auxv format. > >

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

2020-08-24 Thread Mark Johnston
Author: markj Date: Mon Aug 24 20:02:36 2020 New Revision: 364729 URL: https://svnweb.freebsd.org/changeset/base/364729 Log: MFC r362631, r364317: Implement an approximation of Linux MADV_DONTNEED semantics. PR: 230160 Modified: stable/12/sys/compat/linux/linux_mmap.c Directory

svn commit: r364728 - head

2020-08-24 Thread Warner Losh
Author: imp Date: Mon Aug 24 20:02:13 2020 New Revision: 364728 URL: https://svnweb.freebsd.org/changeset/base/364728 Log: Fix silly typo... Modified: head/RELNOTES Modified: head/RELNOTES == --- head/RELNOTES

svn commit: r364727 - head

2020-08-24 Thread Warner Losh
Author: imp Date: Mon Aug 24 19:49:22 2020 New Revision: 364727 URL: https://svnweb.freebsd.org/changeset/base/364727 Log: Document devd event change from r364725 Modified: head/RELNOTES Modified: head/RELNOTES ==

svn commit: r364725 - in head: sbin/devd sys/kern

2020-08-24 Thread Warner Losh
Author: imp Date: Mon Aug 24 19:35:15 2020 New Revision: 364725 URL: https://svnweb.freebsd.org/changeset/base/364725 Log: Change the resume notification event from 'kern' to 'kernel' We have both a system of 'kern' and of 'kernel'. Prefer the latter and convert this notification to use

svn commit: r364726 - head

2020-08-24 Thread Warner Losh
ing functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20200824: + The resume code now notifies devd with the 'kernel' system + rather than the old 'kern' subsystem to be consistent with + other use. The old notification will be cr

svn commit: r364723 - head/sys/kern

2020-08-24 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 24 18:23:58 2020 New Revision: 364723 URL: https://svnweb.freebsd.org/changeset/base/364723 Log: cache: remove leftover assert in vn_fullpath_any_smr It is only valid when !slash_prefixed. For slash_prefixed the length is properly accounted for later.

svn commit: r364722 - head/usr.sbin/unbound

2020-08-24 Thread Cy Schubert
Author: cy Date: Mon Aug 24 18:17:13 2020 New Revision: 364722 URL: https://svnweb.freebsd.org/changeset/base/364722 Log: Update unbound version number. MFC after:1 month X-MFC with: r364721 Modified: head/usr.sbin/unbound/config.h Modified: head/usr.sbin/unbound/config.h

svn commit: r364721 - in head/contrib/unbound: . .github cachedb contrib contrib/android contrib/ios daemon dns64 dnstap doc dynlibmod edns-subnet iterator libunbound respip services sldns smallapp...

2020-08-24 Thread Cy Schubert
Author: cy Date: Mon Aug 24 18:14:04 2020 New Revision: 364721 URL: https://svnweb.freebsd.org/changeset/base/364721 Log: MFV 364468: Update unbound 1.10.1 --> 1.11.0. MFH: 1 month Added: head/contrib/unbound/README-Travis.md - copied unchanged from r364468,

svn commit: r364720 - in head/contrib/sqlite3: . tea

2020-08-24 Thread Cy Schubert
Author: cy Date: Mon Aug 24 18:13:44 2020 New Revision: 364720 URL: https://svnweb.freebsd.org/changeset/base/364720 Log: MFV 364467: Update sqlite to 3.33.0 (333). Release announcement at https://www.sqlite.org/releaselog/3_33_0.html. MFC after:1 month Added:

svn commit: r364719 - head/usr.bin/w

2020-08-24 Thread Fernando ApesteguĂ­a
Author: fernape (ports committer) Date: Mon Aug 24 17:57:08 2020 New Revision: 364719 URL: https://svnweb.freebsd.org/changeset/base/364719 Log: w(1): Add EXAMPLES to man page Add small example section showing general use and -d and -h flags Approved by: manpages (bcr@)

svn commit: r364718 - in head: contrib/llvm-project/clang/include/clang/Basic contrib/llvm-project/clang/include/clang/Driver contrib/llvm-project/clang/lib/AST contrib/llvm-project/clang/lib/Basic...

2020-08-24 Thread Dimitry Andric
Author: dim Date: Mon Aug 24 17:43:23 2020 New Revision: 364718 URL: https://svnweb.freebsd.org/changeset/base/364718 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp release/11.x llvmorg-11.0.0-rc2-0-g414f32a9e86. MFC after:6 weeks X-MFC-With: r364284

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 17:31:17 2020 New Revision: 364717 URL: https://svnweb.freebsd.org/changeset/base/364717 Log: MFC r363087: Don't emit warnings on MADV_HUGEPAGE; Firefox uses it a lot. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r364716 - in stable/12/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 17:29:37 2020 New Revision: 364716 URL: https://svnweb.freebsd.org/changeset/base/364716 Log: MFC r362441: Regen after r362440. Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/amd64/linux/linux_proto.h

svn commit: r364715 - in stable/12/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux sys vm

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 17:25:26 2020 New Revision: 364715 URL: https://svnweb.freebsd.org/changeset/base/364715 Log: MFC r362440: Add linux_madvise(2) instead of having Linux apps call the native FreeBSD madvise(2) directly. While some of the flag values match, most don't.

svn commit: r364714 - vendor/llvm-project/llvmorg-11.0.0-rc2-0-g414f32a9e86

2020-08-24 Thread Dimitry Andric
Author: dim Date: Mon Aug 24 17:21:26 2020 New Revision: 364714 URL: https://svnweb.freebsd.org/changeset/base/364714 Log: Tag llvm-project branch release/11.x llvmorg-11.0.0-rc2-0-g414f32a9e86. Added: vendor/llvm-project/llvmorg-11.0.0-rc2-0-g414f32a9e86/ - copied from r364713,

svn commit: r364713 - in vendor/llvm-project/release-11.x: clang/include/clang/Basic clang/include/clang/Driver clang/lib/AST clang/lib/Basic clang/lib/Basic/Targets clang/lib/CodeGen clang/lib/Dri...

2020-08-24 Thread Dimitry Andric
Author: dim Date: Mon Aug 24 17:20:50 2020 New Revision: 364713 URL: https://svnweb.freebsd.org/changeset/base/364713 Log: Vendor import of llvm-project branch release/11.x llvmorg-11.0.0-rc2-0-g414f32a9e86. Modified:

svn commit: r364712 - in stable/12/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux modules/linux modules/linux64 modules/linux_common

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 17:06:34 2020 New Revision: 364712 URL: https://svnweb.freebsd.org/changeset/base/364712 Log: MFC r347538 by dchagin: Linuxulator depends on a fundamental kernel settings such as SMP. Many of them listed in opt_global.h which is not generated while building

svn commit: r364711 - head/usr.sbin/gstat

2020-08-24 Thread Maxim Sobolev
Author: sobomax Date: Mon Aug 24 16:45:23 2020 New Revision: 364711 URL: https://svnweb.freebsd.org/changeset/base/364711 Log: In the endless batch mode (-B), terminate if and when stdout is closed. That mode is useful to call gstat from other app, however kinda useless since gstat won't

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:44:17 2020 New Revision: 364710 URL: https://svnweb.freebsd.org/changeset/base/364710 Log: MFC r362101: Minor code cleanup; no functional changes. Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/compat/linux/linux_socket.c

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:41:10 2020 New Revision: 364709 URL: https://svnweb.freebsd.org/changeset/base/364709 Log: MFC r356729: Make linux(4) use kern_setsockopt(9) instead of going through sys_setsockopt. Just a cleanup; no functional changes. Sponsored by: The FreeBSD

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:36:35 2020 New Revision: 364708 URL: https://svnweb.freebsd.org/changeset/base/364708 Log: MFC r356728: Make linux(4) use kern_getsockopt(9) instead of going through sys_getsockopt(). It's a cleanup; no functional changes. Sponsored by: The FreeBSD

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:27:51 2020 New Revision: 364707 URL: https://svnweb.freebsd.org/changeset/base/364707 Log: MFC r362941: Fix Linux recvmsg(2) when msg_namelen returned is 0. Previously it would fail with EINVAL, breaking some of the Python regression tests. While

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:25:27 2020 New Revision: 364706 URL: https://svnweb.freebsd.org/changeset/base/364706 Log: MFC r362833: Rework linux accept(2). This makes the code flow easier to follow, and fixes a bug where calling accept(2) could result in closing fd 0. Note

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:23:27 2020 New Revision: 364705 URL: https://svnweb.freebsd.org/changeset/base/364705 Log: MFC r362735: Make linux(4) support SO_PROTOCOL. Running Python test suite with python3.8 from Focal triggers those. Sponsored by: The FreeBSD Foundation

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:21:03 2020 New Revision: 364704 URL: https://svnweb.freebsd.org/changeset/base/364704 Log: MFC r362176: Make linux(4) warn about unsupported CMSG level/type. Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/compat/linux/linux_socket.c

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:15:12 2020 New Revision: 364703 URL: https://svnweb.freebsd.org/changeset/base/364703 Log: MFC r362059: Don't use newlines with linux_msg(). No functional changes. Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/compat/linux/linux.c

svn commit: r364702 - in stable/12/sys: compat/linux i386/linux

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:06:17 2020 New Revision: 364702 URL: https://svnweb.freebsd.org/changeset/base/364702 Log: MFC r354413: Make linux(4) create /dev/shm. Linux applications often expect a tmpfs to be mounted there, and because they like to verify it's actually a

svn commit: r364701 - in head: . tools/build

2020-08-24 Thread Warner Losh
Author: imp Date: Mon Aug 24 16:06:11 2020 New Revision: 364701 URL: https://svnweb.freebsd.org/changeset/base/364701 Log: When copying over the binaries, use '-p' to preserve date/time Although I can't reproduce it, others are seeing different lex/yacc programs always regenerated after

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 16:00:58 2020 New Revision: 364700 URL: https://svnweb.freebsd.org/changeset/base/364700 Log: MFC r362103: Fix naming clash. Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/compat/linux/linux_socket.c Directory Properties: stable/12/

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 15:56:31 2020 New Revision: 364699 URL: https://svnweb.freebsd.org/changeset/base/364699 Log: MFC r348418 by dchagin: Linux does not support MSG_OOB for unix(4) or non-stream oriented socket, return EOPNOTSUPP as a Linux does. Modified:

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 15:54:58 2020 New Revision: 364698 URL: https://svnweb.freebsd.org/changeset/base/364698 Log: MFC r348058 by dchagin: Do not leak sa in linux_recvmsg() call if kern_recvit() fails. Modified: stable/12/sys/compat/linux/linux_socket.c Directory Properties:

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 15:53:52 2020 New Revision: 364697 URL: https://svnweb.freebsd.org/changeset/base/364697 Log: MFC r348057 by dchagin: Do not use uninitialised sa. Modified: stable/12/sys/compat/linux/linux_socket.c Directory Properties: stable/12/ (props changed)

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 15:52:45 2020 New Revision: 364696 URL: https://svnweb.freebsd.org/changeset/base/364696 Log: MFC r348056 by dchagin: Do not leak sa in linux_recvfrom() call if kern_recvit() fails. Modified: stable/12/sys/compat/linux/linux_socket.c Directory Properties:

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 15:50:57 2020 New Revision: 364695 URL: https://svnweb.freebsd.org/changeset/base/364695 Log: MFC r347969 by dchagin: Linux send() call returns EAGAIN instead of ENOTCONN in case when the socket is non-blocking and connect() is not finished yet.

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 15:49:37 2020 New Revision: 364694 URL: https://svnweb.freebsd.org/changeset/base/364694 Log: MFC r347537 by dchagin: Linuxulator getpeername() returns EINVAL in case then namelen less then 0. Modified: stable/12/sys/compat/linux/linux_socket.c Directory

svn commit: r364693 - in stable/12/sys: compat/linux modules/linux_common

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 15:45:42 2020 New Revision: 364693 URL: https://svnweb.freebsd.org/changeset/base/364693 Log: MFC r347533 by dchagin: Our bsd_to_linux_sockaddr() and linux_to_bsd_sockaddr() functions alter the userspace sockaddr to convert the format between linux and BSD

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 14:58:58 2020 New Revision: 364692 URL: https://svnweb.freebsd.org/changeset/base/364692 Log: MFC r363307: Make linux fallocate(2) return EOPNOTSUPP, not ENOSYS, on unsupported mode, as documented in the man page. Sponsored by: The FreeBSD Foundation

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 14:53:29 2020 New Revision: 364691 URL: https://svnweb.freebsd.org/changeset/base/364691 Log: MFC r363125 by netchild: Implement CLOCK_MONOTONIC_RAW (linux >= 2.6.28). It is documented as a raw hardware-based clock not subject to NTP or incremental

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 14:50:52 2020 New Revision: 364690 URL: https://svnweb.freebsd.org/changeset/base/364690 Log: MFC r362416: Add warnings for unsupported Linux clockids. Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/compat/linux/linux_time.c Directory

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 14:48:54 2020 New Revision: 364689 URL: https://svnweb.freebsd.org/changeset/base/364689 Log: MFC r357493 by dchagin: Fix clock_gettime() and clock_getres() for cpu clocks: - handle the CLOCK_{PROCESS,THREAD}_CPUTIME_ID specified directly; - fix thread id

svn commit: r364688 - in stable/12/sys: kern sys

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 14:26:48 2020 New Revision: 364688 URL: https://svnweb.freebsd.org/changeset/base/364688 Log: MFC r357492 by dchagin: For code reuse in Linuxulator rename get_proccess_cputime() and get_thread_cputime() and add prototypes for it to . As both functions

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 14:17:25 2020 New Revision: 364687 URL: https://svnweb.freebsd.org/changeset/base/364687 Log: MFC r357491 by dchagin: linux_to_native_clockid() properly initializes nwhich variable (or return error), so don't initialize nwhich in declaration and remove

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 14:13:20 2020 New Revision: 364686 URL: https://svnweb.freebsd.org/changeset/base/364686 Log: MFC r356727: Make linux getcpu(2) report the domain. Submitted by: markj Sponsored by: The FreeBSD Foundation Modified:

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 14:05:45 2020 New Revision: 364685 URL: https://svnweb.freebsd.org/changeset/base/364685 Log: MFC r354805: Make linux(4) open(2)/openat(2) return ELOOP instead of EMLINK, when being passed O_NOFOLLOW. This fixes LTP testcase openat02:5. Sponsored by:

svn commit: r364684 - head/usr.sbin/bsdinstall

2020-08-24 Thread Marc Fonvieille
Author: blackend (doc committer) Date: Mon Aug 24 14:04:59 2020 New Revision: 364684 URL: https://svnweb.freebsd.org/changeset/base/364684 Log: s/redundacy/redundancy MFC after:1 week Modified: head/usr.sbin/bsdinstall/bsdinstall.8 Modified: head/usr.sbin/bsdinstall/bsdinstall.8

svn commit: r364678 - stable/12/usr.bin/cpuset

2020-08-24 Thread Mark Johnston
Author: markj Date: Mon Aug 24 13:54:41 2020 New Revision: 364678 URL: https://svnweb.freebsd.org/changeset/base/364678 Log: MFC r364304: cpuset(1): Update the usage message. Modified: stable/12/usr.bin/cpuset/cpuset.c Directory Properties: stable/12/ (props changed) Modified:

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

2020-08-24 Thread Mark Johnston
Author: markj Date: Mon Aug 24 13:55:24 2020 New Revision: 364680 URL: https://svnweb.freebsd.org/changeset/base/364680 Log: MFC r364329: Remove "emulation" of clone(CLONE_PARENT | CLONE_THREAD). Modified: stable/12/sys/compat/linux/linux_fork.c Directory Properties: stable/12/ (props

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 14:01:52 2020 New Revision: 364683 URL: https://svnweb.freebsd.org/changeset/base/364683 Log: MFC r362055: Replace LINUX_FASYNC with LINUX_O_ASYNC; no functional changes. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r364682 - head/usr.sbin/bsdinstall/scripts

2020-08-24 Thread Marc Fonvieille
Author: blackend (doc committer) Date: Mon Aug 24 14:00:12 2020 New Revision: 364682 URL: https://svnweb.freebsd.org/changeset/base/364682 Log: Add missing Korean doc package entry, remove non-existent Serbian doc package entry. Approved by: re (gjb) MFC after:1 week Modified:

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

2020-08-24 Thread Mark Johnston
Author: markj Date: Mon Aug 24 13:56:15 2020 New Revision: 364681 URL: https://svnweb.freebsd.org/changeset/base/364681 Log: MFC r364329: Remove "emulation" of clone(CLONE_PARENT | CLONE_THREAD). Modified: stable/11/sys/compat/linux/linux_fork.c Directory Properties: stable/11/ (props

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

2020-08-24 Thread Mark Johnston
Author: markj Date: Mon Aug 24 13:54:58 2020 New Revision: 364679 URL: https://svnweb.freebsd.org/changeset/base/364679 Log: MFC r364328: Fix a lock leak when emulating futex(FUTEX_WAIT_BITSET). Modified: stable/12/sys/compat/linux/linux_futex.c Directory Properties: stable/12/ (props

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 13:52:47 2020 New Revision: 364677 URL: https://svnweb.freebsd.org/changeset/base/364677 Log: MFC r354732: Support O_CLOEXEC in linux(4) open(2) and openat(2). Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/compat/linux/linux_file.c

svn commit: r364676 - stable/12/sys/dev/asmc

2020-08-24 Thread Mark Johnston
Author: markj Date: Mon Aug 24 13:50:55 2020 New Revision: 364676 URL: https://svnweb.freebsd.org/changeset/base/364676 Log: MFC r364300: asmc(4): Add support for MacBook7,1. PR: 248693 Modified: stable/12/sys/dev/asmc/asmc.c stable/12/sys/dev/asmc/asmcvar.h Directory Properties:

svn commit: r364675 - head/sys/powerpc/powerpc

2020-08-24 Thread Leandro Lupori
Author: luporl Date: Mon Aug 24 13:40:35 2020 New Revision: 364675 URL: https://svnweb.freebsd.org/changeset/base/364675 Log: [PowerPC] Make new auxv format default Assume ELF images without OSREL use the new auxv format. This is specially important for rtld, that is not tagged. Using

svn commit: r364674 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2020-08-24 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 24 13:19:16 2020 New Revision: 364674 URL: https://svnweb.freebsd.org/changeset/base/364674 Log: MFC r363564-r363567, r363575, r363835-r363837, r363842-r363843, r364232 r363564: linuxkpi: Include linux/sizes.h in dma-mapping.h Linux does the same, this

svn commit: r364673 - in head/sys: dev/rtwn dev/usb/wlan net80211

2020-08-24 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 24 13:15:08 2020 New Revision: 364673 URL: https://svnweb.freebsd.org/changeset/base/364673 Log: net80211: enhance getflags*() and ieee80211_add_channel*() For ieee80211_add_channel+*() we are passing in an int flag for ht40 and in some cases another int flag for

svn commit: r364672 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2020-08-24 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 24 13:14:38 2020 New Revision: 364672 URL: https://svnweb.freebsd.org/changeset/base/364672 Log: MFC r361450, r361452, r361550-r361551 r361450: linuxkpi: Add refcount.h Implement some refcount functions needed by drm. Just use the atomic_t struct and

svn commit: r364671 - in stable/12/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf libkern sys

2020-08-24 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 24 12:59:55 2020 New Revision: 364671 URL: https://svnweb.freebsd.org/changeset/base/364671 Log: MFC r361247, r361343, r361418-r361419, r361422, r361449 r361247: linuxkpi: Add irq_work.h Since handlers are call in a thread context we can simply use a

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:59:15 2020 New Revision: 364670 URL: https://svnweb.freebsd.org/changeset/base/364670 Log: MFC r349750: Return ENOTSUP for Linux FS_IOC_FIEMAP ioctl. Linux man(1) calls it for no good reason; this avoids the console spam (eg '(man): ioctl fd=4,

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:57:03 2020 New Revision: 364669 URL: https://svnweb.freebsd.org/changeset/base/364669 Log: MFC r349746: Fix linuxulator prlimit64(2) with pid == 0. This makes 'ulimit -a' return something reasonable, and helps linux binaries which attempt to close all

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:54:19 2020 New Revision: 364668 URL: https://svnweb.freebsd.org/changeset/base/364668 Log: MFC r362205: Make Linux uname(2) return x86_64 to 32-bit apps. This helps Steam. PR: kern/240432 Analyzed by: Alex S Sponsored by: The FreeBSD

svn commit: r364667 - in stable/12: share/man/man4 sys/compat/linux

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:51:20 2020 New Revision: 364667 URL: https://svnweb.freebsd.org/changeset/base/364667 Log: MFC r362104: Add compat.linux.debug sysctl, to make it possible to silence down the debug messages. While here, clean up some variable naming. Sponsored by:

svn commit: r364666 - in stable/12: share/man/man4 sys/compat/linux

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:49:51 2020 New Revision: 364666 URL: https://svnweb.freebsd.org/changeset/base/364666 Log: MFC r362015: Make linux(4) set the openfiles soft resource limit to 1024 for Linux applications, which often depend on this being the case. There's a new

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:47:20 2020 New Revision: 364665 URL: https://svnweb.freebsd.org/changeset/base/364665 Log: MFC r358673 by tijl: Move compat.linux.map_sched_prio sysctl definition to linux_mib.c so it is only defined by linux_common kernel module and not both linux and

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:43:54 2020 New Revision: 364664 URL: https://svnweb.freebsd.org/changeset/base/364664 Log: MFC r358483 by tijl: linuxulator: Map scheduler priorities to Linux priorities. On Linux the valid range of priorities for the SCHED_FIFO and SCHED_RR

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:35:02 2020 New Revision: 364663 URL: https://svnweb.freebsd.org/changeset/base/364663 Log: MFC r357202: Add compat.linux.ignore_ip_recverr sysctl. This is a workaround for missing IP_RECVERR setsockopt(2) support. Without it, DNS resolution is broken

svn commit: r364662 - in stable/12: share/man/man4 sys/compat/linux

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:33:42 2020 New Revision: 364662 URL: https://svnweb.freebsd.org/changeset/base/364662 Log: MFC r355820: Add a hack to make ^T work for Linux binaries, enabled with 'compat.linux.preserve_vstatus=1' sysctl. Sponsored by: The FreeBSD Foundation

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:30:43 2020 New Revision: 364661 URL: https://svnweb.freebsd.org/changeset/base/364661 Log: MFC r362051: Make linux(4) handle SO_REUSEPORT. Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/compat/linux/linux_socket.c

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:29:23 2020 New Revision: 364660 URL: https://svnweb.freebsd.org/changeset/base/364660 Log: MFC r357203: Add TCP_CORK support to linux(4). This fixes one of the things Nginx trips over. Sponsored by: The FreeBSD Foundation Modified:

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:26:49 2020 New Revision: 364659 URL: https://svnweb.freebsd.org/changeset/base/364659 Log: MFC r357076: Make linux(4) handle MAP_32BIT. This unbreaks Mono (mono-devel-4.6.2.7+dfsg-1ubuntu1 from Ubuntu Bionic); previously would crash on

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:23:55 2020 New Revision: 364658 URL: https://svnweb.freebsd.org/changeset/base/364658 Log: MFC r362014: Support SO_SNDBUFFORCE/SO_RCVBUFFORCE by aliasing them to the standard SO_SNDBUF/SO_RCVBUF. Mostly cosmetics, to get rid of the warning during 'apt

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

2020-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Aug 24 12:20:55 2020 New Revision: 364657 URL: https://svnweb.freebsd.org/changeset/base/364657 Log: MFC r363322: Make linux(4) support the BLKPBSZGET ioctl. Oracle uses it. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r364656 - in head/sys: amd64/amd64 i386/i386

2020-08-24 Thread Peter Grehan
Author: grehan Date: Mon Aug 24 11:49:49 2020 New Revision: 364656 URL: https://svnweb.freebsd.org/changeset/base/364656 Log: cpu_auxmsr: assert caller is preventing CPU migration. Submitted by: Adam Fenn (adam at fenn dot io) Requested by: kib Reviewed by: kib, grehan Approved by:

svn commit: r364655 - head/sys/net

2020-08-24 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Aug 24 11:44:20 2020 New Revision: 364655 URL: https://svnweb.freebsd.org/changeset/base/364655 Log: iflib: fix isc_rxd_flush call in netmap_fl_refill() The semantic of the pidx argument of isc_rxd_flush() is the last valid index of in the free list, rather

svn commit: r364654 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-08-24 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 24 10:46:09 2020 New Revision: 364654 URL: https://svnweb.freebsd.org/changeset/base/364654 Log: MFC r361007, r361138-r361140, r361245-r361246 r361007: linuxkpi: Add EBADRQC to errno.h This is used in the amdgpu driver from Linux 5.2 Sponsored-by: The

svn commit: r364653 - in stable/12/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src dev/qlnx/qlnxe

2020-08-24 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 24 10:42:04 2020 New Revision: 364653 URL: https://svnweb.freebsd.org/changeset/base/364653 Log: MFC r360787, r360851, r360870-r360872 r360787: linuxkpi: Add pci_iomap and pci_iounmap Those function are use to map/unmap io region of a pci device.

svn commit: r364652 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-08-24 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 24 10:28:15 2020 New Revision: 364652 URL: https://svnweb.freebsd.org/changeset/base/364652 Log: MFC r358176-r358177 r358176: linuxkpi: Add list_is_first function This function just test if the element is the first of the list. Reviewed by: hselasky

svn commit: r364651 - stable/11/sys/netinet

2020-08-24 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 24 09:46:36 2020 New Revision: 364651 URL: https://svnweb.freebsd.org/changeset/base/364651 Log: MFC r364268: Improve the handling of concurrent send() calls for SCTP sockets, especially when having the explicit EOR mode enabled. Manually resolved merge

  1   2   >