Re: svn commit: r319720 - head/sys/dev/vt

2017-06-11 Thread Bruce Evans
On Sat, 10 Jun 2017, Konstantin Belousov wrote: On Sat, Jun 10, 2017 at 09:33:48AM -0700, Jonathan Looney wrote: Hi Konstantin, On Sat, Jun 10, 2017 at 2:12 AM, Konstantin Belousov wrote: No, acquire is only specified for loads, and release for stores. In other words, on some hypothetical l

Re: svn commit: r316767 - head/sys/amd64/amd64

2017-06-11 Thread Konstantin Belousov
On Sun, Jun 11, 2017 at 04:13:57AM +, Alexey Dokuchaev wrote: > On Sat, Jun 10, 2017 at 11:51:25PM +, Alexey Dokuchaev wrote: > > On Thu, Apr 13, 2017 at 03:49:55PM +, Konstantin Belousov wrote: > > > New Revision: 316767 > > > URL: https://svnweb.freebsd.org/changeset/base/316767 > > >

Re: svn commit: r319720 - head/sys/dev/vt

2017-06-11 Thread Konstantin Belousov
On Sun, Jun 11, 2017 at 07:53:47PM +1000, Bruce Evans wrote: > On Sat, 10 Jun 2017, Konstantin Belousov wrote: > > > On Sat, Jun 10, 2017 at 09:33:48AM -0700, Jonathan Looney wrote: > >> Hi Konstantin, > >> > >> On Sat, Jun 10, 2017 at 2:12 AM, Konstantin Belousov > >> wrote: > >>> No, acquire is

Re: svn commit: r316767 - head/sys/amd64/amd64

2017-06-11 Thread Alexey Dokuchaev
On Sun, Jun 11, 2017 at 03:20:25PM +0300, Konstantin Belousov wrote: > Do you claim that latest HEAD with reverted r316767 reboots on resume > on your machine ? Please confirm. Yes, I do claim that; confirmed. > Are you running on AMD CPU ? Yes, on AMD A8-5550M APU. > I want to see the first 1

svn commit: r319824 - head/share/man/man4

2017-06-11 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Sun Jun 11 14:33:16 2017 New Revision: 319824 URL: https://svnweb.freebsd.org/changeset/base/319824 Log: Tidy up minor nits raised by mandoc lint: Zap trailing white and double spaces Remove extra coma which is not required. Bump date. Reviewed by:

svn commit: r319825 - head/sys/x86/acpica

2017-06-11 Thread Konstantin Belousov
Author: kib Date: Sun Jun 11 14:39:08 2017 New Revision: 319825 URL: https://svnweb.freebsd.org/changeset/base/319825 Log: More accurately handle early EFER restoration on resume. Do not try to set LMA bit while CPU is still in legacy mode. Apparently Intel CPUs ignore non-id writes to LM

Re: svn commit: r319825 - head/sys/x86/acpica

2017-06-11 Thread Alexey Dokuchaev
On Sun, Jun 11, 2017 at 02:39:08PM +, Konstantin Belousov wrote: > New Revision: 319825 > URL: https://svnweb.freebsd.org/changeset/base/319825 > > Log: > More accurately handle early EFER restoration on resume. > > Do not try to set LMA bit while CPU is still in legacy mode. > Appare

Re: svn commit: r319720 - head/sys/dev/vt

2017-06-11 Thread Bruce Evans
On Sun, 11 Jun 2017, Konstantin Belousov wrote: On Sun, Jun 11, 2017 at 07:53:47PM +1000, Bruce Evans wrote: On Sat, 10 Jun 2017, Konstantin Belousov wrote: On Sat, Jun 10, 2017 at 09:33:48AM -0700, Jonathan Looney wrote: Hi Konstantin, On Sat, Jun 10, 2017 at 2:12 AM, Konstantin Belousov

svn commit: r319826 - head/bin/sh

2017-06-11 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 11 16:54:04 2017 New Revision: 319826 URL: https://svnweb.freebsd.org/changeset/base/319826 Log: sh: Enable interrupts before executing EXIT trap and doing final flush. Modified: head/bin/sh/trap.c Modified: head/bin/sh/trap.c

svn commit: r319827 - head/sys/fs/ext2fs

2017-06-11 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jun 11 19:05:45 2017 New Revision: 319827 URL: https://svnweb.freebsd.org/changeset/base/319827 Log: extfs: fix the build with no UFS_ACL. Some people may want to drop UFS-style ACLs for slimmer kernels. Let's just not assume everyone needs ACLs. Reported by: b

svn commit: r319828 - head/etc

2017-06-11 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 11 19:06:07 2017 New Revision: 319828 URL: https://svnweb.freebsd.org/changeset/base/319828 Log: rc.subr: Optimize repeated sourcing. When /etc/rc runs all /etc/rc.d scripts, it has already loaded /etc/rc.subr but each /etc/rc.d script sources it again (since

svn commit: r319829 - head/sys/fs/ext2fs

2017-06-11 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jun 11 19:09:10 2017 New Revision: 319829 URL: https://svnweb.freebsd.org/changeset/base/319829 Log: Remove unnecessary, and mismatched, comment. Submitted by: Fedor Uporov Modified: head/sys/fs/ext2fs/ext2_extattr.c Modified: head/sys/fs/ext2fs/ext2_extattr.c

svn commit: r319830 - in head: . usr.sbin/chown/tests

2017-06-11 Thread Ngie Cooper
Author: ngie Date: Sun Jun 11 19:31:42 2017 New Revision: 319830 URL: https://svnweb.freebsd.org/changeset/base/319830 Log: Add more simple positive tests for chown(1) The tests are largely symmetric with the tests for chmod(1)--added in r319642. Remove chown-f_test (added in r268030)

svn commit: r319834 - in head: etc/mtree usr.bin/stat usr.bin/stat/tests

2017-06-11 Thread Ngie Cooper
Author: ngie Date: Sun Jun 11 21:13:12 2017 New Revision: 319834 URL: https://svnweb.freebsd.org/changeset/base/319834 Log: Write up some basic tests for readlink(1) The tests exercise -f (f_flag), -n (n_flag), and no arguments (basic). MFC after:1 month Sponsored by: Dell EMC Is

svn commit: r319836 - head/usr.bin/stat

2017-06-11 Thread Ngie Cooper
Author: ngie Date: Sun Jun 11 21:23:54 2017 New Revision: 319836 URL: https://svnweb.freebsd.org/changeset/base/319836 Log: stat(1): sort flags in the DESCRIPTION section -x's description should come after -t's description. MFC after:1 month Sponsored by: Dell EMC Isilon Modifie

svn commit: r319841 - head/usr.bin/stat/tests

2017-06-11 Thread Ngie Cooper
Author: ngie Date: Mon Jun 12 00:21:55 2017 New Revision: 319841 URL: https://svnweb.freebsd.org/changeset/base/319841 Log: Add initial tests for stat(1) Testcases for -H, -L, and -f haven't been implemented yet, in part due to additional complexity needed to validate the features: * -H

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

2017-06-11 Thread Ngie Cooper
Author: ngie Date: Mon Jun 12 00:43:14 2017 New Revision: 319842 URL: https://svnweb.freebsd.org/changeset/base/319842 Log: getbsize(3): clarify that underflow/overflow warnings in regard to $BLOCKSIZE gets output via warnx(3) This helps set expectations for how one might deal with those

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

2017-06-11 Thread Gregory Neil Shapiro
Author: gshapiro Date: Mon Jun 12 01:26:36 2017 New Revision: 319843 URL: https://svnweb.freebsd.org/changeset/base/319843 Log: Fix 'restart' action: rc.subr only expects to restart one service, not two. PR: 217393 Reported by: Martin Simmons MFC after:1 week Modified:

svn commit: r319844 - head/lib/libcam/tests

2017-06-11 Thread Ngie Cooper
Author: ngie Date: Mon Jun 12 02:12:22 2017 New Revision: 319844 URL: https://svnweb.freebsd.org/changeset/base/319844 Log: Add positive and negative testcases for cam_get_device(3) MFC after:1 month Submitted by: Evan Cramer Modified: head/lib/libcam/tests/libcam_test.c Modified

svn commit: r319845 - head/lib/libcam/tests

2017-06-11 Thread Ngie Cooper
Author: ngie Date: Mon Jun 12 02:38:37 2017 New Revision: 319845 URL: https://svnweb.freebsd.org/changeset/base/319845 Log: Remove stdlib.h #include added in r319844 A previous iteration of the tests I added in r319844 involved free(3), but that attempt didn't pan out, so I switched to st

svn commit: r319846 - head/usr.bin/du

2017-06-11 Thread Ngie Cooper
Author: ngie Date: Mon Jun 12 02:42:39 2017 New Revision: 319846 URL: https://svnweb.freebsd.org/changeset/base/319846 Log: du(1): trivial whitespace cleanup MFC after:1 month Modified: head/usr.bin/du/du.c Modified: head/usr.bin/du/du.c =

svn commit: r319847 - head/usr.bin/diff/tests

2017-06-11 Thread Ngie Cooper
Author: ngie Date: Mon Jun 12 05:11:43 2017 New Revision: 319847 URL: https://svnweb.freebsd.org/changeset/base/319847 Log: Add some testcases for `diff --side-by-side` support These are were created proactively, in anticipation of the support being fully implemented sometime in the futur

Re: svn commit: r319487 - head/usr.sbin/bhyve

2017-06-11 Thread Marcelo Araujo
2017-06-11 2:35 GMT+08:00 Conrad Meyer : > On Sat, Jun 10, 2017 at 11:14 AM, Peter Grehan wrote: > > strncpy() is specified to zero-fill if the source is shorter than the > > length. Are we missing something ? > > > > The other issues you brought up look valid. > > Hi Peter, > > Oops — didn't r

svn commit: r319848 - head/contrib/ipfilter/tools

2017-06-11 Thread Cy Schubert
Author: cy Date: Mon Jun 12 06:08:57 2017 New Revision: 319848 URL: https://svnweb.freebsd.org/changeset/base/319848 Log: -v (verbose) is not a command option. (See ippool.1 for a definition of command options). Modified: head/contrib/ipfilter/tools/ippool.c Modified: head/contrib/ipfilter