svn commit: r286760 - in head/lib/libc: . secure sys

2015-08-13 Thread Pedro F. Giffuni
Author: pfg Date: Fri Aug 14 03:03:13 2015 New Revision: 286760 URL: https://svnweb.freebsd.org/changeset/base/286760 Log: Move the stack protector to a new "secure" directory As part of the code refactoring to support FORTIFY_SOURCE we want a new subdirectory "secure" to keep the files r

svn commit: r286757 - head/lib/libc/string

2015-08-13 Thread Marcelo Araujo
Author: araujo Date: Fri Aug 14 01:27:30 2015 New Revision: 286757 URL: https://svnweb.freebsd.org/changeset/base/286757 Log: Make clear the bcopy(3) manpage regards when it was marked as LEGACY as well as when it was removed from POSIX specification. Reviewed by: theraven, wbloc

Re: svn commit: r286745 - head/tools/build/mk

2015-08-13 Thread Ed Maste
On 13 August 2015 at 18:04, Antoine Brodin wrote: > Author: antoine > Date: Thu Aug 13 22:04:30 2015 > New Revision: 286745 > URL: https://svnweb.freebsd.org/changeset/base/286745 > > Log: > Stop removing ELF toolchain tools Oops! Thanks for fixing this.

svn commit: r286750 - head/contrib/tzdata

2015-08-13 Thread Edwin Groothuis
Author: edwin Date: Thu Aug 13 23:57:44 2015 New Revision: 286750 URL: https://svnweb.freebsd.org/changeset/base/286750 Log: MFV of 286748,tzdata2015f Update to tzdata2015f: Changes affecting future time stamps North Korea switches to +0830 on 2015-08-15. (Thanks to Steffen T

svn commit: r286747 - head

2015-08-13 Thread Warner Losh
Author: imp Date: Thu Aug 13 22:32:42 2015 New Revision: 286747 URL: https://svnweb.freebsd.org/changeset/base/286747 Log: Spell binaries in the customary way. Submitted by: jhb@ Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

svn commit: r286745 - head/tools/build/mk

2015-08-13 Thread Antoine Brodin
Author: antoine Date: Thu Aug 13 22:04:30 2015 New Revision: 286745 URL: https://svnweb.freebsd.org/changeset/base/286745 Log: Stop removing ELF toolchain tools Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ===

svn commit: r286741 - head/sys/dev/md

2015-08-13 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 13 19:12:55 2015 New Revision: 286741 URL: https://svnweb.freebsd.org/changeset/base/286741 Log: s/as/at/ in previous commit. Pointed out by: jmallett@ Modified: head/sys/dev/md/md.c Modified: head/sys/dev/md/md.c

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

2015-08-13 Thread Ed Maste
Author: emaste Date: Thu Aug 13 19:05:18 2015 New Revision: 286740 URL: https://svnweb.freebsd.org/changeset/base/286740 Log: Remove arm64 workaround for Clang 3.4 crash Modified: head/sys/arm64/arm64/exception.S Modified: head/sys/arm64/arm64/exception.S

svn commit: r286737 - head/cddl/contrib/opensolaris/cmd/ztest

2015-08-13 Thread Xin LI
Author: delphij Date: Thu Aug 13 18:45:52 2015 New Revision: 286737 URL: https://svnweb.freebsd.org/changeset/base/286737 Log: Plug a memory leak. MFC after:2 weeks Modified: head/cddl/contrib/opensolaris/cmd/ztest/ztest.c Modified: head/cddl/contrib/opensolaris/cmd/ztest/ztest.c ==

svn commit: r286733 - head/sys/dev/bxe

2015-08-13 Thread Dimitry Andric
Author: dim Date: Thu Aug 13 18:24:41 2015 New Revision: 286733 URL: https://svnweb.freebsd.org/changeset/base/286733 Log: Avoid left-shifting negative signed values in bxe(4). Reviewed by: davidcs MFC after:3 days Modified: head/sys/dev/bxe/ecore_hsi.h Modified: head/sys/dev/bxe

Re: svn commit: r286729 - head/share/man/man4/man4.arm

2015-08-13 Thread Ian Lepore
On Thu, 2015-08-13 at 16:11 +, Christian Brueffer wrote: > Author: brueffer > Date: Thu Aug 13 16:11:04 2015 > New Revision: 286729 > URL: https://svnweb.freebsd.org/changeset/base/286729 > > Log: > Small cleanup. > > - fix mandoc -Tlint warnings > - use appropriate macros > - canon

svn commit: r286732 - head/share/mk

2015-08-13 Thread Ed Maste
Author: emaste Date: Thu Aug 13 18:01:50 2015 New Revision: 286732 URL: https://svnweb.freebsd.org/changeset/base/286732 Log: Remove remnant of WITHOUT_ELFTOOLCHAIN_TOOLS missed in r286730 Modified: head/share/mk/src.opts.mk Modified: head/share/mk/src.opts.mk ===

svn commit: r286731 - head/share/man/man5

2015-08-13 Thread Ed Maste
Author: emaste Date: Thu Aug 13 17:54:28 2015 New Revision: 286731 URL: https://svnweb.freebsd.org/changeset/base/286731 Log: Update src.conf(5) after r286730 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r286730 - in head: . gnu/usr.bin/binutils lib targets/pseudo/toolchain tools/build/mk tools/build/options usr.bin

2015-08-13 Thread Ed Maste
Thu Aug 13 17:50:47 2015(r286730) @@ -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".) +20150813: + The WITHOUT_ELFTOOLCHAIN_TOOLS src

svn commit: r286729 - head/share/man/man4/man4.arm

2015-08-13 Thread Christian Brueffer
Author: brueffer Date: Thu Aug 13 16:11:04 2015 New Revision: 286729 URL: https://svnweb.freebsd.org/changeset/base/286729 Log: Small cleanup. - fix mandoc -Tlint warnings - use appropriate macros - canonize FreeBSD spelling Modified: head/share/man/man4/man4.arm/am335x_dmtpps.4 Mod

Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread Pedro Giffuni
FWIW; I think the posix manpage is in the right direction. For a more detailed discussion about replacing bcopys you may read Ted Unangst's blog post[1], but of course OpenBSD is not FreeBSD. I honesly would sepnd much time in bcopy, it is one of those things that will stay in FreeBSD for a

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

2015-08-13 Thread Mariusz Zaborski
On Thu, Aug 13, 2015 at 03:49:30PM +0300, Gleb Smirnoff wrote: > On Wed, Aug 12, 2015 at 08:08:54PM +, Mariusz Zaborski wrote: > M> Author: oshogbo > M> Date: Wed Aug 12 20:08:54 2015 > M> New Revision: 286698 > M> URL: https://svnweb.freebsd.org/changeset/base/286698 > M> > M> Log: > M> Whe

svn commit: r286728 - in head: share/man/man4/man4.arm sys/arm/conf sys/arm/ti/am335x sys/modules/am335x_dmtpps

2015-08-13 Thread Ian Lepore
Author: ian Date: Thu Aug 13 15:19:30 2015 New Revision: 286728 URL: https://svnweb.freebsd.org/changeset/base/286728 Log: Add a new PPS driver for AM335x (beaglebone) timer hardware. This can be used as a module or compiled-in. Added: head/share/man/man4/man4.arm/am335x_dmtpps.4 (conten

svn commit: r286727 - in head/sys: conf dev/md

2015-08-13 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 13 15:16:34 2015 New Revision: 286727 URL: https://svnweb.freebsd.org/changeset/base/286727 Log: Change md(4) to use weak symbols as start, end and size for the embedded root disk. The embedded image is linked into the kernel in the .mfs section. Add rules a

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

2015-08-13 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 13 14:53:29 2015 New Revision: 286726 URL: https://svnweb.freebsd.org/changeset/base/286726 Log: Instead of having separate do_sync functions for ARM_ARCH 6 vs. ARM_ARCH >= 7, use the dmb() macro defined in machine/atomic.h Submitted by: Steve Kiernan Revie

svn commit: r286725 - in head/sys/arm: arm include

2015-08-13 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 13 14:50:11 2015 New Revision: 286725 URL: https://svnweb.freebsd.org/changeset/base/286725 Log: The Broadcom BCM56060 chip has a Cortex-A9R4 core. Submitted by: Steve Kiernan Reviewed by: imp@ Differential Revision:https://reviews.freebsd.org/D335

svn commit: r286723 - head/sys/dev/vt/hw/vga

2015-08-13 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 13 14:43:11 2015 New Revision: 286723 URL: https://svnweb.freebsd.org/changeset/base/286723 Log: Fix text mode operation. We first map 64KB at 0xA and then determine whether to work in text or graphics mode. When graphics mode, the mapping is precisely

svn commit: r286724 - head/sys/sys

2015-08-13 Thread Ian Lepore
Author: ian Date: Thu Aug 13 14:43:25 2015 New Revision: 286724 URL: https://svnweb.freebsd.org/changeset/base/286724 Log: Constify the pointers to eventtimer and timecounter name strings. The need for this appears as soon as you try to set the names to something that isn't a "quoted lite

svn commit: r286722 - head/sys/netinet

2015-08-13 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Aug 13 13:38:09 2015 New Revision: 286722 URL: https://svnweb.freebsd.org/changeset/base/286722 Log: Move lle update code from from gigantic ip_arpinput() to separate bunch of functions. The goal is to isolate actual lle updates to permit more fine-grained locking.

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

2015-08-13 Thread Ed Maste
Author: emaste Date: Thu Aug 13 13:21:00 2015 New Revision: 286721 URL: https://svnweb.freebsd.org/changeset/base/286721 Log: arm64: turn unknown el0 exception into a SIGILL It seems we get EXCP_UNKNOWN from QEMU when executing zeroed memory. Print a register dump here and signal illegal

svn commit: r286720 - head/sys/dev/md

2015-08-13 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 13 13:20:29 2015 New Revision: 286720 URL: https://svnweb.freebsd.org/changeset/base/286720 Log: Use g_conf_printf_escaped() to escape illegal symbols in file name. PR: 202289 MFC after:1 week Modified: head/sys/dev/md/md.c Modified: head/sys/dev

svn commit: r286719 - head/lib/libgeom

2015-08-13 Thread Alexander Motin
Author: mav Date: Thu Aug 13 13:19:56 2015 New Revision: 286719 URL: https://svnweb.freebsd.org/changeset/base/286719 Log: Revert part of r280687, reporting "1" (true) for empty value. For example, it made gpart partitions without label report "1" as label. PR: 202089 MFC a

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

2015-08-13 Thread Gleb Smirnoff
On Wed, Aug 12, 2015 at 08:08:54PM +, Mariusz Zaborski wrote: M> Author: oshogbo M> Date: Wed Aug 12 20:08:54 2015 M> New Revision: 286698 M> URL: https://svnweb.freebsd.org/changeset/base/286698 M> M> Log: M> When the wait*(2) syscalls wait for any process (P_ALL), they should M> ignore p

Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread Bruce Evans
On Thu, 13 Aug 2015, David Chisnall wrote: On 13 Aug 2015, at 08:11, Marcelo Araujo wrote: The bcopy() was removed in IEEE Std 1003.1-2008 and it is marked as LEGACY in IEEE Std 1003.1-2004. However, BSD has its implementation before IEEE Std 1003.1-2001. In my understood it is obsolete on

Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread David Chisnall
On 13 Aug 2015, at 08:56, Marcelo Araujo wrote: > > So it means, this commit here was right already: > https://svnweb.freebsd.org/base?view=revision&revision=286651 > > Although I made a mistake with the date. More or less. I partly agree with Bruce that suggesting memcpy is misleading. I’d

Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread Marcelo Araujo
Hi David, So it means, this commit here was right already: https://svnweb.freebsd.org/base?view=revision&revision=286651 Although I made a mistake with the date. All the best. 2015-08-13 15:24 GMT+08:00 David Chisnall : > On 13 Aug 2015, at 08:11, Marcelo Araujo wrote: > > > > The bcopy() wa

Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread David Chisnall
On 13 Aug 2015, at 08:11, Marcelo Araujo wrote: > > The bcopy() was removed in IEEE Std 1003.1-2008 and it is marked as LEGACY in > IEEE Std 1003.1-2004. However, BSD has its implementation before IEEE Std > 1003.1-2001. > > In my understood it is obsolete on POSIX, but not truly obsolete for

Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread Marcelo Araujo
2015-08-13 14:51 GMT+08:00 Marcelo Araujo : > Hi Bruce, > > I sent it already in private to you, as we were talking about the > implementation of bcopy(3) on BSD and the POSIX one. > > So, I will send the patch again here, to let other developer give their > opinion about it. > > Thanks to explain