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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:19:43 2016 New Revision: 293496 URL: https://svnweb.freebsd.org/changeset/base/293496 Log: MFC r283386: Introduce LINUX_VERSION_STR, LINUX_VERSION_CODE macro for use instead of harcoded pr_osrelease, pr_osrel values. This will be used later in the

svn commit: r293504 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:29:10 2016 New Revision: 293504 URL: https://svnweb.freebsd.org/changeset/base/293504 Log: Regen for r293503. Modified: stable/10/sys/amd64/linux32/linux32_proto.h stable/10/sys/amd64/linux32/linux32_syscall.h

svn commit: r293511 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:38:16 2016 New Revision: 293511 URL: https://svnweb.freebsd.org/changeset/base/293511 Log: Regen for r293510. Modified: stable/10/sys/amd64/linux32/linux32_proto.h stable/10/sys/amd64/linux32/linux32_syscall.h

svn commit: r293510 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:37:10 2016 New Revision: 293510 URL: https://svnweb.freebsd.org/changeset/base/293510 Log: MFC r283401: Implement prlimit64() system call. Modified: stable/10/sys/amd64/linux32/linux32_dummy.c stable/10/sys/amd64/linux32/syscalls.master

svn commit: r293471 - head/sys/netinet6

2016-01-09 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Jan 9 11:41:37 2016 New Revision: 293471 URL: https://svnweb.freebsd.org/changeset/base/293471 Log: Remove prefix check from in6_addroute(). This check was added in initial? netinet6/ import back in 1999 (r53541). It effectively became unnecessary after

svn commit: r293484 - stable/10/sys/i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:43:16 2016 New Revision: 293484 URL: https://svnweb.freebsd.org/changeset/base/293484 Log: Regen for r293483. Modified: stable/10/sys/i386/linux/linux_proto.h stable/10/sys/i386/linux/linux_syscall.h stable/10/sys/i386/linux/linux_syscalls.c

svn commit: r293491 - head/include

2016-01-09 Thread Kevin Lo
Author: kevlo Date: Sat Jan 9 14:53:23 2016 New Revision: 293491 URL: https://svnweb.freebsd.org/changeset/base/293491 Log: - Add the definition of CHARCLASS_NAME_MAX, as per POSIX.1-2001. - Avoid namespace pollution and move definitions of _POSIX2_CHARCLASS_NAME_MAX and

svn commit: r293489 - stable/10/sys/sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:51:50 2016 New Revision: 293489 URL: https://svnweb.freebsd.org/changeset/base/293489 Log: MFC r283381: In preparation for switching linuxulator to the use the native 1:1 threads add per thread emulator state data. Modified: stable/10/sys/sys/proc.h

svn commit: r293490 - in stable/10/sys: amd64/amd64 arm/arm compat/ia32 compat/svr4 i386/i386 i386/ibcs2 kern mips/mips powerpc/powerpc sparc64/sparc64 sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:53:08 2016 New Revision: 293490 URL: https://svnweb.freebsd.org/changeset/base/293490 Log: MFC r283382: In preparation for switching linuxulator to the use the native 1:1 threads add a hook for cleaning thread resources before the thread die.

Re: svn commit: r293491 - head/include

2016-01-09 Thread Kevin Lo
On Sat, Jan 09, 2016 at 02:53:23PM +, Kevin Lo wrote: > Author: kevlo > Date: Sat Jan 9 14:53:23 2016 > New Revision: 293491 > URL: https://svnweb.freebsd.org/changeset/base/293491 > > Log: > - Add the definition of CHARCLASS_NAME_MAX, as per POSIX.1-2001. > - Avoid namespace pollution

svn commit: r293503 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:28:05 2016 New Revision: 293503 URL: https://svnweb.freebsd.org/changeset/base/293503 Log: MFC r283394: Implement waitid() system call. Modified: stable/10/sys/amd64/linux32/linux32_dummy.c stable/10/sys/amd64/linux32/syscalls.master

svn commit: r293502 - stable/10/sys/i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:26:20 2016 New Revision: 293502 URL: https://svnweb.freebsd.org/changeset/base/293502 Log: Regen for r293501. Modified: stable/10/sys/i386/linux/linux_proto.h stable/10/sys/i386/linux/linux_syscall.h stable/10/sys/i386/linux/linux_syscalls.c

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:33:48 2016 New Revision: 293507 URL: https://svnweb.freebsd.org/changeset/base/293507 Log: MFC r283398: Sched_rr_get_interval returns EINVAL in case when the invalid pid specified. This silence the ltp tests. Modified:

svn commit: r293474 - in stable/10: lib/libc/include lib/libc/sys share/man/man4 sys/compat/freebsd32 sys/kern sys/sys usr.bin/kdump

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:20:23 2016 New Revision: 293474 URL: https://svnweb.freebsd.org/changeset/base/293474 Log: MFC r277610 (by jillies): Add futimens and utimensat system calls. Added: stable/10/lib/libc/sys/futimens.c - copied unchanged from r277610,

svn commit: r293475 - in stable/10/sys: compat/freebsd32 kern sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:21:46 2016 New Revision: 293475 URL: https://svnweb.freebsd.org/changeset/base/293475 Log: Regen for r293474. Modified: stable/10/sys/compat/freebsd32/freebsd32_proto.h stable/10/sys/compat/freebsd32/freebsd32_syscall.h

svn commit: r293481 - in stable/10/sys: kern sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:38:29 2016 New Revision: 293481 URL: https://svnweb.freebsd.org/changeset/base/293481 Log: MFC r283373: In preparation for switching linuxulator to the use the native 1:1 threads introduce kern_thr_alloc() which will be used later in the

svn commit: r293488 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:48:23 2016 New Revision: 293488 URL: https://svnweb.freebsd.org/changeset/base/293488 Log: Regen fro r293487. Modified: stable/10/sys/amd64/linux32/linux32_proto.h stable/10/sys/amd64/linux32/linux32_syscall.h

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:21:45 2016 New Revision: 293498 URL: https://svnweb.freebsd.org/changeset/base/293498 Log: MFC r283389: Add a siginfo_t conversion function. Modified: stable/10/sys/compat/linux/linux_signal.c stable/10/sys/compat/linux/linux_signal.h Directory

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:22:50 2016 New Revision: 293499 URL: https://svnweb.freebsd.org/changeset/base/293499 Log: MFC r283390: Add a function for converting wait options. Modified: stable/10/sys/compat/linux/linux_misc.c stable/10/sys/compat/linux/linux_misc.h Directory

svn commit: r293500 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:23:54 2016 New Revision: 293500 URL: https://svnweb.freebsd.org/changeset/base/293500 Log: MFC r283391: To reduce code duplication introduce linux_copyout_rusage() method. Use it in linux_wait4() system call and move linux_wait4() to the MI path.

svn commit: r293512 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:39:41 2016 New Revision: 293512 URL: https://svnweb.freebsd.org/changeset/base/293512 Log: MFC r283403: Implement pselect6() system call. Modified: stable/10/sys/amd64/linux32/linux32_dummy.c stable/10/sys/amd64/linux32/syscalls.master

svn commit: r293513 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:40:44 2016 New Revision: 293513 URL: https://svnweb.freebsd.org/changeset/base/293513 Log: Regen for r293511. Modified: stable/10/sys/amd64/linux32/linux32_proto.h stable/10/sys/amd64/linux32/linux32_syscall.h

svn commit: r293476 - stable/10/sys/sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:24:11 2016 New Revision: 293476 URL: https://svnweb.freebsd.org/changeset/base/293476 Log: Bump __FreeBSD_version after utimensat merge made in r293473. Modified: stable/10/sys/sys/param.h Modified: stable/10/sys/sys/param.h

svn commit: r293478 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:33:10 2016 New Revision: 293478 URL: https://svnweb.freebsd.org/changeset/base/293478 Log: MFC r283370: In preparation for switching linuxulator to the use the native 1:1 threads introduce linux_exit() stub instead of sys_exit() call (which

svn commit: r293479 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:34:29 2016 New Revision: 293479 URL: https://svnweb.freebsd.org/changeset/base/293479 Log: Regen for r293478. Modified: stable/10/sys/amd64/linux32/linux32_proto.h stable/10/sys/amd64/linux32/linux32_syscall.h

svn commit: r293485 - in stable/10/sys: kern sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:44:41 2016 New Revision: 293485 URL: https://svnweb.freebsd.org/changeset/base/293485 Log: MFC r283377: In preparation for switching linuxulator to the use the native 1:1 threads split sys_sched_getparam(), sys_sched_setparam(),

svn commit: r293486 - stable/10/sys/amd64/linux32

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:45:41 2016 New Revision: 293486 URL: https://svnweb.freebsd.org/changeset/base/293486 Log: MFC r283378: Remove a now unused include. Modified: stable/10/sys/amd64/linux32/linux32_machdep.c Directory Properties: stable/10/ (props changed)

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:12:31 2016 New Revision: 293492 URL: https://svnweb.freebsd.org/changeset/base/293492 Log: To facillitate Linuxulator merging temporarilly revert r288994 (by bdrewery). Modified: stable/10/sys/compat/linux/linux_fork.c Directory Properties: stable/10/

svn commit: r293493 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:16:13 2016 New Revision: 293493 URL: https://svnweb.freebsd.org/changeset/base/293493 Log: MFC r283383: Switch linuxulator to use the native 1:1 threads. The reasons: 1. Get rid of the stubs/quirks with process dethreading, process reparent

svn commit: r293495 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:18:36 2016 New Revision: 293495 URL: https://svnweb.freebsd.org/changeset/base/293495 Log: MFC r283385: Some style(9) && whitespaces fixes. No functional changes. Modified: stable/10/sys/amd64/linux32/linux32_sysvec.c

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:17:34 2016 New Revision: 293494 URL: https://svnweb.freebsd.org/changeset/base/293494 Log: MFC r283384: pthread_join() caller do futex_wait on child_clear_tid. As a results of multiple simultaneous calls to pthread_join() specifying the same target

svn commit: r293509 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:35:57 2016 New Revision: 293509 URL: https://svnweb.freebsd.org/changeset/base/293509 Log: Regen for r293508. Modified: stable/10/sys/amd64/linux32/linux32_proto.h stable/10/sys/amd64/linux32/linux32_syscall.h

svn commit: r293508 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:34:54 2016 New Revision: 293508 URL: https://svnweb.freebsd.org/changeset/base/293508 Log: MFC r283399: Implement dup3() system call. Modified: stable/10/sys/amd64/linux32/linux32_dummy.c stable/10/sys/amd64/linux32/syscalls.master

svn commit: r293473 - in stable/10/sys: compat/linux compat/svr4 fs/procfs kern sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:08:10 2016 New Revision: 293473 URL: https://svnweb.freebsd.org/changeset/base/293473 Log: To facillitate an upcoming Linuxulator merging partially MFC r275121 (by kib). Only merge the syntax changes from r275121, PROC_*LOCK() macros still lock the same

svn commit: r293480 - in stable/10/sys: kern sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:36:44 2016 New Revision: 293480 URL: https://svnweb.freebsd.org/changeset/base/293480 Log: MFC r283372: In preparation for switching linuxulator to the use the native 1:1 threads split sys_thr_exit() up into sys_thr_exit() and kern_thr_exit(). Move

svn commit: r293487 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:47:08 2016 New Revision: 293487 URL: https://svnweb.freebsd.org/changeset/base/293487 Log: MFC r283379: Implement a Linux version of sched_getparam() && sched_setparam(). Temporarily use the first thread in proc. Modified:

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:20:48 2016 New Revision: 293497 URL: https://svnweb.freebsd.org/changeset/base/293497 Log: MFC r283388: Remove a now unused define. Modified: stable/10/sys/compat/linux/linux_misc.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r293506 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:32:33 2016 New Revision: 293506 URL: https://svnweb.freebsd.org/changeset/base/293506 Log: Regen for r293505. Modified: stable/10/sys/amd64/linux32/linux32_proto.h stable/10/sys/amd64/linux32/linux32_syscall.h

svn commit: r293505 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:31:15 2016 New Revision: 293505 URL: https://svnweb.freebsd.org/changeset/base/293505 Log: MFC r283396: Implement rt_sigqueueinfo() system call. Modified: stable/10/sys/amd64/linux32/linux32_dummy.c stable/10/sys/amd64/linux32/syscalls.master

svn commit: r293477 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:31:03 2016 New Revision: 293477 URL: https://svnweb.freebsd.org/changeset/base/293477 Log: MFC r283369: In preparation for switching linuxulator to the use the native 1:1 threads print the thread id in addition to the pid in debug messages. Modified:

svn commit: r293482 - in stable/10/sys: amd64/linux32 compat/linux kern sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:40:38 2016 New Revision: 293482 URL: https://svnweb.freebsd.org/changeset/base/293482 Log: MFC r283374: In preparation for switching linuxulator to the use the native 1:1 threads refactor kern_sched_rr_get_interval() and sys_sched_rr_get_interval().

svn commit: r293483 - stable/10/sys/i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 14:41:58 2016 New Revision: 293483 URL: https://svnweb.freebsd.org/changeset/base/293483 Log: MFC r283375: In preparation for switching linuxulator to the use the native 1:1 threads use MI linux_sched_rr_get_interval() in i386. Modified:

svn commit: r293501 - stable/10/sys/i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:25:22 2016 New Revision: 293501 URL: https://svnweb.freebsd.org/changeset/base/293501 Log: MFC r283392: struct l_rusage does not defined for i386 Linuxulator due to it's nature. Modified: stable/10/sys/i386/linux/syscalls.master Directory Properties:

svn commit: r293613 - in head/sys: amd64/amd64 amd64/linux amd64/linux32 arm/arm arm64/arm64 compat/ia32 compat/svr4 i386/i386 i386/ibcs2 i386/linux kern mips/mips powerpc/powerpc sparc64/sparc64 sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 20:18:53 2016 New Revision: 293613 URL: https://svnweb.freebsd.org/changeset/base/293613 Log: Implement vsyscall hack. Prior to 2.13 glibc uses vsyscall instead of vdso. An upcoming linux_base-c6 needs it. Differential Revision:

Re: svn commit: r293459 - head/usr.sbin/bhyve

2016-01-09 Thread NGie Cooper
> On Jan 8, 2016, at 21:08, Allan Jude wrote: > > On 2016-01-08 23:09, Gleb Smirnoff wrote: >> On Sat, Jan 09, 2016 at 03:08:21AM +, George V. Neville-Neil wrote: >> G> Author: gnn >> G> Date: Sat Jan 9 03:08:21 2016 >> G> New Revision: 293459 >> G> URL:

Re: svn commit: r293459 - head/usr.sbin/bhyve

2016-01-09 Thread Pedro Giffuni
On 01/09/16 00:08, Allan Jude wrote: On 2016-01-08 23:09, Gleb Smirnoff wrote: On Sat, Jan 09, 2016 at 03:08:21AM +, George V. Neville-Neil wrote: G> Author: gnn G> Date: Sat Jan 9 03:08:21 2016 G> New Revision: 293459 G> URL: https://svnweb.freebsd.org/changeset/base/293459 G> G> Log:

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

2016-01-09 Thread Oliver Pinter
On 1/5/16, Konstantin Belousov wrote: > Author: kib > Date: Tue Jan 5 14:48:40 2016 > New Revision: 293197 > URL: https://svnweb.freebsd.org/changeset/base/293197 > > Log: > Two fixes for excessive iterations after r292326. > > Advance the logical block number to the lblkno

svn commit: r293615 - stable/9/contrib/bsnmp/lib

2016-01-09 Thread Garrett Cooper
Author: ngie Date: Sat Jan 9 21:33:31 2016 New Revision: 293615 URL: https://svnweb.freebsd.org/changeset/base/293615 Log: MFstable/10 r276677: MFC r276319: Fix the function signatures when MK_CRYPT == no for snmp_get_local_keys and snmp_passwd_to_keys Modified:

Re: svn commit: r293439 - in head: lib/libc/sys sys/dev/ti sys/kern sys/sys usr.bin/netstat

2016-01-09 Thread Gleb Smirnoff
Antoine, On Sat, Jan 09, 2016 at 07:41:57PM +, Antoine Brodin wrote: A> On Fri, Jan 8, 2016 at 8:34 PM, Gleb Smirnoff wrote: A> > Author: glebius A> > Date: Fri Jan 8 20:34:57 2016 A> > New Revision: 293439 A> > URL: https://svnweb.freebsd.org/changeset/base/293439 A>

svn commit: r293616 - head/sys/dev/rtwn

2016-01-09 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 9 21:45:21 2016 New Revision: 293616 URL: https://svnweb.freebsd.org/changeset/base/293616 Log: rtwn: fix sequence number assignment (part of r290630) Reviewed by: kevlo Approved by: adrian (mentor) Differential Revision:

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:50:55 2016 New Revision: 293518 URL: https://svnweb.freebsd.org/changeset/base/293518 Log: MFC r283412: Get ready to commit x86_64 Linux emulation. All fields of type l_int in struct statfs are defined as l_long on i386 and amd64. Modified:

svn commit: r293540 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:29:51 2016 New Revision: 293540 URL: https://svnweb.freebsd.org/changeset/base/293540 Log: MFC r283436: Use the BSD_TO_LINUX_SIGNAL() wherever there is no need to check the ABI as it is known. Modified: stable/10/sys/amd64/linux32/linux32_sysvec.c

svn commit: r293544 - in head/sys: net netinet ofed/drivers/infiniband/ulp/ipoib

2016-01-09 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Jan 9 16:34:37 2016 New Revision: 293544 URL: https://svnweb.freebsd.org/changeset/base/293544 Log: Finish r275196: do not dereference rtentry in if_output() routines. The only piece of information that is required is rt_flags subset. In particular,

svn commit: r293546 - in stable/10/sys: amd64/linux amd64/linux32 compat/linux conf i386/linux modules/linux modules/linux64

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:44:17 2016 New Revision: 293546 URL: https://svnweb.freebsd.org/changeset/base/293546 Log: MFC r283441: Implement epoll family system calls. This is a tiny wrapper around kqueue() to implement epoll subset of functionality. The kqueue user data are

svn commit: r293551 - stable/10/sys/amd64/linux32

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:52:25 2016 New Revision: 293551 URL: https://svnweb.freebsd.org/changeset/base/293551 Log: MFC r283446: Include opt_compat.h, so that COMPAT_LINUX32 is defined, and we can access to the semop structs and functions. Modified:

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:11:25 2016 New Revision: 293565 URL: https://svnweb.freebsd.org/changeset/base/293565 Log: MFC r283463: Do not use struct l_timespec without conversion. While here move args->timeout handling before acquiring the futex key at FUTEX_WAIT path.

svn commit: r293569 - in stable/10/sys: amd64/linux amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:18:03 2016 New Revision: 293569 URL: https://svnweb.freebsd.org/changeset/base/293569 Log: MFC r283467: Call nosys in case when the incorrect syscall number is specified. Its my fault, fixed by mjg@ at r289055. Modified:

svn commit: r293573 - stable/10/sys/compat/linprocfs

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:23:57 2016 New Revision: 293573 URL: https://svnweb.freebsd.org/changeset/base/293573 Log: MFC r283472: Add vdso and stack names to the /proc/self/maps. Modified: stable/10/sys/compat/linprocfs/linprocfs.c Directory Properties: stable/10/ (props

Re: svn commit: r293470 - in head/sys: net net80211 netgraph/netflow netinet netinet6 netpfil/pf

2016-01-09 Thread Nathan Whitehorn
One or the other of these changes seems to have broken the build of libc: In file included from /usr/home/nwhitehorn/head/lib/libc/net/getifaddrs.c:42: /usr/obj/usr/home/nwhitehorn/head/tmp/usr/include/net/route.h:226: error: dereferencing pointer to incomplete type -Nathan On 01/09/16

svn commit: r293580 - stable/10/sys/compat/linprocfs

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:35:09 2016 New Revision: 293580 URL: https://svnweb.freebsd.org/changeset/base/293580 Log: MFC r283478: Simplify linprocfs_doprocenviron(). Remove extra proc visibility checks and initialize pn_vis by well known procfs_candebug(). Modified:

svn commit: r293600 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 18:07:48 2016 New Revision: 293600 URL: https://svnweb.freebsd.org/changeset/base/293600 Log: MFC r283544: When I merged the lemul branch I missied kib@'s r282708 commit. This is not the final fix as I need properly cleanup thread resources before other

svn commit: r293601 - stable/10/sys/conf

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 18:09:07 2016 New Revision: 293601 URL: https://svnweb.freebsd.org/changeset/base/293601 Log: MFC r283569 (by nyan): MFi386: r283407 Implement vdso - virtual dynamic shared object. MFi386: r283474 Rework signal code to allow using it by other

svn commit: r293604 - stable/10/sys/amd64/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 18:19:18 2016 New Revision: 293604 URL: https://svnweb.freebsd.org/changeset/base/293604 Log: MFC r284159: Futex is an aligned 32-bit integer. Use the proper instruction and operand when dereferencing futex pointer. Modified:

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 18:28:15 2016 New Revision: 293608 URL: https://svnweb.freebsd.org/changeset/base/293608 Log: MFC r288994 (by bdrewery): Remove redundant RFFPWAIT/vfork(2) handling in Linux fork(2) and clone(2) wrappers. r161611 added some of the code from

Re: svn commit: r293610 - stable/10/sys/sys

2016-01-09 Thread Chagin Dmitry
On Sat, Jan 09, 2016 at 09:50:29PM +0300, Dmitry Morozovsky wrote: > On Sat, 9 Jan 2016, Dmitry Chagin wrote: > > > Author: dchagin > > Date: Sat Jan 9 18:40:20 2016 > > New Revision: 293610 > > URL: https://svnweb.freebsd.org/changeset/base/293610 > > > > Log: > > Bump __FreeBSD_version

Re: svn commit: r293439 - in head: lib/libc/sys sys/dev/ti sys/kern sys/sys usr.bin/netstat

2016-01-09 Thread Antoine Brodin
On Fri, Jan 8, 2016 at 8:34 PM, Gleb Smirnoff wrote: > Author: glebius > Date: Fri Jan 8 20:34:57 2016 > New Revision: 293439 > URL: https://svnweb.freebsd.org/changeset/base/293439 > > Log: > New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and >

Re: svn commit: r293459 - head/usr.sbin/bhyve

2016-01-09 Thread Kamil Czekirda
Have the same: https://lists.freebsd.org/pipermail/svn-src-head/2015-June/073179.html It's GSoC students feature. Kamil 2016-01-09 21:26 GMT+01:00 Pedro Giffuni : > > > On 01/09/16 00:08, Allan Jude wrote: > >> On 2016-01-08 23:09, Gleb Smirnoff wrote: >> >>> On Sat, Jan 09,

svn commit: r293614 - head/sys/dev/vt/hw/ofwfb

2016-01-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 9 21:28:56 2016 New Revision: 293614 URL: https://svnweb.freebsd.org/changeset/base/293614 Log: Make graphical consoles work under PowerKVM. Without using hypercalls, it is not possible to write the framebuffer before pmap is up. Solve this by deferring

Re: svn commit: r293610 - stable/10/sys/sys

2016-01-09 Thread Slawa Olhovchenkov
On Sat, Jan 09, 2016 at 10:05:24PM +0300, Chagin Dmitry wrote: > On Sat, Jan 09, 2016 at 09:50:29PM +0300, Dmitry Morozovsky wrote: > > On Sat, 9 Jan 2016, Dmitry Chagin wrote: > > > > > Author: dchagin > > > Date: Sat Jan 9 18:40:20 2016 > > > New Revision: 293610 > > > URL:

svn commit: r293517 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:49:42 2016 New Revision: 293517 URL: https://svnweb.freebsd.org/changeset/base/293517 Log: MFC r283411: Remove stale comment about a signal trampoline which is moved to the shared page at r219609. Modified:

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:12:37 2016 New Revision: 293529 URL: https://svnweb.freebsd.org/changeset/base/293529 Log: MFC r283423: Move FEATURE macros for v4l and v4l2 to the common module. Modified: stable/10/sys/compat/linux/linux_common.c

svn commit: r293533 - in stable/10/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:21:39 2016 New Revision: 293533 URL: https://svnweb.freebsd.org/changeset/base/293533 Log: MFC r283428: Change linux faccessat syscall definition to match actual linux one. The AT_EACCESS and AT_SYMLINK_NOFOLLOW flags are actually implemented

svn commit: r293550 - in stable/10/sys: amd64/linux amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:50:09 2016 New Revision: 293550 URL: https://svnweb.freebsd.org/changeset/base/293550 Log: Regen for r293549. Modified: stable/10/sys/amd64/linux/linux_proto.h stable/10/sys/amd64/linux/linux_syscall.h stable/10/sys/amd64/linux/linux_syscalls.c

svn commit: r293549 - in stable/10/sys: amd64/linux amd64/linux32 compat/linux i386/linux sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:48:50 2016 New Revision: 293549 URL: https://svnweb.freebsd.org/changeset/base/293549 Log: MFC r283444: Implement eventfd system call. Modified: stable/10/sys/amd64/linux/linux_dummy.c stable/10/sys/amd64/linux/syscalls.master

svn commit: r293556 - in stable/10/sys: amd64/linux amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:00:15 2016 New Revision: 293556 URL: https://svnweb.freebsd.org/changeset/base/293556 Log: Regen for r293555. Modified: stable/10/sys/amd64/linux/linux_proto.h stable/10/sys/amd64/linux/linux_syscall.h stable/10/sys/amd64/linux/linux_syscalls.c

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:01:26 2016 New Revision: 293557 URL: https://svnweb.freebsd.org/changeset/base/293557 Log: MFC r283453: Remove the unnecessary cast. Modified: stable/10/sys/compat/linux/linux_emul.c Directory Properties: stable/10/ (props changed) Modified:

Re: svn commit: r293553 - stable/10/sys/compat/linux

2016-01-09 Thread Chagin Dmitry
On Sat, Jan 09, 2016 at 08:05:32PM +0300, Slawa Olhovchenkov wrote: > On Sat, Jan 09, 2016 at 04:57:03PM +, Dmitry Chagin wrote: > > > Author: dchagin > > Date: Sat Jan 9 16:57:03 2016 > > New Revision: 293553 > > URL: https://svnweb.freebsd.org/changeset/base/293553 > > > > Log: > > MFC

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:10:22 2016 New Revision: 293564 URL: https://svnweb.freebsd.org/changeset/base/293564 Log: MFC r283462: Add prototypes for static futex functions. Modified: stable/10/sys/compat/linux/linux_futex.c Directory Properties: stable/10/ (props changed)

svn commit: r293568 - in stable/10/sys: amd64/linux amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:15:03 2016 New Revision: 293568 URL: https://svnweb.freebsd.org/changeset/base/293568 Log: Regen for r293567. Modified: stable/10/sys/amd64/linux/linux_proto.h stable/10/sys/amd64/linux/linux_syscall.h stable/10/sys/amd64/linux/linux_syscalls.c

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 18:24:53 2016 New Revision: 293607 URL: https://svnweb.freebsd.org/changeset/base/293607 Log: MFC r287395 (by trasz): Fixes a panic triggered by threaded Linux applications when running with RACCT/RCTL enabled. Modified:

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 18:23:34 2016 New Revision: 293606 URL: https://svnweb.freebsd.org/changeset/base/293606 Log: MFC r284626: Add EPOLLRDHUP support. Modified: stable/10/sys/compat/linux/linux_event.c stable/10/sys/compat/linux/linux_event.h Directory Properties:

svn commit: r293609 - in stable/10/sys: amd64/linux amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 18:32:52 2016 New Revision: 293609 URL: https://svnweb.freebsd.org/changeset/base/293609 Log: MFC r289055 (by mjg@): linux: fix handling of out-of-bounds syscall attempts Due to an off by one the code would read an entry past the table, as opposed

svn commit: r293610 - stable/10/sys/sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 18:40:20 2016 New Revision: 293610 URL: https://svnweb.freebsd.org/changeset/base/293610 Log: Bump __FreeBSD_version after Linux changes merge. Modified: stable/10/sys/sys/param.h Modified: stable/10/sys/sys/param.h

Re: svn commit: r293610 - stable/10/sys/sys

2016-01-09 Thread Dmitry Morozovsky
On Sat, 9 Jan 2016, Dmitry Chagin wrote: > Author: dchagin > Date: Sat Jan 9 18:40:20 2016 > New Revision: 293610 > URL: https://svnweb.freebsd.org/changeset/base/293610 > > Log: > Bump __FreeBSD_version after Linux changes merge. 134 commits in four and a half hours. Tremendous work.

svn commit: r293516 - in stable/10/sys: amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:48:11 2016 New Revision: 293516 URL: https://svnweb.freebsd.org/changeset/base/293516 Log: MFC r283410: Put linux_platform into the vdso to avoid copying it onto the stack at every exec. Modified: stable/10/sys/amd64/linux32/linux32_locore.s

svn commit: r293515 - in stable/10/sys: amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:46:05 2016 New Revision: 293515 URL: https://svnweb.freebsd.org/changeset/base/293515 Log: MFC r283408: Eliminate a now unused global declaration of elf_linux_sysvec. Modified: stable/10/sys/amd64/linux32/linux.h stable/10/sys/i386/linux/linux.h

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:58:42 2016 New Revision: 293524 URL: https://svnweb.freebsd.org/changeset/base/293524 Log: MFC r283419: Fix compilation with -DDEBUG option. Modified: stable/10/sys/compat/linux/linux_misc.c stable/10/sys/compat/linux/linux_signal.c

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 15:57:28 2016 New Revision: 293523 URL: https://svnweb.freebsd.org/changeset/base/293523 Log: MFC r283417: Add 64 bit support to the vdso. Modified: stable/10/sys/compat/linux/linux_vdso.c stable/10/sys/compat/linux/linux_vdso.h Directory Properties:

svn commit: r293534 - in stable/10/sys: amd64/linux amd64/linux32 i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:23:11 2016 New Revision: 293534 URL: https://svnweb.freebsd.org/changeset/base/293534 Log: Regen for r293533. Modified: stable/10/sys/amd64/linux/linux_proto.h stable/10/sys/amd64/linux/linux_syscall.h stable/10/sys/amd64/linux/linux_syscalls.c

svn commit: r293535 - in stable/10/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:24:30 2016 New Revision: 293535 URL: https://svnweb.freebsd.org/changeset/base/293535 Log: MFC r283431: Add AT_RANDOM and AT_EXECFN auxiliary vector entries which are used by glibc. At list since glibc version 2.16 using AT_RANDOM is mandatory.

svn commit: r293541 - in stable/10/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:31:10 2016 New Revision: 293541 URL: https://svnweb.freebsd.org/changeset/base/293541 Log: MFC r283437: To avoid code duplication move open/fcntl definitions to the MI header file. Modified: stable/10/sys/amd64/linux/linux.h

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:32:35 2016 New Revision: 293542 URL: https://svnweb.freebsd.org/changeset/base/293542 Log: MFC r283438: Add several fcntl flags. Modified: stable/10/sys/compat/linux/linux_file.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r293545 - in stable/10/sys: kern sys

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:39:15 2016 New Revision: 293545 URL: https://svnweb.freebsd.org/changeset/base/293545 Log: MFC r283440: For future use in the Linuxulator: 1. Add a kern_kqueue() counterpart for kqueue() with flags parameter. 2. Be a bit secure. To avoid a

svn commit: r293548 - in stable/10/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:47:36 2016 New Revision: 293548 URL: https://svnweb.freebsd.org/changeset/base/293548 Log: MFC r283443: Put the correct value for the abi_nfdbits parameter of kern_select() for all supported Linuxulators. Modified: stable/10/sys/amd64/linux/linux.h

svn commit: r293552 - stable/10/sys/modules

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 16:55:44 2016 New Revision: 293552 URL: https://svnweb.freebsd.org/changeset/base/293552 Log: MFC r283448: Connect linux64 module to the build. Modified: stable/10/sys/modules/Makefile Directory Properties: stable/10/ (props changed) Modified:

Re: svn commit: r293553 - stable/10/sys/compat/linux

2016-01-09 Thread Slawa Olhovchenkov
On Sat, Jan 09, 2016 at 04:57:03PM +, Dmitry Chagin wrote: > Author: dchagin > Date: Sat Jan 9 16:57:03 2016 > New Revision: 293553 > URL: https://svnweb.freebsd.org/changeset/base/293553 > > Log: > MFC r283449: > > Update Linux compat revision to 32. Bump OSVERSION for

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:02:35 2016 New Revision: 293558 URL: https://svnweb.freebsd.org/changeset/base/293558 Log: MFC r283454: Avoid unnecessary em zeroing in non-exec path as it already zeroed by malloc with M_ZERO flag and move zeroing to the proper place in exec path.

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:03:53 2016 New Revision: 293559 URL: https://svnweb.freebsd.org/changeset/base/293559 Log: MFC r283455: Use local struct proc * varable instead of dereferencing td->td_proc. Modified: stable/10/sys/compat/linux/linux_emul.c Directory Properties:

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:05:00 2016 New Revision: 293560 URL: https://svnweb.freebsd.org/changeset/base/293560 Log: MFC r283456: Improve ktr(9) records in thread managment code. Modified: stable/10/sys/compat/linux/linux_emul.c stable/10/sys/compat/linux/linux_fork.c

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

2016-01-09 Thread Dmitry Chagin
Author: dchagin Date: Sat Jan 9 17:31:20 2016 New Revision: 293578 URL: https://svnweb.freebsd.org/changeset/base/293578 Log: MFC r283476: Convert Linux signal number to the FreeBSD. Modified: stable/10/sys/compat/linux/linux_timer.c Directory Properties: stable/10/ (props changed)

  1   2   >