svn commit: r295391 - head/sys/kern

2016-02-08 Thread Konstantin Belousov
Author: kib Date: Mon Feb 8 10:54:27 2016 New Revision: 295391 URL: https://svnweb.freebsd.org/changeset/base/295391 Log: Remove the assert which outlived its usefulness, and, by default, disable compilation of the code which made it possible to call stop_all_proc() from usermode at all.

svn commit: r295392 - stable/10/sys/kern

2016-02-08 Thread Konstantin Belousov
Author: kib Date: Mon Feb 8 11:15:36 2016 New Revision: 295392 URL: https://svnweb.freebsd.org/changeset/base/295392 Log: MFC r294735: Don't allow opening the callout device when the callin device is already open (in disguise as the console device). Approved by: re (gjb) Modified:

svn commit: r295393 - stable/10/sys/kern

2016-02-08 Thread Konstantin Belousov
Author: kib Date: Mon Feb 8 11:18:13 2016 New Revision: 295393 URL: https://svnweb.freebsd.org/changeset/base/295393 Log: MFC r294732: Minor fixes for ddb tty-related commands. Approved by: re (gjb) Modified: stable/10/sys/kern/tty.c Directory Properties: stable/10/ (props change

Re: svn commit: r295385 - in head: sys/kern tools/regression/sysvsem

2016-02-08 Thread Kubilay Kocak
On 8/02/2016 9:12 AM, Jilles Tjoelker wrote: > Author: jilles > Date: Sun Feb 7 22:12:39 2016 > New Revision: 295385 > URL: https://svnweb.freebsd.org/changeset/base/295385 > > Log: > semget(): Check for [EEXIST] error first. > > Although POSIX literally permits failing with [EINVAL] if IP

Re: svn commit: r293857 - stable/10/sys/dev/drm2/i915

2016-02-08 Thread Slawa Olhovchenkov
On Mon, Jan 25, 2016 at 01:49:09PM +0100, Jean-Sébastien Pédron wrote: > On 25/01/2016 11:50, Andriy Voskoboinyk wrote: > > Try to apply https://svnweb.freebsd.org/base?view=revision&revision=288653 > > (as for me, head/sys/dev/drm2/i915/i915_dma.c change fixes this) > > If this fixes the problem

svn commit: r295398 - in head: sys/boot/i386 targets/pseudo/userland/misc

2016-02-08 Thread Ed Maste
Author: emaste Date: Mon Feb 8 16:59:52 2016 New Revision: 295398 URL: https://svnweb.freebsd.org/changeset/base/295398 Log: Restore kgzldr on i386 only I previously disconnected kgzdr based on a misunderstanding. I'd still like to transition to supporting only the loader(8)-based b

svn commit: r295399 - head/share/examples/jails

2016-02-08 Thread Devin Teske
Author: dteske Date: Mon Feb 8 17:30:17 2016 New Revision: 295399 URL: https://svnweb.freebsd.org/changeset/base/295399 Log: Fix copy/paste error; s/ngX/eXb/ Modified: head/share/examples/jails/jib Modified: head/share/examples/jails/jib =

svn commit: r295400 - head/share/examples/jails

2016-02-08 Thread Devin Teske
Author: dteske Date: Mon Feb 8 17:36:46 2016 New Revision: 295400 URL: https://svnweb.freebsd.org/changeset/base/295400 Log: Provide additional information on overall purpose Modified: head/share/examples/jails/jib head/share/examples/jails/jng Modified: head/share/examples/jails/jib

svn commit: r295401 - head/share/examples/jails

2016-02-08 Thread Devin Teske
Author: dteske Date: Mon Feb 8 17:47:36 2016 New Revision: 295401 URL: https://svnweb.freebsd.org/changeset/base/295401 Log: Adjust MAC allocation algo to support layering Modified: head/share/examples/jails/jib head/share/examples/jails/jng Modified: head/share/examples/jails/jib ===

svn commit: r295402 - stable/10/sys/netpfil/pf

2016-02-08 Thread Gleb Smirnoff
Author: glebius Date: Mon Feb 8 17:47:58 2016 New Revision: 295402 URL: https://svnweb.freebsd.org/changeset/base/295402 Log: Merge r264915: fix NULL pointer derefernce with special sequence of DIOCADDADDR and DIOCADDRULE. PR: 206933 Approved by: re (marius) Modified: sta

svn commit: r295407 - in head/lib: libc/gen libc/include libc/sys libthr libthr/thread

2016-02-08 Thread Konstantin Belousov
Author: kib Date: Mon Feb 8 19:24:13 2016 New Revision: 295407 URL: https://svnweb.freebsd.org/changeset/base/295407 Log: If libthr.so is dlopened without RTLD_GLOBAL flag, the libthr symbols do not participate in the global symbols namespace, but rtld locks are still replaced and functions

svn commit: r295408 - head/sys/boot/efi/loader

2016-02-08 Thread Warner Losh
Author: imp Date: Mon Feb 8 19:34:17 2016 New Revision: 295408 URL: https://svnweb.freebsd.org/changeset/base/295408 Log: Implement -P for boot loader. It's a bit easier to implement here than in boot1, like is normally done. When a keyboard appears in the UEFI device tree, assume -D -h, ju

svn commit: r295409 - head/sys/boot/ficl

2016-02-08 Thread Pedro F. Giffuni
Author: pfg Date: Mon Feb 8 19:45:55 2016 New Revision: 295409 URL: https://svnweb.freebsd.org/changeset/base/295409 Log: ficl: Replace rand(3) with random(3). While the later is a better random generator than the former, the main reason of the change is that random() has a better chance

svn commit: r295410 - head/sys/boot/ficl

2016-02-08 Thread Pedro F. Giffuni
Author: pfg Date: Mon Feb 8 20:03:14 2016 New Revision: 295410 URL: https://svnweb.freebsd.org/changeset/base/295410 Log: ficl: Replace rand(3) with random(3). Be a little more consistent with random(3) and push an unsigned value. Again, this has no effect as this code doesn't get c

svn commit: r295411 - stable/10

2016-02-08 Thread Ed Maste
Author: emaste Date: Mon Feb 8 20:06:26 2016 New Revision: 295411 URL: https://svnweb.freebsd.org/changeset/base/295411 Log: MFC r280950: Move the efi loaders to be under sys/boot/efi In HEAD this was done to support UEFI on arm64. Merging to stable/10 to facilitate the merging of later

svn commit: r295413 - head/sys/conf

2016-02-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Feb 8 20:57:12 2016 New Revision: 295413 URL: https://svnweb.freebsd.org/changeset/base/295413 Log: kmod.mk: Support a beforebuild target such as bsd.prog.mk has. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/conf/kmod.mk Modified: head/sys/c

svn commit: r295414 - head/sys/conf

2016-02-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Feb 8 20:58:52 2016 New Revision: 295414 URL: https://svnweb.freebsd.org/changeset/base/295414 Log: kmod.mk: Ensure ILINKS are created before building. This allows skipping 'make depend' or running 'make clean all' without getting a flip-flopping dependency due

Re: svn commit: r295226 - head/lib/libmemstat

2016-02-08 Thread John Baldwin
On Thursday, February 04, 2016 09:06:03 AM Gleb Smirnoff wrote: > On Wed, Feb 03, 2016 at 04:41:26PM -0800, Bryan Drewery wrote: > B> On 2/3/2016 4:23 PM, Gleb Smirnoff wrote: > B> > Author: glebius > B> > Date: Thu Feb 4 00:23:21 2016 > B> > New Revision: 295226 > B> > URL: https://svnweb.freebsd

svn commit: r295416 - head/lib/libc/include

2016-02-08 Thread Mark Johnston
Author: markj Date: Mon Feb 8 22:02:56 2016 New Revision: 295416 URL: https://svnweb.freebsd.org/changeset/base/295416 Log: Fix the gcc build after r295407. X-MFC-With: r295407 Modified: head/lib/libc/include/libc_private.h Modified: head/lib/libc/include/libc_private.h =

svn commit: r295417 - head/sys/cam/scsi

2016-02-08 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 8 22:13:08 2016 New Revision: 295417 URL: https://svnweb.freebsd.org/changeset/base/295417 Log: Fix the SCSI Extended INQUIRY probe case when an error is returned and a retry is scheduled. Instead of leaving the device queue frozen, unfreeze the device queue so

Re: svn commit: r295226 - head/lib/libmemstat

2016-02-08 Thread Gleb Smirnoff
On Mon, Feb 08, 2016 at 01:21:18PM -0800, John Baldwin wrote: J> On Thursday, February 04, 2016 09:06:03 AM Gleb Smirnoff wrote: J> > On Wed, Feb 03, 2016 at 04:41:26PM -0800, Bryan Drewery wrote: J> > B> On 2/3/2016 4:23 PM, Gleb Smirnoff wrote: J> > B> > Author: glebius J> > B> > Date: Thu Feb 4

svn commit: r295418 - head/sys/kern

2016-02-08 Thread John Baldwin
Author: jhb Date: Mon Feb 8 23:06:27 2016 New Revision: 295418 URL: https://svnweb.freebsd.org/changeset/base/295418 Log: Mark proc0 as a kernel process via the P_KTHREAD flag. All other kernel processes have this flag set and all threads in proc0 (including thread0) have the similar TDP

svn commit: r295419 - head/sys/kern

2016-02-08 Thread John Baldwin
Author: jhb Date: Mon Feb 8 23:11:23 2016 New Revision: 295419 URL: https://svnweb.freebsd.org/changeset/base/295419 Log: Call kthread_exit() rather than kproc_exit() for a premature kthread exit. Kernel threads (and processes) are supposed to call kthread_exit() (or kproc_exit()) to ter

svn commit: r295420 - head/sys/boot/efi/loader/arch/arm

2016-02-08 Thread Andrew Turner
Author: andrew Date: Tue Feb 9 00:01:43 2016 New Revision: 295420 URL: https://svnweb.freebsd.org/changeset/base/295420 Log: Ensure the bss is aligned to a 4-byte address as we use 4-byte aligned stores to clear it. While here reduce the alignment of the data from 4k to 16 byte aligned.

svn commit: r295421 - head/sys/boot

2016-02-08 Thread Andrew Turner
Author: andrew Date: Tue Feb 9 00:15:41 2016 New Revision: 295421 URL: https://svnweb.freebsd.org/changeset/base/295421 Log: Stop clang from generating movt/movw sequences. These don't get relocated so will access data from an unrelocated address. This is only needed for self relocating cod

svn commit: r295422 - head/share/examples/jails

2016-02-08 Thread Devin Teske
Author: dteske Date: Tue Feb 9 01:41:03 2016 New Revision: 295422 URL: https://svnweb.freebsd.org/changeset/base/295422 Log: Adjust MAC algo to support interface branching Modified: head/share/examples/jails/jib head/share/examples/jails/jng Modified: head/share/examples/jails/jib ===

svn commit: r295424 - head/sys/dev/ofw

2016-02-08 Thread Adrian Chadd
Author: adrian Date: Tue Feb 9 03:35:40 2016 New Revision: 295424 URL: https://svnweb.freebsd.org/changeset/base/295424 Log: Teach ofw_bus_parse_xref_list_alloc to be able to return the length of the parsed list. Currently, there is no easy way to know in advance how many entries a list

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

2016-02-08 Thread Wojciech Macek
Author: wma Date: Tue Feb 9 06:26:27 2016 New Revision: 295425 URL: https://svnweb.freebsd.org/changeset/base/295425 Log: Ignore invalid page descriptors in ARM64 pmap_mincore Prevent the function from null-pointer-dereference when unexisting mapping is being processed. Obta