Re: svn commit: r283388 - head/sys/compat/linux

2015-05-24 Thread Chagin Dmitry
On Mon, May 25, 2015 at 10:27:06AM +0800, Julian Elischer wrote: > On 5/24/15 10:57 PM, Dmitry Chagin wrote: > > Author: dchagin > > Date: Sun May 24 14:57:39 2015 > > New Revision: 283388 > > URL: https://svnweb.freebsd.org/changeset/base/283388 > > > > Log: > >Remove a now unused define. > >

Re: svn commit: r283506 - in head/sys: conf modules/linux modules/linux64

2015-05-24 Thread Chagin Dmitry
On Mon, May 25, 2015 at 01:07:56AM +, Craig Rodrigues wrote: > Author: rodrigc > Date: Mon May 25 01:07:55 2015 > New Revision: 283506 > URL: https://svnweb.freebsd.org/changeset/base/283506 > > Log: > For objcopy, use --input-target and --output-target > > When building with gcc 4.9 an

Re: svn commit: r282240 - in head: cddl/lib/libdtrace sys/netinet

2015-05-24 Thread Julian Elischer
On 5/24/15 9:24 PM, George Neville-Neil wrote: On 23 May 2015, at 17:59, hiren panchasara wrote: On 04/29/15 at 05:19P, George V. Neville-Neil wrote: Author: gnn Date: Wed Apr 29 17:19:55 2015 New Revision: 282240 URL: https://svnweb.freebsd.org/changeset/base/282240 Log: Brief demo script s

Re: svn commit: r283441 - in head/sys: amd64/linux amd64/linux32 compat/linux conf i386/linux modules/linux modules/linux64

2015-05-24 Thread Julian Elischer
On 5/25/15 12:41 AM, Dmitry Chagin wrote: Author: dchagin Date: Sun May 24 16:41:39 2015 New Revision: 283441 URL: https://svnweb.freebsd.org/changeset/base/283441 Log: Implement epoll family system calls. This is a tiny wrapper around kqueue() to implement epoll subset of functionality.

Re: svn commit: r283388 - head/sys/compat/linux

2015-05-24 Thread Julian Elischer
On 5/24/15 10:57 PM, Dmitry Chagin wrote: Author: dchagin Date: Sun May 24 14:57:39 2015 New Revision: 283388 URL: https://svnweb.freebsd.org/changeset/base/283388 Log: Remove a now unused define. Differential Revision: https://reviews.freebsd.org/D1043 Reviewed by: trasz will we

Re: svn commit: r283511 - head/sys/opencrypto

2015-05-24 Thread Mark Johnston
On Mon, May 25, 2015 at 01:31:39AM +, Mark Johnston wrote: > Author: markj > Date: Mon May 25 01:31:39 2015 > New Revision: 283511 > URL: https://svnweb.freebsd.org/changeset/base/283511 > > Log: > Use the correct number of arguments for the > opencrypto:deflate:deflate_global:bad DTrace p

svn commit: r283511 - head/sys/opencrypto

2015-05-24 Thread Mark Johnston
Author: markj Date: Mon May 25 01:31:39 2015 New Revision: 283511 URL: https://svnweb.freebsd.org/changeset/base/283511 Log: Use the correct number of arguments for the opencrypto:deflate:deflate_global:bad DTrace probe, which is defined to have MFC after:1 week Modified: head/sy

svn commit: r283509 - in head/sys/cddl/dev/dtrace: amd64 i386

2015-05-24 Thread Mark Johnston
Author: markj Date: Mon May 25 01:22:56 2015 New Revision: 283509 URL: https://svnweb.freebsd.org/changeset/base/283509 Log: Remove unused references to calltrap. MFC after:3 days Modified: head/sys/cddl/dev/dtrace/amd64/dtrace_asm.S head/sys/cddl/dev/dtrace/i386/dtrace_asm.S Modi

svn commit: r283508 - head/cddl/contrib/opensolaris/cmd/lockstat

2015-05-24 Thread Mark Johnston
Author: markj Date: Mon May 25 01:18:46 2015 New Revision: 283508 URL: https://svnweb.freebsd.org/changeset/base/283508 Log: lockstat(1): document the -V option. MFC after:3 days Modified: head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 head/cddl/contrib/opensolaris/cmd/locks

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

2015-05-24 Thread Benjamin Kaduk
On Sun, May 24, 2015 at 1:38 PM, Dmitry Chagin wrote: > Author: dchagin > Date: Sun May 24 17:38:02 2015 > New Revision: 283467 > URL: https://svnweb.freebsd.org/changeset/base/283467 > > Log: > Call nosys in case when the incorrect syscall number is specified. > > Reported by: trinity > > M

svn commit: r283507 - head/share/man/man9

2015-05-24 Thread Mark Johnston
Author: markj Date: Mon May 25 01:09:18 2015 New Revision: 283507 URL: https://svnweb.freebsd.org/changeset/base/283507 Log: Remove a reference to the PBDRY flag, which itself was removed in r248470. MFC after:3 days Modified: head/share/man/man9/sleep.9 Modified: head/share/man/man

svn commit: r283506 - in head/sys: conf modules/linux modules/linux64

2015-05-24 Thread Craig Rodrigues
Author: rodrigc Date: Mon May 25 01:07:55 2015 New Revision: 283506 URL: https://svnweb.freebsd.org/changeset/base/283506 Log: For objcopy, use --input-target and --output-target When building with gcc 4.9 and binutils 2.25, using '--input' and '--output' returns an error message:

svn commit: r283503 - in head/sys: arm/ti/am335x dev/fdt dev/ofw

2015-05-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun May 24 23:53:10 2015 New Revision: 283503 URL: https://svnweb.freebsd.org/changeset/base/283503 Log: Rename fdt_find_child to ofw_bus_find_child. There is nothing FDT-specific in this function. Suggested by: andrew@ Modified: head/sys/arm/ti/am335x/am335x_lcd.c

svn commit: r283502 - head/lib

2015-05-24 Thread Garrett Cooper
Author: ngie Date: Sun May 24 23:19:47 2015 New Revision: 283502 URL: https://svnweb.freebsd.org/changeset/base/283502 Log: Remove SUBDIR_DEPEND for non-existent libreadline directory libreadline lives under gnu/lib MFC after: 1 week Modified: head/lib/Makefile Modified: head/lib/M

Re: svn commit: r283479 - in head/sys: amd64/amd64 amd64/ia32 arm/arm i386/i386 mips/mips powerpc/powerpc sparc64/sparc64

2015-05-24 Thread Chagin Dmitry
On Sun, May 24, 2015 at 09:25:15PM +0300, Konstantin Belousov wrote: > On Sun, May 24, 2015 at 05:56:03PM +, Dmitry Chagin wrote: > > Author: dchagin > > Date: Sun May 24 17:56:02 2015 > > New Revision: 283479 > > URL: https://svnweb.freebsd.org/changeset/base/283479 > > > > Log: > > The ker

Re: svn commit: r283479 - in head/sys: amd64/amd64 amd64/ia32 arm/arm i386/i386 mips/mips powerpc/powerpc sparc64/sparc64

2015-05-24 Thread Konstantin Belousov
On Sun, May 24, 2015 at 05:56:03PM +, Dmitry Chagin wrote: > Author: dchagin > Date: Sun May 24 17:56:02 2015 > New Revision: 283479 > URL: https://svnweb.freebsd.org/changeset/base/283479 > > Log: > The kernel sends signals to the processes via ABI specific sv_sendsig > method. > Native

Re: svn commit: r282240 - in head: cddl/lib/libdtrace sys/netinet

2015-05-24 Thread hiren panchasara
On 05/24/15 at 09:24P, George Neville-Neil wrote: > > > On 23 May 2015, at 17:59, hiren panchasara wrote: > > > On 04/29/15 at 05:19P, George V. Neville-Neil wrote: > >> Author: gnn > >> Date: Wed Apr 29 17:19:55 2015 > >> New Revision: 282240 > >> URL: https://svnweb.freebsd.org/changeset/base/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:14:38 2015 New Revision: 283498 URL: https://svnweb.freebsd.org/changeset/base/283498 Log: Linux nanosleep() and clock_nanosleep() system calls always writes the remaining time into the structure pointed to by rmtp unless rmtp is NULL. The value of *rmtp c

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:13:21 2015 New Revision: 283497 URL: https://svnweb.freebsd.org/changeset/base/283497 Log: Convert SCM_TIMESTAMP in recvmsg(). Modified: head/sys/compat/linux/linux_socket.c head/sys/compat/linux/linux_socket.h Modified: head/sys/compat/linux/linux_socke

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:12:04 2015 New Revision: 283496 URL: https://svnweb.freebsd.org/changeset/base/283496 Log: The latest cp tool is trying to use the btrfs clone operation that is implemented via ioctl interface. First of all return ENOTSUP for this operation as a cp fallbac

svn commit: r283495 - in head/sys: fs/pseudofs modules/pseudofs

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:11:22 2015 New Revision: 283495 URL: https://svnweb.freebsd.org/changeset/base/283495 Log: Hide vfs.pfs.trace variable if it is not used. Modified: head/sys/fs/pseudofs/pseudofs.c head/sys/modules/pseudofs/Makefile Modified: head/sys/fs/pseudofs/pseudofs

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:10:07 2015 New Revision: 283494 URL: https://svnweb.freebsd.org/changeset/base/283494 Log: Fix an mbuf(9) leak in sendmsg() under failure condition and remove unneeded check for failed M_WAITOK allocation. Found by: Brainy Code Scanner Reported by: Ma

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:09:01 2015 New Revision: 283493 URL: https://svnweb.freebsd.org/changeset/base/283493 Log: Regen for r283492. Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c head/sys/amd64/linux/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:08:01 2015 New Revision: 283492 URL: https://svnweb.freebsd.org/changeset/base/283492 Log: Implement Linux specific syncfs() system call. Modified: head/sys/amd64/linux/linux_dummy.c head/sys/amd64/linux/syscalls.master head/sys/amd64/linux32/linux32_du

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:06:46 2015 New Revision: 283491 URL: https://svnweb.freebsd.org/changeset/base/283491 Log: Properly check tv_nsec value. The tv_nsec field can also be one of the special value UTIME_NOW or UTIME_OMIT. Modified: head/sys/compat/linux/linux_misc.c Modified

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:06:12 2015 New Revision: 283490 URL: https://svnweb.freebsd.org/changeset/base/283490 Log: Since FreeBSD supports SOCK_CLOEXEC & SOCK_NONBLOCK options remove its emulation via fcntl call from Linuxulator. Modified: head/sys/compat/linux/linux_socket.c Mo

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:05:21 2015 New Revision: 283489 URL: https://svnweb.freebsd.org/changeset/base/283489 Log: Regen for r283488. Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c head/sys/amd64/linux/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:04:04 2015 New Revision: 283488 URL: https://svnweb.freebsd.org/changeset/base/283488 Log: Implement recvmmsg() and sendmmsg() system calls. Modified: head/sys/amd64/linux/linux_dummy.c head/sys/amd64/linux/syscalls.master head/sys/amd64/linux32/linux32

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:03:14 2015 New Revision: 283487 URL: https://svnweb.freebsd.org/changeset/base/283487 Log: Reduce duplication between MD Linux code by moving msg related struct definitions out into the compat/linux/linux_socket.h Modified: head/sys/amd64/linux/linux.h

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:02:17 2015 New Revision: 283486 URL: https://svnweb.freebsd.org/changeset/base/283486 Log: Regen for r283484. Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_syscall.h head/sys/amd64/linux32/linux32_syscalls.c head/sys/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 18:00:14 2015 New Revision: 283484 URL: https://svnweb.freebsd.org/changeset/base/283484 Log: Implement epoll_pwait() system call. Modified: head/sys/amd64/linux/linux_dummy.c head/sys/amd64/linux32/linux32_dummy.c head/sys/amd64/linux32/syscalls.master

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:59:17 2015 New Revision: 283483 URL: https://svnweb.freebsd.org/changeset/base/283483 Log: Convert signal number to native for VT_SETMODE ioctl and remove strange and invalid ISSIGVALID macro. The code has not been tested right way but it was originally br

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:58:24 2015 New Revision: 283482 URL: https://svnweb.freebsd.org/changeset/base/283482 Log: Regen for r283480. Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c head/sys/amd64/linux/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:57:07 2015 New Revision: 283480 URL: https://svnweb.freebsd.org/changeset/base/283480 Log: Add utimensat() system call. The patch developed by Jilles Tjoelker and Andrew Wilcox and adopted for lemul branch by me. Modified: head/sys/amd64/linux/linux_

svn commit: r283479 - in head/sys: amd64/amd64 amd64/ia32 arm/arm i386/i386 mips/mips powerpc/powerpc sparc64/sparc64

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:56:02 2015 New Revision: 283479 URL: https://svnweb.freebsd.org/changeset/base/283479 Log: The kernel sends signals to the processes via ABI specific sv_sendsig method. Native ABI do not need signal conversion, only emulators may want this. Usually emulat

svn commit: r283478 - head/sys/compat/linprocfs

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:53:48 2015 New Revision: 283478 URL: https://svnweb.freebsd.org/changeset/base/283478 Log: Simplify linprocfs_doprocenviron(). Remove extra proc visibility checks and initialize pn_vis by well known procfs_candebug(). Modified: head/sys/compat/linprocfs/l

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:49:09 2015 New Revision: 283476 URL: https://svnweb.freebsd.org/changeset/base/283476 Log: Convert Linux signal number to the FreeBSD. Modified: head/sys/compat/linux/linux_timer.c Modified: head/sys/compat/linux/linux_timer.c =

svn commit: r283475 - head/sys/compat/linprocfs

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:48:34 2015 New Revision: 283475 URL: https://svnweb.freebsd.org/changeset/base/283475 Log: Convert Linux sigsets before showing. Linux kernel displays sigset always as 16x4 bit mask. Modified: head/sys/compat/linprocfs/linprocfs.c Modified: head/sys/comp

svn commit: r283474 - in head/sys: amd64/linux amd64/linux32 compat/linux conf i386/linux modules/linux modules/linux_common

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:47:20 2015 New Revision: 283474 URL: https://svnweb.freebsd.org/changeset/base/283474 Log: Rework signal code to allow using it by other modules, like linprocfs: 1. Linux sigset always 64 bit on all platforms. In order to move Linux sigset code to the l

svn commit: r283473 - head/sys/compat/linprocfs

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:46:04 2015 New Revision: 283473 URL: https://svnweb.freebsd.org/changeset/base/283473 Log: Add support for /proc//auxv. Modified: head/sys/compat/linprocfs/linprocfs.c Modified: head/sys/compat/linprocfs/linprocfs.c

svn commit: r283472 - head/sys/compat/linprocfs

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:44:42 2015 New Revision: 283472 URL: https://svnweb.freebsd.org/changeset/base/283472 Log: Add vdso and stack names to the /proc/self/maps. Modified: head/sys/compat/linprocfs/linprocfs.c Modified: head/sys/compat/linprocfs/linprocfs.c

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:44:08 2015 New Revision: 283471 URL: https://svnweb.freebsd.org/changeset/base/283471 Log: According to Linux man sigaltstack(3) shall return EINVAL if the ss argument is not a null pointer, and the ss_flags member pointed to by ss contains flags other tha

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:42:45 2015 New Revision: 283470 URL: https://svnweb.freebsd.org/changeset/base/283470 Log: Add EPOLLERR flag handling to epoll. Tested by:abi at abinet dot ru Modified: head/sys/compat/linux/linux_event.c head/sys/compat/linux/linux_event.h Modi

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:40:14 2015 New Revision: 283469 URL: https://svnweb.freebsd.org/changeset/base/283469 Log: As fo_fill_kinfo() does not check fo_fill_kinfo to NULL add a fo_fill_kinfo op to eventfdops. Reported by: trinity Modified: head/sys/compat/linux/linux_event

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:39:18 2015 New Revision: 283468 URL: https://svnweb.freebsd.org/changeset/base/283468 Log: Regen for r283467. Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c head/sys/amd64/linux/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:38:02 2015 New Revision: 283467 URL: https://svnweb.freebsd.org/changeset/base/283467 Log: Call nosys in case when the incorrect syscall number is specified. Reported by: trinity Modified: head/sys/amd64/linux/linux_sysvec.c head/sys/amd64/linux/sys

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:35:42 2015 New Revision: 283466 URL: https://svnweb.freebsd.org/changeset/base/283466 Log: Regen for r283465. Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c head/sys/amd64/linux/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:33:21 2015 New Revision: 283465 URL: https://svnweb.freebsd.org/changeset/base/283465 Log: Add preliminary fallocate system call implementation to emulate posix_fallocate() function. Differential Revision:https://reviews.freebsd.org/D1523 Revi

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:30:31 2015 New Revision: 283464 URL: https://svnweb.freebsd.org/changeset/base/283464 Log: Delete the duplicate of linux_to_native_clockid() function. Differential Revision:https://reviews.freebsd.org/D1521 Reviewed by: trasz Modified: head/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:29:18 2015 New Revision: 283463 URL: https://svnweb.freebsd.org/changeset/base/283463 Log: Do not use struct l_timespec without conversion. While here move args->timeout handling before acquiring the futex key at FUTEX_WAIT path. Differential Revision:

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:27:59 2015 New Revision: 283462 URL: https://svnweb.freebsd.org/changeset/base/283462 Log: Add prototypes for static futex functions. Differential Revision:https://reviews.freebsd.org/D1519 Reviewed by: trasz Modified: head/sys/compat/linux/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:26:58 2015 New Revision: 283461 URL: https://svnweb.freebsd.org/changeset/base/283461 Log: As for now our tmpfs is no longer being considered "highly experimental" remove /dev/shm magic commited in r218497 and convert tmpfs type to an expected magic number

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:25:57 2015 New Revision: 283460 URL: https://svnweb.freebsd.org/changeset/base/283460 Log: Print out unsupported futex operation message only once for the process. Differential Revision:https://reviews.freebsd.org/D1498 Modified: head/sys/compa

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:23:08 2015 New Revision: 283459 URL: https://svnweb.freebsd.org/changeset/base/283459 Log: Add some clock mappings used in glibc 2.20. Differential Revision:https://reviews.freebsd.org/D1465 Reviewd by: trasz Modified: head/sys/compat/linux

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:09:07 2015 New Revision: 283456 URL: https://svnweb.freebsd.org/changeset/base/283456 Log: Improve ktr(9) records in thread managment code. Differential Revision:https://reviews.freebsd.org/D1464 Reviewed by: trasz Modified: head/sys/compat/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:08:25 2015 New Revision: 283455 URL: https://svnweb.freebsd.org/changeset/base/283455 Log: Use local struct proc * varable instead of dereferencing td->td_proc. Differential Revision:https://reviews.freebsd.org/D1463 Reviewed by: emaste Modifi

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:07:10 2015 New Revision: 283454 URL: https://svnweb.freebsd.org/changeset/base/283454 Log: 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. Differential Re

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:05:59 2015 New Revision: 283453 URL: https://svnweb.freebsd.org/changeset/base/283453 Log: Remove the unnecessary cast. Differential Revision:https://reviews.freebsd.org/D1461 Reviewed by: emaste Modified: head/sys/compat/linux/linux_emul.c

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 17:00:43 2015 New Revision: 283452 URL: https://svnweb.freebsd.org/changeset/base/283452 Log: Regen for r283451. Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c head/sys/amd64/linux/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:59:25 2015 New Revision: 283451 URL: https://svnweb.freebsd.org/changeset/base/283451 Log: Implement ppoll() system call. Differential Revision:https://reviews.freebsd.org/D1105 Reviewed by: trasz Modified: head/sys/amd64/linux/linux_dummy.c

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:56:32 2015 New Revision: 283450 URL: https://svnweb.freebsd.org/changeset/base/283450 Log: td_sigmask of a newly created thread copied from td. Remove excess initialization of td_sigmask. Differential Revision:https://reviews.freebsd.org/D1128

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:55:32 2015 New Revision: 283449 URL: https://svnweb.freebsd.org/changeset/base/283449 Log: Update Linux compat revision to 32. Differential Revision:https://reviews.freebsd.org/D1122 Reviewed by: emaste Modified: head/sys/compat/linux/linux_

svn commit: r283448 - head/sys/modules

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:53:32 2015 New Revision: 283448 URL: https://svnweb.freebsd.org/changeset/base/283448 Log: Connect linux64 module to the build. Differential Revision:https://reviews.freebsd.org/D1097 Reviewed by: emaste Modified: head/sys/modules/Makefile

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:52:45 2015 New Revision: 283447 URL: https://svnweb.freebsd.org/changeset/base/283447 Log: Fix linux_common module build with KTR option. Differential Revision:https://reviews.freebsd.org/D1096 Reviewed by: trasz Modified: head/sys/compat/li

svn commit: r283446 - head/sys/amd64/linux32

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:51:04 2015 New Revision: 283446 URL: https://svnweb.freebsd.org/changeset/base/283446 Log: Include opt_compat.h, so that COMPAT_LINUX32 is defined, and we can access to the semop structs and functions. Submitted by: cognet@ Differential Revision:

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:50:17 2015 New Revision: 283445 URL: https://svnweb.freebsd.org/changeset/base/283445 Log: Regen for r283444. Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c head/sys/amd64/linux/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:49:14 2015 New Revision: 283444 URL: https://svnweb.freebsd.org/changeset/base/283444 Log: Implement eventfd system call. Differential Revision:https://reviews.freebsd.org/D1094 In collaboration with:Jilles Tjoelker Modified: head/sys

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:47:13 2015 New Revision: 283443 URL: https://svnweb.freebsd.org/changeset/base/283443 Log: Put the correct value for the abi_nfdbits parameter of kern_select() for all supported Linuxulators. Differential Revision:https://reviews.freebsd.org/D10

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:42:49 2015 New Revision: 283442 URL: https://svnweb.freebsd.org/changeset/base/283442 Log: Regen for r283441. Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c head/sys/amd64/linux/

svn commit: r283441 - in head/sys: amd64/linux amd64/linux32 compat/linux conf i386/linux modules/linux modules/linux64

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:41:39 2015 New Revision: 283441 URL: https://svnweb.freebsd.org/changeset/base/283441 Log: Implement epoll family system calls. This is a tiny wrapper around kqueue() to implement epoll subset of functionality. The kqueue user data are 32bit on i386 which

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:36:29 2015 New Revision: 283440 URL: https://svnweb.freebsd.org/changeset/base/283440 Log: 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 double fp lookup add a

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:34:57 2015 New Revision: 283439 URL: https://svnweb.freebsd.org/changeset/base/283439 Log: Implement F_DUPFD_CLOEXEC fcntl flag. Differential Revision:https://reviews.freebsd.org/D1089 Reviewed by: trasz Modified: head/sys/compat/linux/linux

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:32:52 2015 New Revision: 283438 URL: https://svnweb.freebsd.org/changeset/base/283438 Log: Add several fcntl flags. Differential Revision:https://reviews.freebsd.org/D1088 Reviewed by: trasz Modified: head/sys/compat/linux/linux_file.h Modi

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:31:44 2015 New Revision: 283437 URL: https://svnweb.freebsd.org/changeset/base/283437 Log: To avoid code duplication move open/fcntl definitions to the MI header file. Differential Revision:https://reviews.freebsd.org/D1087 Reviewed by: trasz

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:30:23 2015 New Revision: 283436 URL: https://svnweb.freebsd.org/changeset/base/283436 Log: Use the BSD_TO_LINUX_SIGNAL() wherever there is no need to check the ABI as it is known. Differential Revision:https://reviews.freebsd.org/D1086 Modified

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:28:58 2015 New Revision: 283435 URL: https://svnweb.freebsd.org/changeset/base/283435 Log: Convert Linux wait options to the FreeBSD. Check wait options as a Linux do. Linux always set WEXITED option not a WUNTRACED|WNOHANG which is a strange bug. D

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:27:38 2015 New Revision: 283434 URL: https://svnweb.freebsd.org/changeset/base/283434 Log: Set WIFCONTINUED to the wait status if needed. Differential Revision:https://reviews.freebsd.org/D1083 Reviewed by: trasz Modified: head/sys/compat/li

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:26:55 2015 New Revision: 283433 URL: https://svnweb.freebsd.org/changeset/base/283433 Log: Rewrite linux_recvfrom. To avoid double conversion of sockaddr use kern_recvit() directly. And check fromlen parameter before sockaddr copyin and conversion. Di

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:25:44 2015 New Revision: 283432 URL: https://svnweb.freebsd.org/changeset/base/283432 Log: Being exported through vdso the note.Linux section used by glibc to determine the kernel version (this saves one uname call). Temporarily disable the export of a not

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:24:24 2015 New Revision: 283431 URL: https://svnweb.freebsd.org/changeset/base/283431 Log: 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. Differential Revision

svn commit: r283430 - head/usr.bin/kdump

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:22:03 2015 New Revision: 283430 URL: https://svnweb.freebsd.org/changeset/base/283430 Log: Teach kdump to understand both linux emulation. Differential Revision:https://reviews.freebsd.org/D1079 Reviewed by: emaste Added: head/usr.bin/kdump/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:19:57 2015 New Revision: 283429 URL: https://svnweb.freebsd.org/changeset/base/283429 Log: Regen for r283428. Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c head/sys/amd64/linux/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:18:03 2015 New Revision: 283428 URL: https://svnweb.freebsd.org/changeset/base/283428 Log: Change linux faccessat syscall definition to match actual linux one. The AT_EACCESS and AT_SYMLINK_NOFOLLOW flags are actually implemented within the glibc wrappe

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:14:41 2015 New Revision: 283427 URL: https://svnweb.freebsd.org/changeset/base/283427 Log: Where possible we will use M_LINUX malloc(9) type. Move M_FUTEX defines to the linux_common.ko. Differential Revision:https://reviews.freebsd.org/D1077

svn commit: r283425 - head/sys/amd64/linux

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:11:21 2015 New Revision: 283425 URL: https://svnweb.freebsd.org/changeset/base/283425 Log: Regen for r283424. Added: head/sys/amd64/linux/linux_proto.h (contents, props changed) head/sys/amd64/linux/linux_syscall.h (contents, props changed) head/sys

svn commit: r283426 - in head/sys: arm/arm arm/conf conf

2015-05-24 Thread Andrew Turner
Author: andrew Date: Sun May 24 16:11:30 2015 New Revision: 283426 URL: https://svnweb.freebsd.org/changeset/base/283426 Log: Add support for getting the memory map from EFI if it has been pased in by loader.efi. Modified: head/sys/arm/arm/machdep.c head/sys/arm/conf/VIRT head/sys/conf/

svn commit: r283424 - in head/sys: amd64/linux modules/linux64

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:07:11 2015 New Revision: 283424 URL: https://svnweb.freebsd.org/changeset/base/283424 Log: Add preliminary support for x86-64 Linux binaries. Differential Revision:https://reviews.freebsd.org/D1076 Added: head/sys/amd64/linux/ head/sys/amd64/

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 16:00:01 2015 New Revision: 283423 URL: https://svnweb.freebsd.org/changeset/base/283423 Log: Move FEATURE macros for v4l and v4l2 to the common module. Differential Revision:https://reviews.freebsd.org/D1075 Reviewed by: emaste Modified: head/

svn commit: r283422 - in head/sys: amd64/linux32 compat/linux modules/linux modules/linux_common

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:54:58 2015 New Revision: 283422 URL: https://svnweb.freebsd.org/changeset/base/283422 Log: Refund the proc emuldata struct for future use. For now move flags from thread emuldata to proc emuldata as it was originally intended. As we can have both 64 & 3

svn commit: r283421 - in head/sys: amd64/linux32 compat/linprocfs compat/linsysfs compat/linux conf i386/linux modules modules/linprocfs modules/linsysfs modules/linux modules/linux_common

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:51:18 2015 New Revision: 283421 URL: https://svnweb.freebsd.org/changeset/base/283421 Log: Introduce a new module linux_common.ko which is intended for the following primary purposes: 1. Remove the dependency of linsysfs and linprocfs modules from linux

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:48:34 2015 New Revision: 283420 URL: https://svnweb.freebsd.org/changeset/base/283420 Log: Add newfstatat system call for 64-bit Linuxulator. Differential Revision:https://reviews.freebsd.org/D1071 Reviewed by: trasz Modified: head/sys/compa

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:47:15 2015 New Revision: 283419 URL: https://svnweb.freebsd.org/changeset/base/283419 Log: Fix compilation with -DDEBUG option. Differential Revision:https://reviews.freebsd.org/D1070 Reviewed by: trasz Modified: head/sys/compat/linux/linux_

svn commit: r283418 - head/lib/libiconv_modules/UTF7

2015-05-24 Thread Tijl Coosemans
Author: tijl Date: Sun May 24 15:47:06 2015 New Revision: 283418 URL: https://svnweb.freebsd.org/changeset/base/283418 Log: When only 2 bytes can be read from a 4 byte UTF-16 character in a base64 encoded chunk of a UTF-7 string, treat that as an incomplete character and return an error inst

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:45:36 2015 New Revision: 283417 URL: https://svnweb.freebsd.org/changeset/base/283417 Log: Add 64 bit support to the vdso. Differential Revision:https://reviews.freebsd.org/D1069 Reviewed by: trasz Modified: head/sys/compat/linux/linux_vdso.

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:44:41 2015 New Revision: 283416 URL: https://svnweb.freebsd.org/changeset/base/283416 Log: x86_64 Linux do not use multiplexing on ipc system calls. Move struct ipc_perm definition to the MD path as it differs for 64 and 32 bit platform. Differential

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:43:53 2015 New Revision: 283415 URL: https://svnweb.freebsd.org/changeset/base/283415 Log: Disable i386 call for x86-64 Linux. Differential Revision:https://reviews.freebsd.org/D1067 Reviewed by: trasz Modified: head/sys/compat/linux/linux_f

svn commit: r283414 - head/sys/compat/linprocfs

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:42:36 2015 New Revision: 283414 URL: https://svnweb.freebsd.org/changeset/base/283414 Log: Print out proper procmap entry for 64 bit binaries. Differential Revision:https://reviews.freebsd.org/D1066 Reviewed by: trasz Modified: head/sys/comp

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:41:27 2015 New Revision: 283413 URL: https://svnweb.freebsd.org/changeset/base/283413 Log: 64-bit paltforms, like x86_64, do not use multiplexing on socketcall system calls. Differential Revision:https://reviews.freebsd.org/D1065 Reviewed by:

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:39:08 2015 New Revision: 283412 URL: https://svnweb.freebsd.org/changeset/base/283412 Log: 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. Differential Revision:htt

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

2015-05-24 Thread Dmitry Chagin
Author: dchagin Date: Sun May 24 15:32:52 2015 New Revision: 283411 URL: https://svnweb.freebsd.org/changeset/base/283411 Log: Remove stale comment about a signal trampoline which is moved to the shared page at r219609. Differential Revision:https://reviews.freebsd.org/D1063 Rev

  1   2   >