Re: svn commit: r286170 - head/share/man/man9

2015-08-20 Thread Ed Schouten
2015-08-21 8:17 GMT+02:00 Hans Petter Selasky : > Here is one more argument against using "_Static_assert()": > > According to "http://en.cppreference.com/w/c/language/_Static_assert"; > _Static_assert is C11 syntax only, and we compile the kernel using > "-std=iso9899:1999" according to "conf/kern

svn commit: r286981 - head/sys/teken

2015-08-20 Thread Ed Schouten
Author: ed Date: Fri Aug 21 06:30:13 2015 New Revision: 286981 URL: https://svnweb.freebsd.org/changeset/base/286981 Log: Don't truncate cursor arithmetic to 16 bits. When updating the row number when the cursor position escape sequence is issued, we should make sure to store the intermed

Re: svn commit: r286170 - head/share/man/man9

2015-08-20 Thread Hans Petter Selasky
On 08/04/15 19:10, John-Mark Gurney wrote: Hans Petter Selasky wrote this message on Tue, Aug 04, 2015 at 12:48 +0200: My gut feeling is it's good practice to have those wrapper macros because they isolate the compiler into a consistent and coherent API. Except that we now have a consistent an

svn commit: r286978 - head/lib/libc/sys

2015-08-20 Thread Benjamin Kaduk
Author: bjk (doc committer) Date: Fri Aug 21 02:42:14 2015 New Revision: 286978 URL: https://svnweb.freebsd.org/changeset/base/286978 Log: Editing pass on procctl.2 Spell "descendant" correctly. Grammar fixes. Use correct width argument to Bl. Use Po and Pc to avoid leaving a

svn commit: r286977 - head/sys/powerpc/booke

2015-08-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 21 02:41:35 2015 New Revision: 286977 URL: https://svnweb.freebsd.org/changeset/base/286977 Log: Add initial boot support for e500mc and e5500. * Since r257190 the kernel must actually be loaded at a 64MB boundary, not 16MB. * Don't program HID1 register on

svn commit: r286976 - head/sys/powerpc/mpc85xx

2015-08-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 21 02:22:51 2015 New Revision: 286976 URL: https://svnweb.freebsd.org/changeset/base/286976 Log: Simplify the PCI bus scanning logic. Rather than special casing on PCIC_BRIDGE || PCIC_PROCESSOR, allow all HDRTYPE_BRIDGE types. Obtained from:Semi

svn commit: r286975 - in head: lib/libc/sys sys/kern

2015-08-20 Thread Konstantin Belousov
Author: kib Date: Thu Aug 20 22:44:26 2015 New Revision: 286975 URL: https://svnweb.freebsd.org/changeset/base/286975 Log: If process becomes reaper (procctl(PROC_REAP_ACQUIRE)) while already having some children, the children' reaper is not reset to the parent. This allows for the situation

Re: svn commit: r286974 - head/share/man/man9

2015-08-20 Thread Bryan Drewery
On 8/20/15 3:26 PM, Konstantin Belousov wrote: > On Thu, Aug 20, 2015 at 10:14:43PM +, Bryan Drewery wrote: >> Author: bdrewery >> Date: Thu Aug 20 22:14:43 2015 >> New Revision: 286974 >> URL: https://svnweb.freebsd.org/changeset/base/286974 >> >> Log: >> Remove reference to non-existent ker

Re: svn commit: r286974 - head/share/man/man9

2015-08-20 Thread Konstantin Belousov
On Thu, Aug 20, 2015 at 10:14:43PM +, Bryan Drewery wrote: > Author: bdrewery > Date: Thu Aug 20 22:14:43 2015 > New Revision: 286974 > URL: https://svnweb.freebsd.org/changeset/base/286974 > > Log: > Remove reference to non-existent kern_openat(9). The man page does not exist, but the funct

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

2015-08-20 Thread Bryan Drewery
Author: bdrewery Date: Thu Aug 20 22:14:43 2015 New Revision: 286974 URL: https://svnweb.freebsd.org/changeset/base/286974 Log: Remove reference to non-existent kern_openat(9). MFC after:3 days Sponsored by: EMC / Isilon Storage Division Modified: head/share/man/man9/devfs_set_cdev

svn commit: r286973 - in head/bin/sh: . tests/parser

2015-08-20 Thread Jilles Tjoelker
Author: jilles Date: Thu Aug 20 22:05:55 2015 New Revision: 286973 URL: https://svnweb.freebsd.org/changeset/base/286973 Log: sh: Avoid negative character values from $'\U' etc. The negative value was not expected and generated the low 8 bits as a byte, which may be an invalid cha

svn commit: r286972 - head/contrib/hyperv/tools

2015-08-20 Thread Pedro F. Giffuni
Author: pfg Date: Thu Aug 20 21:49:59 2015 New Revision: 286972 URL: https://svnweb.freebsd.org/changeset/base/286972 Log: Appease gcc-4.2 It needs to die, but it resists mipsteriously. Submitted by: Oliver Pinter Modified: head/contrib/hyperv/tools/hv_kvp_daemon.c Modified: head/c

svn commit: r286971 - head/bin/sh/tests/parser

2015-08-20 Thread Jilles Tjoelker
Author: jilles Date: Thu Aug 20 21:31:36 2015 New Revision: 286971 URL: https://svnweb.freebsd.org/changeset/base/286971 Log: sh: Add test for $'\u' without any digits. It is likely that $'\u' and $'\U' will allow fewer digits in future. However, no digits at all should still

Re: svn commit: r286967 - head/sys/boot/efi

2015-08-20 Thread Oliver Pinter
On 8/20/15, Craig Rodrigues wrote: > On Thu, Aug 20, 2015 at 11:31 AM, Warner Losh wrote: > >> The flags -mno-aes -mno-avx only exist for clang, not gcc, so >> add them only to the clang CFLAGS. >> >> > It would be more accurate to say that these flags do not exist for gcc 4.2. > They do exis

Re: svn commit: r286967 - head/sys/boot/efi

2015-08-20 Thread Craig Rodrigues
On Thu, Aug 20, 2015 at 11:31 AM, Warner Losh wrote: > The flags -mno-aes -mno-avx only exist for clang, not gcc, so > add them only to the clang CFLAGS. > > It would be more accurate to say that these flags do not exist for gcc 4.2. They do exist for gcc 4.7: https://gcc.gnu.org/onlinedocs/g

svn commit: r286970 - head/sys/vm

2015-08-20 Thread Ryan Stone
Author: rstone Date: Thu Aug 20 20:28:51 2015 New Revision: 286970 URL: https://svnweb.freebsd.org/changeset/base/286970 Log: Prevent ticks rollover from preventing vm_lowmem event Currently vm_pageout_scan() uses a ticks-based scheme to rate-limit the number of times that the vm_lowmem e

svn commit: r286969 - head/sys/arm/arm

2015-08-20 Thread Ian Lepore
Author: ian Date: Thu Aug 20 19:39:15 2015 New Revision: 286969 URL: https://svnweb.freebsd.org/changeset/base/286969 Log: Remove code left over from the armv4 days. On armv4, cache maintenance operations always had to be aligned and sized to cache lines. On armv6 and later, cache maintena

svn commit: r286968 - head/sys/arm/arm

2015-08-20 Thread Ian Lepore
Author: ian Date: Thu Aug 20 19:14:16 2015 New Revision: 286968 URL: https://svnweb.freebsd.org/changeset/base/286968 Log: Minor comment and style fixes, no functional change. Submitted by: Svatopluk Kraus Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys/arm/ar

svn commit: r286967 - head/sys/boot/efi

2015-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 18:31:05 2015 New Revision: 286967 URL: https://svnweb.freebsd.org/changeset/base/286967 Log: The flags -mno-aes -mno-avx only exist for clang, not gcc, so add them only to the clang CFLAGS. Modified: head/sys/boot/efi/Makefile.inc Modified: head/sys/boot/efi/M

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

2015-08-20 Thread Bryan Drewery
Author: bdrewery Date: Thu Aug 20 18:22:06 2015 New Revision: 286966 URL: https://svnweb.freebsd.org/changeset/base/286966 Log: Add link for rw_unlock(9) to rwlock(9). MFC after:3 days Sponsored by: EMC / Isilon Storage Division Modified: head/share/man/man9/Makefile Modified: hea

svn commit: r286965 - in head: sbin/camcontrol sys/cam/scsi

2015-08-20 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 20 16:07:51 2015 New Revision: 286965 URL: https://svnweb.freebsd.org/changeset/base/286965 Log: Revamp camcontrol(8) fwdownload support and add the opcodes subcommand. The significant changes and bugs fixed here are: 1. Fixed a bug in the progress display cod

svn commit: r286964 - in head: etc/mtree usr.sbin/fstyp usr.sbin/fstyp/tests

2015-08-20 Thread Alan Somers
Author: asomers Date: Thu Aug 20 15:37:47 2015 New Revision: 286964 URL: https://svnweb.freebsd.org/changeset/base/286964 Log: Add ATF functional tests for fstyp(8). No ZFS or GELI tests yet. Reviewed by: trasz, ngie MFC after:2 weeks Sponsored by: SpectraLogic Differential Revi

svn commit: r286963 - head/usr.bin/truss

2015-08-20 Thread John Baldwin
Author: jhb Date: Thu Aug 20 14:51:11 2015 New Revision: 286963 URL: https://svnweb.freebsd.org/changeset/base/286963 Log: Handle the conditional decoding of execve() argument and environment arrays generically rather than duplicating a hack in all of the backends. - Add two new system call

svn commit: r286962 - head/usr.bin/truss

2015-08-20 Thread John Baldwin
Author: jhb Date: Thu Aug 20 14:33:30 2015 New Revision: 286962 URL: https://svnweb.freebsd.org/changeset/base/286962 Log: Rework the argv and env string fetching for execve to be more robust. Before truss would fetch 100 string pointers and happily walk off the end of the array if it never

Re: svn commit: r286955 - in head/sys: net netinet netinet6

2015-08-20 Thread Alexander V . Chernikov
20.08.2015, 16:29, "Bjoern A. Zeeb" : >>  On 20 Aug 2015, at 13:13 , George Neville-Neil >> wrote: >> >>  Why was this work not in Phabricator? This is a large change that has not >> been reviewed, >>  as far as I can tell, by anyone else on the project. I am tempted to ask >> that this be back

svn commit: r286960 - head/sys/arm/include

2015-08-20 Thread Konstantin Belousov
Author: kib Date: Thu Aug 20 13:37:08 2015 New Revision: 286960 URL: https://svnweb.freebsd.org/changeset/base/286960 Log: Typo. Modified: head/sys/arm/include/proc.h Modified: head/sys/arm/include/proc.h == --- head

Re: svn commit: r286955 - in head/sys: net netinet netinet6

2015-08-20 Thread Bjoern A. Zeeb
> On 20 Aug 2015, at 13:13 , George Neville-Neil wrote: > > Why was this work not in Phabricator? This is a large change that has not > been reviewed, > as far as I can tell, by anyone else on the project. I am tempted to ask > that this be backed out > and reviewed BEFORE it goes into the t

Re: svn commit: r286955 - in head/sys: net netinet netinet6

2015-08-20 Thread George Neville-Neil
Why was this work not in Phabricator? This is a large change that has not been reviewed, as far as I can tell, by anyone else on the project. I am tempted to ask that this be backed out and reviewed BEFORE it goes into the tree. Best, George On 20 Aug 2015, at 13:05, Alexander V. Chernikov

svn commit: r286959 - in head/lib/libc/aarch64: . gen

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 13:11:52 2015 New Revision: 286959 URL: https://svnweb.freebsd.org/changeset/base/286959 Log: Add the definitions of __infinity and __nan. Added: head/lib/libc/aarch64/gen/infinity.c - copied, changed from r286954, head/lib/libc/amd64/gen/infinity.c Modifi

svn commit: r286958 - in head/sys: arm64/arm64 vm

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 12:49:56 2015 New Revision: 286958 URL: https://svnweb.freebsd.org/changeset/base/286958 Log: Add the kernel support for minidumps on arm64. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Differential Revision:https://r

svn commit: r286957 - head/sys/arm64/include

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 12:07:44 2015 New Revision: 286957 URL: https://svnweb.freebsd.org/changeset/base/286957 Log: Remove pmap_kenter from pmap.h, the function doesn't exist. Modified: head/sys/arm64/include/md_var.h head/sys/arm64/include/pmap.h Modified: head/sys/arm64/include

svn commit: r286956 - in head/sys/arm64: arm64 include

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 12:05:42 2015 New Revision: 286956 URL: https://svnweb.freebsd.org/changeset/base/286956 Log: Add pmap_get_tables to get the page tables for a given virtual address. This will be used for minidump support. Obtained from:ABT Systems Ltd Sponsored b

svn commit: r286955 - in head/sys: net netinet netinet6

2015-08-20 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Aug 20 12:05:17 2015 New Revision: 286955 URL: https://svnweb.freebsd.org/changeset/base/286955 Log: * Split allocation and table linking for lle's. Before that, the logic besides lle_create() was the following: return existing if found, create if not. This beh

svn commit: r286954 - head/sys/arm64/include

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 11:26:26 2015 New Revision: 286954 URL: https://svnweb.freebsd.org/changeset/base/286954 Log: Add the arm64 minidump header. This was missed from r286953. Added: head/sys/arm64/include/minidump.h - copied, changed from r286130, head/sys/i386/include/minidu

svn commit: r286953 - head/lib/libkvm

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 11:07:51 2015 New Revision: 286953 URL: https://svnweb.freebsd.org/changeset/base/286953 Log: Add support to libkvm for reading minidumps on arm64. The kernel side is missing until it can be cleaned up. Reviewed by: jhb Approved by: ABT Systems Ltd Sp

svn commit: r286951 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-20 Thread Alexander Motin
Author: mav Date: Thu Aug 20 07:41:33 2015 New Revision: 286951 URL: https://svnweb.freebsd.org/changeset/base/286951 Log: Restore part of r274628, reverted at r286776. Submitted by: avg Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/