From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 00:32:08 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 18F7EAC0;
 Sun, 13 Jan 2013 00:32:08 +0000 (UTC) (envelope-from mjg@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 0B171F6C;
 Sun, 13 Jan 2013 00:32:08 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0D0W7K3030056;
 Sun, 13 Jan 2013 00:32:07 GMT (envelope-from mjg@svn.freebsd.org)
Received: (from mjg@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0D0W7Em030055;
 Sun, 13 Jan 2013 00:32:07 GMT (envelope-from mjg@svn.freebsd.org)
Message-Id: <201301130032.r0D0W7Em030055@svn.freebsd.org>
From: Mateusz Guzik <mjg@FreeBSD.org>
Date: Sun, 13 Jan 2013 00:32:07 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245351 - stable/9/sys/kern
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 00:32:08 -0000

Author: mjg
Date: Sun Jan 13 00:32:07 2013
New Revision: 245351
URL: http://svnweb.freebsd.org/changeset/base/245351

Log:
  MFC r245113:
  lockmgr: unlock interlock (if requested) when dealing with upgrade/downgrade
  requests for LK_NOSHARE locks, just like for shared locks.
  
  PR:		kern/174969

Modified:
  stable/9/sys/kern/kern_lock.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/kern_lock.c
==============================================================================
--- stable/9/sys/kern/kern_lock.c	Sat Jan 12 23:49:11 2013	(r245350)
+++ stable/9/sys/kern/kern_lock.c	Sun Jan 13 00:32:07 2013	(r245351)
@@ -489,6 +489,8 @@ __lockmgr_args(struct lock *lk, u_int fl
 		case LK_DOWNGRADE:
 			_lockmgr_assert(lk, KA_XLOCKED | KA_NOTRECURSED,
 			    file, line);
+			if (flags & LK_INTERLOCK)
+				class->lc_unlock(ilk);
 			return (0);
 		}
 	}

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 00:46:39 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id B3BC2CA6;
 Sun, 13 Jan 2013 00:46:39 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 99C52FAC;
 Sun, 13 Jan 2013 00:46:39 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0D0kdMf033253;
 Sun, 13 Jan 2013 00:46:39 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0D0kdEn033252;
 Sun, 13 Jan 2013 00:46:39 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301130046.r0D0kdEn033252@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sun, 13 Jan 2013 00:46:39 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245352 - stable/9/sys/fs/nullfs
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 00:46:39 -0000

Author: kib
Date: Sun Jan 13 00:46:39 2013
New Revision: 245352
URL: http://svnweb.freebsd.org/changeset/base/245352

Log:
  MFC r245262:
  When nullfs mount is forcibly unmounted and nullfs vnode is reclaimed,
  get back the leased write reference from the lower vnode.  There is no
  other path which can correct v_writecount on the lowervp.

Modified:
  stable/9/sys/fs/nullfs/null_vnops.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/fs/   (props changed)

Modified: stable/9/sys/fs/nullfs/null_vnops.c
==============================================================================
--- stable/9/sys/fs/nullfs/null_vnops.c	Sun Jan 13 00:32:07 2013	(r245351)
+++ stable/9/sys/fs/nullfs/null_vnops.c	Sun Jan 13 00:46:39 2013	(r245352)
@@ -725,6 +725,14 @@ null_reclaim(struct vop_reclaim_args *ap
 	vp->v_object = NULL;
 	vp->v_vnlock = &vp->v_lock;
 	VI_UNLOCK(vp);
+
+	/*
+	 * If we were opened for write, we leased one write reference
+	 * to the lower vnode.  If this is a reclamation due to the
+	 * forced unmount, undo the reference now.
+	 */
+	if (vp->v_writecount > 0)
+		VOP_ADD_WRITECOUNT(lowervp, -1);
 	vput(lowervp);
 	free(xp, M_NULLFSNODE);
 

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 00:55:32 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 50236EE9;
 Sun, 13 Jan 2013 00:55:32 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 29654FE5;
 Sun, 13 Jan 2013 00:55:32 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0D0tWHW035943;
 Sun, 13 Jan 2013 00:55:32 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0D0tV2x035938;
 Sun, 13 Jan 2013 00:55:31 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301130055.r0D0tV2x035938@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sun, 13 Jan 2013 00:55:31 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245353 - stable/9/sys/fs/nullfs
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 00:55:32 -0000

Author: kib
Date: Sun Jan 13 00:55:30 2013
New Revision: 245353
URL: http://svnweb.freebsd.org/changeset/base/245353

Log:
  MFC r245004:
  Add the "nocache" nullfs mount option.
  
  MFC r245033:
  Fix reversed condition in the assertion.

Modified:
  stable/9/sys/fs/nullfs/null.h
  stable/9/sys/fs/nullfs/null_subr.c
  stable/9/sys/fs/nullfs/null_vfsops.c
  stable/9/sys/fs/nullfs/null_vnops.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/fs/   (props changed)

Modified: stable/9/sys/fs/nullfs/null.h
==============================================================================
--- stable/9/sys/fs/nullfs/null.h	Sun Jan 13 00:46:39 2013	(r245352)
+++ stable/9/sys/fs/nullfs/null.h	Sun Jan 13 00:55:30 2013	(r245353)
@@ -34,9 +34,15 @@
  * $FreeBSD$
  */
 
+#ifndef	FS_NULL_H
+#define	FS_NULL_H
+
+#define	NULLM_CACHE	0x0001
+
 struct null_mount {
 	struct mount	*nullm_vfs;
 	struct vnode	*nullm_rootvp;	/* Reference to root null_node */
+	uint64_t	nullm_flags;
 };
 
 #ifdef _KERNEL
@@ -80,3 +86,5 @@ MALLOC_DECLARE(M_NULLFSNODE);
 #endif /* NULLFS_DEBUG */
 
 #endif /* _KERNEL */
+
+#endif

Modified: stable/9/sys/fs/nullfs/null_subr.c
==============================================================================
--- stable/9/sys/fs/nullfs/null_subr.c	Sun Jan 13 00:46:39 2013	(r245352)
+++ stable/9/sys/fs/nullfs/null_subr.c	Sun Jan 13 00:55:30 2013	(r245353)
@@ -224,6 +224,9 @@ null_nodeget(mp, lowervp, vpp)
 	 * provide ready to use vnode.
 	 */
 	if (VOP_ISLOCKED(lowervp) != LK_EXCLUSIVE) {
+		KASSERT((MOUNTTONULLMOUNT(mp)->nullm_flags & NULLM_CACHE) != 0,
+		    ("lowervp %p is not excl locked and cache is disabled",
+		    lowervp));
 		vn_lock(lowervp, LK_UPGRADE | LK_RETRY);
 		if ((lowervp->v_iflag & VI_DOOMED) != 0) {
 			vput(lowervp);

Modified: stable/9/sys/fs/nullfs/null_vfsops.c
==============================================================================
--- stable/9/sys/fs/nullfs/null_vfsops.c	Sun Jan 13 00:46:39 2013	(r245352)
+++ stable/9/sys/fs/nullfs/null_vfsops.c	Sun Jan 13 00:55:30 2013	(r245353)
@@ -67,6 +67,15 @@ static vfs_vget_t	nullfs_vget;
 static vfs_extattrctl_t	nullfs_extattrctl;
 static vfs_reclaim_lowervp_t nullfs_reclaim_lowervp;
 
+/* Mount options that we support. */
+static const char *nullfs_opts[] = {
+	"cache",
+	"export",
+	"from",
+	"target",
+	NULL
+};
+
 /*
  * Mount null layer
  */
@@ -86,9 +95,11 @@ nullfs_mount(struct mount *mp)
 
 	if (!prison_allow(td->td_ucred, PR_ALLOW_MOUNT_NULLFS))
 		return (EPERM);
-
 	if (mp->mnt_flag & MNT_ROOTFS)
 		return (EOPNOTSUPP);
+	if (vfs_filteropt(mp->mnt_optnew, nullfs_opts))
+		return (EINVAL);
+
 	/*
 	 * Update is a no-op
 	 */
@@ -149,7 +160,7 @@ nullfs_mount(struct mount *mp)
 	}
 
 	xmp = (struct null_mount *) malloc(sizeof(struct null_mount),
-	    M_NULLFSMNT, M_WAITOK);
+	    M_NULLFSMNT, M_WAITOK | M_ZERO);
 
 	/*
 	 * Save reference to underlying FS
@@ -187,17 +198,27 @@ nullfs_mount(struct mount *mp)
 		mp->mnt_flag |= MNT_LOCAL;
 		MNT_IUNLOCK(mp);
 	}
+
+	xmp->nullm_flags |= NULLM_CACHE;
+	if (vfs_getopt(mp->mnt_optnew, "nocache", NULL, NULL) == 0)
+		xmp->nullm_flags &= ~NULLM_CACHE;
+
 	MNT_ILOCK(mp);
-	mp->mnt_kern_flag |= lowerrootvp->v_mount->mnt_kern_flag &
-	    (MNTK_MPSAFE | MNTK_SHARED_WRITES | MNTK_LOOKUP_SHARED |
-	    MNTK_EXTENDED_SHARED);
+	if ((xmp->nullm_flags & NULLM_CACHE) != 0) {
+		mp->mnt_kern_flag |= lowerrootvp->v_mount->mnt_kern_flag &
+		    (MNTK_MPSAFE | MNTK_SHARED_WRITES | MNTK_LOOKUP_SHARED |
+		    MNTK_EXTENDED_SHARED);
+	}
 	mp->mnt_kern_flag |= MNTK_LOOKUP_EXCL_DOTDOT;
 	MNT_IUNLOCK(mp);
 	mp->mnt_data =  xmp;
 	vfs_getnewfsid(mp);
-	MNT_ILOCK(xmp->nullm_vfs);
-	TAILQ_INSERT_TAIL(&xmp->nullm_vfs->mnt_uppers, mp, mnt_upper_link);
-	MNT_IUNLOCK(xmp->nullm_vfs);
+	if ((xmp->nullm_flags & NULLM_CACHE) != 0) {
+		MNT_ILOCK(xmp->nullm_vfs);
+		TAILQ_INSERT_TAIL(&xmp->nullm_vfs->mnt_uppers, mp,
+		    mnt_upper_link);
+		MNT_IUNLOCK(xmp->nullm_vfs);
+	}
 
 	vfs_mountedfrom(mp, target);
 
@@ -235,13 +256,15 @@ nullfs_unmount(mp, mntflags)
 	 */
 	mntdata = mp->mnt_data;
 	ump = mntdata->nullm_vfs;
-	MNT_ILOCK(ump);
-	while ((ump->mnt_kern_flag & MNTK_VGONE_UPPER) != 0) {
-		ump->mnt_kern_flag |= MNTK_VGONE_WAITER;
-		msleep(&ump->mnt_uppers, &ump->mnt_mtx, 0, "vgnupw", 0);
+	if ((mntdata->nullm_flags & NULLM_CACHE) != 0) {
+		MNT_ILOCK(ump);
+		while ((ump->mnt_kern_flag & MNTK_VGONE_UPPER) != 0) {
+			ump->mnt_kern_flag |= MNTK_VGONE_WAITER;
+			msleep(&ump->mnt_uppers, &ump->mnt_mtx, 0, "vgnupw", 0);
+		}
+		TAILQ_REMOVE(&ump->mnt_uppers, mp, mnt_upper_link);
+		MNT_IUNLOCK(ump);
 	}
-	TAILQ_REMOVE(&ump->mnt_uppers, mp, mnt_upper_link);
-	MNT_IUNLOCK(ump);
 	mp->mnt_data = NULL;
 	free(mntdata, M_NULLFSMNT);
 	return (0);

Modified: stable/9/sys/fs/nullfs/null_vnops.c
==============================================================================
--- stable/9/sys/fs/nullfs/null_vnops.c	Sun Jan 13 00:46:39 2013	(r245352)
+++ stable/9/sys/fs/nullfs/null_vnops.c	Sun Jan 13 00:55:30 2013	(r245353)
@@ -692,7 +692,22 @@ null_unlock(struct vop_unlock_args *ap)
 static int
 null_inactive(struct vop_inactive_args *ap __unused)
 {
+	struct vnode *vp;
+	struct mount *mp;
+	struct null_mount *xmp;
 
+	vp = ap->a_vp;
+	mp = vp->v_mount;
+	xmp = MOUNTTONULLMOUNT(mp);
+	if ((xmp->nullm_flags & NULLM_CACHE) == 0) {
+		/*
+		 * If this is the last reference and caching of the
+		 * nullfs vnodes is not enabled, then free up the
+		 * vnode so as not to tie up the lower vnodes.
+		 */
+		vp->v_object = NULL;
+		vrecycle(vp, curthread);
+	}
 	return (0);
 }
 

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 00:58:03 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 87800EC;
 Sun, 13 Jan 2013 00:58:03 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 479A0FF8;
 Sun, 13 Jan 2013 00:58:03 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0D0w36O036286;
 Sun, 13 Jan 2013 00:58:03 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0D0w3sw036285;
 Sun, 13 Jan 2013 00:58:03 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301130058.r0D0w3sw036285@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sun, 13 Jan 2013 00:58:03 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245354 - stable/9/sbin/mount_nullfs
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 00:58:03 -0000

Author: kib
Date: Sun Jan 13 00:58:02 2013
New Revision: 245354
URL: http://svnweb.freebsd.org/changeset/base/245354

Log:
  MFC r245005:
  Allow to specify "cache" and "nocache" as an option for
  mount_nullfs(8).

Modified:
  stable/9/sbin/mount_nullfs/mount_nullfs.c
Directory Properties:
  stable/9/sbin/mount_nullfs/   (props changed)

Modified: stable/9/sbin/mount_nullfs/mount_nullfs.c
==============================================================================
--- stable/9/sbin/mount_nullfs/mount_nullfs.c	Sun Jan 13 00:55:30 2013	(r245353)
+++ stable/9/sbin/mount_nullfs/mount_nullfs.c	Sun Jan 13 00:58:02 2013	(r245354)
@@ -57,27 +57,35 @@ static const char rcsid[] =
 
 #include "mntopts.h"
 
-struct mntopt mopts[] = {
-	MOPT_STDOPTS,
-	MOPT_END
-};
-
 int	subdir(const char *, const char *);
 static void	usage(void) __dead2;
 
 int
 main(int argc, char *argv[])
 {
-	struct iovec iov[6];
-	int ch, mntflags;
+	struct iovec *iov;
+	char *p, *val;
 	char source[MAXPATHLEN];
 	char target[MAXPATHLEN];
+	char errmsg[255];
+	int ch, mntflags, iovlen;
+	char nullfs[] = "nullfs";
 
+	iov = NULL;
+	iovlen = 0;
 	mntflags = 0;
+	errmsg[0] = '\0';
 	while ((ch = getopt(argc, argv, "o:")) != -1)
 		switch(ch) {
 		case 'o':
-			getmntopts(optarg, mopts, &mntflags, 0);
+			val = strdup("");
+			p = strchr(optarg, '=');
+			if (p != NULL) {
+				free(val);
+				*p = '\0';
+				val = p + 1;
+			}
+			build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
 			break;
 		case '?':
 		default:
@@ -97,21 +105,16 @@ main(int argc, char *argv[])
 		errx(EX_USAGE, "%s (%s) and %s are not distinct paths",
 		    argv[0], target, argv[1]);
 
-	iov[0].iov_base = strdup("fstype");
-	iov[0].iov_len = sizeof("fstype");
-	iov[1].iov_base = strdup("nullfs");
-	iov[1].iov_len = strlen(iov[1].iov_base) + 1;
-	iov[2].iov_base = strdup("fspath");
-	iov[2].iov_len = sizeof("fspath");
-	iov[3].iov_base = source;
-	iov[3].iov_len = strlen(source) + 1;
-	iov[4].iov_base = strdup("target");
-	iov[4].iov_len = sizeof("target");
-	iov[5].iov_base = target;
-	iov[5].iov_len = strlen(target) + 1;
-
-	if (nmount(iov, 6, mntflags))
-		err(1, NULL);
+	build_iovec(&iov, &iovlen, "fstype", nullfs, (size_t)-1);
+	build_iovec(&iov, &iovlen, "fspath", source, (size_t)-1);
+	build_iovec(&iov, &iovlen, "target", target, (size_t)-1);
+	build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
+	if (nmount(iov, iovlen, mntflags) < 0) {
+		if (errmsg[0] != 0)
+			err(1, "%s: %s", source, errmsg);
+		else
+			err(1, "%s", source);
+	}
 	exit(0);
 }
 

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 01:26:51 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 9CFAE87D;
 Sun, 13 Jan 2013 01:26:51 +0000 (UTC) (envelope-from pfg@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 8E579125;
 Sun, 13 Jan 2013 01:26:51 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0D1Qp5X045321;
 Sun, 13 Jan 2013 01:26:51 GMT (envelope-from pfg@svn.freebsd.org)
Received: (from pfg@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0D1QpUd045320;
 Sun, 13 Jan 2013 01:26:51 GMT (envelope-from pfg@svn.freebsd.org)
Message-Id: <201301130126.r0D1QpUd045320@svn.freebsd.org>
From: "Pedro F. Giffuni" <pfg@FreeBSD.org>
Date: Sun, 13 Jan 2013 01:26:51 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245356 - stable/9/sys/fs/ext2fs
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 01:26:51 -0000

Author: pfg
Date: Sun Jan 13 01:26:50 2013
New Revision: 245356
URL: http://svnweb.freebsd.org/changeset/base/245356

Log:
  ext2fs: cleanup the dinode structure.
  
  It was plagued with style errors and the offsets had been lost.
  While here took the time to update the fields according to the
  latest ext4 documentation.
  
  Reviewed by:	bde

Modified:
  stable/9/sys/fs/ext2fs/ext2_dinode.h

Modified: stable/9/sys/fs/ext2fs/ext2_dinode.h
==============================================================================
--- stable/9/sys/fs/ext2fs/ext2_dinode.h	Sun Jan 13 01:22:40 2013	(r245355)
+++ stable/9/sys/fs/ext2fs/ext2_dinode.h	Sun Jan 13 01:26:50 2013	(r245356)
@@ -29,8 +29,6 @@
 #ifndef _FS_EXT2FS_EXT2_DINODE_H_
 #define _FS_EXT2FS_EXT2_DINODE_H_
 
-#define e2di_size_high	e2di_dacl
-
 /*
  * Special inode numbers
  * The root inode is the root of the file system.  Inode 0 can't be used for
@@ -87,11 +85,11 @@
 struct ext2fs_dinode {
 	uint16_t	e2di_mode;	/*   0: IFMT, permissions; see below. */
 	uint16_t	e2di_uid;	/*   2: Owner UID */
-	uint32_t	e2di_size;	/*	 4: Size (in bytes) */
-	uint32_t	e2di_atime;	/*	 8: Access time */
-	uint32_t	e2di_ctime;	/*	12: Change time */
-	uint32_t	e2di_mtime;	/*	16: Modification time */
-	uint32_t	e2di_dtime;	/*	20: Deletion time */
+	uint32_t	e2di_size;	/*   4: Size (in bytes) */
+	uint32_t	e2di_atime;	/*   8: Access time */
+	uint32_t	e2di_ctime;	/*  12: Change time */
+	uint32_t	e2di_mtime;	/*  16: Modification time */
+	uint32_t	e2di_dtime;	/*  20: Deletion time */
 	uint16_t	e2di_gid;	/*  24: Owner GID */
 	uint16_t	e2di_nlink;	/*  26: File link count */
 	uint32_t	e2di_nblock;	/*  28: Blocks count */
@@ -99,22 +97,23 @@ struct ext2fs_dinode {
 	uint32_t	e2di_version;	/*  36: Low 32 bits inode version */
 	uint32_t	e2di_blocks[EXT2_N_BLOCKS]; /* 40: disk blocks */
 	uint32_t	e2di_gen;	/* 100: generation number */
-	uint32_t	e2di_facl;	/* 104: file ACL (not implemented) */
-	uint32_t	e2di_dacl;	/* 108: dir ACL (not implemented) */
-	uint32_t	e2di_faddr;	/* 112: fragment address */
+	uint32_t	e2di_facl;	/* 104: Low EA block */
+	uint32_t	e2di_size_high;	/* 108: Upper bits of file size */
+	uint32_t	e2di_faddr;	/* 112: Fragment address (obsolete) */
 	uint16_t	e2di_nblock_high; /* 116: Blocks count bits 47:32 */
-	uint16_t	e2di_facl_high;	/* 118: file ACL bits 47:32 */
+	uint16_t	e2di_facl_high;	/* 118: File EA bits 47:32 */
 	uint16_t	e2di_uid_high;	/* 120: Owner UID top 16 bits */
 	uint16_t	e2di_gid_high;	/* 122: Owner GID top 16 bits */
-	uint32_t	e2di_linux_reserved3; /* 124 */
-	uint16_t	e2di_extra_isize;
-	uint16_t	e2di_pad1;
-	uint32_t        e2di_ctime_extra; /* Extra change time */
-	uint32_t        e2di_mtime_extra; /* Extra modification time */
-	uint32_t        e2di_atime_extra; /* Extra access time */
-	uint32_t        e2di_crtime;	  /* Creation (birth)time */
-	uint32_t        e2di_crtime_extra; /* Extra creation (birth)time */
-	uint32_t        e2di_version_hi;  /* High 30 bits of inode version */
+	uint16_t	e2di_chksum_lo;   /* 124: Lower inode checksum */
+	uint16_t	e2di_lx_reserved; /* 126: Unused */
+	uint16_t	e2di_extra_isize; /* 128: Size of this inode */
+	uint16_t	e2di_chksum_hi;	/* 130: High inode checksum */
+	uint32_t        e2di_ctime_extra; /* 132: Extra change time */
+	uint32_t        e2di_mtime_extra; /* 136: Extra modification time */
+	uint32_t        e2di_atime_extra; /* 140: Extra access time */
+	uint32_t        e2di_crtime;	/* 144: Creation (birth)time */
+	uint32_t        e2di_crtime_extra; /* 148: Extra creation (birth)time */
+	uint32_t        e2di_version_hi;  /* 152: High bits of inode version */
 };
 
 #endif /* !_FS_EXT2FS_EXT2_DINODE_H_ */

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 04:13:15 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 729EB585;
 Sun, 13 Jan 2013 04:13:15 +0000 (UTC)
 (envelope-from markj@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 4A11B6D8;
 Sun, 13 Jan 2013 04:13:15 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0D4DFtg095519;
 Sun, 13 Jan 2013 04:13:15 GMT (envelope-from markj@svn.freebsd.org)
Received: (from markj@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0D4DEgT095516;
 Sun, 13 Jan 2013 04:13:14 GMT (envelope-from markj@svn.freebsd.org)
Message-Id: <201301130413.r0D4DEgT095516@svn.freebsd.org>
From: Mark Johnston <markj@FreeBSD.org>
Date: Sun, 13 Jan 2013 04:13:14 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245357 - in stable/8/sys/dev/usb: . quirk
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 04:13:15 -0000

Author: markj
Date: Sun Jan 13 04:13:14 2013
New Revision: 245357
URL: http://svnweb.freebsd.org/changeset/base/245357

Log:
  MFC r244719:
    Add the NO_SYNC_CACHE quirk for all Apple USB MSC devices, as they
    typically do not handle the SYNCHRONIZE_CACHE command - they either
    return an error or the firmware enters a reset loop.
  
  Approved by:	rstone (co-mentor)

Modified:
  stable/8/sys/dev/usb/quirk/usb_quirk.c
  stable/8/sys/dev/usb/usbdevs
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/usb/   (props changed)

Modified: stable/8/sys/dev/usb/quirk/usb_quirk.c
==============================================================================
--- stable/8/sys/dev/usb/quirk/usb_quirk.c	Sun Jan 13 01:26:50 2013	(r245356)
+++ stable/8/sys/dev/usb/quirk/usb_quirk.c	Sun Jan 13 04:13:14 2013	(r245357)
@@ -467,6 +467,7 @@ static struct usb_quirk_entry usb_quirks
 	 * after issuing non-supported commands:
 	 */
 	USB_QUIRK(ALCOR, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MSC_NO_TEST_UNIT_READY, UQ_MATCH_VENDOR_ONLY),
+	USB_QUIRK(APPLE, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
 	USB_QUIRK(FEIYA, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
 	USB_QUIRK(REALTEK, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
 	USB_QUIRK(INITIO, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),

Modified: stable/8/sys/dev/usb/usbdevs
==============================================================================
--- stable/8/sys/dev/usb/usbdevs	Sun Jan 13 01:26:50 2013	(r245356)
+++ stable/8/sys/dev/usb/usbdevs	Sun Jan 13 04:13:14 2013	(r245357)
@@ -1050,6 +1050,7 @@ product AOX USB101		0x0008	Ethernet
 product APC UPS			0x0002	Uninterruptible Power Supply
 
 /* Apple Computer products */
+product APPLE DUMMY		0x0000	Dummy product
 product APPLE IMAC_KBD		0x0201	USB iMac Keyboard
 product APPLE KBD		0x0202	USB Keyboard M2452
 product APPLE EXT_KBD		0x020c	Apple Extended USB Keyboard

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 04:13:46 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id B652B6F3;
 Sun, 13 Jan 2013 04:13:46 +0000 (UTC)
 (envelope-from markj@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 8D72C6E1;
 Sun, 13 Jan 2013 04:13:46 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0D4Dk6c095634;
 Sun, 13 Jan 2013 04:13:46 GMT (envelope-from markj@svn.freebsd.org)
Received: (from markj@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0D4DkXX095632;
 Sun, 13 Jan 2013 04:13:46 GMT (envelope-from markj@svn.freebsd.org)
Message-Id: <201301130413.r0D4DkXX095632@svn.freebsd.org>
From: Mark Johnston <markj@FreeBSD.org>
Date: Sun, 13 Jan 2013 04:13:46 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245358 - in stable/9/sys/dev/usb: . quirk
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 04:13:46 -0000

Author: markj
Date: Sun Jan 13 04:13:45 2013
New Revision: 245358
URL: http://svnweb.freebsd.org/changeset/base/245358

Log:
  MFC r244719:
    Add the NO_SYNC_CACHE quirk for all Apple USB MSC devices, as they
    typically do not handle the SYNCHRONIZE_CACHE command - they either
    return an error or the firmware enters a reset loop.
  
  Approved by:	rstone (co-mentor)

Modified:
  stable/9/sys/dev/usb/quirk/usb_quirk.c
  stable/9/sys/dev/usb/usbdevs
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/usb/quirk/usb_quirk.c
==============================================================================
--- stable/9/sys/dev/usb/quirk/usb_quirk.c	Sun Jan 13 04:13:14 2013	(r245357)
+++ stable/9/sys/dev/usb/quirk/usb_quirk.c	Sun Jan 13 04:13:45 2013	(r245358)
@@ -480,6 +480,7 @@ static struct usb_quirk_entry usb_quirks
 	 * after issuing non-supported commands:
 	 */
 	USB_QUIRK(ALCOR, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MSC_NO_TEST_UNIT_READY, UQ_MATCH_VENDOR_ONLY),
+	USB_QUIRK(APPLE, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
 	USB_QUIRK(FEIYA, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
 	USB_QUIRK(REALTEK, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
 	USB_QUIRK(INITIO, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),

Modified: stable/9/sys/dev/usb/usbdevs
==============================================================================
--- stable/9/sys/dev/usb/usbdevs	Sun Jan 13 04:13:14 2013	(r245357)
+++ stable/9/sys/dev/usb/usbdevs	Sun Jan 13 04:13:45 2013	(r245358)
@@ -1049,6 +1049,7 @@ product AOX USB101		0x0008	Ethernet
 product APC UPS			0x0002	Uninterruptible Power Supply
 
 /* Apple Computer products */
+product APPLE DUMMY		0x0000	Dummy product
 product APPLE IMAC_KBD		0x0201	USB iMac Keyboard
 product APPLE KBD		0x0202	USB Keyboard M2452
 product APPLE EXT_KBD		0x020c	Apple Extended USB Keyboard

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 04:14:31 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id AEDF9862;
 Sun, 13 Jan 2013 04:14:31 +0000 (UTC)
 (envelope-from markj@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 888246E9;
 Sun, 13 Jan 2013 04:14:31 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0D4EVmb095790;
 Sun, 13 Jan 2013 04:14:31 GMT (envelope-from markj@svn.freebsd.org)
Received: (from markj@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0D4EV4E095788;
 Sun, 13 Jan 2013 04:14:31 GMT (envelope-from markj@svn.freebsd.org)
Message-Id: <201301130414.r0D4EV4E095788@svn.freebsd.org>
From: Mark Johnston <markj@FreeBSD.org>
Date: Sun, 13 Jan 2013 04:14:31 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245359 - stable/8/usr.sbin/newsyslog
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 04:14:31 -0000

Author: markj
Date: Sun Jan 13 04:14:30 2013
New Revision: 245359
URL: http://svnweb.freebsd.org/changeset/base/245359

Log:
  MFC r244995 r244996 r244997.
  
  MFC r244995:
    Fix a typo in an error message.
  
  MFC r244996:
    Have -n imply -r, since dry-run mode obviously doesn't require root
    privileges.
  
  MFC r244997:
    Make sure to update the mtime of a logfile after archiving it. This
    ensures that the next rotation happens at the correct time when using
    interval-based rotations.
  
  Approved by:	rstone (co-mentor)

Modified:
  stable/8/usr.sbin/newsyslog/newsyslog.8
  stable/8/usr.sbin/newsyslog/newsyslog.c
Directory Properties:
  stable/8/usr.sbin/newsyslog/   (props changed)

Modified: stable/8/usr.sbin/newsyslog/newsyslog.8
==============================================================================
--- stable/8/usr.sbin/newsyslog/newsyslog.8	Sun Jan 13 04:13:45 2013	(r245358)
+++ stable/8/usr.sbin/newsyslog/newsyslog.8	Sun Jan 13 04:14:30 2013	(r245359)
@@ -126,7 +126,9 @@ reasons for either trimming that log or 
 Cause
 .Nm
 not to trim the logs, but to print out what it would do if this option
-were not specified.
+were not specified. This option implies the
+.Fl r
+option.
 .It Fl r
 Remove the restriction that
 .Nm

Modified: stable/8/usr.sbin/newsyslog/newsyslog.c
==============================================================================
--- stable/8/usr.sbin/newsyslog/newsyslog.c	Sun Jan 13 04:13:45 2013	(r245358)
+++ stable/8/usr.sbin/newsyslog/newsyslog.c	Sun Jan 13 04:14:30 2013	(r245359)
@@ -639,7 +639,7 @@ parse_args(int argc, char **argv)
 			break;
 		case 'n':
 			noaction++;
-			break;
+			/* FALLTHROUGH */
 		case 'r':
 			needroot = 0;
 			break;
@@ -1576,7 +1576,7 @@ delete_oldest_timelog(const struct conf_
 				    oldlogs[i].fname);
 			else if (unlinkat(dirfd, oldlogs[i].fname, 0) != 0) {
 				snprintf(errbuf, sizeof(errbuf),
-				    "Could not delet old logfile '%s'",
+				    "Could not delete old logfile '%s'",
 				    oldlogs[i].fname);
 				perror(errbuf);
 			}
@@ -1778,12 +1778,21 @@ do_rotate(const struct conf_entry *ent)
 				printf("\tcp %s %s\n", ent->log, file1);
 			else
 				printf("\tln %s %s\n", ent->log, file1);
+			printf("\ttouch %s\t\t"
+			    "# Update mtime for 'when'-interval processing\n",
+			    file1);
 		} else {
 			if (!(flags & CE_BINARY)) {
 				/* Report the trimming to the old log */
 				log_trim(ent->log, ent);
 			}
 			savelog(ent->log, file1);
+			/*
+			 * Interval-based rotations are done using the mtime of
+			 * the most recently archived log, so make sure it gets
+			 * updated during a rotation.
+			 */
+			utimes(file1, NULL);
 		}
 		change_attrs(file1, ent);
 	}

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 04:14:47 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 014509BF;
 Sun, 13 Jan 2013 04:14:47 +0000 (UTC)
 (envelope-from markj@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id C66896EE;
 Sun, 13 Jan 2013 04:14:46 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0D4EkZi095860;
 Sun, 13 Jan 2013 04:14:46 GMT (envelope-from markj@svn.freebsd.org)
Received: (from markj@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0D4EkU7095856;
 Sun, 13 Jan 2013 04:14:46 GMT (envelope-from markj@svn.freebsd.org)
Message-Id: <201301130414.r0D4EkU7095856@svn.freebsd.org>
From: Mark Johnston <markj@FreeBSD.org>
Date: Sun, 13 Jan 2013 04:14:46 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245360 - stable/9/usr.sbin/newsyslog
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 04:14:47 -0000

Author: markj
Date: Sun Jan 13 04:14:46 2013
New Revision: 245360
URL: http://svnweb.freebsd.org/changeset/base/245360

Log:
  MFC r244995 r244996 r244997.
  
  MFC r244995:
    Fix a typo in an error message.
  
  MFC r244996:
    Have -n imply -r, since dry-run mode obviously doesn't require root
    privileges.
  
  MFC r244997:
    Make sure to update the mtime of a logfile after archiving it. This
    ensures that the next rotation happens at the correct time when using
    interval-based rotations.
  
  Approved by:	rstone (co-mentor)

Modified:
  stable/9/usr.sbin/newsyslog/newsyslog.8
  stable/9/usr.sbin/newsyslog/newsyslog.c
Directory Properties:
  stable/9/usr.sbin/newsyslog/   (props changed)

Modified: stable/9/usr.sbin/newsyslog/newsyslog.8
==============================================================================
--- stable/9/usr.sbin/newsyslog/newsyslog.8	Sun Jan 13 04:14:30 2013	(r245359)
+++ stable/9/usr.sbin/newsyslog/newsyslog.8	Sun Jan 13 04:14:46 2013	(r245360)
@@ -125,7 +125,9 @@ reasons for either trimming that log or 
 Cause
 .Nm
 not to trim the logs, but to print out what it would do if this option
-were not specified.
+were not specified. This option implies the
+.Fl r
+option.
 .It Fl r
 Remove the restriction that
 .Nm

Modified: stable/9/usr.sbin/newsyslog/newsyslog.c
==============================================================================
--- stable/9/usr.sbin/newsyslog/newsyslog.c	Sun Jan 13 04:14:30 2013	(r245359)
+++ stable/9/usr.sbin/newsyslog/newsyslog.c	Sun Jan 13 04:14:46 2013	(r245360)
@@ -642,7 +642,7 @@ parse_args(int argc, char **argv)
 			break;
 		case 'n':
 			noaction++;
-			break;
+			/* FALLTHROUGH */
 		case 'r':
 			needroot = 0;
 			break;
@@ -1580,7 +1580,7 @@ delete_oldest_timelog(const struct conf_
 				    oldlogs[i].fname);
 			else if (unlinkat(dirfd, oldlogs[i].fname, 0) != 0) {
 				snprintf(errbuf, sizeof(errbuf),
-				    "Could not delet old logfile '%s'",
+				    "Could not delete old logfile '%s'",
 				    oldlogs[i].fname);
 				perror(errbuf);
 			}
@@ -1812,12 +1812,21 @@ do_rotate(const struct conf_entry *ent)
 				printf("\tcp %s %s\n", ent->log, file1);
 			else
 				printf("\tln %s %s\n", ent->log, file1);
+			printf("\ttouch %s\t\t"
+			    "# Update mtime for 'when'-interval processing\n",
+			    file1);
 		} else {
 			if (!(flags & CE_BINARY)) {
 				/* Report the trimming to the old log */
 				log_trim(ent->log, ent);
 			}
 			savelog(ent->log, file1);
+			/*
+			 * Interval-based rotations are done using the mtime of
+			 * the most recently archived log, so make sure it gets
+			 * updated during a rotation.
+			 */
+			utimes(file1, NULL);
 		}
 		change_attrs(file1, ent);
 	}

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 20:35:09 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 249D9F98;
 Sun, 13 Jan 2013 20:35:09 +0000 (UTC) (envelope-from dim@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id D9B18A3D;
 Sun, 13 Jan 2013 20:35:08 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0DKZ8he084293;
 Sun, 13 Jan 2013 20:35:08 GMT (envelope-from dim@svn.freebsd.org)
Received: (from dim@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0DKZ8Uk084292;
 Sun, 13 Jan 2013 20:35:08 GMT (envelope-from dim@svn.freebsd.org)
Message-Id: <201301132035.r0DKZ8Uk084292@svn.freebsd.org>
From: Dimitry Andric <dim@FreeBSD.org>
Date: Sun, 13 Jan 2013 20:35:08 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245384 - stable/9/contrib/gcc
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 20:35:09 -0000

Author: dim
Date: Sun Jan 13 20:35:08 2013
New Revision: 245384
URL: http://svnweb.freebsd.org/changeset/base/245384

Log:
  MFC r245272:
  
  Add an ugly hack to libgcc's unwind code, to make it behave properly at
  runtime on amd64, when it is compiled by clang.  Some versions of clang
  don't save and restore all callee registers, if a __builtin_eh_return()
  intrinsic is used in a function.  This is particularly bad on amd64.
  
  Until the problem gets fixed by upstream, use an asm statement to force
  clang to assume the registers in question are clobbered, when invoking
  __builtin_eh_return(), so it will emit code to save and restore them.
  
  This should fix the crashes reported on -current with some C++ programs,
  particularly those that throw exceptions over multiple function
  boundaries.
  
  Reported by:	stefanf

Modified:
  stable/9/contrib/gcc/unwind-dw2.c
Directory Properties:
  stable/9/contrib/gcc/   (props changed)

Modified: stable/9/contrib/gcc/unwind-dw2.c
==============================================================================
--- stable/9/contrib/gcc/unwind-dw2.c	Sun Jan 13 19:39:13 2013	(r245383)
+++ stable/9/contrib/gcc/unwind-dw2.c	Sun Jan 13 20:35:08 2013	(r245384)
@@ -1438,6 +1438,17 @@ uw_init_context_1 (struct _Unwind_Contex
   context->ra = __builtin_extract_return_addr (outer_ra);
 }
 
+#if defined(__clang__) && defined(__amd64__)
+/* Some versions of clang don't save and restore all callee registers, if a
+   __builtin_eh_return() intrinsic is used in a function.  This is particularly
+   bad on amd64.  For now, use the following ugly hack to force it to assume
+   those registers are clobbered, when invoking __builtin_eh_return(), so it
+   will emit code to save and restore them.  */
+#define CLOBBER_REGS_HACK \
+  __asm __volatile(" " : : : "r15", "r14", "r13", "r12", "rbx", "rdx", "rax");
+#else
+#define CLOBBER_REGS_HACK
+#endif /* __clang__ */
 
 /* Install TARGET into CURRENT so that we can return to it.  This is a
    macro because __builtin_eh_return must be invoked in the context of
@@ -1448,6 +1459,7 @@ uw_init_context_1 (struct _Unwind_Contex
     {									 \
       long offset = uw_install_context_1 ((CURRENT), (TARGET));		 \
       void *handler = __builtin_frob_return_addr ((TARGET)->ra);	 \
+      CLOBBER_REGS_HACK							 \
       __builtin_eh_return (offset, handler);				 \
     }									 \
   while (0)

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 22:36:13 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id A0A0FCB9;
 Sun, 13 Jan 2013 22:36:13 +0000 (UTC)
 (envelope-from bapt@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 91DFB26E;
 Sun, 13 Jan 2013 22:36:13 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0DMaD15019875;
 Sun, 13 Jan 2013 22:36:13 GMT (envelope-from bapt@svn.freebsd.org)
Received: (from bapt@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0DMaCZn019871;
 Sun, 13 Jan 2013 22:36:12 GMT (envelope-from bapt@svn.freebsd.org)
Message-Id: <201301132236.r0DMaCZn019871@svn.freebsd.org>
From: Baptiste Daroussin <bapt@FreeBSD.org>
Date: Sun, 13 Jan 2013 22:36:12 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245393 - stable/8/usr.sbin/pkg
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 22:36:13 -0000

Author: bapt
Date: Sun Jan 13 22:36:12 2013
New Revision: 245393
URL: http://svnweb.freebsd.org/changeset/base/245393

Log:
  MFC: r243883
  
  if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records and
  use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead
  of pkgbeta.FreeBSD.org

Added:
  stable/8/usr.sbin/pkg/dns_utils.c
     - copied unchanged from r243883, head/usr.sbin/pkg/dns_utils.c
  stable/8/usr.sbin/pkg/dns_utils.h
     - copied unchanged from r243883, head/usr.sbin/pkg/dns_utils.h
Modified:
  stable/8/usr.sbin/pkg/Makefile
  stable/8/usr.sbin/pkg/pkg.c
Directory Properties:
  stable/8/usr.sbin/pkg/   (props changed)

Modified: stable/8/usr.sbin/pkg/Makefile
==============================================================================
--- stable/8/usr.sbin/pkg/Makefile	Sun Jan 13 22:35:51 2013	(r245392)
+++ stable/8/usr.sbin/pkg/Makefile	Sun Jan 13 22:36:12 2013	(r245393)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PROG=	pkg
-SRC=	pkg.c
+SRCS=	pkg.c dns_utils.c
 
 NO_MAN=	yes
 DPADD=	${LIBARCHIVE} ${LIBELF} ${LIBFETCH}

Copied: stable/8/usr.sbin/pkg/dns_utils.c (from r243883, head/usr.sbin/pkg/dns_utils.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/8/usr.sbin/pkg/dns_utils.c	Sun Jan 13 22:36:12 2013	(r245393, copy of r243883, head/usr.sbin/pkg/dns_utils.c)
@@ -0,0 +1,136 @@
+/*-
+ * Copyright (c) 2012 Baptiste Daroussin <bapt@FreeBSD.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer,
+ *    without modification, immediately at the beginning of the file.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+#include <stdlib.h>
+#include <string.h>
+#include <netinet/in.h>
+#include <resolv.h>
+
+#include "dns_utils.h"
+
+typedef union {
+	HEADER hdr;
+	unsigned char buf[1024];
+} dns_query;
+
+struct dns_srvinfo *
+dns_getsrvinfo(const char *zone)
+{
+	struct dns_srvinfo **res, *first;
+	unsigned char *end, *p;
+	char host[MAXHOSTNAMELEN];
+	dns_query q;
+	int len, qdcount, ancount, n, i;
+	unsigned int type, class, ttl, priority, weight, port;
+
+	if ((len = res_query(zone, C_IN, T_SRV, q.buf, sizeof(q.buf))) == -1 ||
+	    len < (int)sizeof(HEADER))
+		return (NULL);
+
+	qdcount = ntohs(q.hdr.qdcount);
+	ancount = ntohs(q.hdr.ancount);
+
+	end = q.buf + len;
+	p = q.buf + sizeof(HEADER);
+
+	while(qdcount > 0 && p < end) {
+		qdcount--;
+		if((len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN)) < 0)
+			return (NULL);
+		p += len + NS_QFIXEDSZ;
+	}
+
+	res = malloc(sizeof(struct dns_srvinfo) * ancount);
+	if (res == NULL)
+		return (NULL);
+	memset(res, 0, sizeof(struct dns_srvinfo) * ancount);
+
+	n = 0;
+	while (ancount > 0 && p < end) {
+		ancount--;
+		len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN);
+		if (len < 0) {
+			for (i = 0; i < n; i++)
+				free(res[i]);
+			free(res);
+			return NULL;
+		}
+
+		p += len;
+
+		NS_GET16(type, p);
+		NS_GET16(class, p);
+		NS_GET32(ttl, p);
+		NS_GET16(len, p);
+
+		if (type != T_SRV) {
+			p += len;
+			continue;
+		}
+
+		NS_GET16(priority, p);
+		NS_GET16(weight, p);
+		NS_GET16(port, p);
+
+		len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN);
+		if (len < 0) {
+			for (i = 0; i < n; i++)
+				free(res[i]);
+			free(res);
+			return (NULL);
+		}
+
+		res[n] = malloc(sizeof(struct dns_srvinfo));
+		if (res[n] == NULL) {
+			for (i = 0; i < n; i++)
+				free(res[i]);
+			free(res);
+			return (NULL);
+		}
+		res[n]->type = type;
+		res[n]->class = class;
+		res[n]->ttl = ttl;
+		res[n]->priority = priority;
+		res[n]->weight = weight;
+		res[n]->port = port;
+		res[n]->next = NULL;
+		strlcpy(res[n]->host, host, MAXHOSTNAMELEN);
+
+		p += len;
+		n++;
+	}
+
+	for (i = 0; i < n - 1; i++)
+		res[i]->next = res[i + 1];
+
+	first = res[0];
+	free(res);
+
+	return (first);
+}

Copied: stable/8/usr.sbin/pkg/dns_utils.h (from r243883, head/usr.sbin/pkg/dns_utils.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/8/usr.sbin/pkg/dns_utils.h	Sun Jan 13 22:36:12 2013	(r245393, copy of r243883, head/usr.sbin/pkg/dns_utils.h)
@@ -0,0 +1,45 @@
+/*-
+ * Copyright (c) 2012 Baptiste Daroussin <bapt@FreeBSD.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#ifndef DNS_UTILS_H
+#define DNS_UTILS_H
+struct dns_srvinfo {
+	unsigned int type;
+	unsigned int class;
+	unsigned int ttl;
+	unsigned int priority;
+	unsigned int weight;
+	unsigned int port;
+	char host[MAXHOSTNAMELEN];
+	struct dns_srvinfo *next;
+};
+
+struct dns_srvinfo *
+	dns_getsrvinfo(const char *zone);
+
+#endif

Modified: stable/8/usr.sbin/pkg/pkg.c
==============================================================================
--- stable/8/usr.sbin/pkg/pkg.c	Sun Jan 13 22:35:51 2013	(r245392)
+++ stable/8/usr.sbin/pkg/pkg.c	Sun Jan 13 22:36:12 2013	(r245393)
@@ -48,9 +48,10 @@ __FBSDID("$FreeBSD$");
 #include <unistd.h>
 
 #include "elf_tables.h"
+#include "dns_utils.h"
 
 #define _LOCALBASE "/usr/local"
-#define _PKGS_URL "http://pkgbeta.FreeBSD.org"
+#define _PKGS_URL "http://pkg.FreeBSD.org"
 
 static const char *
 elf_corres_to_string(struct _elf_corres *m, int e)
@@ -281,16 +282,20 @@ install_pkg_static(char *path, char *pkg
 static int
 bootstrap_pkg(void)
 {
+	struct url *u;
 	FILE *remote;
 	FILE *config;
 	char *site;
+	struct dns_srvinfo *mirrors, *current;
+	/* To store _https._tcp. + hostname + \0 */
+	char zone[MAXHOSTNAMELEN + 13];
 	char url[MAXPATHLEN];
 	char conf[MAXPATHLEN];
 	char abi[BUFSIZ];
 	char tmppkg[MAXPATHLEN];
 	char buf[10240];
 	char pkgstatic[MAXPATHLEN];
-	int fd, retry, ret;
+	int fd, retry, ret, max_retry;
 	struct url_stat st;
 	off_t done, r;
 	time_t now;
@@ -298,9 +303,11 @@ bootstrap_pkg(void)
 
 	done = 0;
 	last = 0;
+	max_retry = 3;
 	ret = -1;
 	remote = NULL;
 	config = NULL;
+	current = mirrors = NULL;
 
 	printf("Bootstrapping pkg please wait\n");
 
@@ -324,12 +331,37 @@ bootstrap_pkg(void)
 		return (-1);
 	}
 
-	retry = 3;
-	do {
-		remote = fetchXGetURL(url, &st, "");
-		if (remote == NULL)
-			sleep(1);
-	} while (remote == NULL && retry-- > 0);
+	retry = max_retry;
+
+	u = fetchParseURL(url);
+	while (remote == NULL) {
+		if (retry == max_retry) {
+			if (strcmp(u->scheme, "file") != 0) {
+				snprintf(zone, sizeof(zone),
+				    "_%s._tcp.%s", u->scheme, u->host);
+				printf("%s\n", zone);
+				mirrors = dns_getsrvinfo(zone);
+				current = mirrors;
+			}
+		}
+
+		if (mirrors != NULL)
+			strlcpy(u->host, current->host, sizeof(u->host));
+
+		remote = fetchXGet(u, &st, "");
+		if (remote == NULL) {
+			--retry;
+			if (retry <= 0)
+				goto fetchfail;
+			if (mirrors == NULL) {
+				sleep(1);
+			} else {
+				current = current->next;
+				if (current == NULL)
+					current = mirrors;
+			}
+		}
+	}
 
 	if (remote == NULL)
 		goto fetchfail;

From owner-svn-src-stable@FreeBSD.ORG  Sun Jan 13 22:37:47 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 4F5A5E36;
 Sun, 13 Jan 2013 22:37:47 +0000 (UTC)
 (envelope-from bapt@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 251EB284;
 Sun, 13 Jan 2013 22:37:47 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0DMblZf020060;
 Sun, 13 Jan 2013 22:37:47 GMT (envelope-from bapt@svn.freebsd.org)
Received: (from bapt@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0DMbkDE020056;
 Sun, 13 Jan 2013 22:37:46 GMT (envelope-from bapt@svn.freebsd.org)
Message-Id: <201301132237.r0DMbkDE020056@svn.freebsd.org>
From: Baptiste Daroussin <bapt@FreeBSD.org>
Date: Sun, 13 Jan 2013 22:37:46 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245394 - stable/9/usr.sbin/pkg
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jan 2013 22:37:47 -0000

Author: bapt
Date: Sun Jan 13 22:37:45 2013
New Revision: 245394
URL: http://svnweb.freebsd.org/changeset/base/245394

Log:
  MFC: r243883
  
  if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records and
  use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead
  of pkgbeta.FreeBSD.org

Added:
  stable/9/usr.sbin/pkg/dns_utils.c
     - copied unchanged from r243883, head/usr.sbin/pkg/dns_utils.c
  stable/9/usr.sbin/pkg/dns_utils.h
     - copied unchanged from r243883, head/usr.sbin/pkg/dns_utils.h
Modified:
  stable/9/usr.sbin/pkg/Makefile
  stable/9/usr.sbin/pkg/pkg.c
Directory Properties:
  stable/9/usr.sbin/pkg/   (props changed)

Modified: stable/9/usr.sbin/pkg/Makefile
==============================================================================
--- stable/9/usr.sbin/pkg/Makefile	Sun Jan 13 22:36:12 2013	(r245393)
+++ stable/9/usr.sbin/pkg/Makefile	Sun Jan 13 22:37:45 2013	(r245394)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PROG=	pkg
-SRC=	pkg.c
+SRCS=	pkg.c dns_utils.c
 
 NO_MAN=	yes
 DPADD=	${LIBARCHIVE} ${LIBELF} ${LIBFETCH}

Copied: stable/9/usr.sbin/pkg/dns_utils.c (from r243883, head/usr.sbin/pkg/dns_utils.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/9/usr.sbin/pkg/dns_utils.c	Sun Jan 13 22:37:45 2013	(r245394, copy of r243883, head/usr.sbin/pkg/dns_utils.c)
@@ -0,0 +1,136 @@
+/*-
+ * Copyright (c) 2012 Baptiste Daroussin <bapt@FreeBSD.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer,
+ *    without modification, immediately at the beginning of the file.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+#include <stdlib.h>
+#include <string.h>
+#include <netinet/in.h>
+#include <resolv.h>
+
+#include "dns_utils.h"
+
+typedef union {
+	HEADER hdr;
+	unsigned char buf[1024];
+} dns_query;
+
+struct dns_srvinfo *
+dns_getsrvinfo(const char *zone)
+{
+	struct dns_srvinfo **res, *first;
+	unsigned char *end, *p;
+	char host[MAXHOSTNAMELEN];
+	dns_query q;
+	int len, qdcount, ancount, n, i;
+	unsigned int type, class, ttl, priority, weight, port;
+
+	if ((len = res_query(zone, C_IN, T_SRV, q.buf, sizeof(q.buf))) == -1 ||
+	    len < (int)sizeof(HEADER))
+		return (NULL);
+
+	qdcount = ntohs(q.hdr.qdcount);
+	ancount = ntohs(q.hdr.ancount);
+
+	end = q.buf + len;
+	p = q.buf + sizeof(HEADER);
+
+	while(qdcount > 0 && p < end) {
+		qdcount--;
+		if((len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN)) < 0)
+			return (NULL);
+		p += len + NS_QFIXEDSZ;
+	}
+
+	res = malloc(sizeof(struct dns_srvinfo) * ancount);
+	if (res == NULL)
+		return (NULL);
+	memset(res, 0, sizeof(struct dns_srvinfo) * ancount);
+
+	n = 0;
+	while (ancount > 0 && p < end) {
+		ancount--;
+		len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN);
+		if (len < 0) {
+			for (i = 0; i < n; i++)
+				free(res[i]);
+			free(res);
+			return NULL;
+		}
+
+		p += len;
+
+		NS_GET16(type, p);
+		NS_GET16(class, p);
+		NS_GET32(ttl, p);
+		NS_GET16(len, p);
+
+		if (type != T_SRV) {
+			p += len;
+			continue;
+		}
+
+		NS_GET16(priority, p);
+		NS_GET16(weight, p);
+		NS_GET16(port, p);
+
+		len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN);
+		if (len < 0) {
+			for (i = 0; i < n; i++)
+				free(res[i]);
+			free(res);
+			return (NULL);
+		}
+
+		res[n] = malloc(sizeof(struct dns_srvinfo));
+		if (res[n] == NULL) {
+			for (i = 0; i < n; i++)
+				free(res[i]);
+			free(res);
+			return (NULL);
+		}
+		res[n]->type = type;
+		res[n]->class = class;
+		res[n]->ttl = ttl;
+		res[n]->priority = priority;
+		res[n]->weight = weight;
+		res[n]->port = port;
+		res[n]->next = NULL;
+		strlcpy(res[n]->host, host, MAXHOSTNAMELEN);
+
+		p += len;
+		n++;
+	}
+
+	for (i = 0; i < n - 1; i++)
+		res[i]->next = res[i + 1];
+
+	first = res[0];
+	free(res);
+
+	return (first);
+}

Copied: stable/9/usr.sbin/pkg/dns_utils.h (from r243883, head/usr.sbin/pkg/dns_utils.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/9/usr.sbin/pkg/dns_utils.h	Sun Jan 13 22:37:45 2013	(r245394, copy of r243883, head/usr.sbin/pkg/dns_utils.h)
@@ -0,0 +1,45 @@
+/*-
+ * Copyright (c) 2012 Baptiste Daroussin <bapt@FreeBSD.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#ifndef DNS_UTILS_H
+#define DNS_UTILS_H
+struct dns_srvinfo {
+	unsigned int type;
+	unsigned int class;
+	unsigned int ttl;
+	unsigned int priority;
+	unsigned int weight;
+	unsigned int port;
+	char host[MAXHOSTNAMELEN];
+	struct dns_srvinfo *next;
+};
+
+struct dns_srvinfo *
+	dns_getsrvinfo(const char *zone);
+
+#endif

Modified: stable/9/usr.sbin/pkg/pkg.c
==============================================================================
--- stable/9/usr.sbin/pkg/pkg.c	Sun Jan 13 22:36:12 2013	(r245393)
+++ stable/9/usr.sbin/pkg/pkg.c	Sun Jan 13 22:37:45 2013	(r245394)
@@ -48,9 +48,10 @@ __FBSDID("$FreeBSD$");
 #include <unistd.h>
 
 #include "elf_tables.h"
+#include "dns_utils.h"
 
 #define _LOCALBASE "/usr/local"
-#define _PKGS_URL "http://pkgbeta.FreeBSD.org"
+#define _PKGS_URL "http://pkg.FreeBSD.org"
 
 static const char *
 elf_corres_to_string(struct _elf_corres *m, int e)
@@ -281,16 +282,20 @@ install_pkg_static(char *path, char *pkg
 static int
 bootstrap_pkg(void)
 {
+	struct url *u;
 	FILE *remote;
 	FILE *config;
 	char *site;
+	struct dns_srvinfo *mirrors, *current;
+	/* To store _https._tcp. + hostname + \0 */
+	char zone[MAXHOSTNAMELEN + 13];
 	char url[MAXPATHLEN];
 	char conf[MAXPATHLEN];
 	char abi[BUFSIZ];
 	char tmppkg[MAXPATHLEN];
 	char buf[10240];
 	char pkgstatic[MAXPATHLEN];
-	int fd, retry, ret;
+	int fd, retry, ret, max_retry;
 	struct url_stat st;
 	off_t done, r;
 	time_t now;
@@ -298,9 +303,11 @@ bootstrap_pkg(void)
 
 	done = 0;
 	last = 0;
+	max_retry = 3;
 	ret = -1;
 	remote = NULL;
 	config = NULL;
+	current = mirrors = NULL;
 
 	printf("Bootstrapping pkg please wait\n");
 
@@ -324,12 +331,37 @@ bootstrap_pkg(void)
 		return (-1);
 	}
 
-	retry = 3;
-	do {
-		remote = fetchXGetURL(url, &st, "");
-		if (remote == NULL)
-			sleep(1);
-	} while (remote == NULL && retry-- > 0);
+	retry = max_retry;
+
+	u = fetchParseURL(url);
+	while (remote == NULL) {
+		if (retry == max_retry) {
+			if (strcmp(u->scheme, "file") != 0) {
+				snprintf(zone, sizeof(zone),
+				    "_%s._tcp.%s", u->scheme, u->host);
+				printf("%s\n", zone);
+				mirrors = dns_getsrvinfo(zone);
+				current = mirrors;
+			}
+		}
+
+		if (mirrors != NULL)
+			strlcpy(u->host, current->host, sizeof(u->host));
+
+		remote = fetchXGet(u, &st, "");
+		if (remote == NULL) {
+			--retry;
+			if (retry <= 0)
+				goto fetchfail;
+			if (mirrors == NULL) {
+				sleep(1);
+			} else {
+				current = current->next;
+				if (current == NULL)
+					current = mirrors;
+			}
+		}
+	}
 
 	if (remote == NULL)
 		goto fetchfail;

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 10:58:20 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id DC01DA09;
 Mon, 14 Jan 2013 10:58:20 +0000 (UTC)
 (envelope-from zont@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id CE345300;
 Mon, 14 Jan 2013 10:58:20 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0EAwKhw044424;
 Mon, 14 Jan 2013 10:58:20 GMT (envelope-from zont@svn.freebsd.org)
Received: (from zont@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0EAwK4q044423;
 Mon, 14 Jan 2013 10:58:20 GMT (envelope-from zont@svn.freebsd.org)
Message-Id: <201301141058.r0EAwK4q044423@svn.freebsd.org>
From: Andrey Zonov <zont@FreeBSD.org>
Date: Mon, 14 Jan 2013 10:58:20 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245415 - stable/9/etc
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 10:58:20 -0000

Author: zont
Date: Mon Jan 14 10:58:20 2013
New Revision: 245415
URL: http://svnweb.freebsd.org/changeset/base/245415

Log:
  MFC r244383:
  - Set memorylocked limit to 64Kb for default login class.
    This prevents unprivileged users to lock too much memory.
  - Set memorylocked limit to 64Mb for daemon login class.
    Some daemons such as amd(8) and watchdogd(8) calls mlockall(2) on
    startup, they are run from init(8) which uses daemon login class.
  - Set memorylocked limit to unlimited for root login class.
  
  Approved by:	kib (mentor)

Modified:
  stable/9/etc/login.conf
Directory Properties:
  stable/9/etc/   (props changed)

Modified: stable/9/etc/login.conf
==============================================================================
--- stable/9/etc/login.conf	Mon Jan 14 09:11:18 2013	(r245414)
+++ stable/9/etc/login.conf	Mon Jan 14 10:58:20 2013	(r245415)
@@ -32,7 +32,7 @@ default:\
 	:cputime=unlimited:\
 	:datasize=unlimited:\
 	:stacksize=unlimited:\
-	:memorylocked=unlimited:\
+	:memorylocked=64K:\
 	:memoryuse=unlimited:\
 	:filesize=unlimited:\
 	:coredumpsize=unlimited:\
@@ -59,6 +59,7 @@ xuser:\
 staff:\
 	:tc=default:
 daemon:\
+	:memorylocked=64M:\
 	:tc=default:
 news:\
 	:tc=default:
@@ -72,6 +73,7 @@ dialer:\
 #       in preference to 'default'.
 root:\
 	:ignorenologin:\
+	:memorylocked=unlimited:\
 	:tc=default:
 
 #

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 10:58:56 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id C8ACDBE3;
 Mon, 14 Jan 2013 10:58:56 +0000 (UTC)
 (envelope-from zont@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id AB34830F;
 Mon, 14 Jan 2013 10:58:56 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0EAwu7S044536;
 Mon, 14 Jan 2013 10:58:56 GMT (envelope-from zont@svn.freebsd.org)
Received: (from zont@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0EAwtsA044527;
 Mon, 14 Jan 2013 10:58:55 GMT (envelope-from zont@svn.freebsd.org)
Message-Id: <201301141058.r0EAwtsA044527@svn.freebsd.org>
From: Andrey Zonov <zont@FreeBSD.org>
Date: Mon, 14 Jan 2013 10:58:55 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245416 - in stable/9/sys: kern vm
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 10:58:56 -0000

Author: zont
Date: Mon Jan 14 10:58:55 2013
New Revision: 245416
URL: http://svnweb.freebsd.org/changeset/base/245416

Log:
  MFC r244384:
  - Fix locked memory accounting for maps with MAP_WIREFUTURE flag.
  - Add sysctl vm.old_mlock which may turn such accounting off.
  
  MFC r244385:
  - Add sysctl to allow unprivileged users to call mlock(2)-family system
    calls and turn it off for compatibility.
  - Do not allow to call them inside jail.
  
  Approved by:	kib (mentor)

Modified:
  stable/9/sys/kern/kern_priv.c
  stable/9/sys/vm/vm.h
  stable/9/sys/vm/vm_map.c
  stable/9/sys/vm/vm_mmap.c
  stable/9/sys/vm/vm_unix.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/kern_priv.c
==============================================================================
--- stable/9/sys/kern/kern_priv.c	Mon Jan 14 10:58:20 2013	(r245415)
+++ stable/9/sys/kern/kern_priv.c	Mon Jan 14 10:58:55 2013	(r245416)
@@ -59,6 +59,11 @@ SYSCTL_INT(_security_bsd, OID_AUTO, suse
     &suser_enabled, 0, "processes with uid 0 have privilege");
 TUNABLE_INT("security.bsd.suser_enabled", &suser_enabled);
 
+static int	unprivileged_mlock = 1;
+SYSCTL_INT(_security_bsd, OID_AUTO, unprivileged_mlock, CTLFLAG_RW|CTLFLAG_TUN,
+    &unprivileged_mlock, 0, "Allow non-root users to call mlock(2)");
+TUNABLE_INT("security.bsd.unprivileged_mlock", &unprivileged_mlock);
+
 SDT_PROVIDER_DEFINE(priv);
 SDT_PROBE_DEFINE1(priv, kernel, priv_check, priv_ok, priv-ok, "int");
 SDT_PROBE_DEFINE1(priv, kernel, priv_check, priv_err, priv-err, "int");
@@ -93,6 +98,19 @@ priv_check_cred(struct ucred *cred, int 
 	if (error)
 		goto out;
 
+	if (unprivileged_mlock) {
+		/*
+		 * Allow unprivileged users to call mlock(2)/munlock(2) and
+		 * mlockall(2)/munlockall(2).
+		 */
+		switch (priv) {
+			case PRIV_VM_MLOCK:
+			case PRIV_VM_MUNLOCK:
+				error = 0;
+				goto out;
+		}
+	}
+
 	/*
 	 * Having determined if privilege is restricted by various policies,
 	 * now determine if privilege is granted.  At this point, any policy

Modified: stable/9/sys/vm/vm.h
==============================================================================
--- stable/9/sys/vm/vm.h	Mon Jan 14 10:58:20 2013	(r245415)
+++ stable/9/sys/vm/vm.h	Mon Jan 14 10:58:55 2013	(r245416)
@@ -141,6 +141,8 @@ struct kva_md_info {
 extern struct kva_md_info	kmi;
 extern void vm_ksubmap_init(struct kva_md_info *);
 
+extern int old_mlock;
+
 struct ucred;
 int swap_reserve(vm_ooffset_t incr);
 int swap_reserve_by_cred(vm_ooffset_t incr, struct ucred *cred);

Modified: stable/9/sys/vm/vm_map.c
==============================================================================
--- stable/9/sys/vm/vm_map.c	Mon Jan 14 10:58:20 2013	(r245415)
+++ stable/9/sys/vm/vm_map.c	Mon Jan 14 10:58:55 2013	(r245416)
@@ -3247,7 +3247,7 @@ vm_map_stack(vm_map_t map, vm_offset_t a
 	vm_offset_t bot, top;
 	vm_size_t growsize, init_ssize;
 	int orient, rv;
-	rlim_t vmemlim;
+	rlim_t lmemlim, vmemlim;
 
 	/*
 	 * The stack orientation is piggybacked with the cow argument.
@@ -3267,9 +3267,10 @@ vm_map_stack(vm_map_t map, vm_offset_t a
 	growsize = sgrowsiz;
 	init_ssize = (max_ssize < growsize) ? max_ssize : growsize;
 
-	PROC_LOCK(curthread->td_proc);
-	vmemlim = lim_cur(curthread->td_proc, RLIMIT_VMEM);
-	PROC_UNLOCK(curthread->td_proc);
+	PROC_LOCK(curproc);
+	lmemlim = lim_cur(curproc, RLIMIT_MEMLOCK);
+	vmemlim = lim_cur(curproc, RLIMIT_VMEM);
+	PROC_UNLOCK(curproc);
 
 	vm_map_lock(map);
 
@@ -3279,6 +3280,14 @@ vm_map_stack(vm_map_t map, vm_offset_t a
 		return (KERN_NO_SPACE);
 	}
 
+	if (!old_mlock && map->flags & MAP_WIREFUTURE) {
+		if (ptoa(vmspace_wired_count(curproc->p_vmspace)) +
+		    init_ssize > lmemlim) {
+			vm_map_unlock(map);
+			return (KERN_NO_SPACE);
+		}
+	}
+
 	/* If we would blow our VMEM resource limit, no go */
 	if (map->size + init_ssize > vmemlim) {
 		vm_map_unlock(map);
@@ -3360,7 +3369,7 @@ vm_map_growstack(struct proc *p, vm_offs
 	vm_offset_t end;
 	vm_size_t growsize;
 	size_t grow_amount, max_grow;
-	rlim_t stacklim, vmemlim;
+	rlim_t lmemlim, stacklim, vmemlim;
 	int is_procstack, rv;
 	struct ucred *cred;
 #ifdef notyet
@@ -3372,6 +3381,7 @@ vm_map_growstack(struct proc *p, vm_offs
 
 Retry:
 	PROC_LOCK(p);
+	lmemlim = lim_cur(p, RLIMIT_MEMLOCK);
 	stacklim = lim_cur(p, RLIMIT_STACK);
 	vmemlim = lim_cur(p, RLIMIT_VMEM);
 	PROC_UNLOCK(p);
@@ -3494,7 +3504,25 @@ Retry:
 	if (is_procstack && (ctob(vm->vm_ssize) + grow_amount > limit))
 		grow_amount = limit - ctob(vm->vm_ssize);
 #endif
-
+	if (!old_mlock && map->flags & MAP_WIREFUTURE) {
+		if (ptoa(vmspace_wired_count(p->p_vmspace)) + grow_amount >
+		    lmemlim) {
+			vm_map_unlock_read(map);
+			rv = KERN_NO_SPACE;
+			goto out;
+		}
+#ifdef RACCT
+		PROC_LOCK(p);
+		if (racct_set(p, RACCT_MEMLOCK,
+		    ptoa(vmspace_wired_count(p->p_vmspace)) + grow_amount)) {
+			PROC_UNLOCK(p);
+			vm_map_unlock_read(map);
+			rv = KERN_NO_SPACE;
+			goto out;
+		}
+		PROC_UNLOCK(p);
+#endif
+	}
 	/* If we would blow our VMEM resource limit, no go */
 	if (map->size + grow_amount > vmemlim) {
 		vm_map_unlock_read(map);
@@ -3615,6 +3643,11 @@ out:
 		PROC_LOCK(p);
 		error = racct_set(p, RACCT_VMEM, map->size);
 		KASSERT(error == 0, ("decreasing RACCT_VMEM failed"));
+		if (!old_mlock) {
+			error = racct_set(p, RACCT_MEMLOCK,
+			    ptoa(vmspace_wired_count(p->p_vmspace)));
+			KASSERT(error == 0, ("decreasing RACCT_MEMLOCK failed"));
+		}
 	    	error = racct_set(p, RACCT_STACK, ctob(vm->vm_ssize));
 		KASSERT(error == 0, ("decreasing RACCT_STACK failed"));
 		PROC_UNLOCK(p);

Modified: stable/9/sys/vm/vm_mmap.c
==============================================================================
--- stable/9/sys/vm/vm_mmap.c	Mon Jan 14 10:58:20 2013	(r245415)
+++ stable/9/sys/vm/vm_mmap.c	Mon Jan 14 10:58:55 2013	(r245416)
@@ -59,6 +59,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/racct.h>
 #include <sys/resource.h>
 #include <sys/resourcevar.h>
+#include <sys/sysctl.h>
 #include <sys/vnode.h>
 #include <sys/fcntl.h>
 #include <sys/file.h>
@@ -87,6 +88,11 @@ __FBSDID("$FreeBSD$");
 #include <sys/pmckern.h>
 #endif
 
+int old_mlock = 0;
+SYSCTL_INT(_vm, OID_AUTO, old_mlock, CTLFLAG_RW | CTLFLAG_TUN, &old_mlock, 0,
+    "Do not apply RLIMIT_MEMLOCK on mlockall");
+TUNABLE_INT("vm.old_mlock", &old_mlock);
+
 #ifndef _SYS_SYSPROTO_H_
 struct sbrk_args {
 	int incr;
@@ -1100,27 +1106,25 @@ sys_mlockall(td, uap)
 	int error;
 
 	map = &td->td_proc->p_vmspace->vm_map;
-	error = 0;
+	error = priv_check(td, PRIV_VM_MLOCK);
+	if (error)
+		return (error);
 
 	if ((uap->how == 0) || ((uap->how & ~(MCL_CURRENT|MCL_FUTURE)) != 0))
 		return (EINVAL);
 
-#if 0
 	/*
 	 * If wiring all pages in the process would cause it to exceed
 	 * a hard resource limit, return ENOMEM.
 	 */
-	PROC_LOCK(td->td_proc);
-	if (map->size > lim_cur(td->td_proc, RLIMIT_MEMLOCK)) {
+	if (!old_mlock && uap->how & MCL_CURRENT) {
+		PROC_LOCK(td->td_proc);
+		if (map->size > lim_cur(td->td_proc, RLIMIT_MEMLOCK)) {
+			PROC_UNLOCK(td->td_proc);
+			return (ENOMEM);
+		}
 		PROC_UNLOCK(td->td_proc);
-		return (ENOMEM);
 	}
-	PROC_UNLOCK(td->td_proc);
-#else
-	error = priv_check(td, PRIV_VM_MLOCK);
-	if (error)
-		return (error);
-#endif
 #ifdef RACCT
 	PROC_LOCK(td->td_proc);
 	error = racct_set(td->td_proc, RACCT_MEMLOCK, map->size);
@@ -1483,6 +1487,24 @@ vm_mmap(vm_map_t map, vm_offset_t *addr,
 	PROC_LOCK(td->td_proc);
 	if (td->td_proc->p_vmspace->vm_map.size + size >
 	    lim_cur(td->td_proc, RLIMIT_VMEM)) {
+		if (!old_mlock && map->flags & MAP_WIREFUTURE) {
+			if (ptoa(vmspace_wired_count(td->td_proc->p_vmspace)) +
+			    size > lim_cur(td->td_proc, RLIMIT_MEMLOCK)) {
+				racct_set_force(td->td_proc, RACCT_VMEM,
+				    map->size);
+				PROC_UNLOCK(td->td_proc);
+				return (ENOMEM);
+			}
+			error = racct_set(td->td_proc, RACCT_MEMLOCK,
+			    ptoa(vmspace_wired_count(td->td_proc->p_vmspace)) +
+			    size);
+			if (error != 0) {
+				racct_set_force(td->td_proc, RACCT_VMEM,
+				    map->size);
+				PROC_UNLOCK(td->td_proc);
+				return (error);
+			}
+		}
 		PROC_UNLOCK(td->td_proc);
 		return (ENOMEM);
 	}

Modified: stable/9/sys/vm/vm_unix.c
==============================================================================
--- stable/9/sys/vm/vm_unix.c	Mon Jan 14 10:58:20 2013	(r245415)
+++ stable/9/sys/vm/vm_unix.c	Mon Jan 14 10:58:55 2013	(r245416)
@@ -77,13 +77,14 @@ sys_obreak(td, uap)
 {
 	struct vmspace *vm = td->td_proc->p_vmspace;
 	vm_offset_t new, old, base;
-	rlim_t datalim, vmemlim;
+	rlim_t datalim, lmemlim, vmemlim;
 	int prot, rv;
 	int error = 0;
 	boolean_t do_map_wirefuture;
 
 	PROC_LOCK(td->td_proc);
 	datalim = lim_cur(td->td_proc, RLIMIT_DATA);
+	lmemlim = lim_cur(td->td_proc, RLIMIT_MEMLOCK);
 	vmemlim = lim_cur(td->td_proc, RLIMIT_VMEM);
 	PROC_UNLOCK(td->td_proc);
 
@@ -116,6 +117,13 @@ sys_obreak(td, uap)
 		goto done;
 	}
 	if (new > old) {
+		if (!old_mlock && vm->vm_map.flags & MAP_WIREFUTURE) {
+			if (ptoa(vmspace_wired_count(td->td_proc->p_vmspace)) +
+			    (new - old) > lmemlim) {
+				error = ENOMEM;
+				goto done;
+			}
+		}
 		if (vm->vm_map.size + (new - old) > vmemlim) {
 			error = ENOMEM;
 			goto done;
@@ -136,6 +144,20 @@ sys_obreak(td, uap)
 			error = ENOMEM;
 			goto done;
 		}
+		if (!old_mlock && vm->vm_map.flags & MAP_WIREFUTURE) {
+			error = racct_set(td->td_proc, RACCT_MEMLOCK,
+			    ptoa(vmspace_wired_count(td->td_proc->p_vmspace)) +
+			    (new - old));
+			if (error != 0) {
+				racct_set_force(td->td_proc, RACCT_DATA,
+				    old - base);
+				racct_set_force(td->td_proc, RACCT_VMEM,
+				    vm->vm_map.size);
+				PROC_UNLOCK(td->td_proc);
+				error = ENOMEM;
+				goto done;
+			}
+		}
 		PROC_UNLOCK(td->td_proc);
 #endif
 		prot = VM_PROT_RW;
@@ -152,6 +174,11 @@ sys_obreak(td, uap)
 			PROC_LOCK(td->td_proc);
 			racct_set_force(td->td_proc, RACCT_DATA, old - base);
 			racct_set_force(td->td_proc, RACCT_VMEM, vm->vm_map.size);
+			if (!old_mlock && vm->vm_map.flags & MAP_WIREFUTURE) {
+				racct_set_force(td->td_proc, RACCT_MEMLOCK,
+				    ptoa(vmspace_wired_count(
+				    td->td_proc->p_vmspace)));
+			}
 			PROC_UNLOCK(td->td_proc);
 #endif
 			error = ENOMEM;
@@ -183,6 +210,10 @@ sys_obreak(td, uap)
 		PROC_LOCK(td->td_proc);
 		racct_set_force(td->td_proc, RACCT_DATA, new - base);
 		racct_set_force(td->td_proc, RACCT_VMEM, vm->vm_map.size);
+		if (!old_mlock && vm->vm_map.flags & MAP_WIREFUTURE) {
+			racct_set_force(td->td_proc, RACCT_MEMLOCK,
+			    ptoa(vmspace_wired_count(td->td_proc->p_vmspace)));
+		}
 		PROC_UNLOCK(td->td_proc);
 #endif
 	}

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 11:00:07 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id B333CD62;
 Mon, 14 Jan 2013 11:00:07 +0000 (UTC)
 (envelope-from zont@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 577ED32A;
 Mon, 14 Jan 2013 11:00:07 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0EB070S044830;
 Mon, 14 Jan 2013 11:00:07 GMT (envelope-from zont@svn.freebsd.org)
Received: (from zont@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0EB06gd044826;
 Mon, 14 Jan 2013 11:00:06 GMT (envelope-from zont@svn.freebsd.org)
Message-Id: <201301141100.r0EB06gd044826@svn.freebsd.org>
From: Andrey Zonov <zont@FreeBSD.org>
Date: Mon, 14 Jan 2013 11:00:06 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245417 - stable/9/lib/libc/sys
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 11:00:07 -0000

Author: zont
Date: Mon Jan 14 11:00:06 2013
New Revision: 245417
URL: http://svnweb.freebsd.org/changeset/base/245417

Log:
  MFC r244679:
  - Update manual pages accordingly to r244384 and r244385.
  
  Approved by:	kib (mentor)

Modified:
  stable/9/lib/libc/sys/mlock.2
  stable/9/lib/libc/sys/mlockall.2
Directory Properties:
  stable/9/lib/libc/   (props changed)
  stable/9/lib/libc/sys/   (props changed)

Modified: stable/9/lib/libc/sys/mlock.2
==============================================================================
--- stable/9/lib/libc/sys/mlock.2	Mon Jan 14 10:58:55 2013	(r245416)
+++ stable/9/lib/libc/sys/mlock.2	Mon Jan 14 11:00:06 2013	(r245417)
@@ -28,7 +28,7 @@
 .\"	@(#)mlock.2	8.2 (Berkeley) 12/11/93
 .\" $FreeBSD$
 .\"
-.Dd July 27, 2010
+.Dd December 25, 2012
 .Dt MLOCK 2
 .Os
 .Sh NAME
@@ -94,12 +94,15 @@ limited in how much they can lock down.
 A single process can
 .Fn mlock
 the minimum of
-a system-wide ``wired pages'' limit and
-the per-process
+a system-wide ``wired pages'' limit
+.Va vm.max_wired
+and the per-process
 .Li RLIMIT_MEMLOCK
 resource limit.
 .Pp
-These calls are only available to the super-user.
+If
+.Va security.bsd.unprivileged_mlock
+is set to 0 these calls are only available to the super-user.
 .Sh RETURN VALUES
 .Rv -std
 .Pp
@@ -112,7 +115,8 @@ system call
 will fail if:
 .Bl -tag -width Er
 .It Bq Er EPERM
-The caller is not the super-user.
+.Va security.bsd.unprivileged_mlock
+is set to 0 and the caller is not the super-user.
 .It Bq Er EINVAL
 The address given is not page aligned or the length is negative.
 .It Bq Er EAGAIN
@@ -129,7 +133,8 @@ system call
 will fail if:
 .Bl -tag -width Er
 .It Bq Er EPERM
-The caller is not the super-user.
+.Va security.bsd.unprivileged_mlock
+is set to 0 and the caller is not the super-user.
 .It Bq Er EINVAL
 The address given is not page aligned or the length is negative.
 .It Bq Er ENOMEM

Modified: stable/9/lib/libc/sys/mlockall.2
==============================================================================
--- stable/9/lib/libc/sys/mlockall.2	Mon Jan 14 10:58:55 2013	(r245416)
+++ stable/9/lib/libc/sys/mlockall.2	Mon Jan 14 11:00:06 2013	(r245417)
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 27, 2010
+.Dd December 25, 2012
 .Dt MLOCKALL 2
 .Os
 .Sh NAME
@@ -68,11 +68,22 @@ Since physical memory is a potentially s
 limited in how much they can lock down.
 A single process can lock the minimum of a system-wide
 .Dq wired pages
-limit and the per-process
+limit
+.Va vm.max_wired
+and the per-process
 .Dv RLIMIT_MEMLOCK
 resource limit.
 .Pp
-These calls are only available to the super-user.
+If
+.Va security.bsd.unprivileged_mlock
+is set to 0 these calls are only available to the super-user.
+If
+.Va vm.old_mlock
+is set to 1 the per-process
+.Dv RLIMIT_MEMLOCK
+resource limit will not be applied for
+.Fn mlockall
+calls.
 .Pp
 The
 .Fn munlockall

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 11:13:32 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id A92751FF;
 Mon, 14 Jan 2013 11:13:32 +0000 (UTC)
 (envelope-from zont@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 9B2C8884;
 Mon, 14 Jan 2013 11:13:32 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0EBDWSZ050430;
 Mon, 14 Jan 2013 11:13:32 GMT (envelope-from zont@svn.freebsd.org)
Received: (from zont@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0EBDW5q050428;
 Mon, 14 Jan 2013 11:13:32 GMT (envelope-from zont@svn.freebsd.org)
Message-Id: <201301141113.r0EBDW5q050428@svn.freebsd.org>
From: Andrey Zonov <zont@FreeBSD.org>
Date: Mon, 14 Jan 2013 11:13:32 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245420 - in stable/9/sys: kern vm
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 11:13:32 -0000

Author: zont
Date: Mon Jan 14 11:13:31 2013
New Revision: 245420
URL: http://svnweb.freebsd.org/changeset/base/245420

Log:
  - Fix r245416.
    Turn unprivileged mlock off for compatibility.  Exactly this behaviour
    was approved by kib (mentor).
  
  This is a direct commit.
  
  Approved by:	kib (mentor)

Modified:
  stable/9/sys/kern/kern_priv.c
  stable/9/sys/vm/vm_mmap.c

Modified: stable/9/sys/kern/kern_priv.c
==============================================================================
--- stable/9/sys/kern/kern_priv.c	Mon Jan 14 11:06:50 2013	(r245419)
+++ stable/9/sys/kern/kern_priv.c	Mon Jan 14 11:13:31 2013	(r245420)
@@ -59,7 +59,7 @@ SYSCTL_INT(_security_bsd, OID_AUTO, suse
     &suser_enabled, 0, "processes with uid 0 have privilege");
 TUNABLE_INT("security.bsd.suser_enabled", &suser_enabled);
 
-static int	unprivileged_mlock = 1;
+static int	unprivileged_mlock = 0;
 SYSCTL_INT(_security_bsd, OID_AUTO, unprivileged_mlock, CTLFLAG_RW|CTLFLAG_TUN,
     &unprivileged_mlock, 0, "Allow non-root users to call mlock(2)");
 TUNABLE_INT("security.bsd.unprivileged_mlock", &unprivileged_mlock);

Modified: stable/9/sys/vm/vm_mmap.c
==============================================================================
--- stable/9/sys/vm/vm_mmap.c	Mon Jan 14 11:06:50 2013	(r245419)
+++ stable/9/sys/vm/vm_mmap.c	Mon Jan 14 11:13:31 2013	(r245420)
@@ -88,7 +88,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/pmckern.h>
 #endif
 
-int old_mlock = 0;
+int old_mlock = 1;
 SYSCTL_INT(_vm, OID_AUTO, old_mlock, CTLFLAG_RW | CTLFLAG_TUN, &old_mlock, 0,
     "Do not apply RLIMIT_MEMLOCK on mlockall");
 TUNABLE_INT("vm.old_mlock", &old_mlock);

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 15:18:11 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 1033)
 id 4F3A11BA; Mon, 14 Jan 2013 15:18:11 +0000 (UTC)
Date: Mon, 14 Jan 2013 15:18:11 +0000
From: Alexey Dokuchaev <danfe@FreeBSD.org>
To: Kevin Lo <kevlo@FreeBSD.org>
Subject: Re: svn commit: r245149 - stable/9/sys/libkern
Message-ID: <20130114151811.GA99739@FreeBSD.org>
References: <201301080443.r084hKsp017952@svn.freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
In-Reply-To: <201301080443.r084hKsp017952@svn.freebsd.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org,
 src-committers@freebsd.org, svn-src-stable-9@freebsd.org
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 15:18:11 -0000

On Tue, Jan 08, 2013 at 04:43:20AM +0000, Kevin Lo wrote:
> New Revision: 245149
> URL: http://svnweb.freebsd.org/changeset/base/245149
> 
> Log:
>   MFC r236899:
>   
>   Fix unloading of libiconv module.

Do you plan to MFC this to stable/8 as well?

./danfe

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 19:31:45 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id B1782233;
 Mon, 14 Jan 2013 19:31:45 +0000 (UTC) (envelope-from dim@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 887FA28F;
 Mon, 14 Jan 2013 19:31:45 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0EJVj9s001937;
 Mon, 14 Jan 2013 19:31:45 GMT (envelope-from dim@svn.freebsd.org)
Received: (from dim@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0EJVjMp001935;
 Mon, 14 Jan 2013 19:31:45 GMT (envelope-from dim@svn.freebsd.org)
Message-Id: <201301141931.r0EJVjMp001935@svn.freebsd.org>
From: Dimitry Andric <dim@FreeBSD.org>
Date: Mon, 14 Jan 2013 19:31:45 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245429 - in stable/9/sys/dev/ath/ath_hal: . ar9002
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 19:31:45 -0000

Author: dim
Date: Mon Jan 14 19:31:44 2013
New Revision: 245429
URL: http://svnweb.freebsd.org/changeset/base/245429

Log:
  Partial MFC of r234508 (by adrian):
  
    "Upgrade" the AR9285 code to support PCI/ART EEPROM on flash.
  
    I've just verified that this boots on an Atheros AP91. I haven't verified
    it with traffic though, so YMMV.
  
  (This is a prerequisite for the coming clang 3.2 upgrade.)

Modified:
  stable/9/sys/dev/ath/ath_hal/ah_eeprom_v4k.c
  stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/ath/ath_hal/ah_eeprom_v4k.c
==============================================================================
--- stable/9/sys/dev/ath/ath_hal/ah_eeprom_v4k.c	Mon Jan 14 18:01:19 2013	(r245428)
+++ stable/9/sys/dev/ath/ath_hal/ah_eeprom_v4k.c	Mon Jan 14 19:31:44 2013	(r245429)
@@ -298,12 +298,12 @@ ath_hal_v4kEepromAttach(struct ath_hal *
 			    "%s Error reading Eeprom MAGIC\n", __func__);
 			return HAL_EEREAD;
 		}
-	}
-	HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s Eeprom Magic = 0x%x\n",
-	    __func__, magic);
-	if (magic != AR5416_EEPROM_MAGIC) {
-		HALDEBUG(ah, HAL_DEBUG_ANY, "Bad magic number\n");
-		return HAL_EEMAGIC;
+		HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s Eeprom Magic = 0x%x\n",
+		    __func__, magic);
+		if (magic != AR5416_EEPROM_MAGIC) {
+			HALDEBUG(ah, HAL_DEBUG_ANY, "Bad magic number\n");
+			return HAL_EEMAGIC;
+		}
 	}
 
 	ee = ath_hal_malloc(sizeof(HAL_EEPROM_v4k));

Modified: stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
==============================================================================
--- stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	Mon Jan 14 18:01:19 2013	(r245428)
+++ stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	Mon Jan 14 19:31:44 2013	(r245429)
@@ -134,6 +134,18 @@ ar9285Attach(uint16_t devid, HAL_SOFTC s
 
 	ar5416InitState(AH5416(ah), devid, sc, st, sh, status);
 
+	/*
+	 * Use the "local" EEPROM data given to us by the higher layers.
+	 * This is a private copy out of system flash. The Linux ath9k
+	 * commit for the initial AR9130 support mentions MMIO flash
+	 * access is "unreliable." -adrian
+	 */
+	if (eepromdata != AH_NULL) {
+		AH_PRIVATE(ah)->ah_eepromRead = ath_hal_EepromDataRead;
+		AH_PRIVATE(ah)->ah_eepromWrite = NULL;
+		ah->ah_eepromdata = eepromdata;
+	}
+
 	/* XXX override with 9285 specific state */
 	/* override 5416 methods for our needs */
 	AH5416(ah)->ah_initPLL = ar9280InitPLL;

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 19:51:30 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id E4DF4F8A;
 Mon, 14 Jan 2013 19:51:30 +0000 (UTC) (envelope-from dim@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id CB40E6F6;
 Mon, 14 Jan 2013 19:51:30 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0EJpU2N007759;
 Mon, 14 Jan 2013 19:51:30 GMT (envelope-from dim@svn.freebsd.org)
Received: (from dim@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0EJpSIX007745;
 Mon, 14 Jan 2013 19:51:28 GMT (envelope-from dim@svn.freebsd.org)
Message-Id: <201301141951.r0EJpSIX007745@svn.freebsd.org>
From: Dimitry Andric <dim@FreeBSD.org>
Date: Mon, 14 Jan 2013 19:51:28 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245431 - in stable/9: . contrib/llvm/include/llvm
 contrib/llvm/include/llvm-c contrib/llvm/include/llvm-c/Transforms
 contrib/llvm/include/llvm/ADT contrib/llvm/include/llvm/Analysis co...
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 19:51:31 -0000

Author: dim
Date: Mon Jan 14 19:51:26 2013
New Revision: 245431
URL: http://svnweb.freebsd.org/changeset/base/245431

Log:
  MFC r244628:
  
    Upgrade our copy of llvm/clang to 3.2 release.
  
    Release notes for llvm:
    http://llvm.org/releases/3.2/docs/ReleaseNotes.html
  
    Release notes for clang:
    http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html

Added:
  stable/9/contrib/llvm/include/llvm-c/Linker.h
     - copied unchanged from r239462, head/contrib/llvm/include/llvm-c/Linker.h
  stable/9/contrib/llvm/include/llvm/ADT/MapVector.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/ADT/MapVector.h
  stable/9/contrib/llvm/include/llvm/AddressingMode.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/AddressingMode.h
  stable/9/contrib/llvm/include/llvm/Analysis/DependenceAnalysis.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/Analysis/DependenceAnalysis.h
  stable/9/contrib/llvm/include/llvm/Analysis/LoopInfoImpl.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/Analysis/LoopInfoImpl.h
  stable/9/contrib/llvm/include/llvm/Analysis/ProfileDataLoader.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/Analysis/ProfileDataLoader.h
  stable/9/contrib/llvm/include/llvm/Analysis/ProfileDataTypes.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/Analysis/ProfileDataTypes.h
  stable/9/contrib/llvm/include/llvm/CodeGen/CommandFlags.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/CodeGen/CommandFlags.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachinePostDominators.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/CodeGen/MachinePostDominators.h
  stable/9/contrib/llvm/include/llvm/CodeGen/RegisterClassInfo.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/CodeGen/RegisterClassInfo.h
  stable/9/contrib/llvm/include/llvm/CodeGen/RegisterPressure.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/CodeGen/RegisterPressure.h
  stable/9/contrib/llvm/include/llvm/CodeGen/ScheduleDAGILP.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/CodeGen/ScheduleDAGILP.h
  stable/9/contrib/llvm/include/llvm/CodeGen/TargetSchedule.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/CodeGen/TargetSchedule.h
  stable/9/contrib/llvm/include/llvm/DIBuilder.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/DIBuilder.h
  stable/9/contrib/llvm/include/llvm/DataLayout.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/DataLayout.h
  stable/9/contrib/llvm/include/llvm/DebugInfo.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/DebugInfo.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/ObjectBuffer.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/ExecutionEngine/ObjectBuffer.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/ObjectImage.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/ExecutionEngine/ObjectImage.h
  stable/9/contrib/llvm/include/llvm/IRBuilder.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/IRBuilder.h
  stable/9/contrib/llvm/include/llvm/IntrinsicsMips.td
     - copied, changed from r239462, head/contrib/llvm/include/llvm/IntrinsicsMips.td
  stable/9/contrib/llvm/include/llvm/IntrinsicsNVVM.td
     - copied unchanged from r239462, head/contrib/llvm/include/llvm/IntrinsicsNVVM.td
  stable/9/contrib/llvm/include/llvm/MC/MCFixedLenDisassembler.h
     - copied unchanged from r239462, head/contrib/llvm/include/llvm/MC/MCFixedLenDisassembler.h
  stable/9/contrib/llvm/include/llvm/MC/MCSchedule.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/MC/MCSchedule.h
  stable/9/contrib/llvm/include/llvm/MDBuilder.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/MDBuilder.h
  stable/9/contrib/llvm/include/llvm/Object/RelocVisitor.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/Object/RelocVisitor.h
  stable/9/contrib/llvm/include/llvm/Support/FileOutputBuffer.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/Support/FileOutputBuffer.h
  stable/9/contrib/llvm/include/llvm/Support/IntegersSubset.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/Support/IntegersSubset.h
  stable/9/contrib/llvm/include/llvm/Support/IntegersSubsetMapping.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/Support/IntegersSubsetMapping.h
  stable/9/contrib/llvm/include/llvm/Support/LEB128.h
     - copied, changed from r239462, head/contrib/llvm/include/llvm/Support/LEB128.h
  stable/9/contrib/llvm/include/llvm/TableGen/StringMatcher.h
     - copied unchanged from r239462, head/contrib/llvm/include/llvm/TableGen/StringMatcher.h
  stable/9/contrib/llvm/include/llvm/Target/TargetItinerary.td
     - copied unchanged from r239462, head/contrib/llvm/include/llvm/Target/TargetItinerary.td
  stable/9/contrib/llvm/include/llvm/Target/TargetTransformImpl.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/Target/TargetTransformImpl.h
  stable/9/contrib/llvm/include/llvm/TargetTransformInfo.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/TargetTransformInfo.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
     - copied unchanged from r239462, head/contrib/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/IntegerDivision.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/Transforms/Utils/IntegerDivision.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
     - copied unchanged from r243830, head/contrib/llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
  stable/9/contrib/llvm/include/llvm/TypeBuilder.h
     - copied unchanged from r239462, head/contrib/llvm/include/llvm/TypeBuilder.h
  stable/9/contrib/llvm/include/llvm/TypeFinder.h
     - copied unchanged from r239462, head/contrib/llvm/include/llvm/TypeFinder.h
  stable/9/contrib/llvm/lib/Analysis/CostModel.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Analysis/CostModel.cpp
  stable/9/contrib/llvm/lib/Analysis/DependenceAnalysis.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Analysis/DependenceAnalysis.cpp
  stable/9/contrib/llvm/lib/Analysis/ProfileDataLoader.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Analysis/ProfileDataLoader.cpp
  stable/9/contrib/llvm/lib/Analysis/ProfileDataLoaderPass.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Analysis/ProfileDataLoaderPass.cpp
  stable/9/contrib/llvm/lib/CodeGen/EarlyIfConversion.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/CodeGen/EarlyIfConversion.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveRegMatrix.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/CodeGen/LiveRegMatrix.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveRegMatrix.h
     - copied, changed from r239462, head/contrib/llvm/lib/CodeGen/LiveRegMatrix.h
  stable/9/contrib/llvm/lib/CodeGen/MachinePostDominators.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/CodeGen/MachinePostDominators.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineTraceMetrics.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/CodeGen/MachineTraceMetrics.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineTraceMetrics.h
     - copied, changed from r239462, head/contrib/llvm/lib/CodeGen/MachineTraceMetrics.h
  stable/9/contrib/llvm/lib/CodeGen/RegisterPressure.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/CodeGen/RegisterPressure.cpp
  stable/9/contrib/llvm/lib/CodeGen/StackColoring.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/CodeGen/StackColoring.cpp
  stable/9/contrib/llvm/lib/CodeGen/TargetSchedule.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/CodeGen/TargetSchedule.cpp
  stable/9/contrib/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/DebugInfo/DWARFDebugRangeList.cpp
  stable/9/contrib/llvm/lib/DebugInfo/DWARFDebugRangeList.h
     - copied unchanged from r243830, head/contrib/llvm/lib/DebugInfo/DWARFDebugRangeList.h
  stable/9/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventsWrapper.h
     - copied unchanged from r243830, head/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventsWrapper.h
  stable/9/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h
     - copied unchanged from r243830, head/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h
  stable/9/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h
     - copied unchanged from r243830, head/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h
  stable/9/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c
     - copied unchanged from r243830, head/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c
  stable/9/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h
     - copied unchanged from r243830, head/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ObjectImageCommon.h
     - copied unchanged from r243830, head/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ObjectImageCommon.h
  stable/9/contrib/llvm/lib/MC/MCRegisterInfo.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/MC/MCRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Support/FileOutputBuffer.cpp
     - copied unchanged from r239462, head/contrib/llvm/lib/Support/FileOutputBuffer.cpp
  stable/9/contrib/llvm/lib/TableGen/StringMatcher.cpp
     - copied unchanged from r239462, head/contrib/llvm/lib/TableGen/StringMatcher.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMScheduleSwift.td
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/ARM/ARMScheduleSwift.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonInstrInfoV5.td
     - copied unchanged from r239462, head/contrib/llvm/lib/Target/Hexagon/HexagonInstrInfoV5.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonIntrinsicsV5.td
     - copied unchanged from r239462, head/contrib/llvm/lib/Target/Hexagon/HexagonIntrinsicsV5.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonMCInst.h
     - copied unchanged from r239462, head/contrib/llvm/lib/Target/Hexagon/HexagonMCInst.h
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonMachineScheduler.h
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/Hexagon/HexagonMachineScheduler.h
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsDirectObjLower.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsDirectObjLower.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsDirectObjLower.h
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsDirectObjLower.h
  stable/9/contrib/llvm/lib/Target/Mips/Mips16FrameLowering.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/Mips16FrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/Mips/Mips16FrameLowering.h
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/Mips16FrameLowering.h
  stable/9/contrib/llvm/lib/Target/Mips/Mips16InstrFormats.td
     - copied unchanged from r239462, head/contrib/llvm/lib/Target/Mips/Mips16InstrFormats.td
  stable/9/contrib/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/Mips/Mips16InstrInfo.h
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/Mips16InstrInfo.h
  stable/9/contrib/llvm/lib/Target/Mips/Mips16InstrInfo.td
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/Mips16InstrInfo.td
  stable/9/contrib/llvm/lib/Target/Mips/Mips16RegisterInfo.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/Mips16RegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/Mips/Mips16RegisterInfo.h
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/Mips16RegisterInfo.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsDSPInstrFormats.td
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/Mips/MipsDSPInstrFormats.td
  stable/9/contrib/llvm/lib/Target/Mips/MipsDSPInstrInfo.td
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/Mips/MipsDSPInstrInfo.td
  stable/9/contrib/llvm/lib/Target/Mips/MipsLongBranch.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/MipsLongBranch.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsSEFrameLowering.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/MipsSEFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsSEFrameLowering.h
     - copied unchanged from r239462, head/contrib/llvm/lib/Target/Mips/MipsSEFrameLowering.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsSEInstrInfo.h
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/MipsSEInstrInfo.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsSERegisterInfo.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/MipsSERegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsSERegisterInfo.h
     - copied, changed from r239462, head/contrib/llvm/lib/Target/Mips/MipsSERegisterInfo.h
  stable/9/contrib/llvm/lib/Target/NVPTX/
     - copied from r239462, head/contrib/llvm/lib/Target/NVPTX/
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
     - copied unchanged from r239462, head/contrib/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCScheduleE500mc.td
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/PowerPC/PPCScheduleE500mc.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCScheduleE5500.td
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/PowerPC/PPCScheduleE5500.td
  stable/9/contrib/llvm/lib/Target/TargetTransformImpl.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/TargetTransformImpl.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86InstrTSX.td
     - copied unchanged from r243830, head/contrib/llvm/lib/Target/X86/X86InstrTSX.td
  stable/9/contrib/llvm/lib/Transforms/IPO/BarrierNoopPass.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Transforms/IPO/BarrierNoopPass.cpp
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/BlackList.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Transforms/Instrumentation/BlackList.cpp
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/BlackList.h
     - copied unchanged from r243830, head/contrib/llvm/lib/Transforms/Instrumentation/BlackList.h
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/SROA.cpp
     - copied, changed from r243830, head/contrib/llvm/lib/Transforms/Scalar/SROA.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/IntegerDivision.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Transforms/Utils/IntegerDivision.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/MetaRenamer.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Transforms/Utils/MetaRenamer.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  stable/9/contrib/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  stable/9/contrib/llvm/lib/VMCore/AttributesImpl.h
     - copied unchanged from r243830, head/contrib/llvm/lib/VMCore/AttributesImpl.h
  stable/9/contrib/llvm/lib/VMCore/DIBuilder.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/VMCore/DIBuilder.cpp
  stable/9/contrib/llvm/lib/VMCore/DataLayout.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/VMCore/DataLayout.cpp
  stable/9/contrib/llvm/lib/VMCore/DebugInfo.cpp
     - copied, changed from r239462, head/contrib/llvm/lib/VMCore/DebugInfo.cpp
  stable/9/contrib/llvm/lib/VMCore/TargetTransformInfo.cpp
     - copied unchanged from r243830, head/contrib/llvm/lib/VMCore/TargetTransformInfo.cpp
  stable/9/contrib/llvm/lib/VMCore/TypeFinder.cpp
     - copied unchanged from r239462, head/contrib/llvm/lib/VMCore/TypeFinder.cpp
  stable/9/contrib/llvm/tools/clang/include/clang-c/CXCompilationDatabase.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/include/clang-c/CXCompilationDatabase.h
  stable/9/contrib/llvm/tools/clang/include/clang-c/CXString.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/include/clang-c/CXString.h
  stable/9/contrib/llvm/tools/clang/include/clang-c/Platform.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/include/clang-c/Platform.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/Comment.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/AST/Comment.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CommentBriefParser.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/AST/CommentBriefParser.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CommentCommandTraits.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/AST/CommentCommandTraits.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CommentCommands.td
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/AST/CommentCommands.td
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CommentDiagnostic.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/include/clang/AST/CommentDiagnostic.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CommentHTMLTags.td
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/AST/CommentHTMLTags.td
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CommentLexer.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/AST/CommentLexer.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CommentParser.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/AST/CommentParser.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CommentSema.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/AST/CommentSema.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CommentVisitor.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/include/clang/AST/CommentVisitor.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/RawCommentList.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/AST/RawCommentList.h
  stable/9/contrib/llvm/tools/clang/include/clang/ASTMatchers/
     - copied from r239462, head/contrib/llvm/tools/clang/include/clang/ASTMatchers/
  stable/9/contrib/llvm/tools/clang/include/clang/ASTMatchers/ASTTypeTraits.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/ASTMatchers/ASTTypeTraits.h
  stable/9/contrib/llvm/tools/clang/include/clang/Analysis/DomainSpecific/ObjCNoReturn.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Analysis/DomainSpecific/ObjCNoReturn.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsMips.def
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsMips.def
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsNVPTX.def
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsNVPTX.def
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/CommentNodes.td
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/include/clang/Basic/CommentNodes.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommentKinds.td
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommentKinds.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticOptions.def
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticOptions.def
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticOptions.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/ObjCRuntime.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/Basic/ObjCRuntime.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Sanitizers.def
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Basic/Sanitizers.def
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.def
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.def
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/HeaderSearchOptions.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Lex/HeaderSearchOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/PPMutationListener.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Lex/PPMutationListener.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/PreprocessorOptions.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Lex/PreprocessorOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
     - copied from r243830, head/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
     - copied from r243830, head/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/CodeCompleteOptions.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/include/clang/Sema/CodeCompleteOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/Analyses.def
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/Analyses.def
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h
  stable/9/contrib/llvm/tools/clang/include/clang/Tooling/ArgumentsAdjusters.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/include/clang/Tooling/ArgumentsAdjusters.h
  stable/9/contrib/llvm/tools/clang/include/clang/Tooling/CommonOptionsParser.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Tooling/CommonOptionsParser.h
  stable/9/contrib/llvm/tools/clang/include/clang/Tooling/CompilationDatabasePluginRegistry.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Tooling/CompilationDatabasePluginRegistry.h
  stable/9/contrib/llvm/tools/clang/include/clang/Tooling/FileMatchTrie.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Tooling/FileMatchTrie.h
  stable/9/contrib/llvm/tools/clang/include/clang/Tooling/JSONCompilationDatabase.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/include/clang/Tooling/JSONCompilationDatabase.h
  stable/9/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring.h
  stable/9/contrib/llvm/tools/clang/include/clang/Tooling/RefactoringCallbacks.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/include/clang/Tooling/RefactoringCallbacks.h
  stable/9/contrib/llvm/tools/clang/lib/AST/Comment.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/AST/Comment.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/CommentBriefParser.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/AST/CommentBriefParser.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/CommentCommandTraits.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/AST/CommentCommandTraits.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/CommentDumper.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/AST/CommentDumper.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/CommentLexer.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/AST/CommentLexer.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/CommentParser.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/AST/CommentParser.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/CommentSema.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/AST/CommentSema.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/RawCommentList.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/AST/RawCommentList.cpp
  stable/9/contrib/llvm/tools/clang/lib/ASTMatchers/
     - copied from r239462, head/contrib/llvm/tools/clang/lib/ASTMatchers/
  stable/9/contrib/llvm/tools/clang/lib/Analysis/BodyFarm.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Analysis/BodyFarm.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/BodyFarm.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Analysis/BodyFarm.h
  stable/9/contrib/llvm/tools/clang/lib/Analysis/ObjCNoReturn.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Analysis/ObjCNoReturn.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/ConvertUTFWrapper.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/Basic/ConvertUTFWrapper.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/SanitizerArgs.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Driver/SanitizerArgs.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/__wmmintrin_aes.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Headers/__wmmintrin_aes.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/__wmmintrin_pclmul.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Headers/__wmmintrin_pclmul.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/ammintrin.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/lib/Headers/ammintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/f16cintrin.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Headers/f16cintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/fmaintrin.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/lib/Headers/fmaintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/rtmintrin.h
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Headers/rtmintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/xopintrin.h
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/lib/Headers/xopintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/Core/
     - copied from r243830, head/contrib/llvm/tools/clang/lib/Rewrite/Core/
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
     - copied from r243830, head/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
  stable/9/contrib/llvm/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/ScopeInfo.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Sema/ScopeInfo.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaStmtAsm.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Sema/SemaStmtAsm.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/APSIntType.cpp
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/APSIntType.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/Tooling/ArgumentsAdjusters.cpp
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/lib/Tooling/ArgumentsAdjusters.cpp
  stable/9/contrib/llvm/tools/clang/lib/Tooling/CommonOptionsParser.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Tooling/CommonOptionsParser.cpp
  stable/9/contrib/llvm/tools/clang/lib/Tooling/FileMatchTrie.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Tooling/FileMatchTrie.cpp
  stable/9/contrib/llvm/tools/clang/lib/Tooling/JSONCompilationDatabase.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/lib/Tooling/JSONCompilationDatabase.cpp
  stable/9/contrib/llvm/tools/clang/lib/Tooling/Refactoring.cpp
     - copied, changed from r239462, head/contrib/llvm/tools/clang/lib/Tooling/Refactoring.cpp
  stable/9/contrib/llvm/tools/clang/lib/Tooling/RefactoringCallbacks.cpp
     - copied unchanged from r239462, head/contrib/llvm/tools/clang/lib/Tooling/RefactoringCallbacks.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/TableGenBackends.h
     - copied, changed from r239462, head/contrib/llvm/tools/clang/utils/TableGen/TableGenBackends.h
  stable/9/contrib/llvm/tools/lli/RecordingMemoryManager.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/lli/RecordingMemoryManager.cpp
  stable/9/contrib/llvm/tools/lli/RecordingMemoryManager.h
     - copied unchanged from r243830, head/contrib/llvm/tools/lli/RecordingMemoryManager.h
  stable/9/contrib/llvm/tools/lli/RemoteTarget.cpp
     - copied unchanged from r243830, head/contrib/llvm/tools/lli/RemoteTarget.cpp
  stable/9/contrib/llvm/tools/lli/RemoteTarget.h
     - copied unchanged from r243830, head/contrib/llvm/tools/lli/RemoteTarget.h
  stable/9/contrib/llvm/utils/TableGen/CodeGenMapTable.cpp
     - copied unchanged from r243830, head/contrib/llvm/utils/TableGen/CodeGenMapTable.cpp
  stable/9/contrib/llvm/utils/TableGen/CodeGenSchedule.cpp
     - copied, changed from r239462, head/contrib/llvm/utils/TableGen/CodeGenSchedule.cpp
  stable/9/contrib/llvm/utils/TableGen/CodeGenSchedule.h
     - copied, changed from r239462, head/contrib/llvm/utils/TableGen/CodeGenSchedule.h
  stable/9/contrib/llvm/utils/TableGen/TableGenBackends.h
     - copied, changed from r239462, head/contrib/llvm/utils/TableGen/TableGenBackends.h
  stable/9/lib/clang/include/MipsGenAsmMatcher.inc
     - copied unchanged from r243830, head/lib/clang/include/MipsGenAsmMatcher.inc
  stable/9/lib/clang/include/MipsGenDisassemblerTables.inc
     - copied unchanged from r239462, head/lib/clang/include/MipsGenDisassemblerTables.inc
  stable/9/lib/clang/include/MipsGenEDInfo.inc
     - copied unchanged from r239462, head/lib/clang/include/MipsGenEDInfo.inc
  stable/9/lib/clang/include/MipsGenMCPseudoLowering.inc
     - copied unchanged from r243830, head/lib/clang/include/MipsGenMCPseudoLowering.inc
  stable/9/lib/clang/include/clang/AST/CommentCommandInfo.inc
     - copied unchanged from r243830, head/lib/clang/include/clang/AST/CommentCommandInfo.inc
  stable/9/lib/clang/include/clang/AST/CommentHTMLTags.inc
     - copied unchanged from r243830, head/lib/clang/include/clang/AST/CommentHTMLTags.inc
  stable/9/lib/clang/include/clang/AST/CommentHTMLTagsProperties.inc
     - copied unchanged from r243830, head/lib/clang/include/clang/AST/CommentHTMLTagsProperties.inc
  stable/9/lib/clang/include/clang/AST/CommentNodes.inc
     - copied unchanged from r239462, head/lib/clang/include/clang/AST/CommentNodes.inc
  stable/9/lib/clang/include/clang/Basic/DiagnosticCommentKinds.inc
     - copied unchanged from r239462, head/lib/clang/include/clang/Basic/DiagnosticCommentKinds.inc
  stable/9/lib/clang/libclangrewritecore/
     - copied from r243830, head/lib/clang/libclangrewritecore/
  stable/9/lib/clang/libclangrewritefrontend/
     - copied from r243830, head/lib/clang/libclangrewritefrontend/
  stable/9/lib/clang/libllvmmipsdisassembler/
     - copied from r239462, head/lib/clang/libllvmmipsdisassembler/
Deleted:
  stable/9/contrib/llvm/include/llvm/ADT/Trie.h
  stable/9/contrib/llvm/include/llvm/Analysis/DIBuilder.h
  stable/9/contrib/llvm/include/llvm/Analysis/DebugInfo.h
  stable/9/contrib/llvm/include/llvm/Analysis/LoopDependenceAnalysis.h
  stable/9/contrib/llvm/include/llvm/CodeGen/ProcessImplicitDefs.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/IntelJITEventsWrapper.h
  stable/9/contrib/llvm/include/llvm/IntrinsicsPTX.td
  stable/9/contrib/llvm/include/llvm/Support/IRBuilder.h
  stable/9/contrib/llvm/include/llvm/Support/MDBuilder.h
  stable/9/contrib/llvm/include/llvm/Support/TypeBuilder.h
  stable/9/contrib/llvm/include/llvm/TableGen/TableGenAction.h
  stable/9/contrib/llvm/include/llvm/Target/TargetData.h
  stable/9/contrib/llvm/include/llvm/Target/TargetELFWriterInfo.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/FunctionUtils.h
  stable/9/contrib/llvm/lib/Analysis/DIBuilder.cpp
  stable/9/contrib/llvm/lib/Analysis/DebugInfo.cpp
  stable/9/contrib/llvm/lib/Analysis/LoopDependenceAnalysis.cpp
  stable/9/contrib/llvm/lib/CodeGen/RegisterClassInfo.h
  stable/9/contrib/llvm/lib/CodeGen/RenderMachineFunction.cpp
  stable/9/contrib/llvm/lib/CodeGen/RenderMachineFunction.h
  stable/9/contrib/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ObjectImage.h
  stable/9/contrib/llvm/lib/TableGen/TableGenAction.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMELFWriterInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMELFWriterInfo.h
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeELFWriterInfo.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsEmitGPRestore.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsExpandPseudo.cpp
  stable/9/contrib/llvm/lib/Target/PTX/InstPrinter/PTXInstPrinter.cpp
  stable/9/contrib/llvm/lib/Target/PTX/InstPrinter/PTXInstPrinter.h
  stable/9/contrib/llvm/lib/Target/PTX/MCTargetDesc/PTXBaseInfo.h
  stable/9/contrib/llvm/lib/Target/PTX/MCTargetDesc/PTXMCAsmInfo.cpp
  stable/9/contrib/llvm/lib/Target/PTX/MCTargetDesc/PTXMCAsmInfo.h
  stable/9/contrib/llvm/lib/Target/PTX/MCTargetDesc/PTXMCTargetDesc.cpp
  stable/9/contrib/llvm/lib/Target/PTX/MCTargetDesc/PTXMCTargetDesc.h
  stable/9/contrib/llvm/lib/Target/PTX/PTX.h
  stable/9/contrib/llvm/lib/Target/PTX/PTX.td
  stable/9/contrib/llvm/lib/Target/PTX/PTXAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXAsmPrinter.h
  stable/9/contrib/llvm/lib/Target/PTX/PTXFPRoundingModePass.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXFrameLowering.h
  stable/9/contrib/llvm/lib/Target/PTX/PTXISelDAGToDAG.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXISelLowering.h
  stable/9/contrib/llvm/lib/Target/PTX/PTXInstrFormats.td
  stable/9/contrib/llvm/lib/Target/PTX/PTXInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXInstrInfo.h
  stable/9/contrib/llvm/lib/Target/PTX/PTXInstrInfo.td
  stable/9/contrib/llvm/lib/Target/PTX/PTXInstrLoadStore.td
  stable/9/contrib/llvm/lib/Target/PTX/PTXIntrinsicInstrInfo.td
  stable/9/contrib/llvm/lib/Target/PTX/PTXMCAsmStreamer.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXMCInstLower.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXMFInfoExtract.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXMachineFunctionInfo.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXMachineFunctionInfo.h
  stable/9/contrib/llvm/lib/Target/PTX/PTXParamManager.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXParamManager.h
  stable/9/contrib/llvm/lib/Target/PTX/PTXRegAlloc.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXRegisterInfo.h
  stable/9/contrib/llvm/lib/Target/PTX/PTXRegisterInfo.td
  stable/9/contrib/llvm/lib/Target/PTX/PTXSelectionDAGInfo.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXSelectionDAGInfo.h
  stable/9/contrib/llvm/lib/Target/PTX/PTXSubtarget.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXSubtarget.h
  stable/9/contrib/llvm/lib/Target/PTX/PTXTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/PTX/PTXTargetMachine.h
  stable/9/contrib/llvm/lib/Target/PTX/TargetInfo/PTXTargetInfo.cpp
  stable/9/contrib/llvm/lib/Target/TargetData.cpp
  stable/9/contrib/llvm/lib/Target/TargetELFWriterInfo.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86ELFWriterInfo.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86ELFWriterInfo.h
  stable/9/contrib/llvm/lib/Target/X86/X86MCInstLower.h
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/FunctionBlackList.cpp
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/FunctionBlackList.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsPTX.def
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/ObjCRuntime.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/Analyses.def
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/AnalyzerOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/DiagnosticOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/HeaderSearchOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/PreprocessorOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/ASTConsumers.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/DeltaTree.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/FixItRewriter.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/FrontendActions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/HTMLRewrite.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/RewriteRope.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/Rewriter.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/Rewriters.h
  stable/9/contrib/llvm/tools/clang/include/clang/Rewrite/TokenRewriter.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Checkers/DereferenceChecker.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ObjCMessage.h
  stable/9/contrib/llvm/tools/clang/lib/Driver/CC1Options.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/DeltaTree.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/FixItRewriter.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/FrontendActions.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/HTMLPrint.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/HTMLRewrite.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/RewriteMacros.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/RewriteModernObjC.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/RewriteObjC.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/RewriteRope.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/RewriteTest.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/Rewriter.cpp
  stable/9/contrib/llvm/tools/clang/lib/Rewrite/TokenRewriter.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/IteratorsChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/OSAtomicChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/BasicConstraintManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ObjCMessage.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangASTNodesEmitter.h
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangAttrEmitter.h
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangDiagnosticsEmitter.h
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangSACheckersEmitter.h
  stable/9/contrib/llvm/tools/clang/utils/TableGen/NeonEmitter.h
  stable/9/contrib/llvm/tools/clang/utils/TableGen/OptParserEmitter.h
  stable/9/contrib/llvm/tools/llvm-ld/
  stable/9/contrib/llvm/tools/llvm-stub/llvm-stub.c
  stable/9/contrib/llvm/utils/TableGen/AsmMatcherEmitter.h
  stable/9/contrib/llvm/utils/TableGen/AsmWriterEmitter.h
  stable/9/contrib/llvm/utils/TableGen/CallingConvEmitter.h
  stable/9/contrib/llvm/utils/TableGen/CodeEmitterGen.h
  stable/9/contrib/llvm/utils/TableGen/DAGISelEmitter.h
  stable/9/contrib/llvm/utils/TableGen/DFAPacketizerEmitter.h
  stable/9/contrib/llvm/utils/TableGen/DisassemblerEmitter.h
  stable/9/contrib/llvm/utils/TableGen/EDEmitter.h
  stable/9/contrib/llvm/utils/TableGen/FastISelEmitter.h
  stable/9/contrib/llvm/utils/TableGen/FixedLenDecoderEmitter.h
  stable/9/contrib/llvm/utils/TableGen/InstrInfoEmitter.h
  stable/9/contrib/llvm/utils/TableGen/IntrinsicEmitter.h
  stable/9/contrib/llvm/utils/TableGen/PseudoLoweringEmitter.h
  stable/9/contrib/llvm/utils/TableGen/RegisterInfoEmitter.h
  stable/9/contrib/llvm/utils/TableGen/StringMatcher.cpp
  stable/9/contrib/llvm/utils/TableGen/StringMatcher.h
  stable/9/contrib/llvm/utils/TableGen/SubtargetEmitter.h
  stable/9/lib/clang/include/clang/Driver/CC1Options.inc
  stable/9/lib/clang/libclangrewrite/
  stable/9/usr.bin/clang/llvm-ld/
  stable/9/usr.bin/clang/llvm-stub/
Modified:
  stable/9/ObsoleteFiles.inc   (contents, props changed)
  stable/9/contrib/llvm/include/llvm-c/Core.h
  stable/9/contrib/llvm/include/llvm-c/Disassembler.h
  stable/9/contrib/llvm/include/llvm-c/Target.h
  stable/9/contrib/llvm/include/llvm-c/TargetMachine.h
  stable/9/contrib/llvm/include/llvm-c/Transforms/Vectorize.h
  stable/9/contrib/llvm/include/llvm/ADT/APFloat.h
  stable/9/contrib/llvm/include/llvm/ADT/APInt.h
  stable/9/contrib/llvm/include/llvm/ADT/APSInt.h
  stable/9/contrib/llvm/include/llvm/ADT/ArrayRef.h
  stable/9/contrib/llvm/include/llvm/ADT/BitVector.h
  stable/9/contrib/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h
  stable/9/contrib/llvm/include/llvm/ADT/DeltaAlgorithm.h
  stable/9/contrib/llvm/include/llvm/ADT/DenseMap.h
  stable/9/contrib/llvm/include/llvm/ADT/DenseMapInfo.h
  stable/9/contrib/llvm/include/llvm/ADT/DepthFirstIterator.h
  stable/9/contrib/llvm/include/llvm/ADT/EquivalenceClasses.h
  stable/9/contrib/llvm/include/llvm/ADT/FoldingSet.h
  stable/9/contrib/llvm/include/llvm/ADT/Hashing.h
  stable/9/contrib/llvm/include/llvm/ADT/ImmutableList.h
  stable/9/contrib/llvm/include/llvm/ADT/ImmutableMap.h
  stable/9/contrib/llvm/include/llvm/ADT/ImmutableSet.h
  stable/9/contrib/llvm/include/llvm/ADT/IndexedMap.h
  stable/9/contrib/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
  stable/9/contrib/llvm/include/llvm/ADT/Optional.h
  stable/9/contrib/llvm/include/llvm/ADT/OwningPtr.h
  stable/9/contrib/llvm/include/llvm/ADT/PackedVector.h
  stable/9/contrib/llvm/include/llvm/ADT/PointerIntPair.h
  stable/9/contrib/llvm/include/llvm/ADT/PointerUnion.h
  stable/9/contrib/llvm/include/llvm/ADT/PostOrderIterator.h
  stable/9/contrib/llvm/include/llvm/ADT/STLExtras.h
  stable/9/contrib/llvm/include/llvm/ADT/ScopedHashTable.h
  stable/9/contrib/llvm/include/llvm/ADT/SetVector.h
  stable/9/contrib/llvm/include/llvm/ADT/SmallBitVector.h
  stable/9/contrib/llvm/include/llvm/ADT/SmallPtrSet.h
  stable/9/contrib/llvm/include/llvm/ADT/SmallString.h
  stable/9/contrib/llvm/include/llvm/ADT/SmallVector.h
  stable/9/contrib/llvm/include/llvm/ADT/SparseBitVector.h
  stable/9/contrib/llvm/include/llvm/ADT/SparseSet.h
  stable/9/contrib/llvm/include/llvm/ADT/StringExtras.h
  stable/9/contrib/llvm/include/llvm/ADT/StringRef.h
  stable/9/contrib/llvm/include/llvm/ADT/StringSet.h
  stable/9/contrib/llvm/include/llvm/ADT/StringSwitch.h
  stable/9/contrib/llvm/include/llvm/ADT/TinyPtrVector.h
  stable/9/contrib/llvm/include/llvm/ADT/Triple.h
  stable/9/contrib/llvm/include/llvm/ADT/Twine.h
  stable/9/contrib/llvm/include/llvm/ADT/ValueMap.h
  stable/9/contrib/llvm/include/llvm/ADT/VariadicFunction.h
  stable/9/contrib/llvm/include/llvm/ADT/ilist.h
  stable/9/contrib/llvm/include/llvm/Analysis/AliasAnalysis.h
  stable/9/contrib/llvm/include/llvm/Analysis/AliasSetTracker.h
  stable/9/contrib/llvm/include/llvm/Analysis/BlockFrequencyImpl.h
  stable/9/contrib/llvm/include/llvm/Analysis/BranchProbabilityInfo.h
  stable/9/contrib/llvm/include/llvm/Analysis/CallGraph.h
  stable/9/contrib/llvm/include/llvm/Analysis/CaptureTracking.h
  stable/9/contrib/llvm/include/llvm/Analysis/CodeMetrics.h
  stable/9/contrib/llvm/include/llvm/Analysis/ConstantFolding.h
  stable/9/contrib/llvm/include/llvm/Analysis/Dominators.h
  stable/9/contrib/llvm/include/llvm/Analysis/IVUsers.h
  stable/9/contrib/llvm/include/llvm/Analysis/InlineCost.h
  stable/9/contrib/llvm/include/llvm/Analysis/InstructionSimplify.h
  stable/9/contrib/llvm/include/llvm/Analysis/IntervalPartition.h
  stable/9/contrib/llvm/include/llvm/Analysis/LazyValueInfo.h
  stable/9/contrib/llvm/include/llvm/Analysis/Loads.h
  stable/9/contrib/llvm/include/llvm/Analysis/LoopInfo.h
  stable/9/contrib/llvm/include/llvm/Analysis/LoopIterator.h
  stable/9/contrib/llvm/include/llvm/Analysis/MemoryBuiltins.h
  stable/9/contrib/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
  stable/9/contrib/llvm/include/llvm/Analysis/PHITransAddr.h
  stable/9/contrib/llvm/include/llvm/Analysis/Passes.h
  stable/9/contrib/llvm/include/llvm/Analysis/ProfileInfoLoader.h
  stable/9/contrib/llvm/include/llvm/Analysis/ProfileInfoTypes.h
  stable/9/contrib/llvm/include/llvm/Analysis/RegionInfo.h
  stable/9/contrib/llvm/include/llvm/Analysis/ScalarEvolution.h
  stable/9/contrib/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h
  stable/9/contrib/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
  stable/9/contrib/llvm/include/llvm/Analysis/SparsePropagation.h
  stable/9/contrib/llvm/include/llvm/Analysis/ValueTracking.h
  stable/9/contrib/llvm/include/llvm/Argument.h
  stable/9/contrib/llvm/include/llvm/Attributes.h
  stable/9/contrib/llvm/include/llvm/BasicBlock.h
  stable/9/contrib/llvm/include/llvm/Bitcode/Archive.h
  stable/9/contrib/llvm/include/llvm/Bitcode/BitstreamReader.h
  stable/9/contrib/llvm/include/llvm/Bitcode/BitstreamWriter.h
  stable/9/contrib/llvm/include/llvm/Bitcode/LLVMBitCodes.h
  stable/9/contrib/llvm/include/llvm/Bitcode/ReaderWriter.h
  stable/9/contrib/llvm/include/llvm/CallingConv.h
  stable/9/contrib/llvm/include/llvm/CodeGen/AsmPrinter.h
  stable/9/contrib/llvm/include/llvm/CodeGen/CallingConvLower.h
  stable/9/contrib/llvm/include/llvm/CodeGen/DFAPacketizer.h
  stable/9/contrib/llvm/include/llvm/CodeGen/EdgeBundles.h
  stable/9/contrib/llvm/include/llvm/CodeGen/FastISel.h
  stable/9/contrib/llvm/include/llvm/CodeGen/GCMetadata.h
  stable/9/contrib/llvm/include/llvm/CodeGen/GCMetadataPrinter.h
  stable/9/contrib/llvm/include/llvm/CodeGen/GCStrategy.h
  stable/9/contrib/llvm/include/llvm/CodeGen/ISDOpcodes.h
  stable/9/contrib/llvm/include/llvm/CodeGen/IntrinsicLowering.h
  stable/9/contrib/llvm/include/llvm/CodeGen/LexicalScopes.h
  stable/9/contrib/llvm/include/llvm/CodeGen/LiveInterval.h
  stable/9/contrib/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
  stable/9/contrib/llvm/include/llvm/CodeGen/LiveRangeEdit.h
  stable/9/contrib/llvm/include/llvm/CodeGen/LiveVariables.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineBasicBlock.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineConstantPool.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineFrameInfo.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineFunction.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineInstr.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineInstrBuilder.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineInstrBundle.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineLoopInfo.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineMemOperand.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineOperand.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachinePassRegistry.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineRegisterInfo.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineSSAUpdater.h
  stable/9/contrib/llvm/include/llvm/CodeGen/MachineScheduler.h
  stable/9/contrib/llvm/include/llvm/CodeGen/PBQP/Graph.h
  stable/9/contrib/llvm/include/llvm/CodeGen/PBQP/HeuristicBase.h
  stable/9/contrib/llvm/include/llvm/CodeGen/Passes.h
  stable/9/contrib/llvm/include/llvm/CodeGen/PseudoSourceValue.h
  stable/9/contrib/llvm/include/llvm/CodeGen/RegAllocPBQP.h
  stable/9/contrib/llvm/include/llvm/CodeGen/RegisterScavenging.h
  stable/9/contrib/llvm/include/llvm/CodeGen/ScheduleDAG.h
  stable/9/contrib/llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
  stable/9/contrib/llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h
  stable/9/contrib/llvm/include/llvm/CodeGen/SchedulerRegistry.h
  stable/9/contrib/llvm/include/llvm/CodeGen/SelectionDAG.h
  stable/9/contrib/llvm/include/llvm/CodeGen/SelectionDAGISel.h
  stable/9/contrib/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
  stable/9/contrib/llvm/include/llvm/CodeGen/SlotIndexes.h
  stable/9/contrib/llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
  stable/9/contrib/llvm/include/llvm/CodeGen/ValueTypes.h
  stable/9/contrib/llvm/include/llvm/CodeGen/ValueTypes.td
  stable/9/contrib/llvm/include/llvm/Constant.h
  stable/9/contrib/llvm/include/llvm/Constants.h
  stable/9/contrib/llvm/include/llvm/DebugInfo/DIContext.h
  stable/9/contrib/llvm/include/llvm/DefaultPasses.h
  stable/9/contrib/llvm/include/llvm/DerivedTypes.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/Interpreter.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/JIT.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/JITEventListener.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/JITMemoryManager.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/MCJIT.h
  stable/9/contrib/llvm/include/llvm/ExecutionEngine/RuntimeDyld.h
  stable/9/contrib/llvm/include/llvm/Function.h
  stable/9/contrib/llvm/include/llvm/GlobalAlias.h
  stable/9/contrib/llvm/include/llvm/GlobalValue.h
  stable/9/contrib/llvm/include/llvm/GlobalVariable.h
  stable/9/contrib/llvm/include/llvm/InitializePasses.h
  stable/9/contrib/llvm/include/llvm/InlineAsm.h
  stable/9/contrib/llvm/include/llvm/InstrTypes.h
  stable/9/contrib/llvm/include/llvm/Instruction.h
  stable/9/contrib/llvm/include/llvm/Instructions.h
  stable/9/contrib/llvm/include/llvm/IntrinsicInst.h
  stable/9/contrib/llvm/include/llvm/Intrinsics.h
  stable/9/contrib/llvm/include/llvm/Intrinsics.td
  stable/9/contrib/llvm/include/llvm/IntrinsicsARM.td
  stable/9/contrib/llvm/include/llvm/IntrinsicsHexagon.td
  stable/9/contrib/llvm/include/llvm/IntrinsicsX86.td
  stable/9/contrib/llvm/include/llvm/LLVMContext.h
  stable/9/contrib/llvm/include/llvm/LinkAllPasses.h
  stable/9/contrib/llvm/include/llvm/MC/EDInstInfo.h
  stable/9/contrib/llvm/include/llvm/MC/MCAsmBackend.h
  stable/9/contrib/llvm/include/llvm/MC/MCAsmInfo.h
  stable/9/contrib/llvm/include/llvm/MC/MCAssembler.h
  stable/9/contrib/llvm/include/llvm/MC/MCCodeEmitter.h
  stable/9/contrib/llvm/include/llvm/MC/MCContext.h
  stable/9/contrib/llvm/include/llvm/MC/MCDirectives.h
  stable/9/contrib/llvm/include/llvm/MC/MCDisassembler.h
  stable/9/contrib/llvm/include/llvm/MC/MCDwarf.h
  stable/9/contrib/llvm/include/llvm/MC/MCELFObjectWriter.h
  stable/9/contrib/llvm/include/llvm/MC/MCExpr.h
  stable/9/contrib/llvm/include/llvm/MC/MCFixupKindInfo.h
  stable/9/contrib/llvm/include/llvm/MC/MCInst.h
  stable/9/contrib/llvm/include/llvm/MC/MCInstPrinter.h
  stable/9/contrib/llvm/include/llvm/MC/MCInstrDesc.h
  stable/9/contrib/llvm/include/llvm/MC/MCInstrItineraries.h
  stable/9/contrib/llvm/include/llvm/MC/MCLabel.h
  stable/9/contrib/llvm/include/llvm/MC/MCMachObjectWriter.h
  stable/9/contrib/llvm/include/llvm/MC/MCObjectFileInfo.h
  stable/9/contrib/llvm/include/llvm/MC/MCObjectStreamer.h
  stable/9/contrib/llvm/include/llvm/MC/MCObjectWriter.h
  stable/9/contrib/llvm/include/llvm/MC/MCParser/AsmLexer.h
  stable/9/contrib/llvm/include/llvm/MC/MCParser/MCAsmLexer.h
  stable/9/contrib/llvm/include/llvm/MC/MCParser/MCAsmParser.h
  stable/9/contrib/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h
  stable/9/contrib/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
  stable/9/contrib/llvm/include/llvm/MC/MCRegisterInfo.h
  stable/9/contrib/llvm/include/llvm/MC/MCSection.h
  stable/9/contrib/llvm/include/llvm/MC/MCSectionCOFF.h
  stable/9/contrib/llvm/include/llvm/MC/MCSectionELF.h
  stable/9/contrib/llvm/include/llvm/MC/MCSectionMachO.h
  stable/9/contrib/llvm/include/llvm/MC/MCStreamer.h
  stable/9/contrib/llvm/include/llvm/MC/MCSubtargetInfo.h
  stable/9/contrib/llvm/include/llvm/MC/MCSymbol.h
  stable/9/contrib/llvm/include/llvm/MC/MCTargetAsmLexer.h
  stable/9/contrib/llvm/include/llvm/MC/MCTargetAsmParser.h
  stable/9/contrib/llvm/include/llvm/MC/MCValue.h
  stable/9/contrib/llvm/include/llvm/MC/MachineLocation.h
  stable/9/contrib/llvm/include/llvm/MC/SubtargetFeature.h
  stable/9/contrib/llvm/include/llvm/Metadata.h
  stable/9/contrib/llvm/include/llvm/Module.h
  stable/9/contrib/llvm/include/llvm/Object/Archive.h
  stable/9/contrib/llvm/include/llvm/Object/Binary.h
  stable/9/contrib/llvm/include/llvm/Object/COFF.h
  stable/9/contrib/llvm/include/llvm/Object/ELF.h
  stable/9/contrib/llvm/include/llvm/Object/MachO.h
  stable/9/contrib/llvm/include/llvm/Object/MachOFormat.h
  stable/9/contrib/llvm/include/llvm/Object/MachOObject.h
  stable/9/contrib/llvm/include/llvm/Object/ObjectFile.h
  stable/9/contrib/llvm/include/llvm/Operator.h
  stable/9/contrib/llvm/include/llvm/Pass.h
  stable/9/contrib/llvm/include/llvm/PassAnalysisSupport.h
  stable/9/contrib/llvm/include/llvm/PassManagers.h
  stable/9/contrib/llvm/include/llvm/PassSupport.h
  stable/9/contrib/llvm/include/llvm/Support/AlignOf.h
  stable/9/contrib/llvm/include/llvm/Support/Allocator.h
  stable/9/contrib/llvm/include/llvm/Support/COFF.h
  stable/9/contrib/llvm/include/llvm/Support/CallSite.h
  stable/9/contrib/llvm/include/llvm/Support/Casting.h
  stable/9/contrib/llvm/include/llvm/Support/CommandLine.h
  stable/9/contrib/llvm/include/llvm/Support/Compiler.h
  stable/9/contrib/llvm/include/llvm/Support/ConstantRange.h
  stable/9/contrib/llvm/include/llvm/Support/DataExtractor.h
  stable/9/contrib/llvm/include/llvm/Support/DataTypes.h.in
  stable/9/contrib/llvm/include/llvm/Support/Debug.h
  stable/9/contrib/llvm/include/llvm/Support/DebugLoc.h
  stable/9/contrib/llvm/include/llvm/Support/ELF.h
  stable/9/contrib/llvm/include/llvm/Support/Endian.h
  stable/9/contrib/llvm/include/llvm/Support/FileSystem.h
  stable/9/contrib/llvm/include/llvm/Support/Format.h
  stable/9/contrib/llvm/include/llvm/Support/FormattedStream.h
  stable/9/contrib/llvm/include/llvm/Support/GCOV.h
  stable/9/contrib/llvm/include/llvm/Support/GraphWriter.h
  stable/9/contrib/llvm/include/llvm/Support/InstVisitor.h
  stable/9/contrib/llvm/include/llvm/Support/LockFileManager.h
  stable/9/contrib/llvm/include/llvm/Support/MachO.h
  stable/9/contrib/llvm/include/llvm/Support/MathExtras.h
  stable/9/contrib/llvm/include/llvm/Support/Memory.h
  stable/9/contrib/llvm/include/llvm/Support/MemoryBuffer.h
  stable/9/contrib/llvm/include/llvm/Support/Mutex.h
  stable/9/contrib/llvm/include/llvm/Support/MutexGuard.h
  stable/9/contrib/llvm/include/llvm/Support/NoFolder.h
  stable/9/contrib/llvm/include/llvm/Support/PathV1.h
  stable/9/contrib/llvm/include/llvm/Support/PathV2.h
  stable/9/contrib/llvm/include/llvm/Support/PrettyStackTrace.h
  stable/9/contrib/llvm/include/llvm/Support/Process.h
  stable/9/contrib/llvm/include/llvm/Support/Program.h
  stable/9/contrib/llvm/include/llvm/Support/RWMutex.h
  stable/9/contrib/llvm/include/llvm/Support/Regex.h
  stable/9/contrib/llvm/include/llvm/Support/Registry.h
  stable/9/contrib/llvm/include/llvm/Support/SMLoc.h
  stable/9/contrib/llvm/include/llvm/Support/SourceMgr.h
  stable/9/contrib/llvm/include/llvm/Support/StreamableMemoryObject.h
  stable/9/contrib/llvm/include/llvm/Support/TargetFolder.h
  stable/9/contrib/llvm/include/llvm/Support/TargetRegistry.h
  stable/9/contrib/llvm/include/llvm/Support/ThreadLocal.h
  stable/9/contrib/llvm/include/llvm/Support/Threading.h
  stable/9/contrib/llvm/include/llvm/Support/TimeValue.h
  stable/9/contrib/llvm/include/llvm/Support/Timer.h
  stable/9/contrib/llvm/include/llvm/Support/ValueHandle.h
  stable/9/contrib/llvm/include/llvm/Support/YAMLParser.h
  stable/9/contrib/llvm/include/llvm/Support/circular_raw_ostream.h
  stable/9/contrib/llvm/include/llvm/Support/raw_os_ostream.h
  stable/9/contrib/llvm/include/llvm/Support/raw_ostream.h
  stable/9/contrib/llvm/include/llvm/Support/system_error.h
  stable/9/contrib/llvm/include/llvm/Support/type_traits.h
  stable/9/contrib/llvm/include/llvm/SymbolTableListTraits.h
  stable/9/contrib/llvm/include/llvm/TableGen/Error.h
  stable/9/contrib/llvm/include/llvm/TableGen/Main.h
  stable/9/contrib/llvm/include/llvm/TableGen/Record.h
  stable/9/contrib/llvm/include/llvm/TableGen/TableGenBackend.h
  stable/9/contrib/llvm/include/llvm/Target/Mangler.h
  stable/9/contrib/llvm/include/llvm/Target/Target.td
  stable/9/contrib/llvm/include/llvm/Target/TargetCallingConv.h
  stable/9/contrib/llvm/include/llvm/Target/TargetInstrInfo.h
  stable/9/contrib/llvm/include/llvm/Target/TargetIntrinsicInfo.h
  stable/9/contrib/llvm/include/llvm/Target/TargetLibraryInfo.h
  stable/9/contrib/llvm/include/llvm/Target/TargetLowering.h
  stable/9/contrib/llvm/include/llvm/Target/TargetLoweringObjectFile.h
  stable/9/contrib/llvm/include/llvm/Target/TargetMachine.h
  stable/9/contrib/llvm/include/llvm/Target/TargetOpcodes.h
  stable/9/contrib/llvm/include/llvm/Target/TargetOptions.h
  stable/9/contrib/llvm/include/llvm/Target/TargetRegisterInfo.h
  stable/9/contrib/llvm/include/llvm/Target/TargetSchedule.td
  stable/9/contrib/llvm/include/llvm/Target/TargetSelectionDAG.td
  stable/9/contrib/llvm/include/llvm/Target/TargetSelectionDAGInfo.h
  stable/9/contrib/llvm/include/llvm/Target/TargetSubtargetInfo.h
  stable/9/contrib/llvm/include/llvm/Transforms/IPO.h
  stable/9/contrib/llvm/include/llvm/Transforms/IPO/InlinerPass.h
  stable/9/contrib/llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
  stable/9/contrib/llvm/include/llvm/Transforms/Instrumentation.h
  stable/9/contrib/llvm/include/llvm/Transforms/Scalar.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/Cloning.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/Local.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/SSAUpdater.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/SimplifyIndVar.h
  stable/9/contrib/llvm/include/llvm/Transforms/Utils/ValueMapper.h
  stable/9/contrib/llvm/include/llvm/Transforms/Vectorize.h
  stable/9/contrib/llvm/include/llvm/Type.h
  stable/9/contrib/llvm/include/llvm/Use.h
  stable/9/contrib/llvm/include/llvm/User.h
  stable/9/contrib/llvm/include/llvm/Value.h
  stable/9/contrib/llvm/lib/Analysis/AliasAnalysis.cpp
  stable/9/contrib/llvm/lib/Analysis/AliasSetTracker.cpp
  stable/9/contrib/llvm/lib/Analysis/Analysis.cpp
  stable/9/contrib/llvm/lib/Analysis/BasicAliasAnalysis.cpp
  stable/9/contrib/llvm/lib/Analysis/BranchProbabilityInfo.cpp
  stable/9/contrib/llvm/lib/Analysis/CaptureTracking.cpp
  stable/9/contrib/llvm/lib/Analysis/CodeMetrics.cpp
  stable/9/contrib/llvm/lib/Analysis/ConstantFolding.cpp
  stable/9/contrib/llvm/lib/Analysis/DbgInfoPrinter.cpp
  stable/9/contrib/llvm/lib/Analysis/DominanceFrontier.cpp
  stable/9/contrib/llvm/lib/Analysis/IPA/CallGraph.cpp
  stable/9/contrib/llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp
  stable/9/contrib/llvm/lib/Analysis/IPA/GlobalsModRef.cpp
  stable/9/contrib/llvm/lib/Analysis/IVUsers.cpp
  stable/9/contrib/llvm/lib/Analysis/InlineCost.cpp
  stable/9/contrib/llvm/lib/Analysis/InstructionSimplify.cpp
  stable/9/contrib/llvm/lib/Analysis/LazyValueInfo.cpp
  stable/9/contrib/llvm/lib/Analysis/Lint.cpp
  stable/9/contrib/llvm/lib/Analysis/Loads.cpp
  stable/9/contrib/llvm/lib/Analysis/LoopInfo.cpp
  stable/9/contrib/llvm/lib/Analysis/LoopPass.cpp
  stable/9/contrib/llvm/lib/Analysis/MemDepPrinter.cpp
  stable/9/contrib/llvm/lib/Analysis/MemoryBuiltins.cpp
  stable/9/contrib/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
  stable/9/contrib/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
  stable/9/contrib/llvm/lib/Analysis/NoAliasAnalysis.cpp
  stable/9/contrib/llvm/lib/Analysis/PHITransAddr.cpp
  stable/9/contrib/llvm/lib/Analysis/PathNumbering.cpp
  stable/9/contrib/llvm/lib/Analysis/ProfileEstimatorPass.cpp
  stable/9/contrib/llvm/lib/Analysis/ProfileInfo.cpp
  stable/9/contrib/llvm/lib/Analysis/ProfileInfoLoader.cpp
  stable/9/contrib/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
  stable/9/contrib/llvm/lib/Analysis/RegionInfo.cpp
  stable/9/contrib/llvm/lib/Analysis/RegionPass.cpp
  stable/9/contrib/llvm/lib/Analysis/RegionPrinter.cpp
  stable/9/contrib/llvm/lib/Analysis/ScalarEvolution.cpp
  stable/9/contrib/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
  stable/9/contrib/llvm/lib/Analysis/Trace.cpp
  stable/9/contrib/llvm/lib/Analysis/ValueTracking.cpp
  stable/9/contrib/llvm/lib/Archive/ArchiveInternals.h
  stable/9/contrib/llvm/lib/Archive/ArchiveReader.cpp
  stable/9/contrib/llvm/lib/Archive/ArchiveWriter.cpp
  stable/9/contrib/llvm/lib/AsmParser/LLLexer.cpp
  stable/9/contrib/llvm/lib/AsmParser/LLParser.cpp
  stable/9/contrib/llvm/lib/AsmParser/LLParser.h
  stable/9/contrib/llvm/lib/AsmParser/LLToken.h
  stable/9/contrib/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  stable/9/contrib/llvm/lib/Bitcode/Reader/BitcodeReader.h
  stable/9/contrib/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  stable/9/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h
  stable/9/contrib/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
  stable/9/contrib/llvm/lib/CodeGen/AllocationOrder.cpp
  stable/9/contrib/llvm/lib/CodeGen/Analysis.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DIE.h
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfException.h
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
  stable/9/contrib/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp
  stable/9/contrib/llvm/lib/CodeGen/BranchFolding.cpp
  stable/9/contrib/llvm/lib/CodeGen/CalcSpillWeights.cpp
  stable/9/contrib/llvm/lib/CodeGen/CallingConvLower.cpp
  stable/9/contrib/llvm/lib/CodeGen/CodeGen.cpp
  stable/9/contrib/llvm/lib/CodeGen/CodePlacementOpt.cpp
  stable/9/contrib/llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp
  stable/9/contrib/llvm/lib/CodeGen/CriticalAntiDepBreaker.h
  stable/9/contrib/llvm/lib/CodeGen/DFAPacketizer.cpp
  stable/9/contrib/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp
  stable/9/contrib/llvm/lib/CodeGen/DwarfEHPrepare.cpp
  stable/9/contrib/llvm/lib/CodeGen/ExecutionDepsFix.cpp
  stable/9/contrib/llvm/lib/CodeGen/ExpandPostRAPseudos.cpp
  stable/9/contrib/llvm/lib/CodeGen/GCStrategy.cpp
  stable/9/contrib/llvm/lib/CodeGen/IfConversion.cpp
  stable/9/contrib/llvm/lib/CodeGen/InlineSpiller.cpp
  stable/9/contrib/llvm/lib/CodeGen/InterferenceCache.cpp
  stable/9/contrib/llvm/lib/CodeGen/InterferenceCache.h
  stable/9/contrib/llvm/lib/CodeGen/IntrinsicLowering.cpp
  stable/9/contrib/llvm/lib/CodeGen/LLVMTargetMachine.cpp
  stable/9/contrib/llvm/lib/CodeGen/LexicalScopes.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveDebugVariables.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveInterval.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveIntervalUnion.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveIntervalUnion.h
  stable/9/contrib/llvm/lib/CodeGen/LiveRangeCalc.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveRangeCalc.h
  stable/9/contrib/llvm/lib/CodeGen/LiveRangeEdit.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveStackAnalysis.cpp
  stable/9/contrib/llvm/lib/CodeGen/LiveVariables.cpp
  stable/9/contrib/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineBlockPlacement.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineCSE.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineCopyPropagation.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineFunction.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineInstr.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineInstrBundle.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineLICM.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineLoopInfo.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineModuleInfo.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachinePassRegistry.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineRegisterInfo.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineSSAUpdater.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineScheduler.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineSink.cpp
  stable/9/contrib/llvm/lib/CodeGen/MachineVerifier.cpp
  stable/9/contrib/llvm/lib/CodeGen/PHIElimination.cpp
  stable/9/contrib/llvm/lib/CodeGen/Passes.cpp
  stable/9/contrib/llvm/lib/CodeGen/PeepholeOptimizer.cpp
  stable/9/contrib/llvm/lib/CodeGen/PostRASchedulerList.cpp
  stable/9/contrib/llvm/lib/CodeGen/ProcessImplicitDefs.cpp
  stable/9/contrib/llvm/lib/CodeGen/PrologEpilogInserter.cpp
  stable/9/contrib/llvm/lib/CodeGen/RegAllocBase.cpp
  stable/9/contrib/llvm/lib/CodeGen/RegAllocBase.h
  stable/9/contrib/llvm/lib/CodeGen/RegAllocBasic.cpp
  stable/9/contrib/llvm/lib/CodeGen/RegAllocFast.cpp
  stable/9/contrib/llvm/lib/CodeGen/RegAllocGreedy.cpp
  stable/9/contrib/llvm/lib/CodeGen/RegAllocPBQP.cpp
  stable/9/contrib/llvm/lib/CodeGen/RegisterClassInfo.cpp
  stable/9/contrib/llvm/lib/CodeGen/RegisterCoalescer.cpp
  stable/9/contrib/llvm/lib/CodeGen/RegisterCoalescer.h
  stable/9/contrib/llvm/lib/CodeGen/RegisterScavenging.cpp
  stable/9/contrib/llvm/lib/CodeGen/ScheduleDAG.cpp
  stable/9/contrib/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
  stable/9/contrib/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp
  stable/9/contrib/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.h
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/SDNodeOrdering.h
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  stable/9/contrib/llvm/lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp
  stable/9/contrib/llvm/lib/CodeGen/ShadowStackGC.cpp
  stable/9/contrib/llvm/lib/CodeGen/ShrinkWrapping.cpp
  stable/9/contrib/llvm/lib/CodeGen/SjLjEHPrepare.cpp
  stable/9/contrib/llvm/lib/CodeGen/SlotIndexes.cpp
  stable/9/contrib/llvm/lib/CodeGen/SpillPlacement.cpp
  stable/9/contrib/llvm/lib/CodeGen/SplitKit.cpp
  stable/9/contrib/llvm/lib/CodeGen/StackProtector.cpp
  stable/9/contrib/llvm/lib/CodeGen/StackSlotColoring.cpp
  stable/9/contrib/llvm/lib/CodeGen/StrongPHIElimination.cpp
  stable/9/contrib/llvm/lib/CodeGen/TailDuplication.cpp
  stable/9/contrib/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
  stable/9/contrib/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  stable/9/contrib/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
  stable/9/contrib/llvm/lib/CodeGen/VirtRegMap.cpp
  stable/9/contrib/llvm/lib/CodeGen/VirtRegMap.h
  stable/9/contrib/llvm/lib/DebugInfo/DIContext.cpp
  stable/9/contrib/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
  stable/9/contrib/llvm/lib/DebugInfo/DWARFCompileUnit.h
  stable/9/contrib/llvm/lib/DebugInfo/DWARFContext.cpp
  stable/9/contrib/llvm/lib/DebugInfo/DWARFContext.h
  stable/9/contrib/llvm/lib/DebugInfo/DWARFDebugAranges.cpp
  stable/9/contrib/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
  stable/9/contrib/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
  stable/9/contrib/llvm/lib/DebugInfo/DWARFDebugLine.cpp
  stable/9/contrib/llvm/lib/DebugInfo/DWARFDebugLine.h
  stable/9/contrib/llvm/lib/DebugInfo/DWARFFormValue.cpp
  stable/9/contrib/llvm/lib/DebugInfo/DWARFFormValue.h
  stable/9/contrib/llvm/lib/ExecutionEngine/EventListenerCommon.h
  stable/9/contrib/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
  stable/9/contrib/llvm/lib/ExecutionEngine/JIT/JIT.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/JIT/JITDwarfEmitter.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/JIT/JITDwarfEmitter.h
  stable/9/contrib/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h
  stable/9/contrib/llvm/lib/ExecutionEngine/OProfileJIT/OProfileJITEventListener.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/GDBRegistrar.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/JITRegistrar.h
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
  stable/9/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
  stable/9/contrib/llvm/lib/ExecutionEngine/TargetSelect.cpp
  stable/9/contrib/llvm/lib/Linker/LinkModules.cpp
  stable/9/contrib/llvm/lib/MC/ELFObjectWriter.cpp
  stable/9/contrib/llvm/lib/MC/MCAsmBackend.cpp
  stable/9/contrib/llvm/lib/MC/MCAsmInfo.cpp
  stable/9/contrib/llvm/lib/MC/MCAsmInfoCOFF.cpp
  stable/9/contrib/llvm/lib/MC/MCAsmInfoDarwin.cpp
  stable/9/contrib/llvm/lib/MC/MCAsmStreamer.cpp
  stable/9/contrib/llvm/lib/MC/MCAssembler.cpp
  stable/9/contrib/llvm/lib/MC/MCContext.cpp
  stable/9/contrib/llvm/lib/MC/MCDisassembler/Disassembler.cpp
  stable/9/contrib/llvm/lib/MC/MCDisassembler/Disassembler.h
  stable/9/contrib/llvm/lib/MC/MCDisassembler/EDDisassembler.cpp
  stable/9/contrib/llvm/lib/MC/MCDisassembler/EDMain.cpp
  stable/9/contrib/llvm/lib/MC/MCDwarf.cpp
  stable/9/contrib/llvm/lib/MC/MCELFObjectTargetWriter.cpp
  stable/9/contrib/llvm/lib/MC/MCELFStreamer.cpp
  stable/9/contrib/llvm/lib/MC/MCExpr.cpp
  stable/9/contrib/llvm/lib/MC/MCInst.cpp
  stable/9/contrib/llvm/lib/MC/MCInstPrinter.cpp
  stable/9/contrib/llvm/lib/MC/MCLabel.cpp
  stable/9/contrib/llvm/lib/MC/MCMachOStreamer.cpp
  stable/9/contrib/llvm/lib/MC/MCNullStreamer.cpp
  stable/9/contrib/llvm/lib/MC/MCObjectFileInfo.cpp
  stable/9/contrib/llvm/lib/MC/MCObjectStreamer.cpp
  stable/9/contrib/llvm/lib/MC/MCObjectWriter.cpp
  stable/9/contrib/llvm/lib/MC/MCParser/AsmLexer.cpp
  stable/9/contrib/llvm/lib/MC/MCParser/AsmParser.cpp
  stable/9/contrib/llvm/lib/MC/MCParser/DarwinAsmParser.cpp
  stable/9/contrib/llvm/lib/MC/MCParser/ELFAsmParser.cpp
  stable/9/contrib/llvm/lib/MC/MCParser/MCAsmLexer.cpp
  stable/9/contrib/llvm/lib/MC/MCParser/MCAsmParser.cpp
  stable/9/contrib/llvm/lib/MC/MCParser/MCTargetAsmParser.cpp
  stable/9/contrib/llvm/lib/MC/MCPureStreamer.cpp
  stable/9/contrib/llvm/lib/MC/MCSectionCOFF.cpp
  stable/9/contrib/llvm/lib/MC/MCSectionELF.cpp
  stable/9/contrib/llvm/lib/MC/MCStreamer.cpp
  stable/9/contrib/llvm/lib/MC/MCSubtargetInfo.cpp
  stable/9/contrib/llvm/lib/MC/MCSymbol.cpp
  stable/9/contrib/llvm/lib/MC/MCValue.cpp
  stable/9/contrib/llvm/lib/MC/MCWin64EH.cpp
  stable/9/contrib/llvm/lib/MC/MachObjectWriter.cpp
  stable/9/contrib/llvm/lib/MC/SubtargetFeature.cpp
  stable/9/contrib/llvm/lib/MC/WinCOFFStreamer.cpp
  stable/9/contrib/llvm/lib/Object/Archive.cpp
  stable/9/contrib/llvm/lib/Object/COFFObjectFile.cpp
  stable/9/contrib/llvm/lib/Object/MachOObject.cpp
  stable/9/contrib/llvm/lib/Object/MachOObjectFile.cpp
  stable/9/contrib/llvm/lib/Support/APFloat.cpp
  stable/9/contrib/llvm/lib/Support/APInt.cpp
  stable/9/contrib/llvm/lib/Support/Atomic.cpp
  stable/9/contrib/llvm/lib/Support/CommandLine.cpp
  stable/9/contrib/llvm/lib/Support/ConstantRange.cpp
  stable/9/contrib/llvm/lib/Support/CrashRecoveryContext.cpp
  stable/9/contrib/llvm/lib/Support/DAGDeltaAlgorithm.cpp
  stable/9/contrib/llvm/lib/Support/DataExtractor.cpp
  stable/9/contrib/llvm/lib/Support/DataStream.cpp
  stable/9/contrib/llvm/lib/Support/Debug.cpp
  stable/9/contrib/llvm/lib/Support/DynamicLibrary.cpp
  stable/9/contrib/llvm/lib/Support/Errno.cpp
  stable/9/contrib/llvm/lib/Support/FoldingSet.cpp
  stable/9/contrib/llvm/lib/Support/GraphWriter.cpp
  stable/9/contrib/llvm/lib/Support/Host.cpp
  stable/9/contrib/llvm/lib/Support/LockFileManager.cpp
  stable/9/contrib/llvm/lib/Support/Memory.cpp
  stable/9/contrib/llvm/lib/Support/MemoryBuffer.cpp
  stable/9/contrib/llvm/lib/Support/Mutex.cpp
  stable/9/contrib/llvm/lib/Support/Path.cpp
  stable/9/contrib/llvm/lib/Support/PathV2.cpp
  stable/9/contrib/llvm/lib/Support/SmallVector.cpp
  stable/9/contrib/llvm/lib/Support/SourceMgr.cpp
  stable/9/contrib/llvm/lib/Support/StreamableMemoryObject.cpp
  stable/9/contrib/llvm/lib/Support/StringMap.cpp
  stable/9/contrib/llvm/lib/Support/StringRef.cpp
  stable/9/contrib/llvm/lib/Support/TargetRegistry.cpp
  stable/9/contrib/llvm/lib/Support/ThreadLocal.cpp
  stable/9/contrib/llvm/lib/Support/Triple.cpp
  stable/9/contrib/llvm/lib/Support/Unix/Memory.inc
  stable/9/contrib/llvm/lib/Support/Unix/Path.inc
  stable/9/contrib/llvm/lib/Support/Unix/PathV2.inc
  stable/9/contrib/llvm/lib/Support/Unix/Process.inc
  stable/9/contrib/llvm/lib/Support/Unix/Signals.inc
  stable/9/contrib/llvm/lib/Support/Unix/Unix.h
  stable/9/contrib/llvm/lib/Support/Windows/Memory.inc
  stable/9/contrib/llvm/lib/Support/Windows/Path.inc
  stable/9/contrib/llvm/lib/Support/Windows/PathV2.inc
  stable/9/contrib/llvm/lib/Support/Windows/Process.inc
  stable/9/contrib/llvm/lib/Support/Windows/RWMutex.inc
  stable/9/contrib/llvm/lib/Support/Windows/ThreadLocal.inc
  stable/9/contrib/llvm/lib/Support/YAMLParser.cpp
  stable/9/contrib/llvm/lib/Support/raw_ostream.cpp
  stable/9/contrib/llvm/lib/Support/regexec.c
  stable/9/contrib/llvm/lib/Support/system_error.cpp
  stable/9/contrib/llvm/lib/TableGen/Error.cpp
  stable/9/contrib/llvm/lib/TableGen/Main.cpp
  stable/9/contrib/llvm/lib/TableGen/Record.cpp
  stable/9/contrib/llvm/lib/TableGen/TGParser.cpp
  stable/9/contrib/llvm/lib/TableGen/TGParser.h
  stable/9/contrib/llvm/lib/TableGen/TableGenBackend.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARM.h
  stable/9/contrib/llvm/lib/Target/ARM/ARM.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMAsmPrinter.h
  stable/9/contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.h
  stable/9/contrib/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
  stable/9/contrib/llvm/lib/Target/ARM/ARMCallingConv.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMCodeEmitter.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMConstantPoolValue.h
  stable/9/contrib/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMFastISel.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMHazardRecognizer.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMISelLowering.h
  stable/9/contrib/llvm/lib/Target/ARM/ARMInstrFormats.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMInstrInfo.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMInstrNEON.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMInstrThumb.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMInstrThumb2.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMInstrVFP.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMJITInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h
  stable/9/contrib/llvm/lib/Target/ARM/ARMRegisterInfo.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMSchedule.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMScheduleA8.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMScheduleA9.td
  stable/9/contrib/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMSubtarget.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMSubtarget.h
  stable/9/contrib/llvm/lib/Target/ARM/ARMTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMTargetMachine.h
  stable/9/contrib/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
  stable/9/contrib/llvm/lib/Target/ARM/ARMTargetObjectFile.h
  stable/9/contrib/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  stable/9/contrib/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
  stable/9/contrib/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
  stable/9/contrib/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
  stable/9/contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  stable/9/contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
  stable/9/contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
  stable/9/contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
  stable/9/contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMMCExpr.h
  stable/9/contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
  stable/9/contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h
  stable/9/contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
  stable/9/contrib/llvm/lib/Target/ARM/MLxExpansionPass.cpp
  stable/9/contrib/llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/Thumb1RegisterInfo.h
  stable/9/contrib/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
  stable/9/contrib/llvm/lib/Target/ARM/Thumb2InstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/ARM/Thumb2InstrInfo.h
  stable/9/contrib/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUHazardRecognizers.cpp
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUHazardRecognizers.h
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUISelLowering.h
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUInstrInfo.td
  stable/9/contrib/llvm/lib/Target/CellSPU/SPURegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/CellSPU/SPURegisterInfo.h
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUSubtarget.h
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/CellSPU/SPUTargetMachine.h
  stable/9/contrib/llvm/lib/Target/CppBackend/CPPBackend.cpp
  stable/9/contrib/llvm/lib/Target/CppBackend/CPPTargetMachine.h
  stable/9/contrib/llvm/lib/Target/Hexagon/Hexagon.h
  stable/9/contrib/llvm/lib/Target/Hexagon/Hexagon.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonCallingConv.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonCallingConvLower.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonISelLowering.h
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonImmediates.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonInstrFormats.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonInstrFormatsV4.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonInstrInfo.h
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonInstrInfo.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonInstrInfoV3.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonInstrInfoV4.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonIntrinsics.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonIntrinsicsDerived.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonPeephole.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonRegisterInfo.h
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonRegisterInfo.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonSchedule.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonScheduleV4.td
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonSubtarget.h
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonTargetMachine.h
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/HexagonVarargsCallingConvention.h
  stable/9/contrib/llvm/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp
  stable/9/contrib/llvm/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.h
  stable/9/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
  stable/9/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlaze.td
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeISelLowering.h
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeInstrInfo.td
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeMCInstLower.h
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeSchedule.td
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeSubtarget.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeTargetMachine.h
  stable/9/contrib/llvm/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MCTargetDesc/MBlazeMCCodeEmitter.cpp
  stable/9/contrib/llvm/lib/Target/MBlaze/MCTargetDesc/MBlazeMCTargetDesc.h
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430FrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430FrameLowering.h
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430ISelLowering.h
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430InstrInfo.h
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430InstrInfo.td
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430MCInstLower.h
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430RegisterInfo.h
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430RegisterInfo.td
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/MSP430/MSP430TargetMachine.h
  stable/9/contrib/llvm/lib/Target/Mangler.cpp
  stable/9/contrib/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  stable/9/contrib/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
  stable/9/contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
  stable/9/contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.h
  stable/9/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
  stable/9/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h
  stable/9/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h
  stable/9/contrib/llvm/lib/Target/Mips/Mips.h
  stable/9/contrib/llvm/lib/Target/Mips/Mips.td
  stable/9/contrib/llvm/lib/Target/Mips/Mips64InstrInfo.td
  stable/9/contrib/llvm/lib/Target/Mips/MipsAnalyzeImmediate.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsAsmPrinter.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsCallingConv.td
  stable/9/contrib/llvm/lib/Target/Mips/MipsCodeEmitter.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsCondMov.td
  stable/9/contrib/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsFrameLowering.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsISelLowering.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsInstrFPU.td
  stable/9/contrib/llvm/lib/Target/Mips/MipsInstrFormats.td
  stable/9/contrib/llvm/lib/Target/Mips/MipsInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsInstrInfo.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsInstrInfo.td
  stable/9/contrib/llvm/lib/Target/Mips/MipsJITInfo.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsJITInfo.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsMCInstLower.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsMCInstLower.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsMachineFunction.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsMachineFunction.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsRegisterInfo.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsRegisterInfo.td
  stable/9/contrib/llvm/lib/Target/Mips/MipsSubtarget.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsSubtarget.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/Mips/MipsTargetMachine.h
  stable/9/contrib/llvm/lib/Target/Mips/MipsTargetObjectFile.cpp
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTX.td
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXAllocaHoisting.h
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXISelLowering.h
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.h
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXSubtarget.cpp
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXSubtarget.h
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
  stable/9/contrib/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
  stable/9/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h
  stable/9/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
  stable/9/contrib/llvm/lib/Target/PowerPC/PPC.h
  stable/9/contrib/llvm/lib/Target/PowerPC/PPC.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCCallingConv.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.h
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCISelLowering.h
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCInstr64Bit.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCInstrAltivec.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCInstrFormats.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.h
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCJITInfo.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCRegisterInfo.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCSchedule.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCSchedule440.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCScheduleA2.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCScheduleG3.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCScheduleG4.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCScheduleG4Plus.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCScheduleG5.td
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCSubtarget.h
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/PowerPC/PPCTargetMachine.h
  stable/9/contrib/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
  stable/9/contrib/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/Sparc/SparcFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/Sparc/SparcFrameLowering.h
  stable/9/contrib/llvm/lib/Target/Sparc/SparcISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/Sparc/SparcISelLowering.h
  stable/9/contrib/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/Sparc/SparcInstrInfo.td
  stable/9/contrib/llvm/lib/Target/Sparc/SparcRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/Sparc/SparcTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/Sparc/SparcTargetMachine.h
  stable/9/contrib/llvm/lib/Target/Target.cpp
  stable/9/contrib/llvm/lib/Target/TargetInstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/TargetLibraryInfo.cpp
  stable/9/contrib/llvm/lib/Target/TargetLoweringObjectFile.cpp
  stable/9/contrib/llvm/lib/Target/TargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/TargetMachineC.cpp
  stable/9/contrib/llvm/lib/Target/TargetRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/X86/AsmParser/X86AsmLexer.cpp
  stable/9/contrib/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
  stable/9/contrib/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
  stable/9/contrib/llvm/lib/Target/X86/Disassembler/X86Disassembler.h
  stable/9/contrib/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
  stable/9/contrib/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h
  stable/9/contrib/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h
  stable/9/contrib/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
  stable/9/contrib/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
  stable/9/contrib/llvm/lib/Target/X86/InstPrinter/X86InstComments.cpp
  stable/9/contrib/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
  stable/9/contrib/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
  stable/9/contrib/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  stable/9/contrib/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
  stable/9/contrib/llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
  stable/9/contrib/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
  stable/9/contrib/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
  stable/9/contrib/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
  stable/9/contrib/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
  stable/9/contrib/llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
  stable/9/contrib/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
  stable/9/contrib/llvm/lib/Target/X86/Utils/X86ShuffleDecode.h
  stable/9/contrib/llvm/lib/Target/X86/X86.h
  stable/9/contrib/llvm/lib/Target/X86/X86.td
  stable/9/contrib/llvm/lib/Target/X86/X86AsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86AsmPrinter.h
  stable/9/contrib/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86COFFMachineModuleInfo.h
  stable/9/contrib/llvm/lib/Target/X86/X86CallingConv.td
  stable/9/contrib/llvm/lib/Target/X86/X86CodeEmitter.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86FastISel.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86FloatingPoint.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86FrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86FrameLowering.h
  stable/9/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86ISelLowering.h
  stable/9/contrib/llvm/lib/Target/X86/X86InstrArithmetic.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrBuilder.h
  stable/9/contrib/llvm/lib/Target/X86/X86InstrCompiler.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrControl.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrExtension.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrFMA.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrFPStack.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrFormats.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrInfo.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86InstrInfo.h
  stable/9/contrib/llvm/lib/Target/X86/X86InstrInfo.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrMMX.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrSSE.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrShiftRotate.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrSystem.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrVMX.td
  stable/9/contrib/llvm/lib/Target/X86/X86InstrXOP.td
  stable/9/contrib/llvm/lib/Target/X86/X86JITInfo.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86JITInfo.h
  stable/9/contrib/llvm/lib/Target/X86/X86MCInstLower.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86MachineFunctionInfo.h
  stable/9/contrib/llvm/lib/Target/X86/X86RegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86RegisterInfo.h
  stable/9/contrib/llvm/lib/Target/X86/X86RegisterInfo.td
  stable/9/contrib/llvm/lib/Target/X86/X86Relocations.h
  stable/9/contrib/llvm/lib/Target/X86/X86Schedule.td
  stable/9/contrib/llvm/lib/Target/X86/X86ScheduleAtom.td
  stable/9/contrib/llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86Subtarget.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86Subtarget.h
  stable/9/contrib/llvm/lib/Target/X86/X86TargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86TargetMachine.h
  stable/9/contrib/llvm/lib/Target/X86/X86TargetObjectFile.cpp
  stable/9/contrib/llvm/lib/Target/X86/X86TargetObjectFile.h
  stable/9/contrib/llvm/lib/Target/X86/X86VZeroUpper.cpp
  stable/9/contrib/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp
  stable/9/contrib/llvm/lib/Target/XCore/XCoreFrameLowering.cpp
  stable/9/contrib/llvm/lib/Target/XCore/XCoreFrameLowering.h
  stable/9/contrib/llvm/lib/Target/XCore/XCoreISelLowering.cpp
  stable/9/contrib/llvm/lib/Target/XCore/XCoreISelLowering.h
  stable/9/contrib/llvm/lib/Target/XCore/XCoreInstrInfo.td
  stable/9/contrib/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp
  stable/9/contrib/llvm/lib/Target/XCore/XCoreRegisterInfo.h
  stable/9/contrib/llvm/lib/Target/XCore/XCoreTargetMachine.cpp
  stable/9/contrib/llvm/lib/Target/XCore/XCoreTargetMachine.h
  stable/9/contrib/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/ConstantMerge.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/ExtractGV.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/GlobalDCE.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/GlobalOpt.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/IPO.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/InlineAlways.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/InlineSimple.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/Inliner.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/Internalize.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/LoopExtractor.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/MergeFunctions.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/PartialInlining.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/PruneEH.cpp
  stable/9/contrib/llvm/lib/Transforms/IPO/StripSymbols.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombine.h
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstCombineWorklist.h
  stable/9/contrib/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/MaximumSpanningTree.h
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp
  stable/9/contrib/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/ADCE.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/ConstantProp.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/DCE.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/EarlyCSE.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/GVN.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/GlobalMerge.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/JumpThreading.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/LICM.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/LoopRotation.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/LowerAtomic.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/ObjCARC.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/Reassociate.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/Reg2Mem.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/SCCP.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/Scalar.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/Sink.cpp
  stable/9/contrib/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/CloneFunction.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/CloneModule.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/CodeExtractor.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/InlineFunction.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/LCSSA.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/Local.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/LoopSimplify.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/LoopUnroll.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/LowerExpectIntrinsic.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/LowerSwitch.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/ModuleUtils.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/SSAUpdater.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/Utils.cpp
  stable/9/contrib/llvm/lib/Transforms/Utils/ValueMapper.cpp
  stable/9/contrib/llvm/lib/Transforms/Vectorize/BBVectorize.cpp
  stable/9/contrib/llvm/lib/Transforms/Vectorize/Vectorize.cpp
  stable/9/contrib/llvm/lib/VMCore/AsmWriter.cpp
  stable/9/contrib/llvm/lib/VMCore/Attributes.cpp
  stable/9/contrib/llvm/lib/VMCore/AutoUpgrade.cpp
  stable/9/contrib/llvm/lib/VMCore/ConstantFold.cpp
  stable/9/contrib/llvm/lib/VMCore/Constants.cpp
  stable/9/contrib/llvm/lib/VMCore/ConstantsContext.h
  stable/9/contrib/llvm/lib/VMCore/Core.cpp
  stable/9/contrib/llvm/lib/VMCore/DebugLoc.cpp
  stable/9/contrib/llvm/lib/VMCore/Dominators.cpp
  stable/9/contrib/llvm/lib/VMCore/Function.cpp
  stable/9/contrib/llvm/lib/VMCore/GCOV.cpp
  stable/9/contrib/llvm/lib/VMCore/Globals.cpp
  stable/9/contrib/llvm/lib/VMCore/IRBuilder.cpp
  stable/9/contrib/llvm/lib/VMCore/InlineAsm.cpp
  stable/9/contrib/llvm/lib/VMCore/Instruction.cpp
  stable/9/contrib/llvm/lib/VMCore/Instructions.cpp
  stable/9/contrib/llvm/lib/VMCore/LLVMContext.cpp
  stable/9/contrib/llvm/lib/VMCore/LLVMContextImpl.cpp
  stable/9/contrib/llvm/lib/VMCore/LLVMContextImpl.h
  stable/9/contrib/llvm/lib/VMCore/Metadata.cpp
  stable/9/contrib/llvm/lib/VMCore/Module.cpp
  stable/9/contrib/llvm/lib/VMCore/PassManager.cpp
  stable/9/contrib/llvm/lib/VMCore/Type.cpp
  stable/9/contrib/llvm/lib/VMCore/User.cpp
  stable/9/contrib/llvm/lib/VMCore/Value.cpp
  stable/9/contrib/llvm/lib/VMCore/ValueTypes.cpp
  stable/9/contrib/llvm/lib/VMCore/Verifier.cpp
  stable/9/contrib/llvm/tools/bugpoint/BugDriver.cpp
  stable/9/contrib/llvm/tools/bugpoint/ExtractFunction.cpp
  stable/9/contrib/llvm/tools/bugpoint/OptimizerDriver.cpp
  stable/9/contrib/llvm/tools/clang/include/clang-c/Index.h
  stable/9/contrib/llvm/tools/clang/include/clang/ARCMigrate/ARCMT.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/ASTConsumer.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/ASTContext.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/ASTImporter.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/ASTMutationListener.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/ASTVector.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/Attr.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/BaseSubobject.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/BuiltinTypes.def
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CXXInheritance.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CanonicalType.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/CharUnits.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/Decl.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/DeclBase.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/DeclCXX.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/DeclContextInternals.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/DeclFriend.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/DeclGroup.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/DeclLookups.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/DeclObjC.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/DeclTemplate.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/DeclarationName.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/EvaluatedExprVisitor.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/Expr.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/ExprCXX.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/ExprObjC.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/ExternalASTSource.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/Mangle.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/NSAPI.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/NestedNameSpecifier.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/OperationKinds.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/PrettyPrinter.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/RecordLayout.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/RecursiveASTVisitor.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/Redeclarable.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/SelectorLocationsKind.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/Stmt.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/StmtCXX.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/StmtObjC.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/TemplateBase.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/Type.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/TypeLoc.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/UnresolvedSet.h
  stable/9/contrib/llvm/tools/clang/include/clang/AST/VTableBuilder.h
  stable/9/contrib/llvm/tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h
  stable/9/contrib/llvm/tools/clang/include/clang/ASTMatchers/ASTMatchers.h
  stable/9/contrib/llvm/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  stable/9/contrib/llvm/tools/clang/include/clang/ASTMatchers/ASTMatchersMacros.h
  stable/9/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/FormatString.h
  stable/9/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ThreadSafety.h
  stable/9/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/UninitializedValues.h
  stable/9/contrib/llvm/tools/clang/include/clang/Analysis/AnalysisContext.h
  stable/9/contrib/llvm/tools/clang/include/clang/Analysis/CFG.h
  stable/9/contrib/llvm/tools/clang/include/clang/Analysis/CallGraph.h
  stable/9/contrib/llvm/tools/clang/include/clang/Analysis/ProgramPoint.h
  stable/9/contrib/llvm/tools/clang/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/ABI.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/AddressSpaces.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/AllDiagnostics.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Attr.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/AttrKinds.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Builtins.def
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Builtins.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsHexagon.def
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsX86.def
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/ConvertUTF.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticASTKinds.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommonKinds.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticFrontendKinds.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticIDs.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSerializationKinds.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/ExceptionSpecificationType.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/ExpressionTraits.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/FileManager.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/FileSystemOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/FileSystemStatCache.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/IdentifierTable.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/LLVM.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Lambda.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/LangOptions.def
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/LangOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Linkage.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/MacroBuilder.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Module.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/OnDiskHashTable.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/OpenCL.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/OperatorKinds.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/PartialDiagnostic.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/PrettyStackTrace.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/SourceLocation.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/SourceManager.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/SourceManagerInternals.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Specifiers.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/StmtNodes.td
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/TargetBuiltins.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/TargetInfo.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/TargetOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/TemplateKinds.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/TokenKinds.def
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/TokenKinds.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/TypeTraits.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Version.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/VersionTuple.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/Visibility.h
  stable/9/contrib/llvm/tools/clang/include/clang/Basic/arm_neon.td
  stable/9/contrib/llvm/tools/clang/include/clang/CodeGen/CodeGenAction.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Action.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Arg.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/ArgList.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/CC1AsOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/CC1AsOptions.td
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/CC1Options.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/CC1Options.td
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Compilation.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Driver.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Job.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/OptParser.td
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/OptTable.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Option.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Options.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Options.td
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Tool.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/ToolChain.h
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Types.def
  stable/9/contrib/llvm/tools/clang/include/clang/Driver/Types.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/ASTConsumers.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/ASTUnit.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/CompilerInstance.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/CompilerInvocation.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/DiagnosticRenderer.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/FrontendAction.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/FrontendActions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/FrontendOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/LangStandard.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/LangStandards.def
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/LogDiagnosticPrinter.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/MultiplexConsumer.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/PreprocessorOutputOptions.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/SerializedDiagnosticPrinter.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/TextDiagnostic.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/TextDiagnosticPrinter.h
  stable/9/contrib/llvm/tools/clang/include/clang/Frontend/VerifyDiagnosticConsumer.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/CodeCompletionHandler.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/DirectoryLookup.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/ExternalPreprocessorSource.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/HeaderMap.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/HeaderSearch.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/Lexer.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/LiteralSupport.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/MacroInfo.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/ModuleMap.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/MultipleIncludeOpt.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/PPCallbacks.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/PTHLexer.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/PTHManager.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/Pragma.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/PreprocessingRecord.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/Preprocessor.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/PreprocessorLexer.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/Token.h
  stable/9/contrib/llvm/tools/clang/include/clang/Lex/TokenLexer.h
  stable/9/contrib/llvm/tools/clang/include/clang/Parse/Parser.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/AttributeList.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/CodeCompleteConsumer.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/DeclSpec.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/DelayedDiagnostic.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/Designator.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/ExternalSemaSource.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/Initialization.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/LocInfoType.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/Overload.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/Ownership.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/ParsedTemplate.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/Scope.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/ScopeInfo.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/Sema.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/SemaConsumer.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/Template.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/TemplateDeduction.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/TypoCorrection.h
  stable/9/contrib/llvm/tools/clang/include/clang/Sema/Weak.h
  stable/9/contrib/llvm/tools/clang/include/clang/Serialization/ASTBitCodes.h
  stable/9/contrib/llvm/tools/clang/include/clang/Serialization/ASTDeserializationListener.h
  stable/9/contrib/llvm/tools/clang/include/clang/Serialization/ASTReader.h
  stable/9/contrib/llvm/tools/clang/include/clang/Serialization/ASTWriter.h
  stable/9/contrib/llvm/tools/clang/include/clang/Serialization/ContinuousRangeMap.h
  stable/9/contrib/llvm/tools/clang/include/clang/Serialization/Module.h
  stable/9/contrib/llvm/tools/clang/include/clang/Serialization/ModuleManager.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/Checker.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
  stable/9/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h
  stable/9/contrib/llvm/tools/clang/include/clang/Tooling/CompilationDatabase.h
  stable/9/contrib/llvm/tools/clang/include/clang/Tooling/Tooling.h
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/ARCMT.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/FileRemapper.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/Internals.h
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/ObjCMT.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransAPIUses.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransARCAssign.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransGCCalls.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransProperties.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/TransformActions.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/Transforms.cpp
  stable/9/contrib/llvm/tools/clang/lib/ARCMigrate/Transforms.h
  stable/9/contrib/llvm/tools/clang/lib/AST/APValue.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ASTConsumer.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ASTContext.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ASTDiagnostic.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ASTImporter.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/CXXABI.h
  stable/9/contrib/llvm/tools/clang/lib/AST/CXXInheritance.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/Decl.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/DeclBase.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/DeclCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/DeclFriend.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/DeclObjC.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/DeclPrinter.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/DeclTemplate.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/DeclarationName.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/DumpXML.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/Expr.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ExprCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ExprClassification.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ExprConstant.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ItaniumCXXABI.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ItaniumMangle.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/LambdaMangleContext.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/Mangle.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/MicrosoftCXXABI.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/NSAPI.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/NestedNameSpecifier.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/ParentMap.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/RecordLayout.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/Stmt.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/StmtDumper.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/StmtPrinter.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/StmtProfile.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/TemplateBase.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/Type.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/TypeLoc.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/TypePrinter.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/VTTBuilder.cpp
  stable/9/contrib/llvm/tools/clang/lib/AST/VTableBuilder.cpp
  stable/9/contrib/llvm/tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  stable/9/contrib/llvm/tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/CFG.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/CallGraph.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/CocoaConventions.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/FormatString.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/LiveVariables.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/PrintfFormatString.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/ProgramPoint.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/ReachableCode.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/ScanfFormatString.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/ThreadSafety.cpp
  stable/9/contrib/llvm/tools/clang/lib/Analysis/UninitializedValues.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/ConvertUTF.c
  stable/9/contrib/llvm/tools/clang/lib/Basic/Diagnostic.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/DiagnosticIDs.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/FileManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/IdentifierTable.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/Module.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/SourceLocation.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/TargetInfo.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/Targets.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/Version.cpp
  stable/9/contrib/llvm/tools/clang/lib/Basic/VersionTuple.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/ABIInfo.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGBuilder.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGCXXABI.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGCXXABI.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGCall.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGClass.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGCleanup.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGCleanup.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGDecl.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGDeclCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGExpr.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGExprAgg.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGExprCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGExprComplex.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGExprConstant.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGObjC.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGRTTI.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGRecordLayout.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGStmt.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGVTables.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CGValue.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.h
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp
  stable/9/contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/Arg.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/ArgList.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/CC1AsOptions.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/Compilation.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/Driver.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/DriverOptions.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/OptTable.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/Option.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/ToolChains.h
  stable/9/contrib/llvm/tools/clang/lib/Driver/Tools.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/Tools.h
  stable/9/contrib/llvm/tools/clang/lib/Driver/Types.cpp
  stable/9/contrib/llvm/tools/clang/lib/Driver/WindowsToolChain.cpp
  stable/9/contrib/llvm/tools/clang/lib/Edit/Commit.cpp
  stable/9/contrib/llvm/tools/clang/lib/Edit/EditedSource.cpp
  stable/9/contrib/llvm/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/ASTConsumers.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/ASTMerge.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/ASTUnit.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/CacheTokens.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/ChainedDiagnosticConsumer.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/ChainedIncludesSource.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/CompilerInvocation.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/DependencyFile.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/DependencyGraph.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/DiagnosticRenderer.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/FrontendAction.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/FrontendActions.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/InitPreprocessor.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/LayoutOverrideSource.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/LogDiagnosticPrinter.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/TextDiagnostic.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  stable/9/contrib/llvm/tools/clang/lib/Frontend/Warnings.cpp
  stable/9/contrib/llvm/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
  stable/9/contrib/llvm/tools/clang/lib/Headers/altivec.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/avx2intrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/bmi2intrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/bmiintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/cpuid.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/emmintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/float.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/immintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/module.map
  stable/9/contrib/llvm/tools/clang/lib/Headers/stddef.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/unwind.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/wmmintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/x86intrin.h
  stable/9/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h
  stable/9/contrib/llvm/tools/clang/lib/Lex/HeaderMap.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/HeaderSearch.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/Lexer.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/LiteralSupport.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/MacroArgs.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/MacroInfo.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/ModuleMap.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/PPDirectives.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/PPExpressions.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/PPLexerChange.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/PPMacroExpansion.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/PTHLexer.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/Pragma.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/PreprocessingRecord.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/Preprocessor.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/PreprocessorLexer.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/TokenConcatenation.cpp
  stable/9/contrib/llvm/tools/clang/lib/Lex/TokenLexer.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseAST.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseDeclCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseExprCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseInit.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseObjc.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParsePragma.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParsePragma.h
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseStmt.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseTemplate.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/ParseTentative.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/Parser.cpp
  stable/9/contrib/llvm/tools/clang/lib/Parse/RAIIObjectsForParser.h
  stable/9/contrib/llvm/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/AttributeList.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/DeclSpec.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/DelayedDiagnostic.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/IdentifierResolver.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/JumpDiagnostics.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/Sema.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaAccess.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaAttr.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaCast.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaChecking.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaCodeComplete.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaDeclAttr.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaDeclObjC.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaExceptionSpec.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaExpr.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaExprCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaExprMember.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaExprObjC.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaFixItUtils.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaLambda.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaLookup.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaObjCProperty.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaPseudoObject.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaStmt.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaStmtAttr.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaTemplate.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaTemplateDeduction.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaTemplateVariadic.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/SemaType.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/TargetAttributesSema.cpp
  stable/9/contrib/llvm/tools/clang/lib/Sema/TreeTransform.h
  stable/9/contrib/llvm/tools/clang/lib/Serialization/ASTCommon.cpp
  stable/9/contrib/llvm/tools/clang/lib/Serialization/ASTCommon.h
  stable/9/contrib/llvm/tools/clang/lib/Serialization/ASTReader.cpp
  stable/9/contrib/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp
  stable/9/contrib/llvm/tools/clang/lib/Serialization/ASTReaderStmt.cpp
  stable/9/contrib/llvm/tools/clang/lib/Serialization/ASTWriter.cpp
  stable/9/contrib/llvm/tools/clang/lib/Serialization/ASTWriterDecl.cpp
  stable/9/contrib/llvm/tools/clang/lib/Serialization/ASTWriterStmt.cpp
  stable/9/contrib/llvm/tools/clang/lib/Serialization/GeneratePCH.cpp
  stable/9/contrib/llvm/tools/clang/lib/Serialization/Module.cpp
  stable/9/contrib/llvm/tools/clang/lib/Serialization/ModuleManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/AttrNonNullChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/Checkers.td
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/Environment.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/SVals.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/Store.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h
  stable/9/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
  stable/9/contrib/llvm/tools/clang/lib/Tooling/CompilationDatabase.cpp
  stable/9/contrib/llvm/tools/clang/lib/Tooling/Tooling.cpp
  stable/9/contrib/llvm/tools/clang/tools/driver/cc1_main.cpp
  stable/9/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp
  stable/9/contrib/llvm/tools/clang/tools/driver/driver.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangAttrEmitter.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/NeonEmitter.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/OptParserEmitter.cpp
  stable/9/contrib/llvm/tools/clang/utils/TableGen/TableGen.cpp
  stable/9/contrib/llvm/tools/llc/llc.cpp
  stable/9/contrib/llvm/tools/lli/lli.cpp
  stable/9/contrib/llvm/tools/llvm-ar/llvm-ar.cpp
  stable/9/contrib/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
  stable/9/contrib/llvm/tools/llvm-diff/DiffConsumer.cpp
  stable/9/contrib/llvm/tools/llvm-diff/DiffConsumer.h
  stable/9/contrib/llvm/tools/llvm-diff/DifferenceEngine.cpp
  stable/9/contrib/llvm/tools/llvm-diff/DifferenceEngine.h
  stable/9/contrib/llvm/tools/llvm-diff/llvm-diff.cpp
  stable/9/contrib/llvm/tools/llvm-dis/llvm-dis.cpp
  stable/9/contrib/llvm/tools/llvm-extract/llvm-extract.cpp
  stable/9/contrib/llvm/tools/llvm-mc/llvm-mc.cpp
  stable/9/contrib/llvm/tools/llvm-nm/llvm-nm.cpp
  stable/9/contrib/llvm/tools/llvm-objdump/MachODump.cpp
  stable/9/contrib/llvm/tools/llvm-objdump/llvm-objdump.cpp
  stable/9/contrib/llvm/tools/llvm-prof/llvm-prof.cpp
  stable/9/contrib/llvm/tools/llvm-ranlib/llvm-ranlib.cpp
  stable/9/contrib/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
  stable/9/contrib/llvm/tools/llvm-stress/llvm-stress.cpp
  stable/9/contrib/llvm/tools/macho-dump/macho-dump.cpp
  stable/9/contrib/llvm/tools/opt/opt.cpp
  stable/9/contrib/llvm/utils/TableGen/AsmMatcherEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/AsmWriterEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/AsmWriterInst.cpp
  stable/9/contrib/llvm/utils/TableGen/CallingConvEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/CodeEmitterGen.cpp
  stable/9/contrib/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
  stable/9/contrib/llvm/utils/TableGen/CodeGenDAGPatterns.h
  stable/9/contrib/llvm/utils/TableGen/CodeGenInstruction.cpp
  stable/9/contrib/llvm/utils/TableGen/CodeGenInstruction.h
  stable/9/contrib/llvm/utils/TableGen/CodeGenIntrinsics.h
  stable/9/contrib/llvm/utils/TableGen/CodeGenRegisters.cpp
  stable/9/contrib/llvm/utils/TableGen/CodeGenRegisters.h
  stable/9/contrib/llvm/utils/TableGen/CodeGenTarget.cpp
  stable/9/contrib/llvm/utils/TableGen/CodeGenTarget.h
  stable/9/contrib/llvm/utils/TableGen/DAGISelEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/DAGISelMatcher.h
  stable/9/contrib/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/DAGISelMatcherGen.cpp
  stable/9/contrib/llvm/utils/TableGen/DFAPacketizerEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/DisassemblerEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/EDEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/FastISelEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/InstrInfoEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/IntrinsicEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/RegisterInfoEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/SequenceToOffsetTable.h
  stable/9/contrib/llvm/utils/TableGen/SetTheory.cpp
  stable/9/contrib/llvm/utils/TableGen/SetTheory.h
  stable/9/contrib/llvm/utils/TableGen/StringToOffsetTable.h
  stable/9/contrib/llvm/utils/TableGen/SubtargetEmitter.cpp
  stable/9/contrib/llvm/utils/TableGen/TGValueTypes.cpp
  stable/9/contrib/llvm/utils/TableGen/TableGen.cpp
  stable/9/contrib/llvm/utils/TableGen/X86DisassemblerShared.h
  stable/9/contrib/llvm/utils/TableGen/X86DisassemblerTables.cpp
  stable/9/contrib/llvm/utils/TableGen/X86DisassemblerTables.h
  stable/9/contrib/llvm/utils/TableGen/X86ModRMFilters.h
  stable/9/contrib/llvm/utils/TableGen/X86RecognizableInstr.cpp
  stable/9/contrib/llvm/utils/TableGen/X86RecognizableInstr.h
  stable/9/etc/mtree/BSD.include.dist
  stable/9/lib/clang/Makefile
  stable/9/lib/clang/clang.build.mk
  stable/9/lib/clang/include/Makefile
  stable/9/lib/clang/include/clang/Basic/Version.inc
  stable/9/lib/clang/include/llvm/Config/AsmParsers.def
  stable/9/lib/clang/include/llvm/Config/Disassemblers.def
  stable/9/lib/clang/include/llvm/Config/config.h
  stable/9/lib/clang/include/llvm/Config/llvm-config.h
  stable/9/lib/clang/libclanganalysis/Makefile
  stable/9/lib/clang/libclangarcmigrate/Makefile
  stable/9/lib/clang/libclangast/Makefile
  stable/9/lib/clang/libclangbasic/Makefile
  stable/9/lib/clang/libclangcodegen/Makefile
  stable/9/lib/clang/libclangdriver/Makefile
  stable/9/lib/clang/libclangedit/Makefile
  stable/9/lib/clang/libclangfrontend/Makefile
  stable/9/lib/clang/libclangfrontendtool/Makefile
  stable/9/lib/clang/libclangparse/Makefile
  stable/9/lib/clang/libclangsema/Makefile
  stable/9/lib/clang/libclangserialization/Makefile
  stable/9/lib/clang/libclangstaticanalyzercheckers/Makefile
  stable/9/lib/clang/libclangstaticanalyzercore/Makefile
  stable/9/lib/clang/libclangstaticanalyzerfrontend/Makefile
  stable/9/lib/clang/libllvmanalysis/Makefile
  stable/9/lib/clang/libllvmarmcodegen/Makefile
  stable/9/lib/clang/libllvmcodegen/Makefile
  stable/9/lib/clang/libllvmcore/Makefile
  stable/9/lib/clang/libllvmdebuginfo/Makefile
  stable/9/lib/clang/libllvminstrumentation/Makefile
  stable/9/lib/clang/libllvmipo/Makefile
  stable/9/lib/clang/libllvmmc/Makefile
  stable/9/lib/clang/libllvmmcjit/Makefile
  stable/9/lib/clang/libllvmmipsasmparser/Makefile
  stable/9/lib/clang/libllvmmipscodegen/Makefile
  stable/9/lib/clang/libllvmmipsdesc/Makefile
  stable/9/lib/clang/libllvmmipsinstprinter/Makefile
  stable/9/lib/clang/libllvmpowerpccodegen/Makefile
  stable/9/lib/clang/libllvmscalaropts/Makefile
  stable/9/lib/clang/libllvmtablegen/Makefile
  stable/9/lib/clang/libllvmtarget/Makefile
  stable/9/lib/clang/libllvmtransformutils/Makefile
  stable/9/lib/clang/libllvmvectorize/Makefile
  stable/9/lib/clang/libllvmx86codegen/Makefile
  stable/9/sys/conf/files
  stable/9/sys/conf/kern.mk
  stable/9/sys/modules/ath/Makefile
  stable/9/sys/modules/bwn/Makefile
  stable/9/sys/modules/ips/Makefile
  stable/9/sys/modules/mps/Makefile
  stable/9/tools/build/mk/OptionalObsoleteFiles.inc
  stable/9/usr.bin/clang/Makefile
  stable/9/usr.bin/clang/bugpoint/bugpoint.1
  stable/9/usr.bin/clang/clang-tblgen/Makefile
  stable/9/usr.bin/clang/clang/Makefile
  stable/9/usr.bin/clang/clang/clang.1
  stable/9/usr.bin/clang/llc/Makefile
  stable/9/usr.bin/clang/llc/llc.1
  stable/9/usr.bin/clang/lli/Makefile
  stable/9/usr.bin/clang/lli/lli.1
  stable/9/usr.bin/clang/llvm-ar/llvm-ar.1
  stable/9/usr.bin/clang/llvm-as/llvm-as.1
  stable/9/usr.bin/clang/llvm-bcanalyzer/llvm-bcanalyzer.1
  stable/9/usr.bin/clang/llvm-diff/llvm-diff.1
  stable/9/usr.bin/clang/llvm-dis/Makefile
  stable/9/usr.bin/clang/llvm-dis/llvm-dis.1
  stable/9/usr.bin/clang/llvm-extract/Makefile
  stable/9/usr.bin/clang/llvm-extract/llvm-extract.1
  stable/9/usr.bin/clang/llvm-link/Makefile
  stable/9/usr.bin/clang/llvm-link/llvm-link.1
  stable/9/usr.bin/clang/llvm-mc/Makefile
  stable/9/usr.bin/clang/llvm-nm/llvm-nm.1
  stable/9/usr.bin/clang/llvm-objdump/Makefile
  stable/9/usr.bin/clang/llvm-prof/Makefile
  stable/9/usr.bin/clang/llvm-prof/llvm-prof.1
  stable/9/usr.bin/clang/llvm-ranlib/llvm-ranlib.1
  stable/9/usr.bin/clang/llvm-rtdyld/Makefile
  stable/9/usr.bin/clang/opt/Makefile
  stable/9/usr.bin/clang/opt/opt.1
  stable/9/usr.bin/clang/tblgen/Makefile
  stable/9/usr.bin/clang/tblgen/tblgen.1
  stable/9/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile
Directory Properties:
  stable/9/contrib/llvm/   (props changed)
  stable/9/contrib/llvm/tools/clang/   (props changed)
  stable/9/etc/   (props changed)
  stable/9/lib/clang/   (props changed)
  stable/9/lib/clang/include/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/sys/conf/   (props changed)
  stable/9/sys/modules/   (props changed)
  stable/9/tools/build/   (props changed)
  stable/9/usr.bin/clang/   (props changed)
  stable/9/usr.sbin/bsnmpd/   (props changed)

Modified: stable/9/ObsoleteFiles.inc
==============================================================================
--- stable/9/ObsoleteFiles.inc	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/ObsoleteFiles.inc	Mon Jan 14 19:51:26 2013	(r245431)
@@ -41,8 +41,34 @@
 # 20121230: remove wrongly created directories for auditdistd
 OLD_DIRS+=var/dist
 OLD_DIRS+=var/remote
-# 20121015: remove incomplete unwind.h
+# 20120816: new clang import which bumps version from 3.1 to 3.2
+OLD_FILES+=usr/bin/llvm-ld
+OLD_FILES+=usr/bin/llvm-stub
+OLD_FILES+=usr/include/clang/3.1/altivec.h
+OLD_FILES+=usr/include/clang/3.1/avx2intrin.h
+OLD_FILES+=usr/include/clang/3.1/avxintrin.h
+OLD_FILES+=usr/include/clang/3.1/bmi2intrin.h
+OLD_FILES+=usr/include/clang/3.1/bmiintrin.h
+OLD_FILES+=usr/include/clang/3.1/cpuid.h
+OLD_FILES+=usr/include/clang/3.1/emmintrin.h
+OLD_FILES+=usr/include/clang/3.1/fma4intrin.h
+OLD_FILES+=usr/include/clang/3.1/immintrin.h
+OLD_FILES+=usr/include/clang/3.1/lzcntintrin.h
+OLD_FILES+=usr/include/clang/3.1/mm3dnow.h
+OLD_FILES+=usr/include/clang/3.1/mm_malloc.h
+OLD_FILES+=usr/include/clang/3.1/mmintrin.h
+OLD_FILES+=usr/include/clang/3.1/module.map
+OLD_FILES+=usr/include/clang/3.1/nmmintrin.h
+OLD_FILES+=usr/include/clang/3.1/pmmintrin.h
+OLD_FILES+=usr/include/clang/3.1/popcntintrin.h
+OLD_FILES+=usr/include/clang/3.1/smmintrin.h
+OLD_FILES+=usr/include/clang/3.1/tmmintrin.h
 OLD_FILES+=usr/include/clang/3.1/unwind.h
+OLD_FILES+=usr/include/clang/3.1/wmmintrin.h
+OLD_FILES+=usr/include/clang/3.1/x86intrin.h
+OLD_FILES+=usr/include/clang/3.1/xmmintrin.h
+OLD_DIRS+=usr/include/clang/3.1
+OLD_FILES+=usr/share/man/man1/llvm-ld.1.gz
 # 20120713: auth.conf removed
 OLD_FILES+=etc/auth.conf
 OLD_FILES+=usr/share/examples/etc/auth.conf

Modified: stable/9/contrib/llvm/include/llvm-c/Core.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm-c/Core.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm-c/Core.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -21,9 +21,9 @@
 
 /* Need these includes to support the LLVM 'cast' template for the C++ 'wrap' 
    and 'unwrap' conversion functions. */
+#include "llvm/IRBuilder.h"
 #include "llvm/Module.h"
 #include "llvm/PassRegistry.h"
-#include "llvm/Support/IRBuilder.h"
 
 extern "C" {
 #endif
@@ -53,7 +53,7 @@ extern "C" {
  * The declared parameter names are descriptive and specify which type is
  * required. Additionally, each type hierarchy is documented along with the
  * functions that operate upon it. For more detail, refer to LLVM's C++ code.
- * If in doubt, refer to Core.cpp, which performs paramter downcasts in the
+ * If in doubt, refer to Core.cpp, which performs parameter downcasts in the
  * form unwrap<RequiredType>(Param).
  *
  * Many exotic languages can interoperate with C code but have a harder time
@@ -106,7 +106,7 @@ typedef struct LLVMOpaqueType *LLVMTypeR
 typedef struct LLVMOpaqueValue *LLVMValueRef;
 
 /**
- * Represents a basic block of instruction in LLVM IR.
+ * Represents a basic block of instructions in LLVM IR.
  *
  * This models llvm::BasicBlock.
  */
@@ -173,10 +173,11 @@ typedef enum {
     LLVMUWTable = 1 << 30,
     LLVMNonLazyBind = 1 << 31
 
-    // FIXME: This attribute is currently not included in the C API as
-    // a temporary measure until the API/ABI impact to the C API is understood
-    // and the path forward agreed upon.
-    //LLVMAddressSafety = 1ULL << 32
+    /* FIXME: This attribute is currently not included in the C API as
+       a temporary measure until the API/ABI impact to the C API is understood
+       and the path forward agreed upon.
+    LLVMAddressSafety = 1ULL << 32
+    */
 } LLVMAttribute;
 
 typedef enum {
@@ -282,6 +283,7 @@ typedef enum {
   LLVMLinkOnceAnyLinkage, /**< Keep one copy of function when linking (inline)*/
   LLVMLinkOnceODRLinkage, /**< Same, but only replaced by something
                             equivalent. */
+  LLVMLinkOnceODRAutoHideLinkage, /**< Like LinkOnceODR, but possibly hidden. */
   LLVMWeakAnyLinkage,     /**< Keep one copy of function when linking (weak) */
   LLVMWeakODRLinkage,     /**< Same, but only replaced by something
                             equivalent. */
@@ -295,9 +297,7 @@ typedef enum {
   LLVMGhostLinkage,       /**< Obsolete */
   LLVMCommonLinkage,      /**< Tentative definitions */
   LLVMLinkerPrivateLinkage, /**< Like Private, but linker removes. */
-  LLVMLinkerPrivateWeakLinkage, /**< Like LinkerPrivate, but is weak. */
-  LLVMLinkerPrivateWeakDefAutoLinkage /**< Like LinkerPrivateWeak, but possibly
-                                           hidden. */
+  LLVMLinkerPrivateWeakLinkage /**< Like LinkerPrivate, but is weak. */
 } LLVMLinkage;
 
 typedef enum {
@@ -478,6 +478,15 @@ void LLVMSetTarget(LLVMModuleRef M, cons
 void LLVMDumpModule(LLVMModuleRef M);
 
 /**
+ * Print a representation of a module to a file. The ErrorMessage needs to be
+ * disposed with LLVMDisposeMessage. Returns 0 on success, 1 otherwise.
+ *
+ * @see Module::print()
+ */
+LLVMBool LLVMPrintModuleToFile(LLVMModuleRef M, const char *Filename,
+                               char **ErrorMessage);
+
+/**
  * Set inline assembly for a module.
  *
  * @see Module::setModuleInlineAsm()
@@ -977,7 +986,7 @@ LLVMTypeRef LLVMX86MMXType(void);
  *
  * LLVMValueRef essentially represents llvm::Value. There is a rich
  * hierarchy of classes within this type. Depending on the instance
- * obtain, not all APIs are available.
+ * obtained, not all APIs are available.
  *
  * Callers can determine the type of a LLVMValueRef by calling the
  * LLVMIsA* family of functions (e.g. LLVMIsAArgument()). These
@@ -1153,7 +1162,7 @@ LLVM_FOR_EACH_VALUE_SUBCLASS(LLVM_DECLAR
  *
  * Uses are obtained in an iterator fashion. First, call this function
  * to obtain a reference to the first use. Then, call LLVMGetNextUse()
- * on that instance and all subsequently obtained instances untl
+ * on that instance and all subsequently obtained instances until
  * LLVMGetNextUse() returns NULL.
  *
  * @see llvm::Value::use_begin()
@@ -1794,7 +1803,7 @@ LLVMAttribute LLVMGetAttribute(LLVMValue
  * Set the alignment for a function parameter.
  *
  * @see llvm::Argument::addAttr()
- * @see llvm::Attribute::constructAlignmentFromInt()
+ * @see llvm::AttrBuilder::addAlignmentAttr()
  */
 void LLVMSetParamAlignment(LLVMValueRef Arg, unsigned align);
 
@@ -1860,6 +1869,27 @@ LLVMValueRef LLVMMDNode(LLVMValueRef *Va
 const char  *LLVMGetMDString(LLVMValueRef V, unsigned* Len);
 
 /**
+ * Obtain the number of operands from an MDNode value.
+ *
+ * @param V MDNode to get number of operands from.
+ * @return Number of operands of the MDNode.
+ */
+unsigned LLVMGetMDNodeNumOperands(LLVMValueRef V);
+
+/**
+ * Obtain the given MDNode's operands.
+ *
+ * The passed LLVMValueRef pointer should point to enough memory to hold all of
+ * the operands of the given MDNode (see LLVMGetMDNodeNumOperands) as
+ * LLVMValueRefs. This memory will be populated with the LLVMValueRefs of the
+ * MDNode's operands.
+ *
+ * @param V MDNode to get the operands from.
+ * @param Dest Destination array for operands.
+ */
+void LLVMGetMDNodeOperands(LLVMValueRef V, LLVMValueRef *Dest);
+
+/**
  * @}
  */
 
@@ -2106,7 +2136,7 @@ LLVMBasicBlockRef LLVMGetInstructionPare
 LLVMValueRef LLVMGetNextInstruction(LLVMValueRef Inst);
 
 /**
- * Obtain the instruction that occured before this one.
+ * Obtain the instruction that occurred before this one.
  *
  * If the instruction is the first instruction in a basic block, NULL
  * will be returned.
@@ -2679,7 +2709,7 @@ namespace llvm {
   
   template<typename T>
   inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
-    #if DEBUG
+    #ifdef DEBUG
     for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
       cast<T>(*I);
     #endif

Modified: stable/9/contrib/llvm/include/llvm-c/Disassembler.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm-c/Disassembler.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm-c/Disassembler.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -109,9 +109,9 @@ struct LLVMOpInfo1 {
  */
 typedef const char *(*LLVMSymbolLookupCallback)(void *DisInfo,
                                                 uint64_t ReferenceValue,
-						uint64_t *ReferenceType,
-						uint64_t ReferencePC,
-						const char **ReferenceName);
+                                                uint64_t *ReferenceType,
+                                                uint64_t ReferencePC,
+                                                const char **ReferenceName);
 /**
  * The reference types on input and output.
  */
@@ -146,6 +146,15 @@ LLVMDisasmContextRef LLVMCreateDisasm(co
                                       LLVMSymbolLookupCallback SymbolLookUp);
 
 /**
+ * Set the disassembler's options.  Returns 1 if it can set the Options and 0
+ * otherwise.
+ */
+int LLVMSetDisasmOptions(LLVMDisasmContextRef DC, uint64_t Options);
+
+/* The option to produce marked up assembly. */
+#define LLVMDisassembler_Option_UseMarkup 1
+
+/**
  * Dispose of a disassembler context.
  */
 void LLVMDisasmDispose(LLVMDisasmContextRef DC);

Copied: stable/9/contrib/llvm/include/llvm-c/Linker.h (from r239462, head/contrib/llvm/include/llvm-c/Linker.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/9/contrib/llvm/include/llvm-c/Linker.h	Mon Jan 14 19:51:26 2013	(r245431, copy of r239462, head/contrib/llvm/include/llvm-c/Linker.h)
@@ -0,0 +1,42 @@
+/*===-- llvm-c/Linker.h - Module Linker C Interface -------------*- C++ -*-===*\
+|*                                                                            *|
+|*                     The LLVM Compiler Infrastructure                       *|
+|*                                                                            *|
+|* This file is distributed under the University of Illinois Open Source      *|
+|* License. See LICENSE.TXT for details.                                      *|
+|*                                                                            *|
+|*===----------------------------------------------------------------------===*|
+|*                                                                            *|
+|* This file defines the C interface to the module/file/archive linker.       *|
+|*                                                                            *|
+\*===----------------------------------------------------------------------===*/
+
+#ifndef LLVM_C_LINKER_H
+#define LLVM_C_LINKER_H
+
+#include "llvm-c/Core.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+typedef enum {
+  LLVMLinkerDestroySource = 0, /* Allow source module to be destroyed. */
+  LLVMLinkerPreserveSource = 1 /* Preserve the source module. */
+} LLVMLinkerMode;
+
+
+/* Links the source module into the destination module, taking ownership
+ * of the source module away from the caller. Optionally returns a
+ * human-readable description of any errors that occurred in linking.
+ * OutMessage must be disposed with LLVMDisposeMessage. The return value
+ * is true if an error occurred, false otherwise. */
+LLVMBool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src,
+                         LLVMLinkerMode Mode, char **OutMessage);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif

Modified: stable/9/contrib/llvm/include/llvm-c/Target.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm-c/Target.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm-c/Target.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -56,19 +56,19 @@ typedef struct LLVMStructLayout *LLVMStr
   
 /* Declare all of the available assembly printer initialization functions. */
 #define LLVM_ASM_PRINTER(TargetName) \
-  void LLVMInitialize##TargetName##AsmPrinter();
+  void LLVMInitialize##TargetName##AsmPrinter(void);
 #include "llvm/Config/AsmPrinters.def"
 #undef LLVM_ASM_PRINTER  /* Explicit undef to make SWIG happier */
 
 /* Declare all of the available assembly parser initialization functions. */
 #define LLVM_ASM_PARSER(TargetName) \
-  void LLVMInitialize##TargetName##AsmParser();
+  void LLVMInitialize##TargetName##AsmParser(void);
 #include "llvm/Config/AsmParsers.def"
 #undef LLVM_ASM_PARSER  /* Explicit undef to make SWIG happier */
 
 /* Declare all of the available disassembler initialization functions. */
 #define LLVM_DISASSEMBLER(TargetName) \
-  void LLVMInitialize##TargetName##Disassembler();
+  void LLVMInitialize##TargetName##Disassembler(void);
 #include "llvm/Config/Disassemblers.def"
 #undef LLVM_DISASSEMBLER  /* Explicit undef to make SWIG happier */
   
@@ -102,7 +102,7 @@ static inline void LLVMInitializeAllTarg
 /** LLVMInitializeAllAsmPrinters - The main program should call this function if
     it wants all asm printers that LLVM is configured to support, to make them
     available via the TargetRegistry. */
-static inline void LLVMInitializeAllAsmPrinters() {
+static inline void LLVMInitializeAllAsmPrinters(void) {
 #define LLVM_ASM_PRINTER(TargetName) LLVMInitialize##TargetName##AsmPrinter();
 #include "llvm/Config/AsmPrinters.def"
 #undef LLVM_ASM_PRINTER  /* Explicit undef to make SWIG happier */
@@ -111,7 +111,7 @@ static inline void LLVMInitializeAllAsmP
 /** LLVMInitializeAllAsmParsers - The main program should call this function if
     it wants all asm parsers that LLVM is configured to support, to make them
     available via the TargetRegistry. */
-static inline void LLVMInitializeAllAsmParsers() {
+static inline void LLVMInitializeAllAsmParsers(void) {
 #define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
 #include "llvm/Config/AsmParsers.def"
 #undef LLVM_ASM_PARSER  /* Explicit undef to make SWIG happier */
@@ -120,7 +120,7 @@ static inline void LLVMInitializeAllAsmP
 /** LLVMInitializeAllDisassemblers - The main program should call this function
     if it wants all disassemblers that LLVM is configured to support, to make
     them available via the TargetRegistry. */
-static inline void LLVMInitializeAllDisassemblers() {
+static inline void LLVMInitializeAllDisassemblers(void) {
 #define LLVM_DISASSEMBLER(TargetName) \
   LLVMInitialize##TargetName##Disassembler();
 #include "llvm/Config/Disassemblers.def"
@@ -145,7 +145,7 @@ static inline LLVMBool LLVMInitializeNat
 /*===-- Target Data -------------------------------------------------------===*/
 
 /** Creates target data from a target layout string.
-    See the constructor llvm::TargetData::TargetData. */
+    See the constructor llvm::DataLayout::DataLayout. */
 LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep);
 
 /** Adds target data information to a pass manager. This does not take ownership
@@ -160,48 +160,58 @@ void LLVMAddTargetLibraryInfo(LLVMTarget
 
 /** Converts target data to a target layout string. The string must be disposed
     with LLVMDisposeMessage.
-    See the constructor llvm::TargetData::TargetData. */
+    See the constructor llvm::DataLayout::DataLayout. */
 char *LLVMCopyStringRepOfTargetData(LLVMTargetDataRef);
 
 /** Returns the byte order of a target, either LLVMBigEndian or
     LLVMLittleEndian.
-    See the method llvm::TargetData::isLittleEndian. */
+    See the method llvm::DataLayout::isLittleEndian. */
 enum LLVMByteOrdering LLVMByteOrder(LLVMTargetDataRef);
 
 /** Returns the pointer size in bytes for a target.
-    See the method llvm::TargetData::getPointerSize. */
+    See the method llvm::DataLayout::getPointerSize. */
 unsigned LLVMPointerSize(LLVMTargetDataRef);
 
+/** Returns the pointer size in bytes for a target for a specified
+    address space.
+    See the method llvm::DataLayout::getPointerSize. */
+unsigned LLVMPointerSizeForAS(LLVMTargetDataRef, unsigned AS);
+
 /** Returns the integer type that is the same size as a pointer on a target.
-    See the method llvm::TargetData::getIntPtrType. */
+    See the method llvm::DataLayout::getIntPtrType. */
 LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef);
 
+/** Returns the integer type that is the same size as a pointer on a target.
+    This version allows the address space to be specified.
+    See the method llvm::DataLayout::getIntPtrType. */
+LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef, unsigned AS);
+
 /** Computes the size of a type in bytes for a target.
-    See the method llvm::TargetData::getTypeSizeInBits. */
+    See the method llvm::DataLayout::getTypeSizeInBits. */
 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef, LLVMTypeRef);
 
 /** Computes the storage size of a type in bytes for a target.
-    See the method llvm::TargetData::getTypeStoreSize. */
+    See the method llvm::DataLayout::getTypeStoreSize. */
 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef, LLVMTypeRef);
 
 /** Computes the ABI size of a type in bytes for a target.
-    See the method llvm::TargetData::getTypeAllocSize. */
+    See the method llvm::DataLayout::getTypeAllocSize. */
 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef, LLVMTypeRef);
 
 /** Computes the ABI alignment of a type in bytes for a target.
-    See the method llvm::TargetData::getTypeABISize. */
+    See the method llvm::DataLayout::getTypeABISize. */
 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef, LLVMTypeRef);
 
 /** Computes the call frame alignment of a type in bytes for a target.
-    See the method llvm::TargetData::getTypeABISize. */
+    See the method llvm::DataLayout::getTypeABISize. */
 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef, LLVMTypeRef);
 
 /** Computes the preferred alignment of a type in bytes for a target.
-    See the method llvm::TargetData::getTypeABISize. */
+    See the method llvm::DataLayout::getTypeABISize. */
 unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef, LLVMTypeRef);
 
 /** Computes the preferred alignment of a global variable in bytes for a target.
-    See the method llvm::TargetData::getPreferredAlignment. */
+    See the method llvm::DataLayout::getPreferredAlignment. */
 unsigned LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef,
                                         LLVMValueRef GlobalVar);
 
@@ -216,7 +226,7 @@ unsigned long long LLVMOffsetOfElement(L
                                        unsigned Element);
 
 /** Deallocates a TargetData.
-    See the destructor llvm::TargetData::~TargetData. */
+    See the destructor llvm::DataLayout::~DataLayout. */
 void LLVMDisposeTargetData(LLVMTargetDataRef);
 
 /**
@@ -227,15 +237,15 @@ void LLVMDisposeTargetData(LLVMTargetDat
 }
 
 namespace llvm {
-  class TargetData;
+  class DataLayout;
   class TargetLibraryInfo;
 
-  inline TargetData *unwrap(LLVMTargetDataRef P) {
-    return reinterpret_cast<TargetData*>(P);
+  inline DataLayout *unwrap(LLVMTargetDataRef P) {
+    return reinterpret_cast<DataLayout*>(P);
   }
   
-  inline LLVMTargetDataRef wrap(const TargetData *P) {
-    return reinterpret_cast<LLVMTargetDataRef>(const_cast<TargetData*>(P));
+  inline LLVMTargetDataRef wrap(const DataLayout *P) {
+    return reinterpret_cast<LLVMTargetDataRef>(const_cast<DataLayout*>(P));
   }
 
   inline TargetLibraryInfo *unwrap(LLVMTargetLibraryInfoRef P) {

Modified: stable/9/contrib/llvm/include/llvm-c/TargetMachine.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm-c/TargetMachine.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm-c/TargetMachine.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -104,7 +104,7 @@ char *LLVMGetTargetMachineCPU(LLVMTarget
   LLVMDisposeMessage. */
 char *LLVMGetTargetMachineFeatureString(LLVMTargetMachineRef T);
 
-/** Returns the llvm::TargetData used for this llvm:TargetMachine. */
+/** Returns the llvm::DataLayout used for this llvm:TargetMachine. */
 LLVMTargetDataRef LLVMGetTargetMachineData(LLVMTargetMachineRef T);
 
 /** Emits an asm or object file for the given module to the filename. This

Modified: stable/9/contrib/llvm/include/llvm-c/Transforms/Vectorize.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm-c/Transforms/Vectorize.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm-c/Transforms/Vectorize.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -36,6 +36,9 @@ extern "C" {
 /** See llvm::createBBVectorizePass function. */
 void LLVMAddBBVectorizePass(LLVMPassManagerRef PM);
 
+/** See llvm::createLoopVectorizePass function. */
+void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM);
+
 /**
  * @}
  */

Modified: stable/9/contrib/llvm/include/llvm/ADT/APFloat.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm/ADT/APFloat.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm/ADT/APFloat.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -274,6 +274,7 @@ namespace llvm {
     /* C fmod, or llvm frem. */
     opStatus mod(const APFloat &, roundingMode);
     opStatus fusedMultiplyAdd(const APFloat &, const APFloat &, roundingMode);
+    opStatus roundToIntegral(roundingMode);
 
     /* Sign operations.  */
     void changeSign();
@@ -454,14 +455,11 @@ namespace llvm {
 
     /* The sign bit of this number.  */
     unsigned int sign: 1;
-
-    /* For PPCDoubleDouble, we have a second exponent and sign (the second
-       significand is appended to the first one, although it would be wrong to
-       regard these as a single number for arithmetic purposes).  These fields
-       are not meaningful for any other type. */
-    exponent_t exponent2 : 11;
-    unsigned int sign2: 1;
   };
+
+  // See friend declaration above. This additional declaration is required in
+  // order to compile LLVM with IBM xlC compiler.
+  hash_code hash_value(const APFloat &Arg);
 } /* namespace llvm */
 
 #endif /* LLVM_FLOAT_H */

Modified: stable/9/contrib/llvm/include/llvm/ADT/APInt.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm/ADT/APInt.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm/ADT/APInt.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -16,6 +16,7 @@
 #define LLVM_APINT_H
 
 #include "llvm/ADT/ArrayRef.h"
+#include "llvm/Support/Compiler.h"
 #include "llvm/Support/MathExtras.h"
 #include <cassert>
 #include <climits>
@@ -250,7 +251,7 @@ public:
   /// constructor.
   APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]);
 
-  /// This constructor interprets the string \arg str in the given radix. The
+  /// This constructor interprets the string \p str in the given radix. The
   /// interpretation stops when the first character that is not suitable for the
   /// radix is encountered, or the end of the string. Acceptable radix values
   /// are 2, 8, 10, 16, and 36. It is an error for the value implied by the 
@@ -273,6 +274,13 @@ public:
       initSlowCase(that);
   }
 
+#if LLVM_USE_RVALUE_REFERENCES
+  /// @brief Move Constructor.
+  APInt(APInt&& that) : BitWidth(that.BitWidth), VAL(that.VAL) {
+    that.BitWidth = 0;
+  }
+#endif
+
   /// @brief Destructor.
   ~APInt() {
     if (!isSingleWord())
@@ -349,13 +357,7 @@ public:
   /// @brief Check if this APInt has an N-bits unsigned integer value.
   bool isIntN(unsigned N) const {
     assert(N && "N == 0 ???");
-    if (N >= getBitWidth())
-      return true;
-
-    if (isSingleWord())
-      return isUIntN(N, VAL);
-    return APInt(N, makeArrayRef(pVal, getNumWords())).zext(getBitWidth())
-      == (*this);
+    return getActiveBits() <= N;
   }
 
   /// @brief Check if this APInt has an N-bits signed integer value.
@@ -503,6 +505,18 @@ public:
     return getAllOnesValue(numBits).lshr(numBits - loBitsSet);
   }
 
+  /// \brief Determine if two APInts have the same value, after zero-extending
+  /// one of them (if needed!) to ensure that the bit-widths match.
+  static bool isSameValue(const APInt &I1, const APInt &I2) {
+    if (I1.getBitWidth() == I2.getBitWidth())
+      return I1 == I2;
+
+    if (I1.getBitWidth() > I2.getBitWidth())
+      return I1 == I2.zext(I1.getBitWidth());
+
+    return I1.zext(I2.getBitWidth()) == I2;
+  }
+  
   /// \brief Overload to compute a hash_code for an APInt value.
   friend hash_code hash_value(const APInt &Arg);
 
@@ -587,6 +601,21 @@ public:
     return AssignSlowCase(RHS);
   }
 
+#if LLVM_USE_RVALUE_REFERENCES
+  /// @brief Move assignment operator.
+  APInt& operator=(APInt&& that) {
+    if (!isSingleWord())
+      delete [] pVal;
+
+    BitWidth = that.BitWidth;
+    VAL = that.VAL;
+
+    that.BitWidth = 0;
+
+    return *this;
+  }
+#endif
+
   /// The RHS value is assigned to *this. If the significant bits in RHS exceed
   /// the bit width, the excess bits are truncated. If the bit width is larger
   /// than 64, the value is zero filled in the unspecified high order bits.
@@ -731,7 +760,7 @@ public:
   APInt shl(unsigned shiftAmt) const {
     assert(shiftAmt <= BitWidth && "Invalid shift amount");
     if (isSingleWord()) {
-      if (shiftAmt == BitWidth)
+      if (shiftAmt >= BitWidth)
         return APInt(BitWidth, 0); // avoid undefined shift results
       return APInt(BitWidth, VAL << shiftAmt);
     }
@@ -817,9 +846,10 @@ public:
     if (LHS.isNegative()) {
       if (RHS.isNegative())
         APInt::udivrem(-LHS, -RHS, Quotient, Remainder);
-      else
+      else {
         APInt::udivrem(-LHS, RHS, Quotient, Remainder);
-      Quotient = -Quotient;
+        Quotient = -Quotient;
+      }
       Remainder = -Remainder;
     } else if (RHS.isNegative()) {
       APInt::udivrem(LHS, -RHS, Quotient, Remainder);
@@ -1087,7 +1117,7 @@ public:
     else {
       // Set all the bits in all the words.
       for (unsigned i = 0; i < getNumWords(); ++i)
-	pVal[i] = -1ULL;
+        pVal[i] = -1ULL;
     }
     // Clear the unused ones
     clearUnusedBits();
@@ -1201,15 +1231,15 @@ public:
   }
 
   /// This method determines how many bits are required to hold the APInt
-  /// equivalent of the string given by \arg str.
+  /// equivalent of the string given by \p str.
   /// @brief Get bits required for string value.
   static unsigned getBitsNeeded(StringRef str, uint8_t radix);
 
   /// countLeadingZeros - This function is an APInt version of the
   /// countLeadingZeros_{32,64} functions in MathExtras.h. It counts the number
   /// of zeros from the most significant bit to the first one bit.
-  /// @returns BitWidth if the value is zero.
-  /// @returns the number of zeros from the most significant bit to the first
+  /// @returns BitWidth if the value is zero, otherwise
+  /// returns the number of zeros from the most significant bit to the first
   /// one bits.
   unsigned countLeadingZeros() const {
     if (isSingleWord()) {
@@ -1222,8 +1252,8 @@ public:
   /// countLeadingOnes - This function is an APInt version of the
   /// countLeadingOnes_{32,64} functions in MathExtras.h. It counts the number
   /// of ones from the most significant bit to the first zero bit.
-  /// @returns 0 if the high order bit is not set
-  /// @returns the number of 1 bits from the most significant to the least
+  /// @returns 0 if the high order bit is not set, otherwise
+  /// returns the number of 1 bits from the most significant to the least
   /// @brief Count the number of leading one bits.
   unsigned countLeadingOnes() const;
 
@@ -1236,8 +1266,8 @@ public:
   /// countTrailingZeros - This function is an APInt version of the
   /// countTrailingZeros_{32,64} functions in MathExtras.h. It counts
   /// the number of zeros from the least significant bit to the first set bit.
-  /// @returns BitWidth if the value is zero.
-  /// @returns the number of zeros from the least significant bit to the first
+  /// @returns BitWidth if the value is zero, otherwise
+  /// returns the number of zeros from the least significant bit to the first
   /// one bit.
   /// @brief Count the number of trailing zero bits.
   unsigned countTrailingZeros() const;
@@ -1245,8 +1275,8 @@ public:
   /// countTrailingOnes - This function is an APInt version of the
   /// countTrailingOnes_{32,64} functions in MathExtras.h. It counts
   /// the number of ones from the least significant bit to the first zero bit.
-  /// @returns BitWidth if the value is all ones.
-  /// @returns the number of ones from the least significant bit to the first
+  /// @returns BitWidth if the value is all ones, otherwise
+  /// returns the number of ones from the least significant bit to the first
   /// zero bit.
   /// @brief Count the number of trailing one bits.
   unsigned countTrailingOnes() const {
@@ -1258,8 +1288,8 @@ public:
   /// countPopulation - This function is an APInt version of the
   /// countPopulation_{32,64} functions in MathExtras.h. It counts the number
   /// of 1 bits in the APInt value.
-  /// @returns 0 if the value is zero.
-  /// @returns the number of set bits.
+  /// @returns 0 if the value is zero, otherwise returns the number of set
+  /// bits.
   /// @brief Count the number of bits set.
   unsigned countPopulation() const {
     if (isSingleWord())
@@ -1750,6 +1780,9 @@ inline APInt Not(const APInt& APIVal) {
 
 } // End of APIntOps namespace
 
+  // See friend declaration above. This additional declaration is required in
+  // order to compile LLVM with IBM xlC compiler.
+  hash_code hash_value(const APInt &Arg);
 } // End of llvm namespace
 
 #endif

Modified: stable/9/contrib/llvm/include/llvm/ADT/APSInt.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm/ADT/APSInt.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm/ADT/APSInt.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -135,6 +135,19 @@ public:
     assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
     return IsUnsigned ? uge(RHS) : sge(RHS);
   }
+  inline bool operator==(const APSInt& RHS) const {
+    assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
+    return eq(RHS);
+  }
+  inline bool operator==(int64_t RHS) const {
+    return isSameValue(*this, APSInt(APInt(64, RHS), true));
+  }
+  inline bool operator!=(const APSInt& RHS) const {
+    return !((*this) == RHS);
+  }
+  inline bool operator!=(int64_t RHS) const {
+    return !((*this) == RHS);
+  }
 
   // The remaining operators just wrap the logic of APInt, but retain the
   // signedness information.
@@ -250,17 +263,50 @@ public:
                            : APInt::getSignedMinValue(numBits), Unsigned);
   }
 
+  /// \brief Determine if two APSInts have the same value, zero- or
+  /// sign-extending as needed.  
+  static bool isSameValue(const APSInt &I1, const APSInt &I2) {
+    if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned())
+      return I1 == I2;
+
+    // Check for a bit-width mismatch.
+    if (I1.getBitWidth() > I2.getBitWidth())
+      return isSameValue(I1, I2.extend(I1.getBitWidth()));
+    else if (I2.getBitWidth() > I1.getBitWidth())
+      return isSameValue(I1.extend(I2.getBitWidth()), I2);
+
+    // We have a signedness mismatch. Turn the signed value into an unsigned
+    // value.
+    if (I1.isSigned()) {
+      if (I1.isNegative())
+        return false;
+
+      return APSInt(I1, true) == I2;
+    }
+
+    if (I2.isNegative())
+      return false;
+
+    return I1 == APSInt(I2, true);
+  }
+
   /// Profile - Used to insert APSInt objects, or objects that contain APSInt
   ///  objects, into FoldingSets.
   void Profile(FoldingSetNodeID& ID) const;
 };
 
+inline bool operator==(int64_t V1, const APSInt& V2) {
+  return V2 == V1;
+}
+inline bool operator!=(int64_t V1, const APSInt& V2) {
+  return V2 != V1;
+}
+
 inline raw_ostream &operator<<(raw_ostream &OS, const APSInt &I) {
   I.print(OS, I.isSigned());
   return OS;
 }
 
-
 } // end namespace llvm
 
 #endif

Modified: stable/9/contrib/llvm/include/llvm/ADT/ArrayRef.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm/ADT/ArrayRef.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm/ADT/ArrayRef.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -59,12 +59,17 @@ namespace llvm {
     ArrayRef(const T *begin, const T *end)
       : Data(begin), Length(end - begin) {}
 
-    /// Construct an ArrayRef from a SmallVector.
-    /*implicit*/ ArrayRef(const SmallVectorImpl<T> &Vec)
-      : Data(Vec.data()), Length(Vec.size()) {}
+    /// Construct an ArrayRef from a SmallVector. This is templated in order to
+    /// avoid instantiating SmallVectorTemplateCommon<T> whenever we
+    /// copy-construct an ArrayRef.
+    template<typename U>
+    /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec)
+      : Data(Vec.data()), Length(Vec.size()) {
+    }
 
     /// Construct an ArrayRef from a std::vector.
-    /*implicit*/ ArrayRef(const std::vector<T> &Vec)
+    template<typename A>
+    /*implicit*/ ArrayRef(const std::vector<T, A> &Vec)
       : Data(Vec.empty() ? (T*)0 : &Vec[0]), Length(Vec.size()) {}
 
     /// Construct an ArrayRef from a C array.

Modified: stable/9/contrib/llvm/include/llvm/ADT/BitVector.h
==============================================================================
--- stable/9/contrib/llvm/include/llvm/ADT/BitVector.h	Mon Jan 14 19:47:38 2013	(r245430)
+++ stable/9/contrib/llvm/include/llvm/ADT/BitVector.h	Mon Jan 14 19:51:26 2013	(r245431)
@@ -14,6 +14,7 @@
 #ifndef LLVM_ADT_BITVECTOR_H
 #define LLVM_ADT_BITVECTOR_H
 
+#include "llvm/Support/Compiler.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/MathExtras.h"
 #include <algorithm>
@@ -97,6 +98,13 @@ public:
     std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord));
   }
 
+#if LLVM_USE_RVALUE_REFERENCES
+  BitVector(BitVector &&RHS)
+    : Bits(RHS.Bits), Size(RHS.Size), Capacity(RHS.Capacity) {
+    RHS.Bits = 0;
+  }
+#endif
+
   ~BitVector() {
     std::free(Bits);
   }
@@ -164,7 +172,7 @@ public:
     unsigned BitPos = Prev % BITWORD_SIZE;
     BitWord Copy = Bits[WordPos];
     // Mask off previous bits.
-    Copy &= ~0L << BitPos;
+    Copy &= ~0UL << BitPos;
 
     if (Copy != 0) {
       if (sizeof(BitWord) == 4)
@@ -229,6 +237,34 @@ public:
     return *this;
   }
 
+  /// set - Efficiently set a range of bits in [I, E)
+  BitVector &set(unsigned I, unsigned E) {
+    assert(I <= E && "Attempted to set backwards range!");
+    assert(E <= size() && "Attempted to set out-of-bounds range!");
+
+    if (I == E) return *this;
+
+    if (I / BITWORD_SIZE == E / BITWORD_SIZE) {
+      BitWord EMask = 1UL << (E % BITWORD_SIZE);
+      BitWord IMask = 1UL << (I % BITWORD_SIZE);
+      BitWord Mask = EMask - IMask;
+      Bits[I / BITWORD_SIZE] |= Mask;
+      return *this;
+    }
+
+    BitWord PrefixMask = ~0UL << (I % BITWORD_SIZE);
+    Bits[I / BITWORD_SIZE] |= PrefixMask;
+    I = RoundUpToAlignment(I, BITWORD_SIZE);
+
+    for (; I + BITWORD_SIZE <= E; I += BITWORD_SIZE)
+      Bits[I / BITWORD_SIZE] = ~0UL;
+
+    BitWord PostfixMask = (1UL << (E % BITWORD_SIZE)) - 1;
+    Bits[I / BITWORD_SIZE] |= PostfixMask;
+
+    return *this;
+  }
+
   BitVector &reset() {
     init_words(Bits, Capacity, false);
     return *this;
@@ -239,6 +275,34 @@ public:
     return *this;
   }
 
+  /// reset - Efficiently reset a range of bits in [I, E)
+  BitVector &reset(unsigned I, unsigned E) {
+    assert(I <= E && "Attempted to reset backwards range!");
+    assert(E <= size() && "Attempted to reset out-of-bounds range!");
+
+    if (I == E) return *this;
+
+    if (I / BITWORD_SIZE == E / BITWORD_SIZE) {
+      BitWord EMask = 1UL << (E % BITWORD_SIZE);
+      BitWord IMask = 1UL << (I % BITWORD_SIZE);
+      BitWord Mask = EMask - IMask;
+      Bits[I / BITWORD_SIZE] &= ~Mask;
+      return *this;
+    }
+
+    BitWord PrefixMask = ~0UL << (I % BITWORD_SIZE);
+    Bits[I / BITWORD_SIZE] &= ~PrefixMask;
+    I = RoundUpToAlignment(I, BITWORD_SIZE);
+
+    for (; I + BITWORD_SIZE <= E; I += BITWORD_SIZE)
+      Bits[I / BITWORD_SIZE] = 0UL;
+
+    BitWord PostfixMask = (1UL << (E % BITWORD_SIZE)) - 1;
+    Bits[I / BITWORD_SIZE] &= ~PostfixMask;
+
+    return *this;
+  }
+
   BitVector &flip() {
     for (unsigned i = 0; i < NumBitWords(size()); ++i)
       Bits[i] = ~Bits[i];
@@ -251,11 +315,6 @@ public:
     return *this;
   }
 
-  // No argument flip.
-  BitVector operator~() const {
-    return BitVector(*this).flip();
-  }
-
   // Indexing.
   reference operator[](unsigned Idx) {
     assert (Idx < Size && "Out-of-bounds Bit access.");
@@ -272,6 +331,16 @@ public:
     return (*this)[Idx];
   }
 
+  /// Test if any common bits are set.
+  bool anyCommon(const BitVector &RHS) const {
+    unsigned ThisWords = NumBitWords(size());
+    unsigned RHSWords  = NumBitWords(RHS.size());
+    for (unsigned i = 0, e = std::min(ThisWords, RHSWords); i != e; ++i)
+      if (Bits[i] & RHS.Bits[i])
+        return true;
+    return false;
+  }
+
   // Comparison operators.
   bool operator==(const BitVector &RHS) const {
     unsigned ThisWords = NumBitWords(size());
@@ -298,7 +367,7 @@ public:
     return !(*this == RHS);
   }
 
-  // Intersection, union, disjoint union.
+  /// Intersection, union, disjoint union.
   BitVector &operator&=(const BitVector &RHS) {
     unsigned ThisWords = NumBitWords(size());
     unsigned RHSWords  = NumBitWords(RHS.size());
@@ -315,7 +384,7 @@ public:
     return *this;
   }
 
-  // reset - Reset bits that are set in RHS. Same as *this &= ~RHS.
+  /// reset - Reset bits that are set in RHS. Same as *this &= ~RHS.
   BitVector &reset(const BitVector &RHS) {
     unsigned ThisWords = NumBitWords(size());
     unsigned RHSWords  = NumBitWords(RHS.size());
@@ -325,6 +394,23 @@ public:
     return *this;
   }
 
+  /// test - Check if (This - RHS) is zero.
+  /// This is the same as reset(RHS) and any().
+  bool test(const BitVector &RHS) const {
+    unsigned ThisWords = NumBitWords(size());
+    unsigned RHSWords  = NumBitWords(RHS.size());
+    unsigned i;
+    for (i = 0; i != std::min(ThisWords, RHSWords); ++i)
+      if ((Bits[i] & ~RHS.Bits[i]) != 0)
+        return true;
+
+    for (; i != ThisWords ; ++i)
+      if (Bits[i] != 0)
+        return true;
+
+    return false;
+  }
+
   BitVector &operator|=(const BitVector &RHS) {
     if (size() < RHS.size())
       resize(RHS.size());
@@ -366,6 +452,21 @@ public:
     return *this;
   }
 
+#if LLVM_USE_RVALUE_REFERENCES
+  const BitVector &operator=(BitVector &&RHS) {
+    if (this == &RHS) return *this;
+
+    std::free(Bits);
+    Bits = RHS.Bits;
+    Size = RHS.Size;
+    Capacity = RHS.Capacity;
+
+    RHS.Bits = 0;
+
+    return *this;
+  }
+#endif
+
   void swap(BitVector &RHS) {
     std::swap(Bits, RHS.Bits);
     std::swap(Size, RHS.Size);
@@ -423,8 +524,11 @@ private:
     //  Then set any stray high bits of the last used word.
     unsigned ExtraBits = Size % BITWORD_SIZE;
     if (ExtraBits) {
-      Bits[UsedWords-1] &= ~(~0L << ExtraBits);
-      Bits[UsedWords-1] |= (0 - (BitWord)t) << ExtraBits;
+      BitWord ExtraBitMask = ~0UL << ExtraBits;
+      if (t)
+        Bits[UsedWords-1] |= ExtraBitMask;
+      else
+        Bits[UsedWords-1] &= ~ExtraBitMask;
     }
   }
 
@@ -472,24 +576,6 @@ private:
   }
 };
 
-inline BitVector operator&(const BitVector &LHS, const BitVector &RHS) {
-  BitVector Result(LHS);
-  Result &= RHS;
-  return Result;
-}
-
-inline BitVector operator|(const BitVector &LHS, const BitVector &RHS) {
-  BitVector Result(LHS);
-  Result |= RHS;
-  return Result;
-}
-
-inline BitVector operator^(const BitVector &LHS, const BitVector &RHS) {

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 20:26:50 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id BDD03941;
 Mon, 14 Jan 2013 20:26:50 +0000 (UTC) (envelope-from dim@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id A459F889;
 Mon, 14 Jan 2013 20:26:50 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0EKQoN8017773;
 Mon, 14 Jan 2013 20:26:50 GMT (envelope-from dim@svn.freebsd.org)
Received: (from dim@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0EKQoXG017771;
 Mon, 14 Jan 2013 20:26:50 GMT (envelope-from dim@svn.freebsd.org)
Message-Id: <201301142026.r0EKQoXG017771@svn.freebsd.org>
From: Dimitry Andric <dim@FreeBSD.org>
Date: Mon, 14 Jan 2013 20:26:50 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245432 - stable/9/lib/clang
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 20:26:50 -0000

Author: dim
Date: Mon Jan 14 20:26:50 2013
New Revision: 245432
URL: http://svnweb.freebsd.org/changeset/base/245432

Log:
  Use a direct commit to fix a minor mistake in r245431, before it spreads
  too far: use the correct FreeBSD version in clang's target triple.  That
  is, $ARCH-unknown-freebsd9.1 instead of $ARCH-unknown-freebsd9.2.
  
  This will be bumped again for the 9.2 release, when it branches off.

Modified:
  stable/9/lib/clang/clang.build.mk

Modified: stable/9/lib/clang/clang.build.mk
==============================================================================
--- stable/9/lib/clang/clang.build.mk	Mon Jan 14 19:51:26 2013	(r245431)
+++ stable/9/lib/clang/clang.build.mk	Mon Jan 14 20:26:50 2013	(r245432)
@@ -13,8 +13,8 @@ CFLAGS+= -fno-strict-aliasing
 
 TARGET_ARCH?=	${MACHINE_ARCH}
 BUILD_ARCH?=	${MACHINE_ARCH}
-TARGET_TRIPLE?=	${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd9.2
-BUILD_TRIPLE?=	${BUILD_ARCH:C/amd64/x86_64/}-unknown-freebsd9.2
+TARGET_TRIPLE?=	${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd9.1
+BUILD_TRIPLE?=	${BUILD_ARCH:C/amd64/x86_64/}-unknown-freebsd9.1
 CFLAGS+=	-DLLVM_DEFAULT_TARGET_TRIPLE=\"${TARGET_TRIPLE}\" \
 		-DLLVM_HOSTTRIPLE=\"${BUILD_TRIPLE}\" \
 		-DDEFAULT_SYSROOT=\"${TOOLS_PREFIX}\"

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 21:31:27 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id AB08B693;
 Mon, 14 Jan 2013 21:31:27 +0000 (UTC)
 (envelope-from dteske@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 9BC75BF2;
 Mon, 14 Jan 2013 21:31:27 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0ELVRkr038530;
 Mon, 14 Jan 2013 21:31:27 GMT (envelope-from dteske@svn.freebsd.org)
Received: (from dteske@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0ELVR1S038529;
 Mon, 14 Jan 2013 21:31:27 GMT (envelope-from dteske@svn.freebsd.org)
Message-Id: <201301142131.r0ELVR1S038529@svn.freebsd.org>
From: Devin Teske <dteske@FreeBSD.org>
Date: Mon, 14 Jan 2013 21:31:27 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245438 - stable/9/usr.sbin/sysinstall/help
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 21:31:27 -0000

Author: dteske
Date: Mon Jan 14 21:31:27 2013
New Revision: 245438
URL: http://svnweb.freebsd.org/changeset/base/245438

Log:
  Oops, r186202 (4 years ago) forgot to remove Tape from the F1 Help file.

Modified:
  stable/9/usr.sbin/sysinstall/help/media.hlp

Modified: stable/9/usr.sbin/sysinstall/help/media.hlp
==============================================================================
--- stable/9/usr.sbin/sysinstall/help/media.hlp	Mon Jan 14 21:03:34 2013	(r245437)
+++ stable/9/usr.sbin/sysinstall/help/media.hlp	Mon Jan 14 21:31:27 2013	(r245438)
@@ -46,9 +46,3 @@ You can install from the following types
             If this install method hangs on you or refuses to work
             properly, you may need to set some special options for
             your NFS server.  See the Options screen for more details.
-
-
-   Tape     Extract distribution files from tape into a temporary
-            directory and install from there.  If the tape was created
-            with blocksize other than 20, you may wish to change this
-            in the Options screen.

From owner-svn-src-stable@FreeBSD.ORG  Mon Jan 14 22:00:45 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 333B26C0;
 Mon, 14 Jan 2013 22:00:45 +0000 (UTC)
 (envelope-from brooks@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 15934E1F;
 Mon, 14 Jan 2013 22:00:45 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0EM0igs047405;
 Mon, 14 Jan 2013 22:00:44 GMT (envelope-from brooks@svn.freebsd.org)
Received: (from brooks@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0EM0i3Y047401;
 Mon, 14 Jan 2013 22:00:44 GMT (envelope-from brooks@svn.freebsd.org)
Message-Id: <201301142200.r0EM0i3Y047401@svn.freebsd.org>
From: Brooks Davis <brooks@FreeBSD.org>
Date: Mon, 14 Jan 2013 22:00:44 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245439 - in stable/9: include lib/libc/gen
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jan 2013 22:00:45 -0000

Author: brooks
Date: Mon Jan 14 22:00:43 2013
New Revision: 245439
URL: http://svnweb.freebsd.org/changeset/base/245439

Log:
  MFC r244401,245305,245308:
  
  Replace our implementation of the vis(3) and unvis(3) APIs with
  NetBSD's.  This output size limited versions of vis and unvis functions
  as well as a set of vis variants that allow arbitrary characters to be
  specified for encoding.
  
  Finally, MIME Quoted-Printable encoding as described in RFC 2045 is
  supported.

Added:
     - copied from r245267, head/contrib/libc-vis/
  stable/9/lib/libc/gen/unvis-compat.c
     - copied unchanged from r244401, head/lib/libc/gen/unvis-compat.c
Directory Properties:
  stable/9/contrib/libc-vis/   (props changed)
Deleted:
  stable/9/include/vis.h
  stable/9/lib/libc/gen/unvis.3
  stable/9/lib/libc/gen/unvis.c
  stable/9/lib/libc/gen/vis.3
  stable/9/lib/libc/gen/vis.c
Modified:
  stable/9/include/Makefile
  stable/9/lib/libc/gen/Makefile.inc
  stable/9/lib/libc/gen/Symbol.map
Directory Properties:
  stable/9/include/   (props changed)
  stable/9/lib/libc/   (props changed)

Modified: stable/9/include/Makefile
==============================================================================
--- stable/9/include/Makefile	Mon Jan 14 21:31:27 2013	(r245438)
+++ stable/9/include/Makefile	Mon Jan 14 22:00:43 2013	(r245439)
@@ -23,9 +23,12 @@ INCS=	a.out.h ar.h assert.h bitstring.h 
 	stdbool.h stddef.h stdio.h stdlib.h string.h stringlist.h \
 	strings.h sysexits.h tar.h termios.h tgmath.h \
 	time.h timeconv.h timers.h ttyent.h \
-	ulimit.h unistd.h utime.h utmpx.h uuid.h varargs.h vis.h \
+	ulimit.h unistd.h utime.h utmpx.h uuid.h varargs.h \
 	wchar.h wctype.h wordexp.h xlocale.h
 
+.PATH: ${.CURDIR}/../contrib/libc-vis
+INCS+=	vis.h
+
 MHDRS=	float.h floatingpoint.h stdarg.h
 
 PHDRS=	sched.h _semaphore.h

Modified: stable/9/lib/libc/gen/Makefile.inc
==============================================================================
--- stable/9/lib/libc/gen/Makefile.inc	Mon Jan 14 21:31:27 2013	(r245438)
+++ stable/9/lib/libc/gen/Makefile.inc	Mon Jan 14 22:00:43 2013	(r245439)
@@ -32,13 +32,17 @@ SRCS+=  __getosreldate.c __xuname.c \
 	sigsetops.c sleep.c srand48.c statvfs.c stringlist.c strtofflags.c \
 	sysconf.c sysctl.c sysctlbyname.c sysctlnametomib.c \
 	syslog.c telldir.c termios.c time.c times.c timezone.c tls.c \
-	ttyname.c ttyslot.c ualarm.c ulimit.c uname.c unvis.c \
-	usleep.c utime.c utxdb.c valloc.c vis.c wait.c wait3.c waitpid.c \
+	ttyname.c ttyslot.c ualarm.c ulimit.c uname.c unvis-compat.c \
+	usleep.c utime.c utxdb.c valloc.c wait.c wait3.c waitpid.c \
 	waitid.c wordexp.c
 
 .PATH: ${.CURDIR}/../../contrib/libc-pwcache
 SRCS+=	pwcache.c pwcache.h
 
+.PATH: ${.CURDIR}/../../contrib/libc-vis
+CFLAGS+=	-I${.CURDIR}/../../contrib/libc-vis
+SRCS+=	unvis.c vis.c
+
 CANCELPOINTS_SRCS=sem.c sem_new.c
 .for src in ${CANCELPOINTS_SRCS}
 SRCS+=cancelpoints_${src}

Modified: stable/9/lib/libc/gen/Symbol.map
==============================================================================
--- stable/9/lib/libc/gen/Symbol.map	Mon Jan 14 21:31:27 2013	(r245438)
+++ stable/9/lib/libc/gen/Symbol.map	Mon Jan 14 22:00:43 2013	(r245439)
@@ -297,7 +297,6 @@ FBSD_1.0 {
 	ualarm;
 	ulimit;
 	uname;
-	unvis;
 	strunvis;
 	strunvisx;
 	usleep;
@@ -385,9 +384,21 @@ FBSD_1.3 {
 	__FreeBSD_libc_enter_restricted_mode;
 	getcontextx;
 	gid_from_group;
+	nvis;
 	pwcache_userdb;
 	pwcache_groupdb;
+	snvis;
+	strnunvis;
+	strnunvisx;
+	strnvis;
+	strnvisx;
+	strsnvis;
+	strsnvisx;
+	strsvis;
+	strsvisx;
+	svis;
 	uid_from_user;
+	unvis;
 	waitid;
 };
 

Copied: stable/9/lib/libc/gen/unvis-compat.c (from r244401, head/lib/libc/gen/unvis-compat.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/9/lib/libc/gen/unvis-compat.c	Mon Jan 14 22:00:43 2013	(r245439, copy of r244401, head/lib/libc/gen/unvis-compat.c)
@@ -0,0 +1,46 @@
+/*-
+ * Copyright (c) 2012 SRI International
+ * All rights reserved.
+ *
+ * This software was developed by SRI International and the University of
+ * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
+ * ("CTSRD"), as part of the DARPA CRASH research programme.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#include <vis.h>
+
+#define	_UNVIS_END	1
+
+int
+__unvis_44bsd(char *cp, int c, int *astate, int flag)
+{
+
+	if (flag & _UNVIS_END)
+		flag = (flag & ~_UNVIS_END) ^ UNVIS_END;
+	return unvis(cp, c, astate, flag);
+}
+
+__sym_compat(unvis, __vis_44bsd, FBSD_1.0);

From owner-svn-src-stable@FreeBSD.ORG  Tue Jan 15 05:11:30 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id F14D67E4;
 Tue, 15 Jan 2013 05:11:29 +0000 (UTC)
 (envelope-from adrian.chadd@gmail.com)
Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49])
 by mx1.freebsd.org (Postfix) with ESMTP id 0007A8AB;
 Tue, 15 Jan 2013 05:11:28 +0000 (UTC)
Received: by mail-wg0-f49.google.com with SMTP id 15so2430313wgd.4
 for <multiple recipients>; Mon, 14 Jan 2013 21:11:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date
 :x-google-sender-auth:message-id:subject:from:to:cc:content-type;
 bh=RZRC4bynF/R8BeWlMRKjzehxP770ixMCB6ZP+9QgIC4=;
 b=a59G4HtvL6TKbWmCu0UanqBMFFh78tVqk2t0xBi1SkHYeB9ullBDQ9WRPDx8RNGY/4
 rEaIklW5Jut2w3uAN/6qqPXoYPZPDnvXcLx8ajaFcc7m2Y9C7yZbOpo3vd4jqHZIv62Q
 vzs7tkmCx2fhleh6dFzqV+zE59XAwc+69l6OkhGvvjzx9m4bGkFXYie8IuMwaQ7bmwof
 PiZGdexVIV68DXLOyDP08y2ACdEOEQfJEaTRIHRG6JW5z8i/abwsz0Q57DM0Qux3UuL3
 yCw/3wHfmXkDBzUykLQFf9DEgmi5zhPm8+UbTfCeByNKI6uHXKuNIVIJyrFHHYhTTLCl
 AOlA==
MIME-Version: 1.0
Received: by 10.180.8.130 with SMTP id r2mr1258053wia.28.1358226687698; Mon,
 14 Jan 2013 21:11:27 -0800 (PST)
Sender: adrian.chadd@gmail.com
Received: by 10.217.57.9 with HTTP; Mon, 14 Jan 2013 21:11:27 -0800 (PST)
In-Reply-To: <201301141931.r0EJVjMp001935@svn.freebsd.org>
References: <201301141931.r0EJVjMp001935@svn.freebsd.org>
Date: Mon, 14 Jan 2013 21:11:27 -0800
X-Google-Sender-Auth: gRHHfR28jvG7bRIKYlmrCxkgs9Q
Message-ID: <CAJ-VmomfEWpRFA=w_Bq0OPsi=Up2RGdFCQavTAYJwa7dQ9ycPA@mail.gmail.com>
Subject: Re: svn commit: r245429 - in stable/9/sys/dev/ath/ath_hal: . ar9002
From: Adrian Chadd <adrian@freebsd.org>
To: Dimitry Andric <dim@freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1
Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org,
 src-committers@freebsd.org, svn-src-stable-9@freebsd.org
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2013 05:11:30 -0000

.. I think this may have broken STABLE-9? Have you test built it?



Adrian


On 14 January 2013 11:31, Dimitry Andric <dim@freebsd.org> wrote:
> Author: dim
> Date: Mon Jan 14 19:31:44 2013
> New Revision: 245429
> URL: http://svnweb.freebsd.org/changeset/base/245429
>
> Log:
>   Partial MFC of r234508 (by adrian):
>
>     "Upgrade" the AR9285 code to support PCI/ART EEPROM on flash.
>
>     I've just verified that this boots on an Atheros AP91. I haven't verified
>     it with traffic though, so YMMV.
>
>   (This is a prerequisite for the coming clang 3.2 upgrade.)
>
> Modified:
>   stable/9/sys/dev/ath/ath_hal/ah_eeprom_v4k.c
>   stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
> Directory Properties:
>   stable/9/sys/   (props changed)
>   stable/9/sys/dev/   (props changed)
>
> Modified: stable/9/sys/dev/ath/ath_hal/ah_eeprom_v4k.c
> ==============================================================================
> --- stable/9/sys/dev/ath/ath_hal/ah_eeprom_v4k.c        Mon Jan 14 18:01:19 2013        (r245428)
> +++ stable/9/sys/dev/ath/ath_hal/ah_eeprom_v4k.c        Mon Jan 14 19:31:44 2013        (r245429)
> @@ -298,12 +298,12 @@ ath_hal_v4kEepromAttach(struct ath_hal *
>                             "%s Error reading Eeprom MAGIC\n", __func__);
>                         return HAL_EEREAD;
>                 }
> -       }
> -       HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s Eeprom Magic = 0x%x\n",
> -           __func__, magic);
> -       if (magic != AR5416_EEPROM_MAGIC) {
> -               HALDEBUG(ah, HAL_DEBUG_ANY, "Bad magic number\n");
> -               return HAL_EEMAGIC;
> +               HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s Eeprom Magic = 0x%x\n",
> +                   __func__, magic);
> +               if (magic != AR5416_EEPROM_MAGIC) {
> +                       HALDEBUG(ah, HAL_DEBUG_ANY, "Bad magic number\n");
> +                       return HAL_EEMAGIC;
> +               }
>         }
>
>         ee = ath_hal_malloc(sizeof(HAL_EEPROM_v4k));
>
> Modified: stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
> ==============================================================================
> --- stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c Mon Jan 14 18:01:19 2013        (r245428)
> +++ stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c Mon Jan 14 19:31:44 2013        (r245429)
> @@ -134,6 +134,18 @@ ar9285Attach(uint16_t devid, HAL_SOFTC s
>
>         ar5416InitState(AH5416(ah), devid, sc, st, sh, status);
>
> +       /*
> +        * Use the "local" EEPROM data given to us by the higher layers.
> +        * This is a private copy out of system flash. The Linux ath9k
> +        * commit for the initial AR9130 support mentions MMIO flash
> +        * access is "unreliable." -adrian
> +        */
> +       if (eepromdata != AH_NULL) {
> +               AH_PRIVATE(ah)->ah_eepromRead = ath_hal_EepromDataRead;
> +               AH_PRIVATE(ah)->ah_eepromWrite = NULL;
> +               ah->ah_eepromdata = eepromdata;
> +       }
> +
>         /* XXX override with 9285 specific state */
>         /* override 5416 methods for our needs */
>         AH5416(ah)->ah_initPLL = ar9280InitPLL;

From owner-svn-src-stable@FreeBSD.ORG  Tue Jan 15 07:41:51 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 168DD2B4;
 Tue, 15 Jan 2013 07:41:51 +0000 (UTC) (envelope-from dim@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 082B51AB;
 Tue, 15 Jan 2013 07:41:51 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0F7fo0d031688;
 Tue, 15 Jan 2013 07:41:50 GMT (envelope-from dim@svn.freebsd.org)
Received: (from dim@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0F7fo86031687;
 Tue, 15 Jan 2013 07:41:50 GMT (envelope-from dim@svn.freebsd.org)
Message-Id: <201301150741.r0F7fo86031687@svn.freebsd.org>
From: Dimitry Andric <dim@FreeBSD.org>
Date: Tue, 15 Jan 2013 07:41:50 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245449 - stable/9/sys/dev/ath/ath_hal/ar9002
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2013 07:41:51 -0000

Author: dim
Date: Tue Jan 15 07:41:50 2013
New Revision: 245449
URL: http://svnweb.freebsd.org/changeset/base/245449

Log:
  Revert the MFC to sys/dev/ath/ath_hal/ar9002/ar9285_attach.c again,
  since it does not compile on stable/9.  During testing, I had a
  different local fix, so I failed to notice this did not work.  Apologies
  for the breakage.
  
  Pointy hat to:	dim

Modified:
  stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
==============================================================================
--- stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	Tue Jan 15 07:07:29 2013	(r245448)
+++ stable/9/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	Tue Jan 15 07:41:50 2013	(r245449)
@@ -134,18 +134,6 @@ ar9285Attach(uint16_t devid, HAL_SOFTC s
 
 	ar5416InitState(AH5416(ah), devid, sc, st, sh, status);
 
-	/*
-	 * Use the "local" EEPROM data given to us by the higher layers.
-	 * This is a private copy out of system flash. The Linux ath9k
-	 * commit for the initial AR9130 support mentions MMIO flash
-	 * access is "unreliable." -adrian
-	 */
-	if (eepromdata != AH_NULL) {
-		AH_PRIVATE(ah)->ah_eepromRead = ath_hal_EepromDataRead;
-		AH_PRIVATE(ah)->ah_eepromWrite = NULL;
-		ah->ah_eepromdata = eepromdata;
-	}
-
 	/* XXX override with 9285 specific state */
 	/* override 5416 methods for our needs */
 	AH5416(ah)->ah_initPLL = ar9280InitPLL;

From owner-svn-src-stable@FreeBSD.ORG  Tue Jan 15 09:14:19 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 16FEC77A;
 Tue, 15 Jan 2013 09:14:19 +0000 (UTC)
 (envelope-from bapt@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 09D23748;
 Tue, 15 Jan 2013 09:14:19 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0F9EI73059551;
 Tue, 15 Jan 2013 09:14:18 GMT (envelope-from bapt@svn.freebsd.org)
Received: (from bapt@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0F9EI7c059550;
 Tue, 15 Jan 2013 09:14:18 GMT (envelope-from bapt@svn.freebsd.org)
Message-Id: <201301150914.r0F9EI7c059550@svn.freebsd.org>
From: Baptiste Daroussin <bapt@FreeBSD.org>
Date: Tue, 15 Jan 2013 09:14:18 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245451 - stable/9/usr.sbin/pkg
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2013 09:14:19 -0000

Author: bapt
Date: Tue Jan 15 09:14:18 2013
New Revision: 245451
URL: http://svnweb.freebsd.org/changeset/base/245451

Log:
  MFC r244553,244594,244608,244639
  
  In preparation for making 'pkg -N' the one true method of determining
  whether a system has been configured to use pkgng, cause /usr/sbin/pkg
  recognise a -n option and exit with a failure code when the pkg port
  is not installed
  
  Submitted by:	matthew

Modified:
  stable/9/usr.sbin/pkg/pkg.c
Directory Properties:
  stable/9/usr.sbin/pkg/   (props changed)

Modified: stable/9/usr.sbin/pkg/pkg.c
==============================================================================
--- stable/9/usr.sbin/pkg/pkg.c	Tue Jan 15 08:26:16 2013	(r245450)
+++ stable/9/usr.sbin/pkg/pkg.c	Tue Jan 15 09:14:18 2013	(r245451)
@@ -452,6 +452,14 @@ main(__unused int argc, char *argv[])
 	    getenv("LOCALBASE") ? getenv("LOCALBASE") : _LOCALBASE);
 
 	if (access(pkgpath, X_OK) == -1) {
+		/* 
+		 * To allow 'pkg -N' to be used as a reliable test for whether
+		 * a system is configured to use pkg, don't bootstrap pkg
+		 * when that argument is given as argv[1].
+		 */
+		if (argv[1] != NULL && strcmp(argv[1], "-N") == 0)
+			errx(EXIT_FAILURE, "pkg is not installed");
+
 		/*
 		 * Do not ask for confirmation if either of stdin or stdout is
 		 * not tty. Check the environment to see if user has answer

From owner-svn-src-stable@FreeBSD.ORG  Tue Jan 15 09:17:08 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 4F091900;
 Tue, 15 Jan 2013 09:17:08 +0000 (UTC)
 (envelope-from bapt@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 4051775E;
 Tue, 15 Jan 2013 09:17:08 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0F9H8FD060019;
 Tue, 15 Jan 2013 09:17:08 GMT (envelope-from bapt@svn.freebsd.org)
Received: (from bapt@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0F9H8Og060018;
 Tue, 15 Jan 2013 09:17:08 GMT (envelope-from bapt@svn.freebsd.org)
Message-Id: <201301150917.r0F9H8Og060018@svn.freebsd.org>
From: Baptiste Daroussin <bapt@FreeBSD.org>
Date: Tue, 15 Jan 2013 09:17:08 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245452 - stable/8/usr.sbin/pkg
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2013 09:17:08 -0000

Author: bapt
Date: Tue Jan 15 09:17:07 2013
New Revision: 245452
URL: http://svnweb.freebsd.org/changeset/base/245452

Log:
  MFC r244553,244594,244608,244639
  
  In preparation for making 'pkg -N' the one true method of determining
  whether a system has been configured to use pkgng, cause /usr/sbin/pkg
  recognise a -N option and exit with a failure code when the pkg port
  is not installed
  
  Submitted by:	matthew

Modified:
  stable/8/usr.sbin/pkg/pkg.c
Directory Properties:
  stable/8/usr.sbin/pkg/   (props changed)

Modified: stable/8/usr.sbin/pkg/pkg.c
==============================================================================
--- stable/8/usr.sbin/pkg/pkg.c	Tue Jan 15 09:14:18 2013	(r245451)
+++ stable/8/usr.sbin/pkg/pkg.c	Tue Jan 15 09:17:07 2013	(r245452)
@@ -452,6 +452,14 @@ main(__unused int argc, char *argv[])
 	    getenv("LOCALBASE") ? getenv("LOCALBASE") : _LOCALBASE);
 
 	if (access(pkgpath, X_OK) == -1) {
+		/* 
+		 * To allow 'pkg -N' to be used as a reliable test for whether
+		 * a system is configured to use pkg, don't bootstrap pkg
+		 * when that argument is given as argv[1].
+		 */
+		if (argv[1] != NULL && strcmp(argv[1], "-N") == 0)
+			errx(EXIT_FAILURE, "pkg is not installed");
+
 		/*
 		 * Do not ask for confirmation if either of stdin or stdout is
 		 * not tty. Check the environment to see if user has answer

From owner-svn-src-stable@FreeBSD.ORG  Tue Jan 15 15:29:29 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id B6A5D26C;
 Tue, 15 Jan 2013 15:29:29 +0000 (UTC)
 (envelope-from kevlo@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 9E582F87;
 Tue, 15 Jan 2013 15:29:29 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0FFTTTi074433;
 Tue, 15 Jan 2013 15:29:29 GMT (envelope-from kevlo@svn.freebsd.org)
Received: (from kevlo@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0FFTT8P074432;
 Tue, 15 Jan 2013 15:29:29 GMT (envelope-from kevlo@svn.freebsd.org)
Message-Id: <201301151529.r0FFTT8P074432@svn.freebsd.org>
From: Kevin Lo <kevlo@FreeBSD.org>
Date: Tue, 15 Jan 2013 15:29:29 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245460 - stable/8/sys/libkern
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2013 15:29:29 -0000

Author: kevlo
Date: Tue Jan 15 15:29:28 2013
New Revision: 245460
URL: http://svnweb.freebsd.org/changeset/base/245460

Log:
  MFC r236899:
  
  Fix unloading of libiconv module.
  
  Previously it would either loop infinitely or exit with error leaking a lock.

Modified:
  stable/8/sys/libkern/iconv.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/libkern/   (props changed)

Modified: stable/8/sys/libkern/iconv.c
==============================================================================
--- stable/8/sys/libkern/iconv.c	Tue Jan 15 14:35:35 2013	(r245459)
+++ stable/8/sys/libkern/iconv.c	Tue Jan 15 15:29:28 2013	(r245460)
@@ -90,9 +90,11 @@ iconv_mod_unload(void)
 	struct iconv_cspair *csp;
 
 	sx_xlock(&iconv_lock);
-	while ((csp = TAILQ_FIRST(&iconv_cslist)) != NULL) {
-		if (csp->cp_refcount)
+	TAILQ_FOREACH(csp, &iconv_cslist, cp_link) {
+		if (csp->cp_refcount) {
+			sx_xunlock(&iconv_lock);
 			return EBUSY;
+		}
 	}
 
 	while ((csp = TAILQ_FIRST(&iconv_cslist)) != NULL)

From owner-svn-src-stable@FreeBSD.ORG  Tue Jan 15 15:33:18 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@FreeBSD.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 67ABB5F3;
 Tue, 15 Jan 2013 15:33:18 +0000 (UTC)
 (envelope-from kevlo@FreeBSD.org)
Received: from ns.kevlo.org (kevlo.org [220.128.136.52])
 by mx1.freebsd.org (Postfix) with ESMTP id E5717FD0;
 Tue, 15 Jan 2013 15:33:11 +0000 (UTC)
Received: from srg.kevlo.org (git.kevlo.org [220.128.136.52])
 by ns.kevlo.org (8.14.5/8.14.5) with ESMTP id r0FFUAs1035244;
 Tue, 15 Jan 2013 23:30:10 +0800 (CST)
 (envelope-from kevlo@FreeBSD.org)
Message-ID: <50F57623.9090004@FreeBSD.org>
Date: Tue, 15 Jan 2013 23:30:43 +0800
From: Kevin Lo <kevlo@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Alexey Dokuchaev <danfe@FreeBSD.org>
Subject: Re: svn commit: r245149 - stable/9/sys/libkern
References: <201301080443.r084hKsp017952@svn.freebsd.org>
 <20130114151811.GA99739@FreeBSD.org>
In-Reply-To: <20130114151811.GA99739@FreeBSD.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: svn-src-stable@FreeBSD.org, svn-src-all@FreeBSD.org,
 src-committers@FreeBSD.org, svn-src-stable-9@FreeBSD.org
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2013 15:33:18 -0000

On 2013/01/14 23:18, Alexey Dokuchaev wrote:
> On Tue, Jan 08, 2013 at 04:43:20AM +0000, Kevin Lo wrote:
>> New Revision: 245149
>> URL: http://svnweb.freebsd.org/changeset/base/245149
>>
>> Log:
>>    MFC r236899:
>>    
>>    Fix unloading of libiconv module.
> Do you plan to MFC this to stable/8 as well?

Done.

>
> ./danfe
>

     Kevin

From owner-svn-src-stable@FreeBSD.ORG  Tue Jan 15 15:48:22 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@FreeBSD.org
Received: by hub.freebsd.org (Postfix, from userid 1033)
 id 8CC2EB2F; Tue, 15 Jan 2013 15:48:22 +0000 (UTC)
Date: Tue, 15 Jan 2013 15:48:22 +0000
From: Alexey Dokuchaev <danfe@FreeBSD.org>
To: Kevin Lo <kevlo@FreeBSD.org>
Subject: Re: svn commit: r245149 - stable/9/sys/libkern
Message-ID: <20130115154822.GA55137@FreeBSD.org>
References: <201301080443.r084hKsp017952@svn.freebsd.org>
 <20130114151811.GA99739@FreeBSD.org> <50F57623.9090004@FreeBSD.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
In-Reply-To: <50F57623.9090004@FreeBSD.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: svn-src-stable@FreeBSD.org, svn-src-all@FreeBSD.org,
 src-committers@FreeBSD.org, svn-src-stable-9@FreeBSD.org
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2013 15:48:22 -0000

On Tue, Jan 15, 2013 at 11:30:43PM +0800, Kevin Lo wrote:
> On 2013/01/14 23:18, Alexey Dokuchaev wrote:
> >>Log:
> >>   MFC r236899:
> >>   Fix unloading of libiconv module.
> >Do you plan to MFC this to stable/8 as well?
> 
> Done.

Awesome, thanks!

./danfe

From owner-svn-src-stable@FreeBSD.ORG  Tue Jan 15 16:41:52 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id E1D82111;
 Tue, 15 Jan 2013 16:41:52 +0000 (UTC)
 (envelope-from brooks@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id D43436AC;
 Tue, 15 Jan 2013 16:41:52 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0FGfqwq097654;
 Tue, 15 Jan 2013 16:41:52 GMT (envelope-from brooks@svn.freebsd.org)
Received: (from brooks@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0FGfq3S097653;
 Tue, 15 Jan 2013 16:41:52 GMT (envelope-from brooks@svn.freebsd.org)
Message-Id: <201301151641.r0FGfq3S097653@svn.freebsd.org>
From: Brooks Davis <brooks@FreeBSD.org>
Date: Tue, 15 Jan 2013 16:41:52 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245461 - stable/9/lib
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2013 16:41:53 -0000

Author: brooks
Date: Tue Jan 15 16:41:52 2013
New Revision: 245461
URL: http://svnweb.freebsd.org/changeset/base/245461

Log:
  MFC r244557:
  
  Add libnetbsd, a thin compatibility layer intended to allow a limited
  set of NetBSD software to compile as part of the FreeBSD build with
  little or no modification.  It is built as a static library and not
  installed for general use.  Likewise, its header files are not
  installed.
  
  Sponsored by:	DARPA, AFRL

Added:
     - copied from r245440, head/lib/libnetbsd/
Directory Properties:
  stable/9/lib/libnetbsd/   (props changed)
Modified:
  stable/9/lib/Makefile   (contents, props changed)

Modified: stable/9/lib/Makefile
==============================================================================
--- stable/9/lib/Makefile	Tue Jan 15 15:29:28 2013	(r245460)
+++ stable/9/lib/Makefile	Tue Jan 15 16:41:52 2013	(r245461)
@@ -87,6 +87,7 @@ SUBDIR=	${SUBDIR_ORDERED} \
 	${_libmilter} \
 	${_libmp} \
 	${_libncp} \
+	libnetbsd \
 	${_libngatm} \
 	libopie \
 	libpam \

From owner-svn-src-stable@FreeBSD.ORG  Tue Jan 15 16:46:53 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 06EF73CF;
 Tue, 15 Jan 2013 16:46:53 +0000 (UTC)
 (envelope-from brooks@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id E6E226EE;
 Tue, 15 Jan 2013 16:46:52 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0FGkqbO098505;
 Tue, 15 Jan 2013 16:46:52 GMT (envelope-from brooks@svn.freebsd.org)
Received: (from brooks@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0FGkqax098500;
 Tue, 15 Jan 2013 16:46:52 GMT (envelope-from brooks@svn.freebsd.org)
Message-Id: <201301151646.r0FGkqax098500@svn.freebsd.org>
From: Brooks Davis <brooks@FreeBSD.org>
Date: Tue, 15 Jan 2013 16:46:51 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245462 - in stable/9: share/man/man5 share/mk
 tools/build/options usr.sbin usr.sbin/mtree
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jan 2013 16:46:53 -0000

Author: brooks
Date: Tue Jan 15 16:46:51 2013
New Revision: 245462
URL: http://svnweb.freebsd.org/changeset/base/245462

Log:
  MFC r244562,245241,245435
  
  Add NetBSD's mtree to the tree and install it as nmtree.
  
  Always install our mtree as /usr/sbin/fmtree and link it as
  /usr/sbin/mtree by default.
  
  Add a src.conf option WITH_NMTREE that causes NetBSD's mtree to be linked
  as /usr/sbin/mtree as well as /usr/sbin/nmtree.
  
  Sponsored by:	DARPA, AFRL

Added:
     - copied from r245460, head/contrib/mknod/
     - copied from r245442, head/contrib/mtree/
  stable/9/tools/build/options/WITH_NMTREE
     - copied, changed from r245241, head/tools/build/options/WITH_NMTREE
     - copied from r245442, head/usr.sbin/nmtree/
Directory Properties:
  stable/9/contrib/mknod/   (props changed)
  stable/9/contrib/mtree/   (props changed)
  stable/9/usr.sbin/nmtree/   (props changed)
Modified:
  stable/9/share/man/man5/src.conf.5
  stable/9/share/mk/bsd.own.mk
  stable/9/usr.sbin/Makefile   (contents, props changed)
  stable/9/usr.sbin/mtree/Makefile
Directory Properties:
  stable/9/share/man/man5/   (props changed)
  stable/9/share/mk/   (props changed)
  stable/9/tools/build/options/   (props changed)
  stable/9/usr.sbin/mtree/   (props changed)

Modified: stable/9/share/man/man5/src.conf.5
==============================================================================
--- stable/9/share/man/man5/src.conf.5	Tue Jan 15 16:41:52 2013	(r245461)
+++ stable/9/share/man/man5/src.conf.5	Tue Jan 15 16:46:51 2013	(r245462)
@@ -1,7 +1,7 @@
 .\" DO NOT EDIT-- this file is automatically generated.
 .\" from FreeBSD: stable/9/tools/build/options/makeman 221733 2011-05-10 13:01:11Z ru
 .\" $FreeBSD$
-.Dd May 13, 2012
+.Dd January 14, 2013
 .Dt SRC.CONF 5
 .Os
 .Sh NAME
@@ -740,6 +740,16 @@ Set to not build NLS catalogs.
 .\" from FreeBSD: stable/9/tools/build/options/WITHOUT_NLS_CATALOGS 156932 2006-03-21 07:50:50Z ru
 Set to not build NLS catalog support for
 .Xr csh 1 .
+.It Va WITH_NMTREE
+.\" from FreeBSD: head/tools/build/options/WITH_NMTREE 245241 2013-01-09 21:07:08Z brooks
+Set to install
+.Xr nmtree 8
+as
+.Xr mtree 8 .
+By default
+.Xr fmtree 8
+is installed as
+.Xr mtree 8 .
 .It Va WITHOUT_NS_CACHING
 .\" from FreeBSD: stable/9/tools/build/options/WITHOUT_NS_CACHING 172803 2007-10-19 14:01:25Z ru
 Set to disable name caching in the

Modified: stable/9/share/mk/bsd.own.mk
==============================================================================
--- stable/9/share/mk/bsd.own.mk	Tue Jan 15 16:41:52 2013	(r245461)
+++ stable/9/share/mk/bsd.own.mk	Tue Jan 15 16:46:51 2013	(r245462)
@@ -428,6 +428,7 @@ __DEFAULT_NO_OPTIONS = \
     ICONV \
     IDEA \
     LIBCPLUSPLUS \
+    NMTREE \
     OFED \
     SHARED_TOOLCHAIN
 

Copied and modified: stable/9/tools/build/options/WITH_NMTREE (from r245241, head/tools/build/options/WITH_NMTREE)
==============================================================================
--- head/tools/build/options/WITH_NMTREE	Wed Jan  9 21:07:08 2013	(r245241, copy source)
+++ stable/9/tools/build/options/WITH_NMTREE	Tue Jan 15 16:46:51 2013	(r245462)
@@ -1,4 +1,4 @@
-\" $FreeBSD$
+.\" $FreeBSD$
 Set to install
 .Xr nmtree 8
 as

Modified: stable/9/usr.sbin/Makefile
==============================================================================
--- stable/9/usr.sbin/Makefile	Tue Jan 15 16:41:52 2013	(r245461)
+++ stable/9/usr.sbin/Makefile	Tue Jan 15 16:46:51 2013	(r245462)
@@ -54,6 +54,7 @@ SUBDIR=	adduser \
 	nfsdumpstate \
 	nfsrevoke \
 	nfsuserd \
+	nmtree \
 	nologin \
 	pc-sysinstall \
 	pciconf \

Modified: stable/9/usr.sbin/mtree/Makefile
==============================================================================
--- stable/9/usr.sbin/mtree/Makefile	Tue Jan 15 16:41:52 2013	(r245461)
+++ stable/9/usr.sbin/mtree/Makefile	Tue Jan 15 16:46:51 2013	(r245462)
@@ -1,10 +1,12 @@
 #	From: @(#)Makefile	8.1 (Berkeley) 6/6/93
 # $FreeBSD$
 
+.include <bsd.own.mk>
+
 .PATH: ${.CURDIR}/../../usr.bin/cksum
 
-PROG=	mtree
-MAN=	mtree.8 mtree.5
+PROG=	fmtree
+MAN=	fmtree.8 mtree.5
 SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
 SRCS+=	specspec.c
 
@@ -12,4 +14,14 @@ CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256
 DPADD=	${LIBMD}
 LDADD=	-lmd
 
+.if ${MK_NMTREE} == "no"
+LINKS=	${BINDIR}/fmtree ${BINDIR}/mtree
+MLINKS=	fmtree.8 mtree.8
+.endif
+
+CLEANFILES+=	fmtree.8
+
+fmtree.8: mtree.8
+	cp ${.ALLSRC} ${.TARGET}
+
 .include <bsd.prog.mk>

From owner-svn-src-stable@FreeBSD.ORG  Wed Jan 16 00:42:26 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 48240E55;
 Wed, 16 Jan 2013 00:42:26 +0000 (UTC)
 (envelope-from delphij@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 390A093E;
 Wed, 16 Jan 2013 00:42:26 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0G0gQOL007439;
 Wed, 16 Jan 2013 00:42:26 GMT (envelope-from delphij@svn.freebsd.org)
Received: (from delphij@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0G0gQcq007437;
 Wed, 16 Jan 2013 00:42:26 GMT (envelope-from delphij@svn.freebsd.org)
Message-Id: <201301160042.r0G0gQcq007437@svn.freebsd.org>
From: Xin LI <delphij@FreeBSD.org>
Date: Wed, 16 Jan 2013 00:42:26 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245481 - stable/9/crypto/openssl/crypto/bn
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jan 2013 00:42:26 -0000

Author: delphij
Date: Wed Jan 16 00:42:25 2013
New Revision: 245481
URL: http://svnweb.freebsd.org/changeset/base/245481

Log:
  MFC r244973:
  
  Integrate OpenSSL changeset 22950 (appro):
  
  	bn_word.c: fix overflow bug in BN_add_word.

Modified:
  stable/9/crypto/openssl/crypto/bn/bn_word.c
Directory Properties:
  stable/9/crypto/openssl/   (props changed)

Modified: stable/9/crypto/openssl/crypto/bn/bn_word.c
==============================================================================
--- stable/9/crypto/openssl/crypto/bn/bn_word.c	Wed Jan 16 00:17:47 2013	(r245480)
+++ stable/9/crypto/openssl/crypto/bn/bn_word.c	Wed Jan 16 00:42:25 2013	(r245481)
@@ -144,26 +144,17 @@ int BN_add_word(BIGNUM *a, BN_ULONG w)
 			a->neg=!(a->neg);
 		return(i);
 		}
-	/* Only expand (and risk failing) if it's possibly necessary */
-	if (((BN_ULONG)(a->d[a->top - 1] + 1) == 0) &&
-			(bn_wexpand(a,a->top+1) == NULL))
-		return(0);
-	i=0;
-	for (;;)
+	for (i=0;w!=0 && i<a->top;i++)
 		{
-		if (i >= a->top)
-			l=w;
-		else
-			l=(a->d[i]+w)&BN_MASK2;
-		a->d[i]=l;
-		if (w > l)
-			w=1;
-		else
-			break;
-		i++;
+		a->d[i] = l = (a->d[i]+w)&BN_MASK2;
+		w = (w>l)?1:0;
 		}
-	if (i >= a->top)
+	if (w && i==a->top)
+		{
+		if (bn_wexpand(a,a->top+1) == NULL) return 0;
 		a->top++;
+		a->d[i]=w;
+		}
 	bn_check_top(a);
 	return(1);
 	}

From owner-svn-src-stable@FreeBSD.ORG  Wed Jan 16 00:45:06 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 3414C161;
 Wed, 16 Jan 2013 00:45:06 +0000 (UTC)
 (envelope-from delphij@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 23CD596E;
 Wed, 16 Jan 2013 00:45:06 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0G0j6vp007870;
 Wed, 16 Jan 2013 00:45:06 GMT (envelope-from delphij@svn.freebsd.org)
Received: (from delphij@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0G0j6X4007869;
 Wed, 16 Jan 2013 00:45:06 GMT (envelope-from delphij@svn.freebsd.org)
Message-Id: <201301160045.r0G0j6X4007869@svn.freebsd.org>
From: Xin LI <delphij@FreeBSD.org>
Date: Wed, 16 Jan 2013 00:45:05 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245482 - stable/9/crypto/openssl/crypto
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jan 2013 00:45:06 -0000

Author: delphij
Date: Wed Jan 16 00:45:05 2013
New Revision: 245482
URL: http://svnweb.freebsd.org/changeset/base/245482

Log:
  MFC r244975:
  
  Indicate that we are using OpenSSL with some local modifications.

Modified:
  stable/9/crypto/openssl/crypto/opensslv.h
Directory Properties:
  stable/9/crypto/openssl/   (props changed)

Modified: stable/9/crypto/openssl/crypto/opensslv.h
==============================================================================
--- stable/9/crypto/openssl/crypto/opensslv.h	Wed Jan 16 00:42:25 2013	(r245481)
+++ stable/9/crypto/openssl/crypto/opensslv.h	Wed Jan 16 00:45:05 2013	(r245482)
@@ -29,7 +29,7 @@
 #ifdef OPENSSL_FIPS
 #define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8x-fips 10 May 2012"
 #else
-#define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8x 10 May 2012"
+#define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8x-freebsd 10 May 2012"
 #endif
 #define OPENSSL_VERSION_PTEXT	" part of " OPENSSL_VERSION_TEXT
 

From owner-svn-src-stable@FreeBSD.ORG  Wed Jan 16 00:52:37 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 8895649B;
 Wed, 16 Jan 2013 00:52:37 +0000 (UTC)
 (envelope-from delphij@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 6FE8C9CE;
 Wed, 16 Jan 2013 00:52:37 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0G0qbxc010490;
 Wed, 16 Jan 2013 00:52:37 GMT (envelope-from delphij@svn.freebsd.org)
Received: (from delphij@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0G0qbSv010489;
 Wed, 16 Jan 2013 00:52:37 GMT (envelope-from delphij@svn.freebsd.org)
Message-Id: <201301160052.r0G0qbSv010489@svn.freebsd.org>
From: Xin LI <delphij@FreeBSD.org>
Date: Wed, 16 Jan 2013 00:52:37 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245483 - stable/8/crypto/openssl/crypto/bn
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jan 2013 00:52:37 -0000

Author: delphij
Date: Wed Jan 16 00:52:36 2013
New Revision: 245483
URL: http://svnweb.freebsd.org/changeset/base/245483

Log:
  MFC r244974:
  
  MFV r244973:
  
    Integrate OpenSSL changeset 22950 (appro):
  
          bn_word.c: fix overflow bug in BN_add_word.

Modified:
  stable/8/crypto/openssl/crypto/bn/bn_word.c
Directory Properties:
  stable/8/crypto/openssl/   (props changed)

Modified: stable/8/crypto/openssl/crypto/bn/bn_word.c
==============================================================================
--- stable/8/crypto/openssl/crypto/bn/bn_word.c	Wed Jan 16 00:45:05 2013	(r245482)
+++ stable/8/crypto/openssl/crypto/bn/bn_word.c	Wed Jan 16 00:52:36 2013	(r245483)
@@ -144,26 +144,17 @@ int BN_add_word(BIGNUM *a, BN_ULONG w)
 			a->neg=!(a->neg);
 		return(i);
 		}
-	/* Only expand (and risk failing) if it's possibly necessary */
-	if (((BN_ULONG)(a->d[a->top - 1] + 1) == 0) &&
-			(bn_wexpand(a,a->top+1) == NULL))
-		return(0);
-	i=0;
-	for (;;)
+	for (i=0;w!=0 && i<a->top;i++)
 		{
-		if (i >= a->top)
-			l=w;
-		else
-			l=(a->d[i]+w)&BN_MASK2;
-		a->d[i]=l;
-		if (w > l)
-			w=1;
-		else
-			break;
-		i++;
+		a->d[i] = l = (a->d[i]+w)&BN_MASK2;
+		w = (w>l)?1:0;
 		}
-	if (i >= a->top)
+	if (w && i==a->top)
+		{
+		if (bn_wexpand(a,a->top+1) == NULL) return 0;
 		a->top++;
+		a->d[i]=w;
+		}
 	bn_check_top(a);
 	return(1);
 	}

From owner-svn-src-stable@FreeBSD.ORG  Wed Jan 16 00:54:52 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 24C1E62A;
 Wed, 16 Jan 2013 00:54:52 +0000 (UTC)
 (envelope-from delphij@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 16F8B9EC;
 Wed, 16 Jan 2013 00:54:52 +0000 (UTC)
Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0G0speT010816;
 Wed, 16 Jan 2013 00:54:51 GMT (envelope-from delphij@svn.freebsd.org)
Received: (from delphij@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0G0spNc010815;
 Wed, 16 Jan 2013 00:54:51 GMT (envelope-from delphij@svn.freebsd.org)
Message-Id: <201301160054.r0G0spNc010815@svn.freebsd.org>
From: Xin LI <delphij@FreeBSD.org>
Date: Wed, 16 Jan 2013 00:54:51 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245484 - stable/8/crypto/openssl/crypto
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jan 2013 00:54:52 -0000

Author: delphij
Date: Wed Jan 16 00:54:51 2013
New Revision: 245484
URL: http://svnweb.freebsd.org/changeset/base/245484

Log:
  MFC r244975:
  
  Indicate that we are using OpenSSL with some local modifications.

Modified:
  stable/8/crypto/openssl/crypto/opensslv.h
Directory Properties:
  stable/8/crypto/openssl/   (props changed)

Modified: stable/8/crypto/openssl/crypto/opensslv.h
==============================================================================
--- stable/8/crypto/openssl/crypto/opensslv.h	Wed Jan 16 00:52:36 2013	(r245483)
+++ stable/8/crypto/openssl/crypto/opensslv.h	Wed Jan 16 00:54:51 2013	(r245484)
@@ -29,7 +29,7 @@
 #ifdef OPENSSL_FIPS
 #define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8x-fips 10 May 2012"
 #else
-#define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8x 10 May 2012"
+#define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8x-freebsd 10 May 2012"
 #endif
 #define OPENSSL_VERSION_PTEXT	" part of " OPENSSL_VERSION_TEXT
 

From owner-svn-src-stable@FreeBSD.ORG  Thu Jan 17 00:42:31 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id A406FEA1;
 Thu, 17 Jan 2013 00:42:31 +0000 (UTC)
 (envelope-from delphij@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 7B9ADB1D;
 Thu, 17 Jan 2013 00:42:31 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0H0gVpt025261;
 Thu, 17 Jan 2013 00:42:31 GMT (envelope-from delphij@svn.freebsd.org)
Received: (from delphij@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0H0gVvv025260;
 Thu, 17 Jan 2013 00:42:31 GMT (envelope-from delphij@svn.freebsd.org)
Message-Id: <201301170042.r0H0gVvv025260@svn.freebsd.org>
From: Xin LI <delphij@FreeBSD.org>
Date: Thu, 17 Jan 2013 00:42:31 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245521 - stable/9/share/man/man4
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jan 2013 00:42:31 -0000

Author: delphij
Date: Thu Jan 17 00:42:30 2013
New Revision: 245521
URL: http://svnweb.freebsd.org/changeset/base/245521

Log:
  MFC r245006:
  
  Sync with driver.

Modified:
  stable/9/share/man/man4/mps.4

Modified: stable/9/share/man/man4/mps.4
==============================================================================
--- stable/9/share/man/man4/mps.4	Thu Jan 17 00:21:45 2013	(r245520)
+++ stable/9/share/man/man4/mps.4	Thu Jan 17 00:42:30 2013	(r245521)
@@ -34,7 +34,7 @@
 .\" $Id: //depot/SpectraBSD/head/share/man/man4/mps.4#6 $
 .\" $FreeBSD$
 .\"
-.Dd June 30, 2012
+.Dd January 3, 2013
 .Dt MPS 4
 .Os
 .Sh NAME
@@ -62,7 +62,7 @@ controllers and WarpDrive solid state st
 .Sh HARDWARE
 The
 .Nm
-driver supports the following controllers:
+driver supports the following hardware:
 .Pp
 .Bl -bullet -compact
 .It
@@ -80,6 +80,19 @@ LSI Logic SAS2116 (16 Port
 .It
 LSI Logic SAS2208 (8 Port
 .Tn SAS )
+.It
+LSI Logic SAS2308 (8 Port
+.Tn SAS )
+.It
+LSI Logic SSS6200 Solid State Storage
+.It
+Intel Integrated RAID Module RMS25JB040
+.It
+Intel Integrated RAID Module RMS25JB080
+.It
+Intel Integrated RAID Module RMS25KB040
+.It
+Intel Integrated RAID Module RMS25KB080
 .El
 .Sh CONFIGURATION
 To disable MSI interrupts for all

From owner-svn-src-stable@FreeBSD.ORG  Thu Jan 17 02:42:09 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 2216BBD8;
 Thu, 17 Jan 2013 02:42:09 +0000 (UTC) (envelope-from mjg@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 0EABF1EB;
 Thu, 17 Jan 2013 02:42:09 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0H2g86D061445;
 Thu, 17 Jan 2013 02:42:08 GMT (envelope-from mjg@svn.freebsd.org)
Received: (from mjg@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0H2g8J6061444;
 Thu, 17 Jan 2013 02:42:08 GMT (envelope-from mjg@svn.freebsd.org)
Message-Id: <201301170242.r0H2g8J6061444@svn.freebsd.org>
From: Mateusz Guzik <mjg@FreeBSD.org>
Date: Thu, 17 Jan 2013 02:42:08 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245530 - stable/9/usr.bin/procstat
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jan 2013 02:42:09 -0000

Author: mjg
Date: Thu Jan 17 02:42:08 2013
New Revision: 245530
URL: http://svnweb.freebsd.org/changeset/base/245530

Log:
  MFC r245345:
  procstat: only one mode flag can be specified, but required check for 'i'
  and 'j' modes was missing. Fix that.

Modified:
  stable/9/usr.bin/procstat/procstat.c
Directory Properties:
  stable/9/usr.bin/procstat/   (props changed)

Modified: stable/9/usr.bin/procstat/procstat.c
==============================================================================
--- stable/9/usr.bin/procstat/procstat.c	Thu Jan 17 02:30:32 2013	(r245529)
+++ stable/9/usr.bin/procstat/procstat.c	Thu Jan 17 02:42:08 2013	(r245530)
@@ -216,8 +216,8 @@ main(int argc, char *argv[])
 	argv += optind;
 
 	/* We require that either 0 or 1 mode flags be set. */
-	tmp = bflag + cflag + eflag + fflag + (kflag ? 1 : 0) + lflag + sflag +
-	    tflag + vflag + xflag;
+	tmp = bflag + cflag + eflag + fflag + iflag + jflag + (kflag ? 1 : 0) +
+	    lflag + sflag + tflag + vflag + xflag;
 	if (!(tmp == 0 || tmp == 1))
 		usage();
 

From owner-svn-src-stable@FreeBSD.ORG  Thu Jan 17 16:11:39 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 2844D10D;
 Thu, 17 Jan 2013 16:11:39 +0000 (UTC) (envelope-from ume@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 19D8CAF0;
 Thu, 17 Jan 2013 16:11:39 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0HGBcks004385;
 Thu, 17 Jan 2013 16:11:38 GMT (envelope-from ume@svn.freebsd.org)
Received: (from ume@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0HGBciH004383;
 Thu, 17 Jan 2013 16:11:38 GMT (envelope-from ume@svn.freebsd.org)
Message-Id: <201301171611.r0HGBciH004383@svn.freebsd.org>
From: Hajimu UMEMOTO <ume@FreeBSD.org>
Date: Thu, 17 Jan 2013 16:11:38 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245553 - stable/9/lib/libc/net
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jan 2013 16:11:39 -0000

Author: ume
Date: Thu Jan 17 16:11:38 2013
New Revision: 245553
URL: http://svnweb.freebsd.org/changeset/base/245553

Log:
  MFC r245225, r245256: Restrict use of source address selection
  of getipnodebyname(1) only to IPv6 address.

Modified:
  stable/9/lib/libc/net/name6.c
Directory Properties:
  stable/9/lib/libc/   (props changed)

Modified: stable/9/lib/libc/net/name6.c
==============================================================================
--- stable/9/lib/libc/net/name6.c	Thu Jan 17 15:45:45 2013	(r245552)
+++ stable/9/lib/libc/net/name6.c	Thu Jan 17 16:11:38 2013	(r245553)
@@ -200,6 +200,7 @@ static struct	 hostent *_hpmapv6(struct 
 #endif
 static struct	 hostent *_hpsort(struct hostent *, res_state);
 
+#ifdef INET6
 static struct	 hostent *_hpreorder(struct hostent *);
 static int	 get_addrselectpolicy(struct policyhead *);
 static void	 free_addrselectpolicy(struct policyhead *);
@@ -209,6 +210,7 @@ static void	 set_source(struct hp_order 
 static int	 matchlen(struct sockaddr *, struct sockaddr *);
 static int	 comp_dst(const void *, const void *);
 static int	 gai_addr2scopetype(struct sockaddr *);
+#endif
 
 /*
  * Functions defined in RFC2553
@@ -285,8 +287,10 @@ getipnodebyname(const char *name, int af
 	
 	hp = gethostbyname2(name, af);
 	hp = _hpcopy(hp, errp);
-
 #ifdef INET6
+	if (af == AF_INET6)
+		hp = _hpreorder(hp);
+
 	if (af == AF_INET6 && ((flags & AI_ALL) || hp == NULL) &&
 	    MAPADDRENABLED(flags)) {
 		struct hostent *hp2 = gethostbyname2(name, AF_INET);
@@ -309,7 +313,7 @@ getipnodebyname(const char *name, int af
 		*errp = statp->res_h_errno;
 	
 	statp->options = options;
-	return _hpreorder(_hpsort(hp, statp));
+	return _hpsort(hp, statp);
 }
 
 struct hostent *
@@ -632,6 +636,7 @@ _hpsort(struct hostent *hp, res_state st
 	return hp;
 }
 
+#ifdef INET6
 /*
  * _hpreorder: sort address by default address selection
  */
@@ -1109,3 +1114,4 @@ gai_addr2scopetype(struct sockaddr *sa)
 		return(-1);
 	}
 }
+#endif

From owner-svn-src-stable@FreeBSD.ORG  Thu Jan 17 16:39:23 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id E1F67B39;
 Thu, 17 Jan 2013 16:39:23 +0000 (UTC) (envelope-from ume@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id BA293DDA;
 Thu, 17 Jan 2013 16:39:23 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0HGdNk8012160;
 Thu, 17 Jan 2013 16:39:23 GMT (envelope-from ume@svn.freebsd.org)
Received: (from ume@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0HGdMJK012150;
 Thu, 17 Jan 2013 16:39:22 GMT (envelope-from ume@svn.freebsd.org)
Message-Id: <201301171639.r0HGdMJK012150@svn.freebsd.org>
From: Hajimu UMEMOTO <ume@FreeBSD.org>
Date: Thu, 17 Jan 2013 16:39:22 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245555 - in stable/9: sbin/ifconfig sys/netinet6
 usr.sbin/ndp
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jan 2013 16:39:24 -0000

Author: ume
Date: Thu Jan 17 16:39:21 2013
New Revision: 245555
URL: http://svnweb.freebsd.org/changeset/base/245555

Log:
  MFC r245230: Add no_prefer_iface option.
  It stops treating the address on the interface as special by source
  address selection rule even when the interface is outgoing interface.
  This is desired in some situation.

Modified:
  stable/9/sbin/ifconfig/af_inet6.c
  stable/9/sbin/ifconfig/af_nd6.c
  stable/9/sbin/ifconfig/ifconfig.8
  stable/9/sys/netinet6/in6_src.c
  stable/9/sys/netinet6/nd6.h
  stable/9/usr.sbin/ndp/ndp.8
  stable/9/usr.sbin/ndp/ndp.c
Directory Properties:
  stable/9/sbin/ifconfig/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/usr.sbin/ndp/   (props changed)

Modified: stable/9/sbin/ifconfig/af_inet6.c
==============================================================================
--- stable/9/sbin/ifconfig/af_inet6.c	Thu Jan 17 16:26:40 2013	(r245554)
+++ stable/9/sbin/ifconfig/af_inet6.c	Thu Jan 17 16:39:21 2013	(r245555)
@@ -511,6 +511,8 @@ static struct cmd inet6_cmds[] = {
 	DEF_CMD("-prefer_source",-ND6_IFF_PREFER_SOURCE,setnd6flags),
 	DEF_CMD("auto_linklocal",ND6_IFF_AUTO_LINKLOCAL,setnd6flags),
 	DEF_CMD("-auto_linklocal",-ND6_IFF_AUTO_LINKLOCAL,setnd6flags),
+	DEF_CMD("no_prefer_iface",ND6_IFF_NO_PREFER_IFACE,setnd6flags),
+	DEF_CMD("-no_prefer_iface",-ND6_IFF_NO_PREFER_IFACE,setnd6flags),
 	DEF_CMD_ARG("pltime",        			setip6pltime),
 	DEF_CMD_ARG("vltime",        			setip6vltime),
 	DEF_CMD("eui64",	0,			setip6eui64),

Modified: stable/9/sbin/ifconfig/af_nd6.c
==============================================================================
--- stable/9/sbin/ifconfig/af_nd6.c	Thu Jan 17 16:26:40 2013	(r245554)
+++ stable/9/sbin/ifconfig/af_nd6.c	Thu Jan 17 16:39:21 2013	(r245555)
@@ -58,7 +58,7 @@ static const char rcsid[] =
 #define	MAX_SYSCTL_TRY	5
 #define	ND6BITS	"\020\001PERFORMNUD\002ACCEPT_RTADV\003PREFER_SOURCE" \
 		"\004IFDISABLED\005DONT_SET_IFROUTE\006AUTO_LINKLOCAL" \
-		"\007NO_RADR\020DEFAULTIF"
+		"\007NO_RADR\010NO_PREFER_IFACE\020DEFAULTIF"
 
 static int isnd6defif(int);
 void setnd6flags(const char *, int, int, const struct afswtch *);

Modified: stable/9/sbin/ifconfig/ifconfig.8
==============================================================================
--- stable/9/sbin/ifconfig/ifconfig.8	Thu Jan 17 16:26:40 2013	(r245554)
+++ stable/9/sbin/ifconfig/ifconfig.8	Thu Jan 17 16:39:21 2013	(r245555)
@@ -28,7 +28,7 @@
 .\"     From: @(#)ifconfig.8	8.3 (Berkeley) 1/5/94
 .\" $FreeBSD$
 .\"
-.Dd November 7, 2012
+.Dd January 10, 2013
 .Dt IFCONFIG 8
 .Os
 .Sh NAME
@@ -722,6 +722,13 @@ source address for outgoing packets.
 .It Cm -prefer_source
 Clear a flag
 .Cm prefer_source .
+.It Cm no_prefer_iface
+Set a flag to not prefer address on the interface as candidates of the
+source address for outgoing packets, even when the interface is
+outgoing interface.
+.It Cm -no_prefer_iface
+Clear a flag
+.Cm no_prefer_iface .
 .El
 .Pp
 The following parameters are specific to cloning

Modified: stable/9/sys/netinet6/in6_src.c
==============================================================================
--- stable/9/sys/netinet6/in6_src.c	Thu Jan 17 16:26:40 2013	(r245554)
+++ stable/9/sys/netinet6/in6_src.c	Thu Jan 17 16:39:21 2013	(r245555)
@@ -383,10 +383,12 @@ in6_selectsrc(struct sockaddr_in6 *dstso
 		 */
 
 		/* Rule 5: Prefer outgoing interface */
-		if (ia_best->ia_ifp == ifp && ia->ia_ifp != ifp)
-			NEXT(5);
-		if (ia_best->ia_ifp != ifp && ia->ia_ifp == ifp)
-			REPLACE(5);
+		if (!(ND_IFINFO(ifp)->flags & ND6_IFF_NO_PREFER_IFACE)) {
+			if (ia_best->ia_ifp == ifp && ia->ia_ifp != ifp)
+				NEXT(5);
+			if (ia_best->ia_ifp != ifp && ia->ia_ifp == ifp)
+				REPLACE(5);
+		}
 
 		/*
 		 * Rule 6: Prefer matching label

Modified: stable/9/sys/netinet6/nd6.h
==============================================================================
--- stable/9/sys/netinet6/nd6.h	Thu Jan 17 16:26:40 2013	(r245554)
+++ stable/9/sys/netinet6/nd6.h	Thu Jan 17 16:39:21 2013	(r245555)
@@ -86,6 +86,7 @@ struct nd_ifinfo {
 #define ND6_IFF_DONT_SET_IFROUTE	0x10
 #define ND6_IFF_AUTO_LINKLOCAL	0x20
 #define	ND6_IFF_NO_RADR		0x40
+#define ND6_IFF_NO_PREFER_IFACE	0x80 /* XXX: not related to ND. */
 
 #define	ND6_CREATE		LLE_CREATE
 #define	ND6_EXCLUSIVE		LLE_EXCLUSIVE

Modified: stable/9/usr.sbin/ndp/ndp.8
==============================================================================
--- stable/9/usr.sbin/ndp/ndp.8	Thu Jan 17 16:26:40 2013	(r245554)
+++ stable/9/usr.sbin/ndp/ndp.8	Thu Jan 17 16:39:21 2013	(r245555)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 2, 2009
+.Dd Jan 10, 2013
 .Dt NDP 8
 .Os
 .\"
@@ -201,6 +201,15 @@ For more details about the entire algori
 selection, see the
 .Pa IMPLEMENTATION
 file supplied with the KAME kit.
+.It Ic no_prefer_iface
+The address on the outgoing interface is preferred by source addess
+selection rule.
+If this flag is set, stop treating the address on the
+.Ar interface
+as special even when the
+.Ar interface
+is outgoing interface.
+The default value of this flag is off.
 .It Ic disabled
 Disable IPv6 operation on the interface.
 When disabled, the interface discards any IPv6 packets

Modified: stable/9/usr.sbin/ndp/ndp.c
==============================================================================
--- stable/9/usr.sbin/ndp/ndp.c	Thu Jan 17 16:26:40 2013	(r245554)
+++ stable/9/usr.sbin/ndp/ndp.c	Thu Jan 17 16:39:21 2013	(r245555)
@@ -1011,6 +1011,9 @@ ifinfo(ifname, argc, argv)
 #ifdef ND6_IFF_PREFER_SOURCE
 		SETFLAG("prefer_source", ND6_IFF_PREFER_SOURCE);
 #endif
+#ifdef ND6_IFF_NO_PREFER_IFACE
+		SETFLAG("no_prefer_iface", ND6_IFF_NO_PREFER_IFACE);
+#endif
 		SETVALUE("basereachable", ND.basereachable);
 		SETVALUE("retrans", ND.retrans);
 		SETVALUE("curhlim", ND.chlim);
@@ -1088,6 +1091,10 @@ ifinfo(ifname, argc, argv)
 		if ((ND.flags & ND6_IFF_PREFER_SOURCE))
 			printf("prefer_source ");
 #endif
+#ifdef ND6_IFF_NO_PREFER_IFACE
+		if ((ND.flags & ND6_IFF_NO_PREFER_IFACE))
+			printf("no_prefer_iface ");
+#endif
 	}
 	putc('\n', stdout);
 #undef ND

From owner-svn-src-stable@FreeBSD.ORG  Thu Jan 17 17:05:55 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 63E8A83D;
 Thu, 17 Jan 2013 17:05:55 +0000 (UTC) (envelope-from ume@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 55DF0F5C;
 Thu, 17 Jan 2013 17:05:55 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0HH5tDx020864;
 Thu, 17 Jan 2013 17:05:55 GMT (envelope-from ume@svn.freebsd.org)
Received: (from ume@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0HH5tfe020863;
 Thu, 17 Jan 2013 17:05:55 GMT (envelope-from ume@svn.freebsd.org)
Message-Id: <201301171705.r0HH5tfe020863@svn.freebsd.org>
From: Hajimu UMEMOTO <ume@FreeBSD.org>
Date: Thu, 17 Jan 2013 17:05:55 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245557 - stable/8/lib/libc/net
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jan 2013 17:05:55 -0000

Author: ume
Date: Thu Jan 17 17:05:54 2013
New Revision: 245557
URL: http://svnweb.freebsd.org/changeset/base/245557

Log:
  MFC r245225, r245256: Restrict use of source address selection
  of getipnodebyname(1) only to IPv6 address.

Modified:
  stable/8/lib/libc/net/name6.c
Directory Properties:
  stable/8/lib/libc/   (props changed)

Modified: stable/8/lib/libc/net/name6.c
==============================================================================
--- stable/8/lib/libc/net/name6.c	Thu Jan 17 16:43:59 2013	(r245556)
+++ stable/8/lib/libc/net/name6.c	Thu Jan 17 17:05:54 2013	(r245557)
@@ -200,6 +200,7 @@ static struct	 hostent *_hpmapv6(struct 
 #endif
 static struct	 hostent *_hpsort(struct hostent *, res_state);
 
+#ifdef INET6
 static struct	 hostent *_hpreorder(struct hostent *);
 static int	 get_addrselectpolicy(struct policyhead *);
 static void	 free_addrselectpolicy(struct policyhead *);
@@ -209,6 +210,7 @@ static void	 set_source(struct hp_order 
 static int	 matchlen(struct sockaddr *, struct sockaddr *);
 static int	 comp_dst(const void *, const void *);
 static int	 gai_addr2scopetype(struct sockaddr *);
+#endif
 
 /*
  * Functions defined in RFC2553
@@ -285,8 +287,10 @@ getipnodebyname(const char *name, int af
 	
 	hp = gethostbyname2(name, af);
 	hp = _hpcopy(hp, errp);
-
 #ifdef INET6
+	if (af == AF_INET6)
+		hp = _hpreorder(hp);
+
 	if (af == AF_INET6 && ((flags & AI_ALL) || hp == NULL) &&
 	    MAPADDRENABLED(flags)) {
 		struct hostent *hp2 = gethostbyname2(name, AF_INET);
@@ -309,7 +313,7 @@ getipnodebyname(const char *name, int af
 		*errp = statp->res_h_errno;
 	
 	statp->options = options;
-	return _hpreorder(_hpsort(hp, statp));
+	return _hpsort(hp, statp);
 }
 
 struct hostent *
@@ -632,6 +636,7 @@ _hpsort(struct hostent *hp, res_state st
 	return hp;
 }
 
+#ifdef INET6
 /*
  * _hpreorder: sort address by default address selection
  */
@@ -1109,3 +1114,4 @@ gai_addr2scopetype(struct sockaddr *sa)
 		return(-1);
 	}
 }
+#endif

From owner-svn-src-stable@FreeBSD.ORG  Thu Jan 17 17:08:10 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id C6220AEC;
 Thu, 17 Jan 2013 17:08:10 +0000 (UTC) (envelope-from ume@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id B8A99F80;
 Thu, 17 Jan 2013 17:08:10 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0HH8AJT021372;
 Thu, 17 Jan 2013 17:08:10 GMT (envelope-from ume@svn.freebsd.org)
Received: (from ume@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0HH8AIU021371;
 Thu, 17 Jan 2013 17:08:10 GMT (envelope-from ume@svn.freebsd.org)
Message-Id: <201301171708.r0HH8AIU021371@svn.freebsd.org>
From: Hajimu UMEMOTO <ume@FreeBSD.org>
Date: Thu, 17 Jan 2013 17:08:10 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject: svn commit: r245559 - stable/7/lib/libc/net
X-SVN-Group: stable-7
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jan 2013 17:08:10 -0000

Author: ume
Date: Thu Jan 17 17:08:10 2013
New Revision: 245559
URL: http://svnweb.freebsd.org/changeset/base/245559

Log:
  MFC r245225, r245256: Restrict use of source address selection
  of getipnodebyname(1) only to IPv6 address.

Modified:
  stable/7/lib/libc/net/name6.c
Directory Properties:
  stable/7/lib/libc/   (props changed)

Modified: stable/7/lib/libc/net/name6.c
==============================================================================
--- stable/7/lib/libc/net/name6.c	Thu Jan 17 17:07:54 2013	(r245558)
+++ stable/7/lib/libc/net/name6.c	Thu Jan 17 17:08:10 2013	(r245559)
@@ -200,6 +200,7 @@ static struct	 hostent *_hpmapv6(struct 
 #endif
 static struct	 hostent *_hpsort(struct hostent *, res_state);
 
+#ifdef INET6
 static struct	 hostent *_hpreorder(struct hostent *);
 static int	 get_addrselectpolicy(struct policyhead *);
 static void	 free_addrselectpolicy(struct policyhead *);
@@ -209,6 +210,7 @@ static void	 set_source(struct hp_order 
 static int	 matchlen(struct sockaddr *, struct sockaddr *);
 static int	 comp_dst(const void *, const void *);
 static int	 gai_addr2scopetype(struct sockaddr *);
+#endif
 
 /*
  * Functions defined in RFC2553
@@ -285,8 +287,10 @@ getipnodebyname(const char *name, int af
 	
 	hp = gethostbyname2(name, af);
 	hp = _hpcopy(hp, errp);
-
 #ifdef INET6
+	if (af == AF_INET6)
+		hp = _hpreorder(hp);
+
 	if (af == AF_INET6 && ((flags & AI_ALL) || hp == NULL) &&
 	    MAPADDRENABLED(flags)) {
 		struct hostent *hp2 = gethostbyname2(name, AF_INET);
@@ -309,7 +313,7 @@ getipnodebyname(const char *name, int af
 		*errp = statp->res_h_errno;
 	
 	statp->options = options;
-	return _hpreorder(_hpsort(hp, statp));
+	return _hpsort(hp, statp);
 }
 
 struct hostent *
@@ -632,6 +636,7 @@ _hpsort(struct hostent *hp, res_state st
 	return hp;
 }
 
+#ifdef INET6
 /*
  * _hpreorder: sort address by default address selection
  */
@@ -1111,3 +1116,4 @@ gai_addr2scopetype(struct sockaddr *sa)
 		return(-1);
 	}
 }
+#endif

From owner-svn-src-stable@FreeBSD.ORG  Fri Jan 18 04:23:56 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id A79BCF54;
 Fri, 18 Jan 2013 04:23:56 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 8E22AAFE;
 Fri, 18 Jan 2013 04:23:56 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0I4NujA042901;
 Fri, 18 Jan 2013 04:23:56 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0I4NtGe042892;
 Fri, 18 Jan 2013 04:23:55 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301180423.r0I4NtGe042892@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Fri, 18 Jan 2013 04:23:55 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245587 - in stable/9/sys: amd64/conf i386/conf ia64/conf
 powerpc/conf sparc64/conf
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2013 04:23:56 -0000

Author: kib
Date: Fri Jan 18 04:23:54 2013
New Revision: 245587
URL: http://svnweb.freebsd.org/changeset/base/245587

Log:
  MFC r245003:
  Enable the UFS quotas for big-iron GENERIC kernels.

Modified:
  stable/9/sys/amd64/conf/GENERIC
  stable/9/sys/i386/conf/GENERIC
  stable/9/sys/ia64/conf/GENERIC
  stable/9/sys/powerpc/conf/GENERIC
  stable/9/sys/powerpc/conf/GENERIC64
  stable/9/sys/sparc64/conf/GENERIC
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/amd64/conf/GENERIC
==============================================================================
--- stable/9/sys/amd64/conf/GENERIC	Fri Jan 18 03:15:49 2013	(r245586)
+++ stable/9/sys/amd64/conf/GENERIC	Fri Jan 18 04:23:54 2013	(r245587)
@@ -33,6 +33,7 @@ options 	SOFTUPDATES		# Enable FFS soft 
 options 	UFS_ACL			# Support for access control lists
 options 	UFS_DIRHASH		# Improve performance on big directories
 options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
+options 	QUOTA			# Enable disk quotas for UFS
 options 	MD_ROOT			# MD is a potential root device
 options 	NFSCL			# New Network Filesystem Client
 options 	NFSD			# New Network Filesystem Server

Modified: stable/9/sys/i386/conf/GENERIC
==============================================================================
--- stable/9/sys/i386/conf/GENERIC	Fri Jan 18 03:15:49 2013	(r245586)
+++ stable/9/sys/i386/conf/GENERIC	Fri Jan 18 04:23:54 2013	(r245587)
@@ -35,6 +35,7 @@ options 	SOFTUPDATES		# Enable FFS soft 
 options 	UFS_ACL			# Support for access control lists
 options 	UFS_DIRHASH		# Improve performance on big directories
 options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
+options 	QUOTA			# Enable disk quotas for UFS
 options 	MD_ROOT			# MD is a potential root device
 options 	NFSCL			# New Network Filesystem Client
 options 	NFSD			# New Network Filesystem Server

Modified: stable/9/sys/ia64/conf/GENERIC
==============================================================================
--- stable/9/sys/ia64/conf/GENERIC	Fri Jan 18 03:15:49 2013	(r245586)
+++ stable/9/sys/ia64/conf/GENERIC	Fri Jan 18 04:23:54 2013	(r245587)
@@ -58,6 +58,7 @@ options 	SYSVSHM		# SYSV-style shared me
 options 	UFS_ACL		# Support for access control lists
 options 	UFS_DIRHASH	# Hash-based directory lookup scheme
 options 	UFS_GJOURNAL	# Enable gjournal-based UFS journaling
+options 	QUOTA		# Enable disk quotas for UFS
 options 	_KPOSIX_PRIORITY_SCHEDULING	# Posix P1003_1B RT extensions
 options 	KDB		# Kernel debugger related code
 options 	KDB_TRACE	# Print a stack trace for a panic

Modified: stable/9/sys/powerpc/conf/GENERIC
==============================================================================
--- stable/9/sys/powerpc/conf/GENERIC	Fri Jan 18 03:15:49 2013	(r245586)
+++ stable/9/sys/powerpc/conf/GENERIC	Fri Jan 18 04:23:54 2013	(r245587)
@@ -40,6 +40,7 @@ options 	SOFTUPDATES		#Enable FFS soft u
 options 	UFS_ACL			#Support for access control lists
 options 	UFS_DIRHASH		#Improve performance on big directories
 options 	UFS_GJOURNAL		#Enable gjournal-based UFS journaling
+options 	QUOTA			#Enable disk quotas for UFS
 options 	MD_ROOT			#MD is a potential root device
 options 	NFSCL			#New Network Filesystem Client
 options 	NFSD			#New Network Filesystem Server

Modified: stable/9/sys/powerpc/conf/GENERIC64
==============================================================================
--- stable/9/sys/powerpc/conf/GENERIC64	Fri Jan 18 03:15:49 2013	(r245586)
+++ stable/9/sys/powerpc/conf/GENERIC64	Fri Jan 18 04:23:54 2013	(r245587)
@@ -40,6 +40,7 @@ options 	SOFTUPDATES		#Enable FFS soft u
 options 	UFS_ACL			#Support for access control lists
 options 	UFS_DIRHASH		#Improve performance on big directories
 options 	UFS_GJOURNAL		#Enable gjournal-based UFS journaling
+options 	QUOTA			#Enable disk quotas for UFS
 options 	MD_ROOT			#MD is a potential root device
 options 	NFSCL			#New Network Filesystem Client
 options 	NFSD			#New Network Filesystem Server

Modified: stable/9/sys/sparc64/conf/GENERIC
==============================================================================
--- stable/9/sys/sparc64/conf/GENERIC	Fri Jan 18 03:15:49 2013	(r245586)
+++ stable/9/sys/sparc64/conf/GENERIC	Fri Jan 18 04:23:54 2013	(r245587)
@@ -36,6 +36,7 @@ options 	SOFTUPDATES		# Enable FFS soft 
 options 	UFS_ACL			# Support for access control lists
 options 	UFS_DIRHASH		# Improve performance on big directories
 options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
+options 	QUOTA			# Enable disk quotas for UFS
 options 	MD_ROOT			# MD is a potential root device
 options 	NFSCL			# New Network Filesystem Client
 options 	NFSD			# New Network Filesystem Server

From owner-svn-src-stable@FreeBSD.ORG  Fri Jan 18 08:10:01 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 31C60FF0;
 Fri, 18 Jan 2013 08:10:01 +0000 (UTC) (envelope-from jh@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 0ACEB34B;
 Fri, 18 Jan 2013 08:10:01 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0I8A0gr009144;
 Fri, 18 Jan 2013 08:10:00 GMT (envelope-from jh@svn.freebsd.org)
Received: (from jh@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0I8A0aS009143;
 Fri, 18 Jan 2013 08:10:00 GMT (envelope-from jh@svn.freebsd.org)
Message-Id: <201301180810.r0I8A0aS009143@svn.freebsd.org>
From: Jaakko Heinonen <jh@FreeBSD.org>
Date: Fri, 18 Jan 2013 08:10:00 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245590 - stable/9/sys/dev/md
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2013 08:10:01 -0000

Author: jh
Date: Fri Jan 18 08:10:00 2013
New Revision: 245590
URL: http://svnweb.freebsd.org/changeset/base/245590

Log:
  MFC r243373:
  
  Print correct unit number when attaching preloaded memory disks.
  Retire now unused mdunits variable.

Modified:
  stable/9/sys/dev/md/md.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/md/md.c
==============================================================================
--- stable/9/sys/dev/md/md.c	Fri Jan 18 05:58:02 2013	(r245589)
+++ stable/9/sys/dev/md/md.c	Fri Jan 18 08:10:00 2013	(r245590)
@@ -131,7 +131,6 @@ static g_access_t g_md_access;
 static void g_md_dumpconf(struct sbuf *sb, const char *indent,
     struct g_geom *gp, struct g_consumer *cp __unused, struct g_provider *pp);
 
-static int mdunits;
 static struct cdev *status_dev = 0;
 static struct sx md_sx;
 static struct unrhdr *md_uh;
@@ -1243,7 +1242,7 @@ mdctlioctl(struct cdev *dev, u_long cmd,
 }
 
 static void
-md_preloaded(u_char *image, size_t length)
+md_preloaded(u_char *image, size_t length, const char *name)
 {
 	struct md_s *sc;
 	int error;
@@ -1261,6 +1260,10 @@ md_preloaded(u_char *image, size_t lengt
 		rootdevnames[0] = "ufs:/dev/md0";
 #endif
 	mdinit(sc);
+	if (name != NULL) {
+		printf("%s%d: Preloaded image <%s> %zd bytes at %p\n",
+		    MD_NAME, sc->unit, name, length, image);
+	}
 }
 
 static void
@@ -1281,7 +1284,7 @@ g_md_init(struct g_class *mp __unused)
 	md_uh = new_unrhdr(0, INT_MAX, NULL);
 #ifdef MD_ROOT_SIZE
 	sx_xlock(&md_sx);
-	md_preloaded(mfs_root.start, sizeof(mfs_root.start));
+	md_preloaded(mfs_root.start, sizeof(mfs_root.start), NULL);
 	sx_xunlock(&md_sx);
 #endif
 	/* XXX: are preload_* static or do they need Giant ? */
@@ -1297,10 +1300,8 @@ g_md_init(struct g_class *mp __unused)
 		ptr = preload_fetch_addr(mod);
 		len = preload_fetch_size(mod);
 		if (ptr != NULL && len != 0) {
-			printf("%s%d: Preloaded image <%s> %d bytes at %p\n",
-			    MD_NAME, mdunits, name, len, ptr);
 			sx_xlock(&md_sx);
-			md_preloaded(ptr, len);
+			md_preloaded(ptr, len, name);
 			sx_xunlock(&md_sx);
 		}
 	}

From owner-svn-src-stable@FreeBSD.ORG  Fri Jan 18 08:27:13 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 222DAA38;
 Fri, 18 Jan 2013 08:27:13 +0000 (UTC)
 (envelope-from pluknet@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 092AB62F;
 Fri, 18 Jan 2013 08:27:13 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0I8RC02014810;
 Fri, 18 Jan 2013 08:27:12 GMT (envelope-from pluknet@svn.freebsd.org)
Received: (from pluknet@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0I8RCZo014808;
 Fri, 18 Jan 2013 08:27:12 GMT (envelope-from pluknet@svn.freebsd.org)
Message-Id: <201301180827.r0I8RCZo014808@svn.freebsd.org>
From: Sergey Kandaurov <pluknet@FreeBSD.org>
Date: Fri, 18 Jan 2013 08:27:12 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245591 - stable/9/share/man/man9
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2013 08:27:13 -0000

Author: pluknet
Date: Fri Jan 18 08:27:12 2013
New Revision: 245591
URL: http://svnweb.freebsd.org/changeset/base/245591

Log:
  MFC r245268:
  The Giant lock is no longer used in the vm_map(9) part of the VM.
  While here, document that the process lock is acquired in vm_map_stack, too.

Modified:
  stable/9/share/man/man9/vm_map_insert.9
  stable/9/share/man/man9/vm_map_stack.9
Directory Properties:
  stable/9/share/man/man9/   (props changed)

Modified: stable/9/share/man/man9/vm_map_insert.9
==============================================================================
--- stable/9/share/man/man9/vm_map_insert.9	Fri Jan 18 08:10:00 2013	(r245590)
+++ stable/9/share/man/man9/vm_map_insert.9	Fri Jan 18 08:27:12 2013	(r245591)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 19, 2003
+.Dd January 11, 2013
 .Dt VM_MAP_INSERT 9
 .Os
 .Sh NAME
@@ -73,9 +73,6 @@ This function implicitly creates a new
 .Vt vm_map_entry
 by calling the internal function
 .Fn vm_map_entry_create .
-This function may use the
-.Va Giant
-lock to ensure that only a single thread is present in the function.
 .Sh RETURN VALUES
 The
 .Fn vm_map_insert

Modified: stable/9/share/man/man9/vm_map_stack.9
==============================================================================
--- stable/9/share/man/man9/vm_map_stack.9	Fri Jan 18 08:10:00 2013	(r245590)
+++ stable/9/share/man/man9/vm_map_stack.9	Fri Jan 18 08:27:12 2013	(r245591)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 19, 2003
+.Dd January 11, 2013
 .Dt VM_MAP_STACK 9
 .Os
 .Sh NAME
@@ -81,11 +81,11 @@ function calls
 to create its mappings.
 .Pp
 The
+.Fn vm_map_stack
+and
 .Fn vm_map_growstack
-function acquires the
-.Va Giant
-lock, and the process lock on
-.Fa p ,
+functions acquire the process lock on
+.Fa p
 for the duration of the call.
 .Sh RETURN VALUES
 The

From owner-svn-src-stable@FreeBSD.ORG  Fri Jan 18 08:34:22 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 931A8D6D;
 Fri, 18 Jan 2013 08:34:22 +0000 (UTC)
 (envelope-from pluknet@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 858E4688;
 Fri, 18 Jan 2013 08:34:22 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0I8YMqZ017421;
 Fri, 18 Jan 2013 08:34:22 GMT (envelope-from pluknet@svn.freebsd.org)
Received: (from pluknet@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0I8YMG6017420;
 Fri, 18 Jan 2013 08:34:22 GMT (envelope-from pluknet@svn.freebsd.org)
Message-Id: <201301180834.r0I8YMG6017420@svn.freebsd.org>
From: Sergey Kandaurov <pluknet@FreeBSD.org>
Date: Fri, 18 Jan 2013 08:34:22 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245592 - stable/8/cddl/contrib/opensolaris/cmd/zpool
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2013 08:34:22 -0000

Author: pluknet
Date: Fri Jan 18 08:34:21 2013
New Revision: 245592
URL: http://svnweb.freebsd.org/changeset/base/245592

Log:
  MFC r243102:
   Sort SEE ALSO xrefs by the manual section number and add a missing comma.

Modified:
  stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8
Directory Properties:
  stable/8/cddl/contrib/opensolaris/   (props changed)

Modified: stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8
==============================================================================
--- stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jan 18 08:27:12 2013	(r245591)
+++ stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jan 18 08:34:21 2013	(r245592)
@@ -1927,8 +1927,8 @@ Discarded approximately 29 seconds of tr
 .Ed
 .El
 .Sh SEE ALSO
+.Xr zpool-features 7 ,
 .Xr zfs 8
-.Xr zpool-features 7
 .Sh AUTHORS
 This manual page is a
 .Xr mdoc 7

From owner-svn-src-stable@FreeBSD.ORG  Fri Jan 18 08:34:51 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 61F45ED8;
 Fri, 18 Jan 2013 08:34:51 +0000 (UTC)
 (envelope-from pluknet@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 549B8694;
 Fri, 18 Jan 2013 08:34:51 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0I8YpG4017506;
 Fri, 18 Jan 2013 08:34:51 GMT (envelope-from pluknet@svn.freebsd.org)
Received: (from pluknet@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0I8Ypk4017505;
 Fri, 18 Jan 2013 08:34:51 GMT (envelope-from pluknet@svn.freebsd.org)
Message-Id: <201301180834.r0I8Ypk4017505@svn.freebsd.org>
From: Sergey Kandaurov <pluknet@FreeBSD.org>
Date: Fri, 18 Jan 2013 08:34:51 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245593 - stable/9/cddl/contrib/opensolaris/cmd/zpool
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2013 08:34:51 -0000

Author: pluknet
Date: Fri Jan 18 08:34:50 2013
New Revision: 245593
URL: http://svnweb.freebsd.org/changeset/base/245593

Log:
  MFC r243102:
   Sort SEE ALSO xrefs by the manual section number and add a missing comma.

Modified:
  stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8
Directory Properties:
  stable/9/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8
==============================================================================
--- stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jan 18 08:34:21 2013	(r245592)
+++ stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jan 18 08:34:50 2013	(r245593)
@@ -1927,8 +1927,8 @@ Discarded approximately 29 seconds of tr
 .Ed
 .El
 .Sh SEE ALSO
+.Xr zpool-features 7 ,
 .Xr zfs 8
-.Xr zpool-features 7
 .Sh AUTHORS
 This manual page is a
 .Xr mdoc 7

From owner-svn-src-stable@FreeBSD.ORG  Fri Jan 18 13:16:03 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 1D972CCB;
 Fri, 18 Jan 2013 13:16:03 +0000 (UTC)
 (envelope-from glebius@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 0FF687B1;
 Fri, 18 Jan 2013 13:16:03 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0IDG2mt002204;
 Fri, 18 Jan 2013 13:16:02 GMT (envelope-from glebius@svn.freebsd.org)
Received: (from glebius@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0IDG24L002203;
 Fri, 18 Jan 2013 13:16:02 GMT (envelope-from glebius@svn.freebsd.org)
Message-Id: <201301181316.r0IDG24L002203@svn.freebsd.org>
From: Gleb Smirnoff <glebius@FreeBSD.org>
Date: Fri, 18 Jan 2013 13:16:02 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245604 - stable/9/etc/rc.d
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2013 13:16:03 -0000

Author: glebius
Date: Fri Jan 18 13:16:02 2013
New Revision: 245604
URL: http://svnweb.freebsd.org/changeset/base/245604

Log:
  Belatedly merge etc part of r229850. pfsync.ko is working.
  
  Noticed by:	des

Modified:
  stable/9/etc/rc.d/pfsync
Directory Properties:
  stable/9/etc/   (props changed)

Modified: stable/9/etc/rc.d/pfsync
==============================================================================
--- stable/9/etc/rc.d/pfsync	Fri Jan 18 13:08:17 2013	(r245603)
+++ stable/9/etc/rc.d/pfsync	Fri Jan 18 13:16:02 2013	(r245604)
@@ -18,13 +18,6 @@ required_modules="pf"
 
 pfsync_prestart()
 {
-	# XXX Currently pfsync cannot be a module as it must register
-	# a network protocol in a static kernel table.
-	if ! kldstat -q -m pfsync; then
-		warn "pfsync(4) must be statically compiled in the kernel."
-		return 1
-	fi
-
 	case "$pfsync_syncdev" in
 	'')
 		warn "pfsync_syncdev is not set."

From owner-svn-src-stable@FreeBSD.ORG  Fri Jan 18 17:48:11 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 8B74A9DA;
 Fri, 18 Jan 2013 17:48:11 +0000 (UTC)
 (envelope-from bapt@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 7D269C1C;
 Fri, 18 Jan 2013 17:48:11 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0IHmBa3083261;
 Fri, 18 Jan 2013 17:48:11 GMT (envelope-from bapt@svn.freebsd.org)
Received: (from bapt@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0IHmBqI083260;
 Fri, 18 Jan 2013 17:48:11 GMT (envelope-from bapt@svn.freebsd.org)
Message-Id: <201301181748.r0IHmBqI083260@svn.freebsd.org>
From: Baptiste Daroussin <bapt@FreeBSD.org>
Date: Fri, 18 Jan 2013 17:48:11 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject: svn commit: r245608 - stable/8/usr.sbin/pkg
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2013 17:48:11 -0000

Author: bapt
Date: Fri Jan 18 17:48:10 2013
New Revision: 245608
URL: http://svnweb.freebsd.org/changeset/base/245608

Log:
  MFC: r245412
  Directly uses calloc(3) instread of malloc(3) + memset(3)
  
  Reported by:	Jeremy Chadwick <jdc@koitsu.org>

Modified:
  stable/8/usr.sbin/pkg/dns_utils.c
Directory Properties:
  stable/8/usr.sbin/pkg/   (props changed)

Modified: stable/8/usr.sbin/pkg/dns_utils.c
==============================================================================
--- stable/8/usr.sbin/pkg/dns_utils.c	Fri Jan 18 16:32:33 2013	(r245607)
+++ stable/8/usr.sbin/pkg/dns_utils.c	Fri Jan 18 17:48:10 2013	(r245608)
@@ -66,10 +66,9 @@ dns_getsrvinfo(const char *zone)
 		p += len + NS_QFIXEDSZ;
 	}
 
-	res = malloc(sizeof(struct dns_srvinfo) * ancount);
+	res = calloc(ancount, sizeof(struct dns_srvinfo));
 	if (res == NULL)
 		return (NULL);
-	memset(res, 0, sizeof(struct dns_srvinfo) * ancount);
 
 	n = 0;
 	while (ancount > 0 && p < end) {

From owner-svn-src-stable@FreeBSD.ORG  Fri Jan 18 17:49:01 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 504D7BD8;
 Fri, 18 Jan 2013 17:49:01 +0000 (UTC)
 (envelope-from bapt@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 41F35C32;
 Fri, 18 Jan 2013 17:49:01 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0IHn1ZM083401;
 Fri, 18 Jan 2013 17:49:01 GMT (envelope-from bapt@svn.freebsd.org)
Received: (from bapt@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0IHn1rW083400;
 Fri, 18 Jan 2013 17:49:01 GMT (envelope-from bapt@svn.freebsd.org)
Message-Id: <201301181749.r0IHn1rW083400@svn.freebsd.org>
From: Baptiste Daroussin <bapt@FreeBSD.org>
Date: Fri, 18 Jan 2013 17:49:01 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245609 - stable/9/usr.sbin/pkg
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jan 2013 17:49:01 -0000

Author: bapt
Date: Fri Jan 18 17:49:00 2013
New Revision: 245609
URL: http://svnweb.freebsd.org/changeset/base/245609

Log:
  MFC: r245412
  Directly uses calloc(3) instread of malloc(3) + memset(3)
  
  Reported by:	Jeremy Chadwick <jdc@koitsu.org>

Modified:
  stable/9/usr.sbin/pkg/dns_utils.c
Directory Properties:
  stable/9/usr.sbin/pkg/   (props changed)

Modified: stable/9/usr.sbin/pkg/dns_utils.c
==============================================================================
--- stable/9/usr.sbin/pkg/dns_utils.c	Fri Jan 18 17:48:10 2013	(r245608)
+++ stable/9/usr.sbin/pkg/dns_utils.c	Fri Jan 18 17:49:00 2013	(r245609)
@@ -66,10 +66,9 @@ dns_getsrvinfo(const char *zone)
 		p += len + NS_QFIXEDSZ;
 	}
 
-	res = malloc(sizeof(struct dns_srvinfo) * ancount);
+	res = calloc(ancount, sizeof(struct dns_srvinfo));
 	if (res == NULL)
 		return (NULL);
-	memset(res, 0, sizeof(struct dns_srvinfo) * ancount);
 
 	n = 0;
 	while (ancount > 0 && p < end) {

From owner-svn-src-stable@FreeBSD.ORG  Sat Jan 19 06:17:27 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id BF883BF5;
 Sat, 19 Jan 2013 06:17:27 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id B23FECD3;
 Sat, 19 Jan 2013 06:17:27 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0J6HRL3012909;
 Sat, 19 Jan 2013 06:17:27 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0J6HRGM012908;
 Sat, 19 Jan 2013 06:17:27 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301190617.r0J6HRGM012908@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sat, 19 Jan 2013 06:17:27 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245659 - stable/9/sbin/geom/class/journal
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jan 2013 06:17:27 -0000

Author: kib
Date: Sat Jan 19 06:17:27 2013
New Revision: 245659
URL: http://svnweb.freebsd.org/changeset/base/245659

Log:
  MFC r245072:
  Do not round up the size of the UFS filesystem to the fragment size
  when comparing its size with the size of the media, to determine if
  the last disk block is unused.
  
  MFC r245074:
  Use tabs for indentation.

Modified:
  stable/9/sbin/geom/class/journal/geom_journal_ufs.c
Directory Properties:
  stable/9/sbin/geom/   (props changed)

Modified: stable/9/sbin/geom/class/journal/geom_journal_ufs.c
==============================================================================
--- stable/9/sbin/geom/class/journal/geom_journal_ufs.c	Sat Jan 19 06:04:26 2013	(r245658)
+++ stable/9/sbin/geom/class/journal/geom_journal_ufs.c	Sat Jan 19 06:17:27 2013	(r245659)
@@ -73,6 +73,6 @@ g_journal_ufs_using_last_sector(const ch
 	/* Provider size in 512 bytes blocks. */
 	psize = g_get_mediasize(prov) / DEV_BSIZE;
 	/* File system size in 512 bytes blocks. */
-	fssize = fsbtodb(fs, dbtofsb(fs, psize));
-	return (psize == fssize);
+	fssize = fsbtodb(fs, fs->fs_size);
+	return (psize <= fssize);
 }

From owner-svn-src-stable@FreeBSD.ORG  Sat Jan 19 06:24:17 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id DEEAEE60;
 Sat, 19 Jan 2013 06:24:17 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id AF0B0D6C;
 Sat, 19 Jan 2013 06:24:17 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0J6OHiU015379;
 Sat, 19 Jan 2013 06:24:17 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0J6OH06015378;
 Sat, 19 Jan 2013 06:24:17 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301190624.r0J6OH06015378@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sat, 19 Jan 2013 06:24:17 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245660 - stable/9/sys/kern
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jan 2013 06:24:17 -0000

Author: kib
Date: Sat Jan 19 06:24:17 2013
New Revision: 245660
URL: http://svnweb.freebsd.org/changeset/base/245660

Log:
  MFC r245405:
  Rename vfs_hash_index() to vfs_hash_bucket().

Modified:
  stable/9/sys/kern/vfs_hash.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/vfs_hash.c
==============================================================================
--- stable/9/sys/kern/vfs_hash.c	Sat Jan 19 06:17:27 2013	(r245659)
+++ stable/9/sys/kern/vfs_hash.c	Sat Jan 19 06:24:17 2013	(r245660)
@@ -55,10 +55,10 @@ vfs_hashinit(void *dummy __unused)
 SYSINIT(vfs_hash, SI_SUB_VFS, SI_ORDER_SECOND, vfs_hashinit, NULL);
 
 static struct vfs_hash_head *
-vfs_hash_index(const struct mount *mp, u_int hash)
+vfs_hash_bucket(const struct mount *mp, u_int hash)
 {
 
-	return(&vfs_hash_tbl[(hash + mp->mnt_hashseed) & vfs_hash_mask]);
+	return (&vfs_hash_tbl[(hash + mp->mnt_hashseed) & vfs_hash_mask]);
 }
 
 int
@@ -69,7 +69,7 @@ vfs_hash_get(const struct mount *mp, u_i
 
 	while (1) {
 		mtx_lock(&vfs_hash_mtx);
-		LIST_FOREACH(vp, vfs_hash_index(mp, hash), v_hashlist) {
+		LIST_FOREACH(vp, vfs_hash_bucket(mp, hash), v_hashlist) {
 			if (vp->v_hash != hash)
 				continue;
 			if (vp->v_mount != mp)
@@ -113,7 +113,7 @@ vfs_hash_insert(struct vnode *vp, u_int 
 	while (1) {
 		mtx_lock(&vfs_hash_mtx);
 		LIST_FOREACH(vp2,
-		    vfs_hash_index(vp->v_mount, hash), v_hashlist) {
+		    vfs_hash_bucket(vp->v_mount, hash), v_hashlist) {
 			if (vp2->v_hash != hash)
 				continue;
 			if (vp2->v_mount != vp->v_mount)
@@ -138,7 +138,7 @@ vfs_hash_insert(struct vnode *vp, u_int 
 			
 	}
 	vp->v_hash = hash;
-	LIST_INSERT_HEAD(vfs_hash_index(vp->v_mount, hash), vp, v_hashlist);
+	LIST_INSERT_HEAD(vfs_hash_bucket(vp->v_mount, hash), vp, v_hashlist);
 	mtx_unlock(&vfs_hash_mtx);
 	return (0);
 }
@@ -149,7 +149,7 @@ vfs_hash_rehash(struct vnode *vp, u_int 
 
 	mtx_lock(&vfs_hash_mtx);
 	LIST_REMOVE(vp, v_hashlist);
-	LIST_INSERT_HEAD(vfs_hash_index(vp->v_mount, hash), vp, v_hashlist);
+	LIST_INSERT_HEAD(vfs_hash_bucket(vp->v_mount, hash), vp, v_hashlist);
 	vp->v_hash = hash;
 	mtx_unlock(&vfs_hash_mtx);
 }

From owner-svn-src-stable@FreeBSD.ORG  Sat Jan 19 06:27:40 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id A34E3D6;
 Sat, 19 Jan 2013 06:27:40 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 7E351DB4;
 Sat, 19 Jan 2013 06:27:40 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0J6Re90015840;
 Sat, 19 Jan 2013 06:27:40 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0J6Re9R015838;
 Sat, 19 Jan 2013 06:27:40 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301190627.r0J6Re9R015838@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sat, 19 Jan 2013 06:27:40 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245661 - in stable/9/sys: kern sys
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jan 2013 06:27:40 -0000

Author: kib
Date: Sat Jan 19 06:27:39 2013
New Revision: 245661
URL: http://svnweb.freebsd.org/changeset/base/245661

Log:
  MFC r245406:
  Add vfs_hash_index().

Modified:
  stable/9/sys/kern/vfs_hash.c
  stable/9/sys/sys/vnode.h
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/vfs_hash.c
==============================================================================
--- stable/9/sys/kern/vfs_hash.c	Sat Jan 19 06:24:17 2013	(r245660)
+++ stable/9/sys/kern/vfs_hash.c	Sat Jan 19 06:27:39 2013	(r245661)
@@ -54,6 +54,13 @@ vfs_hashinit(void *dummy __unused)
 /* Must be SI_ORDER_SECOND so desiredvnodes is available */
 SYSINIT(vfs_hash, SI_SUB_VFS, SI_ORDER_SECOND, vfs_hashinit, NULL);
 
+u_int
+vfs_hash_index(struct vnode *vp)
+{
+
+	return (vp->v_hash + vp->v_mount->mnt_hashseed);
+}
+
 static struct vfs_hash_head *
 vfs_hash_bucket(const struct mount *mp, u_int hash)
 {

Modified: stable/9/sys/sys/vnode.h
==============================================================================
--- stable/9/sys/sys/vnode.h	Sat Jan 19 06:24:17 2013	(r245660)
+++ stable/9/sys/sys/vnode.h	Sat Jan 19 06:27:39 2013	(r245661)
@@ -810,6 +810,7 @@ extern struct vop_vector default_vnodeop
 typedef int vfs_hash_cmp_t(struct vnode *vp, void *arg);
 
 int vfs_hash_get(const struct mount *mp, u_int hash, int flags, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg);
+u_int vfs_hash_index(struct vnode *vp);
 int vfs_hash_insert(struct vnode *vp, u_int hash, int flags, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg);
 void vfs_hash_rehash(struct vnode *vp, u_int hash);
 void vfs_hash_remove(struct vnode *vp);

From owner-svn-src-stable@FreeBSD.ORG  Sat Jan 19 06:31:37 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id BA8853D3;
 Sat, 19 Jan 2013 06:31:37 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id A28DBDF5;
 Sat, 19 Jan 2013 06:31:37 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0J6Vbtm017960;
 Sat, 19 Jan 2013 06:31:37 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0J6VbuT017959;
 Sat, 19 Jan 2013 06:31:37 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301190631.r0J6VbuT017959@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sat, 19 Jan 2013 06:31:37 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245662 - stable/9/sys/kern
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jan 2013 06:31:37 -0000

Author: kib
Date: Sat Jan 19 06:31:37 2013
New Revision: 245662
URL: http://svnweb.freebsd.org/changeset/base/245662

Log:
  MFC r245407,245411:
  Set the v_hash for a new vnode in the getnewvnode() to the value
  calculated based on the vnode structure address.

Modified:
  stable/9/sys/kern/vfs_subr.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/vfs_subr.c
==============================================================================
--- stable/9/sys/kern/vfs_subr.c	Sat Jan 19 06:27:39 2013	(r245661)
+++ stable/9/sys/kern/vfs_subr.c	Sat Jan 19 06:31:37 2013	(r245662)
@@ -282,6 +282,8 @@ SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhe
 #define VSHOULDFREE(vp) (!((vp)->v_iflag & VI_FREE) && !(vp)->v_holdcnt)
 #define VSHOULDBUSY(vp) (((vp)->v_iflag & VI_FREE) && (vp)->v_holdcnt)
 
+/* Shift count for (uintptr_t)vp to initialize vp->v_hash. */
+static int vnsz2log;
 
 /*
  * Initialize the vnode management data structures.
@@ -296,6 +298,7 @@ SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhe
 static void
 vntblinit(void *dummy __unused)
 {
+	u_int i;
 	int physvnodes, virtvnodes;
 
 	/*
@@ -337,6 +340,9 @@ vntblinit(void *dummy __unused)
 	syncer_maxdelay = syncer_mask + 1;
 	mtx_init(&sync_mtx, "Syncer mtx", NULL, MTX_DEF);
 	cv_init(&sync_wakeup, "syncer");
+	for (i = 1; i <= sizeof(struct vnode); i <<= 1)
+		vnsz2log++;
+	vnsz2log--;
 }
 SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_FIRST, vntblinit, NULL);
 
@@ -1077,6 +1083,14 @@ alloc:
 	}
 	rangelock_init(&vp->v_rl);
 
+	/*
+	 * For the filesystems which do not use vfs_hash_insert(),
+	 * still initialize v_hash to have vfs_hash_index() useful.
+	 * E.g., nullfs uses vfs_hash_index() on the lower vnode for
+	 * its own hashing.
+	 */
+	vp->v_hash = (uintptr_t)vp >> vnsz2log;
+
 	*vpp = vp;
 	return (0);
 }

From owner-svn-src-stable@FreeBSD.ORG  Sat Jan 19 06:34:41 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id CF89654E;
 Sat, 19 Jan 2013 06:34:41 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 9F45CE06;
 Sat, 19 Jan 2013 06:34:41 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0J6YfkW018415;
 Sat, 19 Jan 2013 06:34:41 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0J6YfCL018414;
 Sat, 19 Jan 2013 06:34:41 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301190634.r0J6YfCL018414@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sat, 19 Jan 2013 06:34:41 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245663 - stable/9/sys/fs/nullfs
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jan 2013 06:34:41 -0000

Author: kib
Date: Sat Jan 19 06:34:41 2013
New Revision: 245663
URL: http://svnweb.freebsd.org/changeset/base/245663

Log:
  MFC r245408:
  Size the nullfs hashtbl based on the current value of
  desiredvnodes. Use vfs_hash_index() to calculate the hash bucket for a
  given vnode.

Modified:
  stable/9/sys/fs/nullfs/null_subr.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/fs/nullfs/null_subr.c
==============================================================================
--- stable/9/sys/fs/nullfs/null_subr.c	Sat Jan 19 06:31:37 2013	(r245662)
+++ stable/9/sys/fs/nullfs/null_subr.c	Sat Jan 19 06:34:41 2013	(r245663)
@@ -46,9 +46,6 @@
 
 #include <fs/nullfs/null.h>
 
-#define LOG2_SIZEVNODE 8		/* log2(sizeof struct vnode) */
-#define	NNULLNODECACHE 16
-
 /*
  * Null layer cache:
  * Each cache entry holds a reference to the lower vnode
@@ -57,12 +54,11 @@
  * alias is removed the lower vnode is vrele'd.
  */
 
-#define	NULL_NHASH(vp) \
-	(&null_node_hashtbl[(((uintptr_t)vp)>>LOG2_SIZEVNODE) & null_node_hash])
+#define	NULL_NHASH(vp) (&null_node_hashtbl[vfs_hash_index(vp) & null_hash_mask])
 
 static LIST_HEAD(null_node_hashhead, null_node) *null_node_hashtbl;
-static u_long null_node_hash;
-struct mtx null_hashmtx;
+static struct mtx null_hashmtx;
+static u_long null_hash_mask;
 
 static MALLOC_DEFINE(M_NULLFSHASH, "nullfs_hash", "NULLFS hash table");
 MALLOC_DEFINE(M_NULLFSNODE, "nullfs_node", "NULLFS vnode private part");
@@ -77,8 +73,8 @@ nullfs_init(vfsp)
 	struct vfsconf *vfsp;
 {
 
-	NULLFSDEBUG("nullfs_init\n");		/* printed during system boot */
-	null_node_hashtbl = hashinit(NNULLNODECACHE, M_NULLFSHASH, &null_node_hash);
+	null_node_hashtbl = hashinit(desiredvnodes, M_NULLFSHASH,
+	    &null_hash_mask);
 	mtx_init(&null_hashmtx, "nullhs", NULL, MTX_DEF);
 	return (0);
 }
@@ -89,7 +85,7 @@ nullfs_uninit(vfsp)
 {
 
 	mtx_destroy(&null_hashmtx);
-	free(null_node_hashtbl, M_NULLFSHASH);
+	hashdestroy(null_node_hashtbl, M_NULLFSHASH, null_hash_mask);
 	return (0);
 }
 

From owner-svn-src-stable@FreeBSD.ORG  Sat Jan 19 06:37:13 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 27BDF768;
 Sat, 19 Jan 2013 06:37:13 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 1A662E27;
 Sat, 19 Jan 2013 06:37:13 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0J6bC7A018783;
 Sat, 19 Jan 2013 06:37:12 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0J6bCLc018782;
 Sat, 19 Jan 2013 06:37:12 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301190637.r0J6bCLc018782@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sat, 19 Jan 2013 06:37:12 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245664 -
 stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jan 2013 06:37:13 -0000

Author: kib
Date: Sat Jan 19 06:37:12 2013
New Revision: 245664
URL: http://svnweb.freebsd.org/changeset/base/245664

Log:
  MFC r245409:
  For zfs vnodes, use the standard inode number based hash algorithm.

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c	Sat Jan 19 06:34:41 2013	(r245663)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c	Sat Jan 19 06:37:12 2013	(r245664)
@@ -2026,6 +2026,8 @@ zfs_vget(vfs_t *vfsp, ino_t ino, int fla
 		err = zfs_vnode_lock(*vpp, flags);
 	if (err != 0)
 		*vpp = NULL;
+	else
+		(*vpp)->v_hash = ino;
 	return (err);
 }
 

From owner-svn-src-stable@FreeBSD.ORG  Sat Jan 19 06:39:50 2013
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 5F3E68DF;
 Sat, 19 Jan 2013 06:39:50 +0000 (UTC) (envelope-from kib@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id 3A73DE35;
 Sat, 19 Jan 2013 06:39:50 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0J6do2B019149;
 Sat, 19 Jan 2013 06:39:50 GMT (envelope-from kib@svn.freebsd.org)
Received: (from kib@localhost)
 by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0J6do3E019148;
 Sat, 19 Jan 2013 06:39:50 GMT (envelope-from kib@svn.freebsd.org)
Message-Id: <201301190639.r0J6do3E019148@svn.freebsd.org>
From: Konstantin Belousov <kib@FreeBSD.org>
Date: Sat, 19 Jan 2013 06:39:50 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r245665 - stable/9/sys/fs/nullfs
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
 <svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
 <mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jan 2013 06:39:50 -0000

Author: kib
Date: Sat Jan 19 06:39:49 2013
New Revision: 245665
URL: http://svnweb.freebsd.org/changeset/base/245665

Log:
  MFC r245495:
  Remove the filtering of the acceptable mount options for nullfs, added
  in r245004.

Modified:
  stable/9/sys/fs/nullfs/null_vfsops.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/fs/   (props changed)

Modified: stable/9/sys/fs/nullfs/null_vfsops.c
==============================================================================
--- stable/9/sys/fs/nullfs/null_vfsops.c	Sat Jan 19 06:37:12 2013	(r245664)
+++ stable/9/sys/fs/nullfs/null_vfsops.c	Sat Jan 19 06:39:49 2013	(r245665)
@@ -67,15 +67,6 @@ static vfs_vget_t	nullfs_vget;
 static vfs_extattrctl_t	nullfs_extattrctl;
 static vfs_reclaim_lowervp_t nullfs_reclaim_lowervp;
 
-/* Mount options that we support. */
-static const char *nullfs_opts[] = {
-	"cache",
-	"export",
-	"from",
-	"target",
-	NULL
-};
-
 /*
  * Mount null layer
  */
@@ -97,8 +88,6 @@ nullfs_mount(struct mount *mp)
 		return (EPERM);
 	if (mp->mnt_flag & MNT_ROOTFS)
 		return (EOPNOTSUPP);
-	if (vfs_filteropt(mp->mnt_optnew, nullfs_opts))
-		return (EINVAL);
 
 	/*
 	 * Update is a no-op