Re: svn commit: r270676 - head/etc

2014-08-26 Thread Baptiste Daroussin
On Wed, Aug 27, 2014 at 01:48:00PM +0900, Hiroki Sato wrote: > Baptiste Daroussin wrote > in <201408262233.s7qmxyfd056...@svn.freebsd.org>: > > ba> Author: bapt > ba> Date: Tue Aug 26 22:33:34 2014 > ba> New Revision: 270676 > ba> URL: http://svnweb.freebsd.org/changeset/base/270676 > ba> > ba>

Re: svn commit: r270676 - head/etc

2014-08-26 Thread Hiroki Sato
Baptiste Daroussin wrote in <201408262233.s7qmxyfd056...@svn.freebsd.org>: ba> Author: bapt ba> Date: Tue Aug 26 22:33:34 2014 ba> New Revision: 270676 ba> URL: http://svnweb.freebsd.org/changeset/base/270676 ba> ba> Log: ba> Allow to configure services from ${LOCALBASE}/etc/rc.conf.d ba> ba>

svn commit: r270691 - head/sys/compat/freebsd32

2014-08-26 Thread Konstantin Belousov
Author: kib Date: Wed Aug 27 01:02:02 2014 New Revision: 270691 URL: http://svnweb.freebsd.org/changeset/base/270691 Log: Fix handling of the third argument for fcntl(2). The native syscall uses long for arg, which needs translation. Discussed with and tested by: mjg Sponsored by: The

svn commit: r270692 - head/sys/compat/freebsd32

2014-08-26 Thread Konstantin Belousov
Author: kib Date: Wed Aug 27 01:02:19 2014 New Revision: 270692 URL: http://svnweb.freebsd.org/changeset/base/270692 Log: Regen. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/co

svn commit: r270689 - head/sys/amd64/vmm

2014-08-26 Thread Peter Grehan
Author: grehan Date: Wed Aug 27 00:53:56 2014 New Revision: 270689 URL: http://svnweb.freebsd.org/changeset/base/270689 Log: Implement the 0x2B SUB instruction, and the OR variant of 0x81. Found with local APIC accesses from bitrig/amd64 bsd.rd, 07/15-snap. Reviewed by: neel MFC aft

svn commit: r270687 - head/libexec/rtld-elf

2014-08-26 Thread Konstantin Belousov
Author: kib Date: Wed Aug 27 00:48:09 2014 New Revision: 270687 URL: http://svnweb.freebsd.org/changeset/base/270687 Log: Remove stray newline. Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c ==

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

2014-08-26 Thread Baptiste Daroussin
Author: bapt Date: Tue Aug 26 22:54:54 2014 New Revision: 270679 URL: http://svnweb.freebsd.org/changeset/base/270679 Log: Document the new ${LOCALBASE}/etc/rc.conf.d in rc.conf(5) MFC after:1 week Modified: head/share/man/man5/rc.conf.5 Modified: head/share/man/man5/rc.conf.5 =

svn commit: r270677 - head/etc/pam.d

2014-08-26 Thread Gavin Atkinson
Author: gavin Date: Tue Aug 26 22:39:24 2014 New Revision: 270677 URL: http://svnweb.freebsd.org/changeset/base/270677 Log: Fix xref, pam(8) -> pam(3) PR: 193045 Submitted by: rsimmons0 gmail com MFC after:3 days Modified: head/etc/pam.d/README Modified: head/etc/pam.d

svn commit: r270676 - head/etc

2014-08-26 Thread Baptiste Daroussin
Author: bapt Date: Tue Aug 26 22:33:34 2014 New Revision: 270676 URL: http://svnweb.freebsd.org/changeset/base/270676 Log: Allow to configure services from ${LOCALBASE}/etc/rc.conf.d Reviewed by: bdrewery MFC after:1 week Relnotes: yes Modified: head/etc/rc.subr Modified: h

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

2014-08-26 Thread Slawa Olhovchenkov
On Tue, Aug 26, 2014 at 03:05:41PM -0700, Adrian Chadd wrote: > This to me reads like "we need to fix pmc's locking so it's not so > terrible on multi-multi-core-machines." :) I am may be wrong, but I don't see in pmc interrupt path. May be this is need fix too? > On 26 August 2014 11:54, Slawa

svn commit: r270675 - head/usr.sbin/mailwrapper

2014-08-26 Thread Baptiste Daroussin
Author: bapt Date: Tue Aug 26 22:20:02 2014 New Revision: 270675 URL: http://svnweb.freebsd.org/changeset/base/270675 Log: Allow mailwrapper to use mailer.conf from localbase (respecting LOCALBASE env var if set) Phabric: https://reviews.freebsd.org/D412 Reviewed by: bdrewery MFC

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

2014-08-26 Thread Adrian Chadd
This to me reads like "we need to fix pmc's locking so it's not so terrible on multi-multi-core-machines." :) -a On 26 August 2014 11:54, Slawa Olhovchenkov wrote: > On Tue, May 20, 2014 at 09:04:25AM -0700, Adrian Chadd wrote: > >> On 20 May 2014 08:41, Slawa Olhovchenkov wrote: >> >> >> (B

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-26 Thread Konstantin Belousov
On Tue, Aug 26, 2014 at 05:23:10PM -0400, John Baldwin wrote: > On Tuesday, August 26, 2014 3:32:10 pm John-Mark Gurney wrote: > > John Baldwin wrote this message on Tue, Aug 26, 2014 at 15:09 -0400: > > > On Monday, August 25, 2014 6:30:34 pm John-Mark Gurney wrote: > > > > John Baldwin wrote this

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-26 Thread Bryan Drewery
On 8/26/2014 4:23 PM, John Baldwin wrote: > On Tuesday, August 26, 2014 3:32:10 pm John-Mark Gurney wrote: >> John Baldwin wrote this message on Tue, Aug 26, 2014 at 15:09 -0400: >>> On Monday, August 25, 2014 6:30:34 pm John-Mark Gurney wrote: John Baldwin wrote this message on Mon, Aug 25, 2

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-26 Thread John Baldwin
On Tuesday, August 26, 2014 3:32:10 pm John-Mark Gurney wrote: > John Baldwin wrote this message on Tue, Aug 26, 2014 at 15:09 -0400: > > On Monday, August 25, 2014 6:30:34 pm John-Mark Gurney wrote: > > > John Baldwin wrote this message on Mon, Aug 25, 2014 at 13:35 -0400: > > > > On Monday, Augus

svn commit: r270674 - head/usr.bin/ktrace

2014-08-26 Thread John Baldwin
Author: jhb Date: Tue Aug 26 21:21:57 2014 New Revision: 270674 URL: http://svnweb.freebsd.org/changeset/base/270674 Log: Clarify that the -c argument clears the list of tracepoints specified by -t (it does not clear all tracepoints). Submitted by: jmg, Eric van Gyzen MFC after:1 w

svn commit: r270673 - head/sys/netinet

2014-08-26 Thread Michael Tuexen
Author: tuexen Date: Tue Aug 26 21:15:34 2014 New Revision: 270673 URL: http://svnweb.freebsd.org/changeset/base/270673 Log: Announce SCTP support in the kern.features sysctl variables. MFC after: 3 days Modified: head/sys/netinet/sctp_sysctl.c Modified: head/sys/netinet/sctp_sysctl.c =

svn commit: r270672 - head/usr.bin/svn/svn

2014-08-26 Thread Glen Barber
Author: gjb Date: Tue Aug 26 20:40:12 2014 New Revision: 270672 URL: http://svnweb.freebsd.org/changeset/base/270672 Log: Add svnlite.1 to CLEANFILES. MFC after:3 days X-MFC-To: stable/10 only Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/svn/svn/Makefile Modif

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

2014-08-26 Thread Slawa Olhovchenkov
On Tue, Aug 26, 2014 at 10:35:21PM +0300, Alexander Motin wrote: > On 26.08.2014 21:54, Slawa Olhovchenkov wrote: > > On Tue, May 20, 2014 at 09:04:25AM -0700, Adrian Chadd wrote: > > > >> On 20 May 2014 08:41, Slawa Olhovchenkov wrote: > >> > (But if you try it on 10.0 and it changes thing

svn commit: r270669 - head/usr.bin/host

2014-08-26 Thread Glen Barber
Author: gjb Date: Tue Aug 26 19:36:47 2014 New Revision: 270669 URL: http://svnweb.freebsd.org/changeset/base/270669 Log: Add host.1 to CLEANFILES. MFC after:3 days X-MFC-To: stable/10 only Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/host/Makefile Modified: h

svn commit: r270668 - head/gnu/usr.bin/grep

2014-08-26 Thread Glen Barber
Author: gjb Date: Tue Aug 26 19:36:34 2014 New Revision: 270668 URL: http://svnweb.freebsd.org/changeset/base/270668 Log: Add gnugrep.1 to CLEANFILES. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/gnu/usr.bin/grep/Makefile Modified: head/gnu/usr.bin/grep/Mak

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

2014-08-26 Thread Alexander Motin
On 26.08.2014 21:54, Slawa Olhovchenkov wrote: > On Tue, May 20, 2014 at 09:04:25AM -0700, Adrian Chadd wrote: > >> On 20 May 2014 08:41, Slawa Olhovchenkov wrote: >> (But if you try it on 10.0 and it changes things, by all means let me know.) >>> >>> I am try on 10.0, but not sure abo

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-26 Thread John-Mark Gurney
John Baldwin wrote this message on Tue, Aug 26, 2014 at 15:09 -0400: > On Monday, August 25, 2014 6:30:34 pm John-Mark Gurney wrote: > > John Baldwin wrote this message on Mon, Aug 25, 2014 at 13:35 -0400: > > > On Monday, August 25, 2014 07:02:41 PM Mateusz Guzik wrote: > > > > On Mon, Aug 25, 201

Re: svn commit: r270648 - in head/sys: kern sys

2014-08-26 Thread John Baldwin
On Tuesday, August 26, 2014 9:55:22 am Mateusz Guzik wrote: > On Tue, Aug 26, 2014 at 09:45:38AM -0400, John Baldwin wrote: > > On Tuesday, August 26, 2014 4:17:22 am Mateusz Guzik wrote: > > > Author: mjg > > > Date: Tue Aug 26 08:17:22 2014 > > > New Revision: 270648 > > > URL: http://svnweb.free

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-26 Thread John Baldwin
On Monday, August 25, 2014 9:28:16 pm Mateusz Guzik wrote: > On Mon, Aug 25, 2014 at 01:35:58PM -0400, John Baldwin wrote: > > On Monday, August 25, 2014 07:02:41 PM Mateusz Guzik wrote: > > > On Mon, Aug 25, 2014 at 10:23:19AM -0400, John Baldwin wrote: > > > > On Sunday, August 24, 2014 09:04:09

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-26 Thread John Baldwin
On Monday, August 25, 2014 6:30:34 pm John-Mark Gurney wrote: > John Baldwin wrote this message on Mon, Aug 25, 2014 at 13:35 -0400: > > On Monday, August 25, 2014 07:02:41 PM Mateusz Guzik wrote: > > > On Mon, Aug 25, 2014 at 10:23:19AM -0400, John Baldwin wrote: > > > > On Sunday, August 24, 2014

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

2014-08-26 Thread Slawa Olhovchenkov
On Tue, May 20, 2014 at 09:04:25AM -0700, Adrian Chadd wrote: > On 20 May 2014 08:41, Slawa Olhovchenkov wrote: > > >> (But if you try it on 10.0 and it changes things, by all means let me > >> know.) > > > > I am try on 10.0, but not sure about significant improvement (may be > > 10%). > > > >

Re: svn commit: r270227 - head/sys/sys

2014-08-26 Thread Bruce Evans
On Tue, 26 Aug 2014, Benjamin Kaduk wrote: On Tue, Aug 26, 2014 at 9:58 AM, Bruce Evans wrote: That would be a further obfuscation. The *INTC() macros expand to integer constant expressions of the specified type suitable for use in #if preprocessing directives. (It is otherwise difficult t

svn commit: r270667 - head/sys/dev/vt

2014-08-26 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Aug 26 17:48:05 2014 New Revision: 270667 URL: http://svnweb.freebsd.org/changeset/base/270667 Log: vt(4): When creating a window buffer, fill it entirely ... not just the visible part. This fixes a bug where, when switching from eg. vt_vga to vt_fb (ie. the

svn commit: r270666 - head/sys/vm

2014-08-26 Thread Alan Cox
Author: alc Date: Tue Aug 26 16:40:20 2014 New Revision: 270666 URL: http://svnweb.freebsd.org/changeset/base/270666 Log: Back in the days when the kernel was single threaded, testing "vm_paging_target() > 0" was a reasonable way of determining if the inactive queue scan met its target. How

svn commit: r270664 - in head/sys: dev/streams kern sys

2014-08-26 Thread Gleb Smirnoff
Author: glebius Date: Tue Aug 26 14:44:08 2014 New Revision: 270664 URL: http://svnweb.freebsd.org/changeset/base/270664 Log: - Remove socket file operations declaration from sys/file.h. - Make them static in sys_socket.c. - Provide generic invfo_truncate() instead of soo_truncate(). Sp

Re: svn commit: r270227 - head/sys/sys

2014-08-26 Thread Benjamin Kaduk
On Tue, Aug 26, 2014 at 9:58 AM, Bruce Evans wrote: > > That would be a further obfuscation. The *INTC() macros expand to > integer constant expressions of the specified type suitable for use > in #if preprocessing directives. (It is otherwise difficult to > detemine the correct suffix, to add

Re: svn commit: r270227 - head/sys/sys

2014-08-26 Thread Bruce Evans
On Tue, 26 Aug 2014, Ed Schouten wrote: On 20 August 2014 18:32, Davide Italiano wrote: - _bt->frac = _ts->tv_nsec * (uint64_t)18446744073LL; + _bt->frac = _ts->tv_nsec * (uint64_t)18446744073; You could also consider using UINT64_C(18446744073); that's the C standard way of crea

Re: svn commit: r270648 - in head/sys: kern sys

2014-08-26 Thread Mateusz Guzik
On Tue, Aug 26, 2014 at 09:45:38AM -0400, John Baldwin wrote: > On Tuesday, August 26, 2014 4:17:22 am Mateusz Guzik wrote: > > Author: mjg > > Date: Tue Aug 26 08:17:22 2014 > > New Revision: 270648 > > URL: http://svnweb.freebsd.org/changeset/base/270648 > > > > Log: > > Fix up races with f_se

Re: svn commit: r270648 - in head/sys: kern sys

2014-08-26 Thread John Baldwin
On Tuesday, August 26, 2014 4:17:22 am Mateusz Guzik wrote: > Author: mjg > Date: Tue Aug 26 08:17:22 2014 > New Revision: 270648 > URL: http://svnweb.freebsd.org/changeset/base/270648 > > Log: > Fix up races with f_seqcount handling. > > It was possible that the kernel would overwrite user

svn commit: r270661 - head/contrib/libarchive/tar

2014-08-26 Thread Andrey V. Elsukov
Author: ae Date: Tue Aug 26 13:11:38 2014 New Revision: 270661 URL: http://svnweb.freebsd.org/changeset/base/270661 Log: Remove leading '/' from hardlink name when removing them from the regular file name. This fixes the problem, when bsdtar can not create hardlinks to extracted files.

Re: svn commit: r270227 - head/sys/sys

2014-08-26 Thread Ed Schouten
Hey! On 20 August 2014 18:32, Davide Italiano wrote: > - _bt->frac = _ts->tv_nsec * (uint64_t)18446744073LL; > + _bt->frac = _ts->tv_nsec * (uint64_t)18446744073; You could also consider using UINT64_C(18446744073); that's the C standard way of creating an integer constant having a c

Re: svn commit: r270647 - in head: etc/defaults share/man/man4 share/man/man5 share/man/man7 share/man/man8

2014-08-26 Thread Stefan Esser
Am 26.08.2014 um 10:53 schrieb Marius Strobl: > On Tue, Aug 26, 2014 at 08:13:30AM +, Stefan Esser wrote: >> Author: se >> Date: Tue Aug 26 08:13:30 2014 >> New Revision: 270647 >> URL: http://svnweb.freebsd.org/changeset/base/270647 >> >> Log: >> Add references to vt(4) and the configuration

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

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 11:13:07 2014 New Revision: 270660 URL: http://svnweb.freebsd.org/changeset/base/270660 Log: Back-out the references to vt(4) from this man-page. It appears that the splash support in vt is implemented within the vt driver and does not depend on splash(4). Su

svn commit: r270659 - head/usr.bin/lock

2014-08-26 Thread Sergey Kandaurov
Author: pluknet Date: Tue Aug 26 11:04:51 2014 New Revision: 270659 URL: http://svnweb.freebsd.org/changeset/base/270659 Log: Missed comma. Modified: head/usr.bin/lock/lock.1 Modified: head/usr.bin/lock/lock.1 == ---

svn commit: r270657 - in head: usr.bin/lock usr.sbin/bsdconfig usr.sbin/bsdinstall usr.sbin/kbdmap

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 10:55:08 2014 New Revision: 270657 URL: http://svnweb.freebsd.org/changeset/base/270657 Log: More man pages that need to know about vt in addition to syscons. MFC after:3 dayS Modified: head/usr.bin/lock/lock.1 head/usr.sbin/bsdconfig/bsdconfig.8 head/

svn commit: r270653 - head/usr.sbin/kbdcontrol

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 09:40:14 2014 New Revision: 270653 URL: http://svnweb.freebsd.org/changeset/base/270653 Log: Update man-pages to correctly refer to changed pathes and naming conventions for systems with vt(4) consoles. MFC after:3 days Modified: head/usr.sbin/kbdcontrol

svn commit: r270652 - head/usr.sbin/kbdcontrol

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 09:37:43 2014 New Revision: 270652 URL: http://svnweb.freebsd.org/changeset/base/270652 Log: Remove band.aid that made kbdcontrol lookup keymap files in the syscons path even under vt, which is no longer useful, since the syscons keymap files have been converted a

svn commit: r270651 - head/share/mk

2014-08-26 Thread Garrett Cooper
Author: ngie Date: Tue Aug 26 09:12:41 2014 New Revision: 270651 URL: http://svnweb.freebsd.org/changeset/base/270651 Log: Introduce missing definition for LIBTERMCAPW Some Makefiles expect this value to exist Approved by: rpaulo (mentor) MFC after: 5 days Phabric: D675 (as part of

svn commit: r270650 - in head: usr.bin/bc usr.bin/clang/lldb usr.bin/talk usr.sbin/gstat

2014-08-26 Thread Garrett Cooper
Author: ngie Date: Tue Aug 26 09:10:28 2014 New Revision: 270650 URL: http://svnweb.freebsd.org/changeset/base/270650 Log: Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd" Also, add a missing LIBPANEL dependency for lldb Approved by: rpaulo (mentor) Suggested by: brooks MFC

svn commit: r270649 - head/libexec/rtld-elf/tests/target

2014-08-26 Thread Garrett Cooper
Author: ngie Date: Tue Aug 26 09:01:11 2014 New Revision: 270649 URL: http://svnweb.freebsd.org/changeset/base/270649 Log: Fix "make checkdpadd" by "spoofing" DPADD Approved by: jmmv (mentor) Phabric: D631 PR: 192769 Modified: head/libexec/rtld-elf/tests/target/Makefile Modified: he

Re: svn commit: r270647 - in head: etc/defaults share/man/man4 share/man/man5 share/man/man7 share/man/man8

2014-08-26 Thread Marius Strobl
On Tue, Aug 26, 2014 at 08:13:30AM +, Stefan Esser wrote: > Author: se > Date: Tue Aug 26 08:13:30 2014 > New Revision: 270647 > URL: http://svnweb.freebsd.org/changeset/base/270647 > > Log: > Add references to vt(4) and the configuration files in /usr7share/vt where > appropriate (i.e. wh

svn commit: r270648 - in head/sys: kern sys

2014-08-26 Thread Mateusz Guzik
Author: mjg Date: Tue Aug 26 08:17:22 2014 New Revision: 270648 URL: http://svnweb.freebsd.org/changeset/base/270648 Log: Fix up races with f_seqcount handling. It was possible that the kernel would overwrite user-supplied hint. Abuse vnode lock for this purpose. In collaboration

svn commit: r270647 - in head: etc/defaults share/man/man4 share/man/man5 share/man/man7 share/man/man8

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 08:13:30 2014 New Revision: 270647 URL: http://svnweb.freebsd.org/changeset/base/270647 Log: Add references to vt(4) and the configuration files in /usr7share/vt where appropriate (i.e. where syscons was already mentioned and vt supports the feature). Comments in

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

2014-08-26 Thread Gleb Smirnoff
On Mon, Aug 25, 2014 at 05:03:10AM +, Adrian Chadd wrote: A> Author: adrian A> Date: Mon Aug 25 05:03:10 2014 A> New Revision: 270516 A> URL: http://svnweb.freebsd.org/changeset/base/270516 A> A> Log: A> i915 driver - enable opregion handle; program CADL. A> A> add opregion handling for