svn commit: r277829 - head/contrib/netbsd-tests/bin/expr

2015-01-28 Thread Garrett Cooper
Author: ngie Date: Wed Jan 28 11:38:12 2015 New Revision: 277829 URL: https://svnweb.freebsd.org/changeset/base/277829 Log: Revert r277357 as expr has been enhanced to better detect overflow conditions, and now the tests pass PR: 196867 X-MFC with: r277798 MFC after: 1 week

Re: svn commit: r277796 - in head/sys: dev/acpica dev/syscons dev/vt sys

2015-01-28 Thread Andriy Gapon
On 27/01/2015 19:47, Konstantin Belousov wrote: On Tue, Jan 27, 2015 at 05:33:19PM +, Andriy Gapon wrote: +EVENTHANDLER_INVOKE(power_suspend_early); +stop_all_proc(); It also makes sense to call syncer_suspend() after stop_all_proc(), I suppose. It would ensure that a failed

Re: svn commit: r277796 - in head/sys: dev/acpica dev/syscons dev/vt sys

2015-01-28 Thread Andriy Gapon
On 28/01/2015 00:36, Ivan Klymenko wrote: acpiconf -s 3 works perfectly, but there is one problem. I use not the main timecounter kern.timecounter.hardware=HPET after turning on the power button does not occur laptop recovery hdac0 and it is likely that the same applies to the timer.

Re: svn commit: r277802 - head/usr.bin/sed

2015-01-28 Thread Bruce Evans
On Tue, 27 Jan 2015, Pedro F. Giffuni wrote: Log: Fix resource leak and dereference after NULL. process.c: Protect access against NULL. main.c: Prevent outfile overwrite resource leak. ... Modified: head/usr.bin/sed/main.c

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

2015-01-28 Thread Xin LI
Author: delphij Date: Wed Jan 28 08:56:48 2015 New Revision: 277826 URL: https://svnweb.freebsd.org/changeset/base/277826 Log: MFV r255258: Diff reduction with upstream. The actual change was merged in r272483 already. MFC after:2 weeks Modified:

Re: svn commit: r277652 - in head/usr.sbin/pw: . tests

2015-01-28 Thread Bruce Evans
On Tue, 27 Jan 2015, Robert Watson wrote: On Sun, 25 Jan 2015, Bruce Evans wrote: Negative ids have historical abuses in places like mountd. mountd still hard-codes -2 and -2 for the default uid and gid of an unprivileged user. ... I'm sure it goes without saying, but for those that don't

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

2015-01-28 Thread Konstantin Belousov
Author: kib Date: Wed Jan 28 10:25:35 2015 New Revision: 277827 URL: https://svnweb.freebsd.org/changeset/base/277827 Log: tmpfs does not use UVM on FreeBSD. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c Modified:

Re: svn commit: r277764 - in head/usr.sbin/pw: . tests

2015-01-28 Thread Bruce Evans
On Mon, 26 Jan 2015, Baptiste Daroussin wrote: Log: Revert r277652 uid and gid are never and should never be negative. The pw(8) manpage clearly states the -u and -g arguments are for uids/gids, hence using negative values is abusing a bug in former versions of pw(8) Thanks. Further

svn commit: r277828 - in head/sys: fs/tmpfs vm

2015-01-28 Thread Konstantin Belousov
Author: kib Date: Wed Jan 28 10:37:23 2015 New Revision: 277828 URL: https://svnweb.freebsd.org/changeset/base/277828 Log: Update mtime for tmpfs files modified through memory mapping. Similar to UFS, perform updates during syncer scans, which in particular means that tmpfs now performs

svn commit: r277836 - head/release

2015-01-28 Thread Glen Barber
Author: gjb Date: Wed Jan 28 17:32:45 2015 New Revision: 277836 URL: https://svnweb.freebsd.org/changeset/base/277836 Log: Rename the 'system' target to 'disc1', which is specific to the disc1.iso installer image. Replace 'system' with 'release' in CLEANFILES, and add 'disc1' to

svn commit: r277837 - head/release/scripts

2015-01-28 Thread Glen Barber
Author: gjb Date: Wed Jan 28 17:34:27 2015 New Revision: 277837 URL: https://svnweb.freebsd.org/changeset/base/277837 Log: Provide a description for the 'tests.txz' distribution in the MANIFEST file. Turn off the test suite installation by default. Tested with: head@r277834 MFC

svn commit: r277838 - head/release/scripts

2015-01-28 Thread Glen Barber
Author: gjb Date: Wed Jan 28 17:39:57 2015 New Revision: 277838 URL: https://svnweb.freebsd.org/changeset/base/277838 Log: Fix a typo in a comment. MFC after:1 week X-MFC-with: r277837 Sponsored by: The FreeBSD Foundation Modified: head/release/scripts/make-manifest.sh

Re: svn commit: r277828 - in head/sys: fs/tmpfs vm

2015-01-28 Thread Don Lewis
On 28 Jan, Konstantin Belousov wrote: Author: kib Date: Wed Jan 28 10:37:23 2015 New Revision: 277828 URL: https://svnweb.freebsd.org/changeset/base/277828 Log: Update mtime for tmpfs files modified through memory mapping. Similar to UFS, perform updates during syncer scans, which in

Re: svn commit: r277828 - in head/sys: fs/tmpfs vm

2015-01-28 Thread Konstantin Belousov
On Wed, Jan 28, 2015 at 09:41:06AM -0800, Don Lewis wrote: On 28 Jan, Konstantin Belousov wrote: Author: kib Date: Wed Jan 28 10:37:23 2015 New Revision: 277828 URL: https://svnweb.freebsd.org/changeset/base/277828 Log: Update mtime for tmpfs files modified through memory

Re: svn commit: r277835 - in head: lib/libpmc sys/arm/arm sys/arm/include sys/arm/ti sys/conf sys/dev/hwpmc sys/sys

2015-01-28 Thread Rui Paulo
On Jan 28, 2015, at 08:35, Ian Lepore i...@freebsd.org wrote: On Wed, 2015-01-28 at 16:08 +, Ruslan Bukin wrote: Author: br Date: Wed Jan 28 16:08:07 2015 New Revision: 277835 URL: https://svnweb.freebsd.org/changeset/base/277835 Log: Add ARMv7 performance monitoring counters.

svn commit: r277854 - head/etc/rc.d

2015-01-28 Thread Cy Schubert
Author: cy Date: Wed Jan 28 21:01:55 2015 New Revision: 277854 URL: https://svnweb.freebsd.org/changeset/base/277854 Log: ipfilter 5.1.2 (vs 4.1.28 in previous releases of FreeBSD) stores IPv4 and IPv6 rules in a single table. ipf -6 -Fa will flush the whole table, including IPv4 rules.

Re: svn commit: r277854 - head/etc/rc.d

2015-01-28 Thread Cy Schubert
In message 201501282101.t0sl1ukn054...@svn.freebsd.org, Cy Schubert writes: Author: cy Date: Wed Jan 28 21:01:55 2015 New Revision: 277854 URL: https://svnweb.freebsd.org/changeset/base/277854 Log: ipfilter 5.1.2 (vs 4.1.28 in previous releases of FreeBSD) stores IPv4 and IPv6 rules

svn commit: r277857 - head/usr.sbin/ppp

2015-01-28 Thread Dimitry Andric
Author: dim Date: Wed Jan 28 21:33:49 2015 New Revision: 277857 URL: https://svnweb.freebsd.org/changeset/base/277857 Log: Fix multiple instances of the following clang 3.6.0 warning in ppp: usr.sbin/ppp/command.c:2054:74: error: address of array 'arg-bundle-radius.cfg.file' will always

svn commit: r277856 - head/usr.sbin/pciconf

2015-01-28 Thread Dimitry Andric
Author: dim Date: Wed Jan 28 21:21:35 2015 New Revision: 277856 URL: https://svnweb.freebsd.org/changeset/base/277856 Log: Fix the following clang 3.6.0 warnings in pciconf: usr.sbin/pciconf/pciconf.c:237:12: error: address of array 'p-pd_name' will always evaluate to 'true'

svn commit: r277853 - head/usr.sbin/binmiscctl

2015-01-28 Thread Sean Bruno
Author: sbruno Date: Wed Jan 28 20:22:48 2015 New Revision: 277853 URL: https://svnweb.freebsd.org/changeset/base/277853 Log: Check for invalid length or more than max length for the interpreter, instead of the validity of the string pointer holding the interpreter. Submitted by: sson

svn commit: r277855 - in head: sys/fs/fdescfs sys/kern sys/sys usr.sbin/jail

2015-01-28 Thread Jamie Gritton
Author: jamie Date: Wed Jan 28 21:08:09 2015 New Revision: 277855 URL: https://svnweb.freebsd.org/changeset/base/277855 Log: Add allow.mount.fdescfs jail flag. PR: 192951 Submitted by: ru...@verweg.com MFC after:3 days Modified: head/sys/fs/fdescfs/fdesc_vfsops.c

Re: svn commit: r277841 - head/contrib/amd/hlfsd

2015-01-28 Thread Pedro Giffuni
On 01/28/15 14:25, Dimitry Andric wrote: On 28 Jan 2015, at 20:04, Roman Divacky rdiva...@freebsd.org wrote: On Wed, Jan 28, 2015 at 06:19:26PM +, Dimitry Andric wrote: Author: dim Date: Wed Jan 28 18:19:25 2015 New Revision: 277841 URL: https://svnweb.freebsd.org/changeset/base/277841

Re: svn commit: r277802 - head/usr.bin/sed

2015-01-28 Thread Pedro Giffuni
Hello; On 01/28/15 03:41, Bruce Evans wrote: On Tue, 27 Jan 2015, Pedro F. Giffuni wrote: Log: Fix resource leak and dereference after NULL. process.c: Protect access against NULL. main.c: Prevent outfile overwrite resource leak. ... Modified: head/usr.bin/sed/main.c

svn commit: r277834 - head/usr.sbin/autofs

2015-01-28 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jan 28 15:46:11 2015 New Revision: 277834 URL: https://svnweb.freebsd.org/changeset/base/277834 Log: When there are no automounted filesystems, autounmountd(8) should wait for filesystem event, instead of looping on a timeout. MFC after:1 month Sponsored by:

Re: svn commit: r277796 - in head/sys: dev/acpica dev/syscons dev/vt sys

2015-01-28 Thread Konstantin Belousov
On Wed, Jan 28, 2015 at 03:53:34PM +0200, Andriy Gapon wrote: On 27/01/2015 19:47, Konstantin Belousov wrote: On Tue, Jan 27, 2015 at 05:33:19PM +, Andriy Gapon wrote: +EVENTHANDLER_INVOKE(power_suspend_early); +stop_all_proc(); It also makes sense to call syncer_suspend()

svn commit: r277860 - head/usr.sbin/sa

2015-01-28 Thread Dimitry Andric
Author: dim Date: Wed Jan 28 22:22:49 2015 New Revision: 277860 URL: https://svnweb.freebsd.org/changeset/base/277860 Log: Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c: usr.sbin/sa/db.c:82:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier

Re: svn commit: r277795 - in head/sys/dev: fb vt vt/hw/fb

2015-01-28 Thread Jean-Sébastien Pédron
On 27.01.2015 16:28, Andriy Gapon wrote: Author: avg Date: Tue Jan 27 15:28:46 2015 New Revision: 277795 URL: https://svnweb.freebsd.org/changeset/base/277795 Log: vt(4): Use power_{suspend,resume} event handlers to implement suspend/resume Thank you very much for committing this! I

svn commit: r277862 - head/lib/libc/gen

2015-01-28 Thread Jilles Tjoelker
Author: jilles Date: Wed Jan 28 22:42:56 2015 New Revision: 277862 URL: https://svnweb.freebsd.org/changeset/base/277862 Log: sem_post(): Fix and document semaphore value overflow error. The error code is per Austin Group issue #315. I provided different wording for the manual page

svn commit: r277868 - head/contrib/amd/amd

2015-01-28 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jan 29 01:26:23 2015 New Revision: 277868 URL: https://svnweb.freebsd.org/changeset/base/277868 Log: Revert r277814: It will be re-merged through the vendor area. Modified: head/contrib/amd/amd/amfs_generic.c Modified: head/contrib/amd/amd/amfs_generic.c

svn commit: r277869 - head/contrib/amd/amd

2015-01-28 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jan 29 01:28:39 2015 New Revision: 277869 URL: https://svnweb.freebsd.org/changeset/base/277869 Log: MFV r277866 amd: Add extra check for NULL before deref. CID: 274421 Obtained from:NetBSD MFC after:4 days Modified:

svn commit: r277871 - head/sys/arm/ti/am335x

2015-01-28 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jan 29 01:59:42 2015 New Revision: 277871 URL: https://svnweb.freebsd.org/changeset/base/277871 Log: Set LCDC clock frequency to 2*148500 KHz Minimum LCDC is 2 so clock freq shouild be 2*max_pixel_clock. Maximum pixel clock for HDMI is 148500 (1920x1080). But

svn commit: r277835 - in head: lib/libpmc sys/arm/arm sys/arm/include sys/arm/ti sys/conf sys/dev/hwpmc sys/sys

2015-01-28 Thread Ruslan Bukin
Author: br Date: Wed Jan 28 16:08:07 2015 New Revision: 277835 URL: https://svnweb.freebsd.org/changeset/base/277835 Log: Add ARMv7 performance monitoring counters. Differential Revision:https://reviews.freebsd.org/D1687 Reviewed by: rpaulo Sponsored by: DARPA, AFRL Added:

Re: svn commit: r277835 - in head: lib/libpmc sys/arm/arm sys/arm/include sys/arm/ti sys/conf sys/dev/hwpmc sys/sys

2015-01-28 Thread Ian Lepore
On Wed, 2015-01-28 at 16:08 +, Ruslan Bukin wrote: Author: br Date: Wed Jan 28 16:08:07 2015 New Revision: 277835 URL: https://svnweb.freebsd.org/changeset/base/277835 Log: Add ARMv7 performance monitoring counters. Differential Revision: https://reviews.freebsd.org/D1687

Re: svn commit: r277828 - in head/sys: fs/tmpfs vm

2015-01-28 Thread Don Lewis
On 28 Jan, Konstantin Belousov wrote: On Wed, Jan 28, 2015 at 09:41:06AM -0800, Don Lewis wrote: On 28 Jan, Konstantin Belousov wrote: Author: kib Date: Wed Jan 28 10:37:23 2015 New Revision: 277828 URL: https://svnweb.freebsd.org/changeset/base/277828 Log: Update mtime for

svn commit: r277843 - head/contrib/elftoolchain/elfcopy

2015-01-28 Thread Ed Maste
Author: emaste Date: Wed Jan 28 18:37:09 2015 New Revision: 277843 URL: https://svnweb.freebsd.org/changeset/base/277843 Log: Preserve hard symbolic links when modifying source file Strip is often used to modify existing files, rather than creating new files. If the existing file has

svn commit: r277839 - head/share/man/man7

2015-01-28 Thread Glen Barber
Author: gjb Date: Wed Jan 28 18:13:16 2015 New Revision: 277839 URL: https://svnweb.freebsd.org/changeset/base/277839 Log: Update release(7) to reflect renaming the 'system' target to 'disc1'. MFC after:3 weeks X-MFC-with: r277458, r277536, r277606, r277609, r277836 Sponsored

svn commit: r277841 - head/contrib/amd/hlfsd

2015-01-28 Thread Dimitry Andric
Author: dim Date: Wed Jan 28 18:19:25 2015 New Revision: 277841 URL: https://svnweb.freebsd.org/changeset/base/277841 Log: Fix the following clang 3.6.0 warning in contrib/amd/hlfsd/homedir.c: contrib/amd/hlfsd/homedir.c:497:8: error: address of array 'buf' will always evaluate to 'true'

Re: svn commit: r277693 - head/sys/boot/forth

2015-01-28 Thread Bryan Drewery
On 1/25/2015 5:57 AM, Dag-Erling Smørgrav wrote: Author: des Date: Sun Jan 25 11:57:18 2015 New Revision: 277693 URL: https://svnweb.freebsd.org/changeset/base/277693 Log: Fix the font in the text version. This has bothered me for a long time... MFC after: 1 week Same, thanks.

Re: svn commit: r277835 - in head: lib/libpmc sys/arm/arm sys/arm/include sys/arm/ti sys/conf sys/dev/hwpmc sys/sys

2015-01-28 Thread Ruslan Bukin
On Wed, Jan 28, 2015 at 09:35:03AM -0700, Ian Lepore wrote: On Wed, 2015-01-28 at 16:08 +, Ruslan Bukin wrote: Author: br Date: Wed Jan 28 16:08:07 2015 New Revision: 277835 URL: https://svnweb.freebsd.org/changeset/base/277835 Log: Add ARMv7 performance monitoring counters.

Re: svn commit: r277841 - head/contrib/amd/hlfsd

2015-01-28 Thread Roman Divacky
Given that this is a contributed code - have you sent the fix upstream? Also, upstream seems to have newer versions of this... On Wed, Jan 28, 2015 at 06:19:26PM +, Dimitry Andric wrote: Author: dim Date: Wed Jan 28 18:19:25 2015 New Revision: 277841 URL:

Re: svn commit: r277841 - head/contrib/amd/hlfsd

2015-01-28 Thread Dimitry Andric
On 28 Jan 2015, at 20:04, Roman Divacky rdiva...@freebsd.org wrote: On Wed, Jan 28, 2015 at 06:19:26PM +, Dimitry Andric wrote: Author: dim Date: Wed Jan 28 18:19:25 2015 New Revision: 277841 URL: https://svnweb.freebsd.org/changeset/base/277841 Log: Fix the following clang 3.6.0

Re: svn commit: r277835 - in head: lib/libpmc sys/arm/arm sys/arm/include sys/arm/ti sys/conf sys/dev/hwpmc sys/sys

2015-01-28 Thread Andrew Turner
On Wed, 28 Jan 2015 18:39:13 + Ruslan Bukin b...@freebsd.org wrote: On Wed, Jan 28, 2015 at 09:35:03AM -0700, Ian Lepore wrote: Just from a quick glance at the part that wasn't truncated, I notice all the inline asm stuff is wrong -- it duplicates what's already available in cpu-v6.h.

Re: svn commit: r277652 - in head/usr.sbin/pw: . tests

2015-01-28 Thread Bryan Drewery
On 1/27/2015 5:44 PM, Baptiste Daroussin wrote: pw groupdel -u plop removing wheel... or pw userdel -u something trying to delete root. I just realized this has bitten me many times. I added a ton of voodoo in my scripts to avoid removing root/wheel. This is surely it though. -- Regards,