Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-02-03 Thread Adrian Chadd
On 31 January 2014 17:28, James Gritton wrote: > I second the documentation route. Yes, it's true that this option > makes a totally insecure jail - at least one lacking the expected jail > security additions. But I think that while security is one of the > primary purposes of jails, it's not

Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-02-03 Thread Robert N. M. Watson
On 3 Feb 2014, at 23:53, Doug Ambrisko wrote: > It's unfortunate that vimage requires jail. I want to use vimage but > not have the security restrictions of a jail. To do this I patched > jail to basically let everything through. It would be nice to be > able to run jail in an insecure mode w

Re: svn commit: r261454 - head/lib/libc/net

2014-02-03 Thread Bruce Evans
On Tue, 4 Feb 2014, Eitan Adler wrote: Log: libc/net: Fix some issues in inet6_opt_init() (from RFC 3542): * The RFC says (in section 10.1) that only when extbuf is not NULL, extlen shall be checked, so don't perform this check when NULL is passed. * socklen_t is unsigned, so checking ext

svn commit: r261460 - head/sys/conf

2014-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 4 05:35:04 2014 New Revision: 261460 URL: http://svnweb.freebsd.org/changeset/base/261460 Log: Pass MACHINE and MACHINE_ARCH down into the modules Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk ==

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

2014-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 4 05:26:12 2014 New Revision: 261459 URL: http://svnweb.freebsd.org/changeset/base/261459 Log: Remove trailing tabs causing false grep positives Modified: head/sys/arm/ti/am335x/files.am335x Modified: head/sys/arm/ti/am335x/files.am335x

svn commit: r261458 - head/sys/arm/econa

2014-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 4 05:21:57 2014 New Revision: 261458 URL: http://svnweb.freebsd.org/changeset/base/261458 Log: s/standard/optional/ for ohci and echi, since these files are optional and not standard. Modified: head/sys/arm/econa/files.econa Modified: head/sys/arm/econa/files.eco

svn commit: r261456 - head/sys/conf

2014-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 4 03:59:35 2014 New Revision: 261456 URL: http://svnweb.freebsd.org/changeset/base/261456 Log: Add a prior version compat define. Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk ===

svn commit: r261455 - in stable/10: lib/libc/sparc64/fpu lib/libc/xdr sys/amd64/pci sys/amd64/vmm/intel sys/arm/arm sys/arm/at91 sys/arm/broadcom/bcm2835 sys/arm/econa sys/arm/freescale/imx sys/arm...

2014-02-03 Thread Eitan Adler
Author: eadler Date: Tue Feb 4 03:36:42 2014 New Revision: 261455 URL: http://svnweb.freebsd.org/changeset/base/261455 Log: MFC r258779,r258780,r258787,r258822: Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) whic

svn commit: r261454 - head/lib/libc/net

2014-02-03 Thread Eitan Adler
Author: eadler Date: Tue Feb 4 03:01:33 2014 New Revision: 261454 URL: http://svnweb.freebsd.org/changeset/base/261454 Log: libc/net: Fix some issues in inet6_opt_init() (from RFC 3542): * The RFC says (in section 10.1) that only when extbuf is not NULL, extlen shall be checked, so don't

svn commit: r261453 - head/sys/amd64/vmm/intel

2014-02-03 Thread Neel Natu
Author: neel Date: Tue Feb 4 02:45:08 2014 New Revision: 261453 URL: http://svnweb.freebsd.org/changeset/base/261453 Log: Avoid doing unnecessary nested TLB invalidations. Prior to this change the cached value of 'pm_eptgen' was tracked per-vcpu and per-hostcpu. In the degenerate case wh

svn commit: r261451 - stable/9/sys/cam

2014-02-03 Thread Alexander Motin
Author: mav Date: Tue Feb 4 00:52:08 2014 New Revision: 261451 URL: http://svnweb.freebsd.org/changeset/base/261451 Log: MFC r260996: Fix memory and references leak due to unfreed path in case we can't allocate bus scan CCB. Modified: stable/9/sys/cam/cam_xpt.c Directory Properties: st

svn commit: r261450 - stable/10/sys/cam

2014-02-03 Thread Alexander Motin
Author: mav Date: Tue Feb 4 00:51:06 2014 New Revision: 261450 URL: http://svnweb.freebsd.org/changeset/base/261450 Log: MFC r260996: Fix memory and references leak due to unfreed path in case we can't allocate bus scan CCB. Modified: stable/10/sys/cam/cam_xpt.c Directory Properties: s

Re: svn commit: r261424 - head/sys/dev/mmc

2014-02-03 Thread John Baldwin
On Monday, February 03, 2014 02:57:52 PM Ian Lepore wrote: > On Mon, 2014-02-03 at 16:33 -0500, John Baldwin wrote: > > On Monday, February 03, 2014 01:07:39 PM Ian Lepore wrote: > > > On Mon, 2014-02-03 at 09:03 -0800, John-Mark Gurney wrote: > > > > Ian Lepore wrote this message on Mon, Feb 03, 2

svn commit: r261449 - head/sys/rpc

2014-02-03 Thread Alexander Motin
Author: mav Date: Tue Feb 4 00:00:01 2014 New Revision: 261449 URL: http://svnweb.freebsd.org/changeset/base/261449 Log: Fix lock acquisition in case no request space available, missed in r260097. MFC after:3 days Modified: head/sys/rpc/svc.c Modified: head/sys/rpc/svc.c ==

Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-02-03 Thread Doug Ambrisko
On Fri, Jan 31, 2014 at 06:28:27PM -0700, James Gritton wrote: | On 1/31/2014 2:30 PM, Alexander Leidinger wrote: | > On Fri, 31 Jan 2014 12:34:48 + (GMT) | > Robert Watson wrote: | >> On Wed, 29 Jan 2014, Alexander Leidinger wrote: | It does. I included a warning in jail.8 that this wil

svn commit: r261447 - head/lib/libc/sys

2014-02-03 Thread Christian Brueffer
Author: brueffer Date: Mon Feb 3 22:16:46 2014 New Revision: 261447 URL: http://svnweb.freebsd.org/changeset/base/261447 Log: Fix a typo. MFC after:1 week Modified: head/lib/libc/sys/cap_enter.2 Modified: head/lib/libc/sys/cap_enter.2 ===

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread Alexander Kabaev
On Mon, 3 Feb 2014 18:54:46 + David Chisnall wrote: > On 3 Feb 2014, at 18:32, Alexander Kabaev wrote: > > > More than likely. It does appear libc++ does not go through same > > pains to maintain ABI stable as libstdc++ does. The lack of all and > > any symbol versions in shared library bin

Re: svn commit: r261424 - head/sys/dev/mmc

2014-02-03 Thread Ian Lepore
On Mon, 2014-02-03 at 16:33 -0500, John Baldwin wrote: > On Monday, February 03, 2014 01:07:39 PM Ian Lepore wrote: > > On Mon, 2014-02-03 at 09:03 -0800, John-Mark Gurney wrote: > > > Ian Lepore wrote this message on Mon, Feb 03, 2014 at 02:56 +: > > > > Author: ian > > > > Date: Mon Feb 3 02

Re: svn commit: r261424 - head/sys/dev/mmc

2014-02-03 Thread John Baldwin
On Monday, February 03, 2014 01:07:39 PM Ian Lepore wrote: > On Mon, 2014-02-03 at 09:03 -0800, John-Mark Gurney wrote: > > Ian Lepore wrote this message on Mon, Feb 03, 2014 at 02:56 +: > > > Author: ian > > > Date: Mon Feb 3 02:56:23 2014 > > > New Revision: 261424 > > > URL: http://svnweb.f

Re: svn commit: r261424 - head/sys/dev/mmc

2014-02-03 Thread Ian Lepore
On Mon, 2014-02-03 at 09:03 -0800, John-Mark Gurney wrote: > Ian Lepore wrote this message on Mon, Feb 03, 2014 at 02:56 +: > > Author: ian > > Date: Mon Feb 3 02:56:23 2014 > > New Revision: 261424 > > URL: http://svnweb.freebsd.org/changeset/base/261424 > > > > Log: > > Sort the list. > >

svn commit: r261446 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 19:14:36 2014 New Revision: 261446 URL: http://svnweb.freebsd.org/changeset/base/261446 Log: Convert the loop by gotos into a for loop to improve readability. I did this only with the inner loop for the token parsing, and not the outer loop which was understandab

svn commit: r261445 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 19:10:33 2014 New Revision: 261445 URL: http://svnweb.freebsd.org/changeset/base/261445 Log: Fix a bug introduced in r261437 that failed to honor "optional profiling-routine" to work, since profiling-routine is not really an option or a device, but a special case

svn commit: r261444 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 18:56:41 2014 New Revision: 261444 URL: http://svnweb.freebsd.org/changeset/base/261444 Log: Slight cleanup to the error messaging to compress code vertically... Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c =

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread David Chisnall
On 3 Feb 2014, at 18:32, Alexander Kabaev wrote: > More than likely. It does appear libc++ does not go through same pains > to maintain ABI stable as libstdc++ does. The lack of all and any > symbol versions in shared library binary strongly suggests that not > only they do not bother with ABI st

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread Dimitry Andric
On 03 Feb 2014, at 13:32, Stefan Farfeleder wrote: > On Thu, Jan 30, 2014 at 07:44:23AM +, Dimitry Andric wrote: >> Author: dim >> Date: Thu Jan 30 07:44:22 2014 >> New Revision: 261283 >> URL: http://svnweb.freebsd.org/changeset/base/261283 >> >> Log: >> Import libc++ 3.4 release. This con

svn commit: r261443 - head/release/doc/en_US.ISO8859-1/relnotes

2014-02-03 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Mon Feb 3 18:44:36 2014 New Revision: 261443 URL: http://svnweb.freebsd.org/changeset/base/261443 Log: OpenSSH been updated to 6.5p1. bmake has been updated to version 20140101. Approved by: hrs (mentor) Modified: head/release/doc/en_US.IS

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread Alexander Kabaev
On Mon, 3 Feb 2014 13:32:36 +0100 Stefan Farfeleder wrote: > On Thu, Jan 30, 2014 at 07:44:23AM +, Dimitry Andric wrote: > > Author: dim > > Date: Thu Jan 30 07:44:22 2014 > > New Revision: 261283 > > URL: http://svnweb.freebsd.org/changeset/base/261283 > > > > Log: > > Import libc++ 3.4 r

svn commit: r261442 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 18:31:51 2014 New Revision: 261442 URL: http://svnweb.freebsd.org/changeset/base/261442 Log: Better error messages when EOF is hit in the middle of a phrase. Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c =

svn commit: r261441 - svnadmin/conf

2014-02-03 Thread Glen Barber
Author: gjb Date: Mon Feb 3 17:33:06 2014 New Revision: 261441 URL: http://svnweb.freebsd.org/changeset/base/261441 Log: Turn releng/10.0 over to secteam. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: svnadmin/conf/approvers Modified: svnadmin/conf/approv

svn commit: r261440 - head/sys/geom/uncompress

2014-02-03 Thread Luiz Otavio O Souza
Author: loos Date: Mon Feb 3 17:25:36 2014 New Revision: 261440 URL: http://svnweb.freebsd.org/changeset/base/261440 Log: Fix a logic error. Because of this inflateReset() wasn't being called and the output buffer wasn't being cleared between the inflate() calls, producing zeroed output af

svn commit: r261439 - head/sys/geom/uncompress

2014-02-03 Thread Luiz Otavio O Souza
Author: loos Date: Mon Feb 3 17:21:36 2014 New Revision: 261439 URL: http://svnweb.freebsd.org/changeset/base/261439 Log: Remove some unnecessary code. The offsets read from the first block are overwritten a few lines bellow. Reviewed by: ray Approved by: adrian (mentor) Modified:

Re: svn commit: r261424 - head/sys/dev/mmc

2014-02-03 Thread John-Mark Gurney
Ian Lepore wrote this message on Mon, Feb 03, 2014 at 02:56 +: > Author: ian > Date: Mon Feb 3 02:56:23 2014 > New Revision: 261424 > URL: http://svnweb.freebsd.org/changeset/base/261424 > > Log: > Sort the list. > > Modified: > head/sys/dev/mmc/mmc.c > > Modified: head/sys/dev/mmc/mmc.

svn commit: r261438 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 16:54:53 2014 New Revision: 261438 URL: http://svnweb.freebsd.org/changeset/base/261438 Log: Move the check for standard keyword + optional inclusion specifier to its proper location. Otherwise you could have 'file.c standard pci' without an error. This construct

svn commit: r261437 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 16:47:10 2014 New Revision: 261437 URL: http://svnweb.freebsd.org/changeset/base/261437 Log: Don't believe we have a requirement until after we've checked all the known key words. This will make error messages slightly better in weird corner cases, but should oth

svn commit: r261436 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 16:46:01 2014 New Revision: 261436 URL: http://svnweb.freebsd.org/changeset/base/261436 Log: In the 17 years since r30796, the mandatory keyword has never been used in any files as far as I can tell, and is currently unused. Retire it. Modified: head/usr.sbin/co

svn commit: r261435 - head/usr.sbin/config

2014-02-03 Thread Warner Losh
Author: imp Date: Mon Feb 3 15:10:44 2014 New Revision: 261435 URL: http://svnweb.freebsd.org/changeset/base/261435 Log: Slightly deobfuscate read_file() and likely pessimize the runtime performance by epsilon. (Translation: elminate bogus macros that hid 'returns' making it hard to read

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread Stefan Farfeleder
On Thu, Jan 30, 2014 at 07:44:23AM +, Dimitry Andric wrote: > Author: dim > Date: Thu Jan 30 07:44:22 2014 > New Revision: 261283 > URL: http://svnweb.freebsd.org/changeset/base/261283 > > Log: > Import libc++ 3.4 release. This contains a lot of bugfixes, and some > preliminary support fo

svn commit: r261432 - head/sys/conf

2014-02-03 Thread Rui Paulo
Author: rpaulo Date: Mon Feb 3 08:15:09 2014 New Revision: 261432 URL: http://svnweb.freebsd.org/changeset/base/261432 Log: Fix the definition of hg_cmd. MFC after:3 days Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh =

svn commit: r261431 - head/contrib/libyaml/src

2014-02-03 Thread Baptiste Daroussin
Author: bapt Date: Mon Feb 3 08:13:44 2014 New Revision: 261431 URL: http://svnweb.freebsd.org/changeset/base/261431 Log: Apply patch for CVE-2013-6393 [1] to fix heap-based buffer overflow when parsing YAML tags. Also apply a patch for hardenning the guards againt the issue The only u

svn commit: r261430 - stable/10/sys/conf

2014-02-03 Thread Rui Paulo
Author: rpaulo Date: Mon Feb 3 08:04:09 2014 New Revision: 261430 URL: http://svnweb.freebsd.org/changeset/base/261430 Log: MFC r256499: Add support for Mercurial repositories. Modified: stable/10/sys/conf/newvers.sh Directory Properties: stable/10/ (props changed) Modified: stable

svn commit: r261429 - vendor/libyaml/dist/src

2014-02-03 Thread Baptiste Daroussin
Author: bapt Date: Mon Feb 3 08:00:45 2014 New Revision: 261429 URL: http://svnweb.freebsd.org/changeset/base/261429 Log: Apply patch for CVE-2013-6393 [1] to fix heap-based buffer overflow when parsing YAML tags. Also apply a patch for hardenning the guards againt the issue The only u