svn commit: r277973 - head/bin/sh

2015-01-31 Thread Jilles Tjoelker
Author: jilles Date: Sat Jan 31 13:53:29 2015 New Revision: 277973 URL: https://svnweb.freebsd.org/changeset/base/277973 Log: sh: Abort a wait builtin on any trapped signal. This is required by POSIX. PR: 197210 Reported by: ache MFC after:2 weeks Modified:

svn commit: r277976 - head/sys/conf

2015-01-31 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jan 31 15:20:58 2015 New Revision: 277976 URL: https://svnweb.freebsd.org/changeset/base/277976 Log: Fix build with device iscsi in kernel config. Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r277978 - head/sys/dev/iscsi

2015-01-31 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jan 31 15:22:45 2015 New Revision: 277978 URL: https://svnweb.freebsd.org/changeset/base/277978 Log: Use proper module name in MODULE_VERSION(). Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl_soft.c Modified: head/sys/dev/iscsi/icl_soft.c

svn commit: r277974 - head/sys/dev/usb/input

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sat Jan 31 14:18:46 2015 New Revision: 277974 URL: https://svnweb.freebsd.org/changeset/base/277974 Log: Fix a bunch of -Wcast-qual warnings in sys/dev/usb/input/uhid.c, by using __DECONST. No functional change. Reviewed by: hselasky Differential Revision:

svn commit: r277977 - head/sys/dev/iscsi

2015-01-31 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jan 31 15:21:54 2015 New Revision: 277977 URL: https://svnweb.freebsd.org/changeset/base/277977 Log: Drop unneeded include. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl_wrappers.h Modified: head/sys/dev/iscsi/icl_wrappers.h

svn commit: r277980 - head/sys/dev/gpio

2015-01-31 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 31 15:50:19 2015 New Revision: 277980 URL: https://svnweb.freebsd.org/changeset/base/277980 Log: Implement a new method to retrieve the gpiobus reference from a GPIO controller. The gpiobus is responsible to keep track of the used pins and serialize the

svn commit: r277979 - head/bin/ps

2015-01-31 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jan 31 15:41:01 2015 New Revision: 277979 URL: https://svnweb.freebsd.org/changeset/base/277979 Log: Prevent access to an uninitialized variable The -h option may access an uninitialized value. Prevent it by properly initializing the value. CID: 1006559

svn commit: r277982 - head/contrib/tcpdump

2015-01-31 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jan 31 16:34:39 2015 New Revision: 277982 URL: https://svnweb.freebsd.org/changeset/base/277982 Log: MFV r277981: Upstream fixes for issues found with afl (Issue #417). - Fix length checking. Check both the captured length and the on-the-wire length (the

svn commit: r277964 - head/sys/dev/iscsi

2015-01-31 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jan 31 08:03:56 2015 New Revision: 277964 URL: https://svnweb.freebsd.org/changeset/base/277964 Log: Add two files missed in r277963. Sponsored by: The FreeBSD Foundation Added: head/sys/dev/iscsi/icl_conn_if.m (contents, props changed)

svn commit: r277983 - head/include

2015-01-31 Thread Jilles Tjoelker
Author: jilles Date: Sat Jan 31 16:39:26 2015 New Revision: 277983 URL: https://svnweb.freebsd.org/changeset/base/277983 Log: Ensure #include semaphore.h is sufficient for using SEM_VALUE_MAX. Discussed with: pluknet Modified: head/include/semaphore.h Modified:

svn commit: r277987 - head/sys/powerpc/ofw

2015-01-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 31 18:39:32 2015 New Revision: 277987 URL: https://svnweb.freebsd.org/changeset/base/277987 Log: Correctness improvements for removing FDT excluded memory areas. Modified: head/sys/powerpc/ofw/ofw_machdep.c Modified: head/sys/powerpc/ofw/ofw_machdep.c

svn commit: r277988 - head/sys/boot/common

2015-01-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 31 18:42:51 2015 New Revision: 277988 URL: https://svnweb.freebsd.org/changeset/base/277988 Log: Add code to support loading relocatable kernels at offsets that are not zero. Modified: head/sys/boot/common/load_elf.c Modified:

svn commit: r277989 - head/sys/dev/fdt

2015-01-31 Thread Ian Lepore
Author: ian Date: Sat Jan 31 18:57:45 2015 New Revision: 277989 URL: https://svnweb.freebsd.org/changeset/base/277989 Log: Fix whitespace glitch from prior comit. Modified: head/sys/dev/fdt/fdt_clock.c Modified: head/sys/dev/fdt/fdt_clock.c

svn commit: r277991 - head/sys/boot/powerpc/kboot

2015-01-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 31 19:18:09 2015 New Revision: 277991 URL: https://svnweb.freebsd.org/changeset/base/277991 Log: Add FDT reservations for memory areas used by OPAL or RTAS runtime firmware. This allows a kexec'ed kernel to boot multiuser under PHYP. Modified:

svn commit: r277990 - in head: . sys/conf

2015-01-31 Thread Nathan Whitehorn
:45 2015(r277989) +++ head/UPDATING Sat Jan 31 19:16:51 2015(r277990) @@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 disable the most expensive debugging functionality run ln -s 'abort:false,junk:false' /etc/malloc.conf.) +20150131

svn commit: r277996 - in head/sys: arm/allwinner arm/altera/socfpga arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/lpc arm/rockchip arm/samsung/exynos arm/ti arm/xilinx arm/xscale/...

2015-01-31 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 31 19:32:14 2015 New Revision: 277996 URL: https://svnweb.freebsd.org/changeset/base/277996 Log: Implement GPIO_GET_BUS() method for all GPIO drivers. Add helper routines to deal with attach and detach of gpiobus and gpioc devices that are common to all

svn commit: r277997 - head/sys/boot/powerpc/kboot

2015-01-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 31 19:42:08 2015 New Revision: 277997 URL: https://svnweb.freebsd.org/changeset/base/277997 Log: Relocate kernel to high address space (a static + 64 MB for now) to avoid conflicts with the Linux host kernel. This lets you kexec an unmodified GENERIC64.

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

2015-01-31 Thread Andrew Turner
Author: andrew Date: Sat Jan 31 19:55:12 2015 New Revision: 277998 URL: https://svnweb.freebsd.org/changeset/base/277998 Log: Stop using load-multiple with lr and pc. This has been deprecated in ARMv7 and clang 3.6 warns about it. As this is used in libc and we build it with -Werror this

svn commit: r278000 - head/sys/fs/tmpfs

2015-01-31 Thread Konstantin Belousov
Author: kib Date: Sat Jan 31 21:31:53 2015 New Revision: 278000 URL: https://svnweb.freebsd.org/changeset/base/278000 Log: Update directory times immediately after an entry is created or removed. Postponing it until tmpfs_getattr() is called causes discordant values reported for file times

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

2015-01-31 Thread Konstantin Belousov
Author: kib Date: Sat Jan 31 21:43:46 2015 New Revision: 278001 URL: https://svnweb.freebsd.org/changeset/base/278001 Log: Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as const. On x86, even after the machine context is supposedly read into the struct ucontext, lazy FPU

svn commit: r278010 - head/contrib/libcxxrt

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sat Jan 31 23:08:29 2015 New Revision: 278010 URL: https://svnweb.freebsd.org/changeset/base/278010 Log: Revert r256642, not only to reduce diffs against upstream libcxxrt, but also because it is the wrong approach: comparing typeinfo names deeply causes trouble if two

svn commit: r278004 - head/sys/dev/drm2/radeon

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sat Jan 31 22:18:52 2015 New Revision: 278004 URL: https://svnweb.freebsd.org/changeset/base/278004 Log: Constify a number of accesses in drm2's radeon drivers to avoid -Wcast-qual warnings. No functional change. Reviewed by: dumbbell MFC after:3 days

svn commit: r278006 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc

2015-01-31 Thread Mark Johnston
Author: markj Date: Sat Jan 31 22:38:43 2015 New Revision: 278006 URL: https://svnweb.freebsd.org/changeset/base/278006 Log: Fix some proc provider tests: * Avoid hard-coding program paths, except when it's necessary in order to override the use of a shell builtin. * Translate struct

Re: svn commit: r278004 - head/sys/dev/drm2/radeon

2015-01-31 Thread Bruce Evans
On Sat, 31 Jan 2015, Dimitry Andric wrote: Log: Constify a number of accesses in drm2's radeon drivers to avoid -Wcast-qual warnings. No functional change. This is much better than using __DECONST(), but still has bogus casts. Modified: head/sys/dev/drm2/radeon/ni.c

svn commit: r278008 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt

2015-01-31 Thread Mark Johnston
Author: markj Date: Sat Jan 31 22:56:38 2015 New Revision: 278008 URL: https://svnweb.freebsd.org/changeset/base/278008 Log: Remove a makefile that isn't present upstream. MFC after:1 week Deleted: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/Makefile

svn commit: r278011 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid

2015-01-31 Thread Mark Johnston
Author: markj Date: Sat Jan 31 23:11:57 2015 New Revision: 278011 URL: https://svnweb.freebsd.org/changeset/base/278011 Log: Use syscall::exit instead of the nonexistent syscall::rexit. MFC after:1 week Modified:

svn commit: r278012 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt

2015-01-31 Thread Mark Johnston
Author: markj Date: Sat Jan 31 23:12:29 2015 New Revision: 278012 URL: https://svnweb.freebsd.org/changeset/base/278012 Log: Fix mktemp(1) usage. MFC after:1 week Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.corruptenv.ksh Modified:

svn commit: r278007 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting

2015-01-31 Thread Mark Johnston
Author: markj Date: Sat Jan 31 22:53:18 2015 New Revision: 278007 URL: https://svnweb.freebsd.org/changeset/base/278007 Log: Fix a number of DTrace scripting tests: * Avoid hard-coding program paths. * Use -x when searching for oneself in ps(1) output. * Use the correct keyword (egid

svn commit: r278016 - head/contrib/libcxxrt

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sat Jan 31 23:31:45 2015 New Revision: 278016 URL: https://svnweb.freebsd.org/changeset/base/278016 Log: Import libcxxrt master 1cb607e89f6135bbc10f3d3b6fba1f983e258dcc. Interesting fixes: 1cb607e Correct gcc version check for __cxa_begin_catch() declaration

svn commit: r278020 - head/sys/boot/powerpc/kboot

2015-01-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Feb 1 02:02:50 2015 New Revision: 278020 URL: https://svnweb.freebsd.org/changeset/base/278020 Log: Allow this to work with disks greater than 4 GB and with names not beginning with s. Modified: head/sys/boot/powerpc/kboot/host_syscall.S

Re: svn commit: r277959 - head/sys/dev/drm2/i915

2015-01-31 Thread Alexander Motin
On 31.01.2015 04:13, Adrian Chadd wrote: Author: adrian Date: Sat Jan 31 02:13:25 2015 New Revision: 277959 URL: https://svnweb.freebsd.org/changeset/base/277959 Log: Fix backlight for ivybridge based laptops (and whatever else comes through this codepath.) (130) is documented

svn commit: r277968 - in head/sys: arm/allwinner arm/altera/socfpga arm/freescale/imx arm/freescale/vybrid arm/rockchip arm/samsung/exynos arm/ti mips/atheros mips/cavium mips/rt305x

2015-01-31 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 31 12:17:07 2015 New Revision: 277968 URL: https://svnweb.freebsd.org/changeset/base/277968 Log: Clean up and fix the device detach routine and the failure path on GPIO drivers. This paves the way for upcoming work. Modified:

svn commit: r277969 - head/sys/fs/tmpfs

2015-01-31 Thread Konstantin Belousov
Author: kib Date: Sat Jan 31 12:27:18 2015 New Revision: 277969 URL: https://svnweb.freebsd.org/changeset/base/277969 Log: POSIX states that write(2) shall mark for update the last data modification and last file status change timestamps of the file. Currently, tmpfs only modifies ctime

svn commit: r277970 - head/sys/kern

2015-01-31 Thread Konstantin Belousov
Author: kib Date: Sat Jan 31 12:27:40 2015 New Revision: 277970 URL: https://svnweb.freebsd.org/changeset/base/277970 Log: The dependency chain for priority-inheritance mutexes could be subverted by userspace into cycle. Both umtx_propagate_priority() and umtx_repropagate_priority() would

svn commit: r277971 - in head/sys/mips: atheros cavium rt305x

2015-01-31 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 31 12:43:30 2015 New Revision: 277971 URL: https://svnweb.freebsd.org/changeset/base/277971 Log: Replace spaces with tabs, this will easier future changes on softc structure. No functional changes. Modified: head/sys/mips/atheros/ar71xx_gpiovar.h

svn commit: r277972 - head/sys/fs/tmpfs

2015-01-31 Thread Konstantin Belousov
Author: kib Date: Sat Jan 31 12:58:04 2015 New Revision: 277972 URL: https://svnweb.freebsd.org/changeset/base/277972 Log: Remove single-use boolean. Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified: head/sys/fs/tmpfs/tmpfs_vnops.c Modified: