Re: svn commit: r357530 - head/sys/kern

2020-02-04 Thread Dmitry Chagin
ср, 5 февр. 2020 г. в 00:02, Konstantin Belousov : > Author: kib > Date: Tue Feb 4 21:02:08 2020 > New Revision: 357530 > URL: https://svnweb.freebsd.org/changeset/base/357530 > > Log: > Remove unneeded assert for curproc. Simplify. > > Reported by: syzkaller by markj > Sponsored by: The

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

2020-02-03 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 4 05:27:05 2020 New Revision: 357493 URL: https://svnweb.freebsd.org/changeset/base/357493 Log: Fix clock_gettime() and clock_getres() for cpu clocks: - handle the CLOCK_{PROCESS,THREAD}_CPUTIME_ID specified directly; - fix thread id calculation as in the

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

2020-02-03 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 4 05:25:51 2020 New Revision: 357492 URL: https://svnweb.freebsd.org/changeset/base/357492 Log: For code reuse in Linuxulator rename get_proccess_cputime() and get_thread_cputime() and add prototypes for it to . As both functions become a public interface

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

2020-02-03 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 4 05:23:34 2020 New Revision: 357491 URL: https://svnweb.freebsd.org/changeset/base/357491 Log: linux_to_native_clockid() properly initializes nwhich variable (or return error), so don't initialize nwhich in declaration and remove stale comment from r161304.

Re: svn commit: r356241 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-12-31 Thread Dmitry Chagin
Hi, HNY! What about vdso? ср, 1 янв. 2020 г. в 01:01, Edward Tomasz Napierala : > Author: trasz > Date: Tue Dec 31 22:01:08 2019 > New Revision: 356241 > URL: https://svnweb.freebsd.org/changeset/base/356241 > > Log: > Add basic getcpu(2) support to linuxulator. The purpose of this >

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

2019-09-03 Thread Dmitry Chagin
Author: dchagin Date: Tue Apr 23 18:10:46 2019 New Revision: 346603 URL: https://svnweb.freebsd.org/changeset/base/346603 Log: Since r339624 HEAD does not need for backslashes in syscalls.master, however to make a merge r345471 to the stable add backslashes to the syscalls.master. MFC

Re: svn commit: r346273 - in head/sys: compat/freebsd32 kern

2019-09-03 Thread Dmitry Chagin
вт, 16 апр. 2019 г. в 16:26, Ed Maste : > Author: emaste > Date: Tue Apr 16 13:26:31 2019 > New Revision: 346273 > URL: https://svnweb.freebsd.org/changeset/base/346273 > > Log: > correct readlinkat(2) return type > > Hi, Ed make sysent? > r176215 corrected readlink(2)'s return type and

Re: svn commit: r348847 - head/sys/sys

2019-06-13 Thread Dmitry Chagin
Hi, All! thanks for reply, I will be back in a week and fix it, I am rafting in Eastern Siberia)) чт, 13 июня 2019 г. в 11:43, Tijl Coosemans : > On Wed, 12 Jun 2019 16:51:03 -0600 Warner Losh wrote: > > On Wed, Jun 12, 2019 at 4:49 PM Gleb Smirnoff > wrote: > >> On Mon, Jun 10, 2019 at

svn commit: r348847 - head/sys/sys

2019-06-09 Thread Dmitry Chagin
Author: dchagin Date: Mon Jun 10 05:28:03 2019 New Revision: 348847 URL: https://svnweb.freebsd.org/changeset/base/348847 Log: Use C11 anonymous unions. PR: 215202 Reported by: glebius MFC after:2 weeks Modified: head/sys/sys/ucred.h Modified: head/sys/sys/ucred.h

svn commit: r348434 - head/sys/kern

2019-05-30 Thread Dmitry Chagin
Author: dchagin Date: Thu May 30 16:11:20 2019 New Revision: 348434 URL: https://svnweb.freebsd.org/changeset/base/348434 Log: Remove wrong inline keyword. Reported by: markj MFC after:1 week Modified: head/sys/kern/kern_prot.c Modified: head/sys/kern/kern_prot.c

svn commit: r348419 - in head: crypto/heimdal/lib/ipc share/man/man4 sys/compat/linux sys/kern sys/sys usr.sbin/mountd

2019-05-30 Thread Dmitry Chagin
Author: dchagin Date: Thu May 30 14:24:26 2019 New Revision: 348419 URL: https://svnweb.freebsd.org/changeset/base/348419 Log: Complete LOCAL_PEERCRED support. Cache pid of the remote process in the struct xucred. Do not bump XUCRED_VERSION as struct layout is not changed. PR:

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

2019-05-30 Thread Dmitry Chagin
Author: dchagin Date: Thu May 30 14:21:51 2019 New Revision: 348418 URL: https://svnweb.freebsd.org/changeset/base/348418 Log: Linux does not support MSG_OOB for unix(4) or non-stream oriented socket, return EOPNOTSUPP as a Linux does. Reviewed by: tijl MFC after:1 week

Re: svn commit: r333425 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs compat/cloudabi compat/linux compat/linuxkpi/common/include/linux dev/filemon dev/hwpmc fs

2019-05-27 Thread Dmitry Chagin
сб, 19 мая 2018 г. в 10:31, Matthew Macy : > r333874 > > > Hi, is it possible to merge r333425, r333874, r333813, r334118 and related revs to the stable/11? ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all

svn commit: r348096 - stable/12/sys/compat/linsysfs

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Wed May 22 05:37:29 2019 New Revision: 348096 URL: https://svnweb.freebsd.org/changeset/base/348096 Log: MFC r347204: Adds sys/class/net devices to linsysfs. Only two interfaces are created eth0 and lo and they expose the following properties: address,

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

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Wed May 22 05:35:35 2019 New Revision: 348095 URL: https://svnweb.freebsd.org/changeset/base/348095 Log: MFC r347203: Rewrite linux_ifflags() in more readable Linuxulator style. Modified: stable/12/sys/compat/linux/linux.c stable/12/sys/compat/linux/linux.h

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

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Wed May 22 05:34:44 2019 New Revision: 348094 URL: https://svnweb.freebsd.org/changeset/base/348094 Log: MFC r347202: Complete r347052 (https://reviews.freebsd.org/D20137) as it it was not a final revision. Fix style issues and change bool-like variables from

svn commit: r348093 - in stable/12/sys/modules: linux linux64

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Wed May 22 05:33:47 2019 New Revision: 348093 URL: https://svnweb.freebsd.org/changeset/base/348093 Log: MFC r347196: The build process generates assym.inc from genassym.o, so don't forget to clean genassym.o Modified: stable/12/sys/modules/linux/Makefile

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

2019-05-21 Thread Dmitry Chagin
=== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/12/sys/compat/linux/linux_common.h Wed May 22 05:32:39 2019 (r348092, copy of r347052, head/sys/compat/linux/linux_common.h) @@ -0,0 +1,38 @@ +/*- + * SPDX-Lic

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

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Tue May 21 18:08:19 2019 New Revision: 348058 URL: https://svnweb.freebsd.org/changeset/base/348058 Log: Do not leak sa in linux_recvmsg() call if kern_recvit() fails. MFC after:1 week Modified: head/sys/compat/linux/linux_socket.c Modified:

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

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Tue May 21 18:05:57 2019 New Revision: 348057 URL: https://svnweb.freebsd.org/changeset/base/348057 Log: Do not use uninitialised sa. Reported by: tijl@ MFC after:1 week Modified: head/sys/compat/linux/linux_socket.c Modified:

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

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Tue May 21 18:03:58 2019 New Revision: 348056 URL: https://svnweb.freebsd.org/changeset/base/348056 Log: Do not leak sa in linux_recvfrom() call if kern_recvit() fails. MFC after:1 week Modified: head/sys/compat/linux/linux_socket.c Modified:

Re: svn commit: r347533 - in head/sys: compat/linux modules/linux_common

2019-05-20 Thread Dmitry Chagin
вс, 19 мая 2019 г. в 20:05, Tijl Coosemans : > On Mon, 13 May 2019 17:48:16 + (UTC) Dmitry Chagin > wrote: > > Author: dchagin > > Date: Mon May 13 17:48:16 2019 > > New Revision: 347533 > > URL: https://svnweb.freebsd.org/changeset/base/347533 > > >

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

2019-05-19 Thread Dmitry Chagin
Author: dchagin Date: Sun May 19 09:23:20 2019 New Revision: 347969 URL: https://svnweb.freebsd.org/changeset/base/347969 Log: Linux send() call returns EAGAIN instead of ENOTCONN in case when the socket is non-blocking and connect() is not finished yet. Initial patch developed by Steven

Re: svn commit: r347695 - in head/sys: amd64/amd64 amd64/include kern

2019-05-19 Thread Dmitry Chagin
сб, 18 мая 2019 г. в 11:44, Konstantin Belousov : > On Sat, May 18, 2019 at 11:35:29AM +0300, Dmitry Chagin wrote: > > чт, 16 мая 2019 г. в 16:29, Konstantin Belousov : > > > > > Author: kib > > > Date: Thu May 16 13:28:48 2019 > > > New Revision: 34

Re: svn commit: r347695 - in head/sys: amd64/amd64 amd64/include kern

2019-05-18 Thread Dmitry Chagin
чт, 16 мая 2019 г. в 16:29, Konstantin Belousov : > Author: kib > Date: Thu May 16 13:28:48 2019 > New Revision: 347695 > URL: https://svnweb.freebsd.org/changeset/base/347695 > > Log: > amd64 pmap: rework delayed invalidation, removing global mutex. > > For machines having cmpxcgh16b

svn commit: r347684 - stable/11/sys/compat/linsysfs

2019-05-16 Thread Dmitry Chagin
Author: dchagin Date: Thu May 16 10:43:52 2019 New Revision: 347684 URL: https://svnweb.freebsd.org/changeset/base/347684 Log: MFC r347016: Remove unneeded includes. Modified: stable/11/sys/compat/linsysfs/linsysfs.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r347683 - stable/12/sys/compat/linsysfs

2019-05-16 Thread Dmitry Chagin
Author: dchagin Date: Thu May 16 10:41:29 2019 New Revision: 347683 URL: https://svnweb.freebsd.org/changeset/base/347683 Log: MFC r347016: Remove unneeded includes. Modified: stable/12/sys/compat/linsysfs/linsysfs.c Directory Properties: stable/12/ (props changed) Modified:

Re: svn commit: r347566 - in head/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-15 Thread Dmitry Chagin
ср, 15 мая 2019 г. в 11:10, Konstantin Belousov : > On Wed, May 15, 2019 at 08:54:04AM +0300, Dmitry Chagin wrote: > > вт, 14 мая 2019 г. в 20:02, Konstantin Belousov : > > > > > Author: kib > > > Date: Tue May 14 17:02:20 2019 > > > New Revision: 34

Re: svn commit: r347566 - in head/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-15 Thread Dmitry Chagin
вт, 14 мая 2019 г. в 20:02, Konstantin Belousov : > Author: kib > Date: Tue May 14 17:02:20 2019 > New Revision: 347566 > URL: https://svnweb.freebsd.org/changeset/base/347566 > > Log: > Mitigations for Microarchitectural Data Sampling. > > Microarchitectural buffers on some Intel processors

svn commit: r347540 - in head/sys/modules: linprocfs linsysfs linux linux64 linux_common

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 18:28:40 2019 New Revision: 347540 URL: https://svnweb.freebsd.org/changeset/base/347540 Log: Add warning to the Linuxulator makefiles that building it outside of a kernel does not make sence. PR: 222861 MFC after:2 weeks Differential

svn commit: r347538 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux modules/linux modules/linux64 modules/linux_common

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 18:24:29 2019 New Revision: 347538 URL: https://svnweb.freebsd.org/changeset/base/347538 Log: Linuxulator depends on a fundamental kernel settings such as SMP. Many of them listed in opt_global.h which is not generated while building modules outside of a

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

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 18:14:20 2019 New Revision: 347537 URL: https://svnweb.freebsd.org/changeset/base/347537 Log: Linuxulator getpeername() returns EINVAL in case then namelen less then 0. MFC after:2 weeks Modified: head/sys/compat/linux/linux_socket.c Modified:

svn commit: r347533 - in head/sys: compat/linux modules/linux_common

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 17:48:16 2019 New Revision: 347533 URL: https://svnweb.freebsd.org/changeset/base/347533 Log: Our bsd_to_linux_sockaddr() and linux_to_bsd_sockaddr() functions alter the userspace sockaddr to convert the format between linux and BSD versions. That's the

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

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 11:17:31 2019 New Revision: 347521 URL: https://svnweb.freebsd.org/changeset/base/347521 Log: MFC r346965: Follow the FreeBSD and implement PDEATH_SIG prctl ops in the Linuxulator. It was first introduced in r163734 and missied by me in r283383.

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

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 10:43:18 2019 New Revision: 347520 URL: https://svnweb.freebsd.org/changeset/base/347520 Log: MFC r346965: Follow the FreeBSD and implement PDEATH_SIG prctl ops in the Linuxulator. It was first introduced in r163734 and missied by me in r283383.

Re: svn commit: r347218 - head/sys/compat/linsysfs

2019-05-07 Thread Dmitry Chagin
вт, 7 мая 2019 г. в 08:32, Rodney W. Grimes : > > Author: dchagin > > Date: Tue May 7 05:08:13 2019 > > New Revision: 347218 > > URL: https://svnweb.freebsd.org/changeset/base/347218 > > > > Log: > > Remove wrong copyright line. Discussed with Carlos Neira. > > > > Reported by:Rodney

svn commit: r347218 - head/sys/compat/linsysfs

2019-05-06 Thread Dmitry Chagin
Author: dchagin Date: Tue May 7 05:08:13 2019 New Revision: 347218 URL: https://svnweb.freebsd.org/changeset/base/347218 Log: Remove wrong copyright line. Discussed with Carlos Neira. Reported by: Rodney W. Grimes MFC after:2 weeks Differential Revision:

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

2019-05-06 Thread Dmitry Chagin
Author: dchagin Date: Mon May 6 19:56:13 2019 New Revision: 347202 URL: https://svnweb.freebsd.org/changeset/base/347202 Log: Complete r347052 (https://reviews.freebsd.org/D20137) as it it was not a final revision. Fix style issues and change bool-like variables from int to bool.

svn commit: r347204 - head/sys/compat/linsysfs

2019-05-06 Thread Dmitry Chagin
Author: dchagin Date: Mon May 6 20:01:13 2019 New Revision: 347204 URL: https://svnweb.freebsd.org/changeset/base/347204 Log: Adds sys/class/net devices to linsysfs. Only two interfaces are created eth0 and lo and they expose the following properties: address, addr_len, flags,

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

2019-05-06 Thread Dmitry Chagin
Author: dchagin Date: Mon May 6 19:57:51 2019 New Revision: 347203 URL: https://svnweb.freebsd.org/changeset/base/347203 Log: Rewrite linux_ifflags() in more readable Linuxulator style. Reviewed by: emaste MFC after:2 weeks Differential Revision:

svn commit: r347196 - in head/sys/modules: linux linux64

2019-05-06 Thread Dmitry Chagin
Author: dchagin Date: Mon May 6 18:46:42 2019 New Revision: 347196 URL: https://svnweb.freebsd.org/changeset/base/347196 Log: The build process generates assym.inc from genassym.o, so don't forget to clean genassym.o MFC after:2 weeks Modified: head/sys/modules/linux/Makefile

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

2019-05-03 Thread Dmitry Chagin
LINUX_ARPHRD_LOOPBACK 772 + /* sigaltstack */ #defineLINUX_SS_ONSTACK1 #defineLINUX_SS_DISABLE2 Added: head/sys/compat/linux/linux_common.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sy

svn commit: r347016 - head/sys/compat/linsysfs

2019-05-02 Thread Dmitry Chagin
Author: dchagin Date: Thu May 2 09:00:36 2019 New Revision: 347016 URL: https://svnweb.freebsd.org/changeset/base/347016 Log: Remove unneeded includes. MFC after:2 week Modified: head/sys/compat/linsysfs/linsysfs.c Modified: head/sys/compat/linsysfs/linsysfs.c

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

2019-04-30 Thread Dmitry Chagin
Author: dchagin Date: Tue Apr 30 17:18:05 2019 New Revision: 346965 URL: https://svnweb.freebsd.org/changeset/base/346965 Log: Follow the FreeBSD and implement PDEATH_SIG prctl ops in the Linuxulator. It was first introduced in r163734 and missied by me in r283383. MFC after:1 week

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

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:38:21 2019 New Revision: 346844 URL: https://svnweb.freebsd.org/changeset/base/346844 Log: MFC r345473: Whitespace cleanup (annoying). Modified: stable/12/sys/compat/linux/linux_fork.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r346843 - in stable/12/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:37:20 2019 New Revision: 346843 URL: https://svnweb.freebsd.org/changeset/base/346843 Log: MFC r345471, r345472, r346603: Update syscall.master to 5.0. For 32-bit Linuxulator, ipc() syscall was historically the entry point for the IPC API.

svn commit: r346842 - in stable/12/sys: amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:34:31 2019 New Revision: 346842 URL: https://svnweb.freebsd.org/changeset/base/346842 Log: MFC r345469, r345470: 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

svn commit: r346841 - stable/12/sys/amd64/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:30:25 2019 New Revision: 346841 URL: https://svnweb.freebsd.org/changeset/base/346841 Log: MFC r345468: 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

svn commit: r346839 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:19:31 2019 New Revision: 346839 URL: https://svnweb.freebsd.org/changeset/base/346839 Log: MFC r345471, r345472, r346603: Update syscall.master to 5.0. For 32-bit Linuxulator, ipc() syscall was historically the entry point for the IPC API.

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

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:20:29 2019 New Revision: 346840 URL: https://svnweb.freebsd.org/changeset/base/346840 Log: MFC r345473: Whitespace cleanup (annoying). Modified: stable/11/sys/compat/linux/linux_fork.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r346838 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:16:00 2019 New Revision: 346838 URL: https://svnweb.freebsd.org/changeset/base/346838 Log: MFC r345469, r345470: 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

svn commit: r346835 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:08:05 2019 New Revision: 346835 URL: https://svnweb.freebsd.org/changeset/base/346835 Log: MFC r335515 (by chuck@): Fix the Linux kernel version number calculation The Linux compatibility code was converting the version number (e.g. 2.6.32) in two

svn commit: r346837 - stable/11/sys/amd64/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:11:21 2019 New Revision: 346837 URL: https://svnweb.freebsd.org/changeset/base/346837 Log: MFC r345468: 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

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

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:06:22 2019 New Revision: 346834 URL: https://svnweb.freebsd.org/changeset/base/346834 Log: MFC r335387 (by emaste@): linuxulator: handle V3 capget/capset Linux 2.6.26 introduced 64-bit capability sets. Extend our stub implementation to handle

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

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:09:31 2019 New Revision: 346836 URL: https://svnweb.freebsd.org/changeset/base/346836 Log: MFC r335644 (by emaste@): Quiet unused fn warning for linuxulator w/o legacy syscalls. Modified: stable/11/sys/compat/linux/linux_sysctl.c Directory Properties:

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

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:05:05 2019 New Revision: 346833 URL: https://svnweb.freebsd.org/changeset/base/346833 Log: MFC r335327 (by emaste@): linuxulator: add debugging for invalid capget/capset version. Modified: stable/11/sys/compat/linux/linux_misc.c Directory Properties:

svn commit: r346832 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 14:03:32 2019 New Revision: 346832 URL: https://svnweb.freebsd.org/changeset/base/346832 Log: MFC r335201 (by emaste@): linuxulator: do not include legacy syscalls on arm64 Existing linuxulator platforms (i386, amd64) support legacy syscalls, such as

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

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:43:58 2019 New Revision: 346830 URL: https://svnweb.freebsd.org/changeset/base/346830 Log: MFC r332893 (by emaste@): Map FreeBSD EDOOFUS to Linux EINVAL Previously EDOOFUS mapped to EBUSY. EINVAL seems more appropriate. Modified:

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

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:45:18 2019 New Revision: 346831 URL: https://svnweb.freebsd.org/changeset/base/346831 Log: MFC r335200 (by emaste@): Correct debug control for linuxulator faccessat The Linuxulator provides per-syscall debug control via the compat.linux.debug

svn commit: r346829 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Apr 28 13:41:23 2019 (r346828) +++ stable/11/sys/compat/linux/linux_emul.c Sun Apr 28 13:42:34 2019 (r346829) @@ -1,6 +1,7 @@ /*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * + * Copyright (c) 1994-1996 Søren Schmidt * Copyright (c) 2006 Roman Divacky * Copyrigh

svn commit: r346828 - in stable/11/sys: amd64/linux amd64/linux32 i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:41:23 2019 New Revision: 346828 URL: https://svnweb.freebsd.org/changeset/base/346828 Log: MFC r331462 (by emaste@): Remove redundant cast from Linuxulator SYSINITs. Modified: stable/11/sys/amd64/linux/linux_sysvec.c

svn commit: r346827 - in stable/11: lib/libsysdecode sys/amd64/linux sys/amd64/linux32 sys/compat/linux sys/i386/linux sys/modules/linux_common

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:40:17 2019 New Revision: 346827 URL: https://svnweb.freebsd.org/changeset/base/346827 Log: MFC r331356 (by emaste@): Share Linux errno table with libsysdecode. Added: stable/11/sys/compat/linux/linux_errno.inc - copied unchanged from r331356,

svn commit: r346826 - stable/11/sys/amd64/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:38:29 2019 New Revision: 346826 URL: https://svnweb.freebsd.org/changeset/base/346826 Log: MFC r331256 (by emaste@): Make linuxulator fn declaration match definition I accidentally swapped 'linux_fixup_elf' to 'linux_elf_fixup' in amd64's

svn commit: r346825 - in stable/11/sys: amd64/linux amd64/linux32 i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:37:13 2019 New Revision: 346825 URL: https://svnweb.freebsd.org/changeset/base/346825 Log: MFC r331226 (byu emaste@): Rename linuxulator functions with linux_ prefix It's preferable to have a consistent prefix. This also reduces differences

svn commit: r346824 - in stable/11/sys: amd64/linux amd64/linux32 i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:35:36 2019 New Revision: 346824 URL: https://svnweb.freebsd.org/changeset/base/346824 Log: MFC r331208 (by emaste@): linux*_sysvec.c: rationalize whitespace and comments There's a fair amount of duplication between MD linuxulator files. Make

svn commit: r346823 - in stable/11: lib/libsysdecode sys/amd64/linux sys/amd64/linux32 sys/compat/linux sys/conf sys/i386/linux sys/modules/linux sys/modules/linux_common

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:33:35 2019 New Revision: 346823 URL: https://svnweb.freebsd.org/changeset/base/346823 Log: MFC r331056: Share a single bsd-linux errno table across MD consumers Three copies of the linuxulator linux_sysvec.c contained identical BSD to Linux errno

svn commit: r346822 - in stable/11/sys: amd64/linux amd64/linux32 i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:29:29 2019 New Revision: 346822 URL: https://svnweb.freebsd.org/changeset/base/346822 Log: MFC r330927 (by emaste@): Remove stray ; at end of linux_vdso_deinstall() Modified: stable/11/sys/amd64/linux/linux_sysvec.c

svn commit: r346821 - in stable/11/sys: amd64/linux amd64/linux32 i386/linux kern sys

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:28:05 2019 New Revision: 346821 URL: https://svnweb.freebsd.org/changeset/base/346821 Log: MFC r330866 (by emaste@): Use C99 boolean type for translate_osrel Migrate to modern types before creating MD Linuxolator bits for new architectures.

svn commit: r346820 - stable/11/sys/i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:26:55 2019 New Revision: 346820 URL: https://svnweb.freebsd.org/changeset/base/346820 Log: MFC r330822 (by emaste@): imgact_linux.c: use standard indentation. Modified: stable/11/sys/i386/linux/imgact_linux.c Directory Properties: stable/11/

svn commit: r346819 - in stable/11/sys: compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:23:52 2019 New Revision: 346819 URL: https://svnweb.freebsd.org/changeset/base/346819 Log: MFC r330798 (by emaste@): Linuxulator: apply style(9) to return. Modified: stable/11/sys/compat/linux/linux_ioctl.c stable/11/sys/compat/linux/linux_signal.c

svn commit: r346817 - in stable/11/sys: amd64/linux amd64/linux32 compat/freebsd32 dev/aic7xxx dev/drm2 dev/xen/blkback dev/xen/netback i386/ibcs2 i386/linux i386/pci kern netgraph x86/include

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:21:01 2019 New Revision: 346817 URL: https://svnweb.freebsd.org/changeset/base/346817 Log: MFC r329873 (by emaste@): Correct pseudo misspelling in sys/ comments contrib code and #define in intel_ata.h unchanged. Modified:

svn commit: r346816 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:19:28 2019 New Revision: 346816 URL: https://svnweb.freebsd.org/changeset/base/346816 Log: MFC r329794, r329801 (by emaste@): Correct proper nouns in the Linuxulator - Capitalize Linux - Spell FreeBSD out in full - Address some style(9) on

svn commit: r346818 - stable/11/sys/amd64/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:22:30 2019 New Revision: 346818 URL: https://svnweb.freebsd.org/changeset/base/346818 Log: MFC r329876 (by emaste@): Use linux types for linux-specific syscalls. Modified: stable/11/sys/amd64/linux/syscalls.master Directory Properties: stable/11/

svn commit: r346815 - stable/11/sys/sys

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 13:16:54 2019 New Revision: 346815 URL: https://svnweb.freebsd.org/changeset/base/346815 Log: MFC r329787 (by emaste@): Use 'const int *' for sysentvec errno translation table This allows an sv_errtbl to be read-only .rodata. Modified:

svn commit: r346813 - in stable/11/sys: amd64/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 09:54:50 2019 New Revision: 346813 URL: https://svnweb.freebsd.org/changeset/base/346813 Log: MFC r328894 (by emaste@): Additional linuxolator whitespace cleanup, missed in r328890. Modified: stable/11/sys/amd64/linux/syscalls.master

svn commit: r346812 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 09:53:08 2019 New Revision: 346812 URL: https://svnweb.freebsd.org/changeset/base/346812 Log: MFC r328890 (by emaste@): Linuxolator whitespace cleanup A version of each of the MD files by necessity exists for each CPU architecture supported by the

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

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 09:49:30 2019 New Revision: 346811 URL: https://svnweb.freebsd.org/changeset/base/346811 Log: MFC r328598 (by emaste@): makesyscalls: permit a range of syscall numbers for UNIMPL Some ABIs have large gaps in syscall numbers. Allow gaps to be filled

svn commit: r346810 - in stable/11/sys: amd64/linux amd64/linux32 i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 09:47:33 2019 New Revision: 346810 URL: https://svnweb.freebsd.org/changeset/base/346810 Log: MFC Linuxulator part of r326333 (by brooks@): Disable vim syntax highlighting. Vim's default pick doesn't understand that ';' is a comment character and the

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

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 09:38:41 2019 New Revision: 346808 URL: https://svnweb.freebsd.org/changeset/base/346808 Log: MFC r323980 (by pfg@): Small style(9) issue: spaces vs TAB. Modified: stable/11/sys/compat/linux/linux_stats.c Directory Properties: stable/11/ (props

svn commit: r346807 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2019-04-28 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 28 09:35:39 2019 New Revision: 346807 URL: https://svnweb.freebsd.org/changeset/base/346807 Log: MFC r321728: Avoid using [LINUX_]SHAREDPAGE constant directly in the vdso code. This is needed for https://reviews.freebsd.org/D11780. Modified:

Re: svn commit: r346273 - in head/sys: compat/freebsd32 kern

2019-04-24 Thread Dmitry Chagin
вт, 16 апр. 2019 г. в 16:26, Ed Maste : > Author: emaste > Date: Tue Apr 16 13:26:31 2019 > New Revision: 346273 > URL: https://svnweb.freebsd.org/changeset/base/346273 > > Log: > correct readlinkat(2) return type > > Hi, Ed make sysent? > r176215 corrected readlink(2)'s return type and

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

2019-04-23 Thread Dmitry Chagin
Author: dchagin Date: Tue Apr 23 18:10:46 2019 New Revision: 346603 URL: https://svnweb.freebsd.org/changeset/base/346603 Log: Since r339624 HEAD does not need for backslashes in syscalls.master, however to make a merge r345471 to the stable add backslashes to the syscalls.master. MFC

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: 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: 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: r322340 - in stable/11: share/man/man4 share/man/man5 sys/fs/fdescfs sys/kern sys/sys

2017-08-09 Thread Dmitry Chagin
Author: dchagin Date: Thu Aug 10 05:38:31 2017 New Revision: 322340 URL: https://svnweb.freebsd.org/changeset/base/322340 Log: MFC r321839: Implement proper Linux /dev/fd and /proc/self/fd behavior by adding Linux specific things to the native fdescfs file system. Unlike FreeBSD,

svn commit: r322339 - stable/11/sys/fs/fdescfs

2017-08-09 Thread Dmitry Chagin
Author: dchagin Date: Thu Aug 10 05:35:45 2017 New Revision: 322339 URL: https://svnweb.freebsd.org/changeset/base/322339 Log: MFC r321460: Replace unnecessary _KERNEL by double-include protection. Modified: stable/11/sys/fs/fdescfs/fdesc.h Directory Properties: stable/11/ (props

svn commit: r321839 - in head: share/man/man4 share/man/man5 sys/fs/fdescfs sys/kern sys/sys

2017-07-31 Thread Dmitry Chagin
Author: dchagin Date: Tue Aug 1 03:40:19 2017 New Revision: 321839 URL: https://svnweb.freebsd.org/changeset/base/321839 Log: Implement proper Linux /dev/fd and /proc/self/fd behavior by adding Linux specific things to the native fdescfs file system. Unlike FreeBSD, the Linux fdescfs is

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

2017-07-30 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 30 21:24:20 2017 New Revision: 321728 URL: https://svnweb.freebsd.org/changeset/base/321728 Log: Avoid using [LINUX_]SHAREDPAGE constant directly in the vdso code. This is needed for https://reviews.freebsd.org/D11780. Reported by: kib@ Modified:

svn commit: r321716 - stable/11/sys/fs/fdescfs

2017-07-30 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 30 08:02:06 2017 New Revision: 321716 URL: https://svnweb.freebsd.org/changeset/base/321716 Log: MFC r320837: Style(9). Whitespace. Modified: stable/11/sys/fs/fdescfs/fdesc_vnops.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r321715 - stable/11/sys/fs/fdescfs

2017-07-30 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 30 08:00:54 2017 New Revision: 321715 URL: https://svnweb.freebsd.org/changeset/base/321715 Log: MFC r320836: Eliminate bogus casts. Modified: stable/11/sys/fs/fdescfs/fdesc_vnops.c Directory Properties: stable/11/ (props changed) Modified:

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

2017-07-29 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 29 10:31:57 2017 New Revision: 321682 URL: https://svnweb.freebsd.org/changeset/base/321682 Log: MFC r321366: Style(9) whitespace fix. Modified: stable/11/sys/compat/linux/linux_ioctl.h Directory Properties: stable/11/ (props changed) Modified:

svn commit: r321681 - stable/11/sys/fs/fdescfs

2017-07-29 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 29 10:30:13 2017 New Revision: 321681 URL: https://svnweb.freebsd.org/changeset/base/321681 Log: MFC r320814: Style(9). Add blank line aftr {. MFC r320815: Remove init from declaration. MFC r320816: Remove init from declaration, collapse

svn commit: r321460 - head/sys/fs/fdescfs

2017-07-25 Thread Dmitry Chagin
Author: dchagin Date: Tue Jul 25 06:59:35 2017 New Revision: 321460 URL: https://svnweb.freebsd.org/changeset/base/321460 Log: Replace unnecessary _KERNEL by double-include protection. MFC after:2 week Modified: head/sys/fs/fdescfs/fdesc.h Modified: head/sys/fs/fdescfs/fdesc.h

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

2017-07-22 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 22 09:03:40 2017 New Revision: 321366 URL: https://svnweb.freebsd.org/changeset/base/321366 Log: Style(9) whitespace fix. MFC after:1 week Modified: head/sys/compat/linux/linux_ioctl.h Modified: head/sys/compat/linux/linux_ioctl.h

svn commit: r321026 - in stable/10/sys: amd64/linux compat/linux

2017-07-15 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 15 18:25:59 2017 New Revision: 321026 URL: https://svnweb.freebsd.org/changeset/base/321026 Log: MFC r305994 (by emaste@): Catch up to sys/capability.h rename to sys/capsicum.h in r263232 Modified: stable/10/sys/amd64/linux/linux_machdep.c

svn commit: r321025 - stable/10/sys/compat/linux

2017-07-15 Thread Dmitry Chagin
Author: dchagin Date: Sat Jul 15 18:08:20 2017 New Revision: 321025 URL: https://svnweb.freebsd.org/changeset/base/321025 Log: MFC r298071 (by pfg@): compat/linux: for pointers replace 0 with NULL. plvc is a pointer, no functional change. Found with devel/coccinelle. Modified:

  1   2   3   4   5   6   7   8   9   >