From owner-svn-src-user@FreeBSD.ORG Mon Sep 22 08:41:51 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F02873BE; Mon, 22 Sep 2014 08:41:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D04221FD; Mon, 22 Sep 2014 08:41:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8M8fpW3040776; Mon, 22 Sep 2014 08:41:51 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8M8fpde040774; Mon, 22 Sep 2014 08:41:51 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201409220841.s8M8fpde040774@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Mon, 22 Sep 2014 08:41:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r271948 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 08:41:52 -0000 Author: pho Date: Mon Sep 22 08:41:50 2014 New Revision: 271948 URL: http://svnweb.freebsd.org/changeset/base/271948 Log: Added two regresson tests. Sponsored by: EMC / Isilon storage division Added: user/pho/stress2/misc/contigmalloc.sh (contents, props changed) user/pho/stress2/misc/md6.sh (contents, props changed) Added: user/pho/stress2/misc/contigmalloc.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/contigmalloc.sh Mon Sep 22 08:41:50 2014 (r271948) @@ -0,0 +1,250 @@ +#!/bin/sh + +# +# Copyright (c) 2014 EMC Corp. +# 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$ +# + +# contigmalloc(9) / contigfree(9) test scenario. +# malloc() a random number of buffers with random size and then free them. + +# A malloc pattern might look like this: +# contigmalloc(186 pages) +# contigmalloc(56 pages) +# contigmalloc(9 pages) +# contigmalloc(202 pages) +# contigmalloc(49 pages) +# contigmalloc(5 pages) + +# "panic: vm_reserv_alloc_contig: reserv 0xff... isn't free" seen. +# http://people.freebsd.org/~pho/stress/log/contigmalloc.txt +# Fixed by r271351. + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +odir=`pwd` +dir=/tmp/ctest +rm -rf $dir; mkdir -p $dir +cat > $dir/ctest.c < +#include + +#include +#include +#include +#include +#include + +#define min(a,b) (((a)<(b))?(a):(b)) +#define CAP (64 * 1024 * 1024) /* Total allocation */ +#define MAXBUF (32 * 1024 * 1024) /* Max buffer size */ +#define N 512 /* Max allocations */ +#define RUNTIME 120 +#define TALLOC 1 +#define TFREE 2 + +void *p[N]; +long size[N]; +int n; + +void +test(int argc, char *argv[]) +{ + long mw, s; + int i, no, ps, res; + + if (argc == 3) { + no = atoi(argv[1]); + mw = atol(argv[2]); + } + if (argc != 3 || no == 0 || mw == 0) + errx(1, "Usage: %s ", argv[0]); + + ps = getpagesize(); + s = 0; + n = arc4random() % N + 1; + mw = mw / 100 * 10 * ps; /* Use 10% of vm.max_wired */ + mw = min(mw, CAP); + for (i = 0; i < n; i++) { + size[i] = round_page((arc4random() % MAXBUF) + 1); + if (s + size[i] > mw) + continue; + res = syscall(no, TALLOC, &p[i], &size[i]); + if (res == -1) { + warn("contigmalloc(%lu pages) failed at loop %d", + size[i] / ps, i); + } else { +#if defined(TEST) + fprintf(stderr, "contigmalloc(%lu pages)\n", + size[i] / ps); +#endif + s += size[i]; + } + } + + setproctitle("%ld Mb", s / 1024 / 1024); + + for (i = 0; i < n; i++) { + if (p[i] != NULL) { + res = syscall(no, TFREE, &p[i], &size[i]); +#if defined(TEST) + fprintf(stderr, "contigfree(%lu pages)\n", + size[i] / ps); +#endif + p[i] = NULL; + } + } +} + +int +main(int argc, char *argv[]) +{ + time_t start; + + start = time(NULL); + while (time(NULL) - start < RUNTIME) + test(argc, argv); + + return (0); +} + +EOF +cc -o $dir/ctest -Wall -Wextra -O0 -g $dir/ctest.c || exit +rm $dir/ctest.c + +cd $dir +cat > Makefile < +EOF + +sed '1,/^EOF2/d' < $odir/$0 > cmalloc.c +make || exit 1 +kldload $dir/cmalloc.ko || exit 1 + +cd $odir +mw=`sysctl -n vm.max_wired` || exit 1 +$dir/ctest `sysctl -n debug.cmalloc_offset` $mw 2>&1 | tail -5 +kldunload $dir/cmalloc.ko +rm -rf $dir +exit + +EOF2 +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define TALLOC 1 +#define TFREE 2 + +/* + * Hook up a syscall for contigmalloc testing. + */ + +struct cmalloc_args { + int a_op; + void *a_ptr; + void *a_size; +}; + +static int +cmalloc(struct thread *td, struct cmalloc_args *uap) +{ + void *p; + unsigned long size; + int error; + + error = copyin(uap->a_size, &size, sizeof(size)); + if (error != 0) { + return (error); + } + switch (uap->a_op) { + case TFREE: + error = copyin(uap->a_ptr, &p, sizeof(p)); + if (error == 0) { + if (p != NULL) + contigfree(p, size, M_TEMP); + } + return (error); + + case TALLOC: + p = contigmalloc(size, M_TEMP, M_NOWAIT, 0ul, ~0ul, 4096, 0); + if (p != NULL) { + error = copyout(&p, uap->a_ptr, sizeof(p)); + return (error); + } + return (ENOMEM); + } + return (EINVAL); +} + +/* + * The sysent for the new syscall + */ +static struct sysent cmalloc_sysent = { + 3, /* sy_narg */ + (sy_call_t *) cmalloc /* sy_call */ +}; + +/* + * The offset in sysent where the syscall is allocated. + */ +static int cmalloc_offset = NO_SYSCALL; + +SYSCTL_INT(_debug, OID_AUTO, cmalloc_offset, CTLFLAG_RD, &cmalloc_offset, 0, + "cmalloc syscall number"); + +/* + * The function called at load/unload. + */ + +static int +cmalloc_load(struct module *module, int cmd, void *arg) +{ + int error = 0; + + switch (cmd) { + case MOD_LOAD : + break; + case MOD_UNLOAD : + break; + default : + error = EOPNOTSUPP; + break; + } + return (error); +} + +SYSCALL_MODULE(cmalloc_syscall, &cmalloc_offset, &cmalloc_sysent, + cmalloc_load, NULL); Added: user/pho/stress2/misc/md6.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/md6.sh Mon Sep 22 08:41:50 2014 (r271948) @@ -0,0 +1,46 @@ +#!/bin/sh + +# +# Copyright (c) 2014 EMC Corp. +# 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$ +# + +# Regression test for mmap problem introduced by r271635 +# where mdconfig -l fails due to +# mmap(0,0x1000,PROT_READ,MAP_FILE,0x4,0) +# returning 0. +# Fixed by r271721. + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +. ../default.cfg + +[ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart + +mdconfig -a -t swap -s 10m -u $mdstart || exit 1 +[ -c /dev/md$mdstart ] || echo "FAIL" +mdconfig -l -v > /dev/null || echo "FAIL of mdconfig -l" +mdconfig -d -u $mdstart From owner-svn-src-user@FreeBSD.ORG Mon Sep 22 10:51:38 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 703DA42F; Mon, 22 Sep 2014 10:51:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4242D1DE; Mon, 22 Sep 2014 10:51:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8MApcT2008529; Mon, 22 Sep 2014 10:51:38 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8MApcpj008528; Mon, 22 Sep 2014 10:51:38 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201409221051.s8MApcpj008528@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Mon, 22 Sep 2014 10:51:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r271955 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 10:51:38 -0000 Author: pho Date: Mon Sep 22 10:51:37 2014 New Revision: 271955 URL: http://svnweb.freebsd.org/changeset/base/271955 Log: Added test scenario. Sponsored by: EMC / Isilon storage division Added: user/pho/stress2/misc/pfl3.sh (contents, props changed) Added: user/pho/stress2/misc/pfl3.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/pfl3.sh Mon Sep 22 10:51:37 2014 (r271955) @@ -0,0 +1,43 @@ +#!/bin/sh + +# +# Copyright (c) 2014 EMC Corp. +# 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$ +# + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +# Start pfl.sh and "umount -f" the two mount points in use. +# "panic: handle_written_inodeblock: live inodedep" seen. +# http://people.freebsd.org/~pho/stress/log/pfl3.txt + +. ../default.cfg + +./pfl.sh > /dev/null 2>&1 & +sleep 2 +umount -f $mntpoint & +umount -f ${mntpoint}2 & +wait From owner-svn-src-user@FreeBSD.ORG Mon Sep 22 11:08:23 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 327296B1; Mon, 22 Sep 2014 11:08:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 049BB340; Mon, 22 Sep 2014 11:08:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8MB8MlD015936; Mon, 22 Sep 2014 11:08:22 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8MB8Mpu015934; Mon, 22 Sep 2014 11:08:22 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201409221108.s8MB8Mpu015934@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Mon, 22 Sep 2014 11:08:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r271956 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 11:08:23 -0000 Author: pho Date: Mon Sep 22 11:08:22 2014 New Revision: 271956 URL: http://svnweb.freebsd.org/changeset/base/271956 Log: Added test scenario. Sponsored by: EMC / Isilon storage division Added: user/pho/stress2/misc/msdos5.sh (contents, props changed) Added: user/pho/stress2/misc/msdos5.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/msdos5.sh Mon Sep 22 11:08:22 2014 (r271956) @@ -0,0 +1,59 @@ +#!/bin/sh + +# +# Copyright (c) 2014 EMC Corp. +# 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$ +# + +# "panic: Freeing unused sector 79510 22 ff800000" seen. +# http://people.freebsd.org/~pho/stress/log/msdos5.txt + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 +[ -x /sbin/mount_msdosfs ] || exit + +. ../default.cfg + +cc -o /tmp/fstool -Wall -Wextra -O2 ../tools/fstool.c || exit 1 + +cd /tmp +mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint +mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart +mdconfig -a -t swap -s 3g -u $mdstart +bsdlabel -w md$mdstart auto +newfs_msdos -F 32 -b 8192 /dev/md${mdstart}$part > /dev/null 2>&1 +mount_msdosfs -m 777 /dev/md${mdstart}$part $mntpoint + +for i in `jot 5`; do + (mkdir $mntpoint/test$i; cd $mntpoint/test$i; /tmp/fstool -l -f 400 -n 200 -s ${i}k) +done + +sleep 1 +rm -rf $mntpoint/* || echo FAIL + +while mount | grep -q "$mntpoint "; do + umount $mntpoint || sleep 1 +done +rm -f /tmp/fstool From owner-svn-src-user@FreeBSD.ORG Tue Sep 23 10:56:43 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 899D8688; Tue, 23 Sep 2014 10:56:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 750BD7BF; Tue, 23 Sep 2014 10:56:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8NAuhNR011490; Tue, 23 Sep 2014 10:56:43 GMT (envelope-from jceel@FreeBSD.org) Received: (from jceel@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8NAughr011487; Tue, 23 Sep 2014 10:56:42 GMT (envelope-from jceel@FreeBSD.org) Message-Id: <201409231056.s8NAughr011487@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jceel set sender to jceel@FreeBSD.org using -f From: Jakub Wojciech Klama Date: Tue, 23 Sep 2014 10:56:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272024 - in user/jceel/soc2014_evdev/head/sys: amd64/conf dev/evdev X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 10:56:43 -0000 Author: jceel Date: Tue Sep 23 10:56:42 2014 New Revision: 272024 URL: http://svnweb.freebsd.org/changeset/base/272024 Log: Changes as follows: * Added vt(4) to EVDEV kernel config * Fixed /dev/input/event%d device numbering * Fixed uinput evdev_alloc()/evdev_free() to prevent memory leaks Modified: user/jceel/soc2014_evdev/head/sys/amd64/conf/EVDEV user/jceel/soc2014_evdev/head/sys/dev/evdev/cdev.c user/jceel/soc2014_evdev/head/sys/dev/evdev/uinput.c Modified: user/jceel/soc2014_evdev/head/sys/amd64/conf/EVDEV ============================================================================== --- user/jceel/soc2014_evdev/head/sys/amd64/conf/EVDEV Tue Sep 23 08:39:08 2014 (r272023) +++ user/jceel/soc2014_evdev/head/sys/amd64/conf/EVDEV Tue Sep 23 10:56:42 2014 (r272024) @@ -186,6 +186,11 @@ device splash # Splash screen and scr device sc options SC_PIXEL_MODE # add support for the raster text mode +# vt is the new video console driver +device vt +device vt_vga +device vt_efifb + device agp # support several AGP chipsets # PCCARD (PCMCIA) support Modified: user/jceel/soc2014_evdev/head/sys/dev/evdev/cdev.c ============================================================================== --- user/jceel/soc2014_evdev/head/sys/dev/evdev/cdev.c Tue Sep 23 08:39:08 2014 (r272023) +++ user/jceel/soc2014_evdev/head/sys/dev/evdev/cdev.c Tue Sep 23 10:56:42 2014 (r272024) @@ -42,7 +42,7 @@ #include #include -//#define DEBUG +#define DEBUG #ifdef DEBUG #define debugf(fmt, args...) printf("evdev: " fmt "\n", ##args); #else @@ -167,7 +167,7 @@ evdev_read(struct cdev *dev, struct uio return (ret); if (state->ecs_revoked) - return (EPERM); + return (ENODEV); client = state->ecs_client; @@ -574,7 +574,7 @@ evdev_cdev_create(struct evdev_dev *evde snprintf(evdev->ev_cdev_name, NAMELEN, "input/event%d", evdev_cdev_count++); cdev = make_dev(&evdev_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, - evdev->ev_cdev_name, evdev_cdev_count++); + "%s", evdev->ev_cdev_name); sc = malloc(sizeof(struct evdev_cdev_softc), M_EVDEV, M_WAITOK | M_ZERO); @@ -588,6 +588,8 @@ evdev_cdev_create(struct evdev_dev *evde int evdev_cdev_destroy(struct evdev_dev *evdev) { + destroy_dev(evdev->ev_cdev); + evdev_cdev_count--; return (0); } Modified: user/jceel/soc2014_evdev/head/sys/dev/evdev/uinput.c ============================================================================== --- user/jceel/soc2014_evdev/head/sys/dev/evdev/uinput.c Tue Sep 23 08:39:08 2014 (r272023) +++ user/jceel/soc2014_evdev/head/sys/dev/evdev/uinput.c Tue Sep 23 10:56:42 2014 (r272024) @@ -57,9 +57,6 @@ static int uinput_poll(struct cdev *, in static void uinput_dtor(void *); static int uinput_setup_provider(struct evdev_dev *, struct uinput_user_dev *); - - - static int uinput_cdev_create(void); static struct cdevsw uinput_cdevsw = { @@ -120,11 +117,10 @@ uinput_dtor(void *data) { struct uinput_cdev_state *state = (struct uinput_cdev_state *)data; - if (state->ucs_connected) { + if (state->ucs_connected) evdev_unregister(NULL, state->ucs_evdev); - evdev_free(state->ucs_evdev); - } + evdev_free(state->ucs_evdev); free(data, M_EVDEV); } @@ -258,8 +254,6 @@ uinput_ioctl(struct cdev *dev, u_long cm return (0); evdev_unregister(NULL, state->ucs_evdev); - evdev_free(state->ucs_evdev); - state->ucs_evdev = NULL; state->ucs_connected = false; break; From owner-svn-src-user@FreeBSD.ORG Tue Sep 23 22:15:05 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FF4A826; Tue, 23 Sep 2014 22:15:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B3E212E; Tue, 23 Sep 2014 22:15:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8NMF5i2048876; Tue, 23 Sep 2014 22:15:05 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8NMF5Fs048875; Tue, 23 Sep 2014 22:15:05 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201409232215.s8NMF5Fs048875@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Tue, 23 Sep 2014 22:15:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272045 - user/ngie/add-pjdfstest/tests/sys/pjdfstest/pjdfstest X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 22:15:05 -0000 Author: ngie Date: Tue Sep 23 22:15:04 2014 New Revision: 272045 URL: http://svnweb.freebsd.org/changeset/base/272045 Log: Go the path of least resistance and disable -Werror Modified: user/ngie/add-pjdfstest/tests/sys/pjdfstest/pjdfstest/Makefile Modified: user/ngie/add-pjdfstest/tests/sys/pjdfstest/pjdfstest/Makefile ============================================================================== --- user/ngie/add-pjdfstest/tests/sys/pjdfstest/pjdfstest/Makefile Tue Sep 23 22:15:00 2014 (r272044) +++ user/ngie/add-pjdfstest/tests/sys/pjdfstest/pjdfstest/Makefile Tue Sep 23 22:15:04 2014 (r272045) @@ -10,6 +10,7 @@ CFLAGS= -D__OS_FreeBSD__ -DHAS_LCHMOD - CFLAGS+= -DHAS_CHFLAGSAT -DHAS_LCHFLAGS -DHAS_FREEBSD_ACL -DHAS_BINDAT CFLAGS+= -DHAS_CONNECTAT +NO_WERROR= WARNS?= 6 .include From owner-svn-src-user@FreeBSD.ORG Tue Sep 23 22:23:59 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 62CDBD00; Tue, 23 Sep 2014 22:23:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E42320A; Tue, 23 Sep 2014 22:23:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8NMNx7e053528; Tue, 23 Sep 2014 22:23:59 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8NMNxqS053527; Tue, 23 Sep 2014 22:23:59 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201409232223.s8NMNxqS053527@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Tue, 23 Sep 2014 22:23:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272047 - user/ngie/add-pjdfstest/contrib/pjdfstest X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 22:23:59 -0000 Author: ngie Date: Tue Sep 23 22:23:58 2014 New Revision: 272047 URL: http://svnweb.freebsd.org/changeset/base/272047 Log: Revert r271574 to avoid changing vendor code Modified: user/ngie/add-pjdfstest/contrib/pjdfstest/pjdfstest.c Modified: user/ngie/add-pjdfstest/contrib/pjdfstest/pjdfstest.c ============================================================================== --- user/ngie/add-pjdfstest/contrib/pjdfstest/pjdfstest.c Tue Sep 23 22:20:19 2014 (r272046) +++ user/ngie/add-pjdfstest/contrib/pjdfstest/pjdfstest.c Tue Sep 23 22:23:58 2014 (r272047) @@ -1007,7 +1007,7 @@ set_gids(char *gids) assert(gidset != NULL); for (i = 0, g = strtok(gids, ","); g != NULL; g = strtok(NULL, ","), i++) { - if (i >= (unsigned)ngroups) { + if (i >= ngroups) { fprintf(stderr, "too many gids\n"); exit(1); } From owner-svn-src-user@FreeBSD.ORG Tue Sep 23 22:38:20 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20100632; Tue, 23 Sep 2014 22:38:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06789342; Tue, 23 Sep 2014 22:38:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8NMcJJo059613; Tue, 23 Sep 2014 22:38:19 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8NMcCbG059575; Tue, 23 Sep 2014 22:38:12 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201409232238.s8NMcCbG059575@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Tue, 23 Sep 2014 22:38:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272050 - in user/ngie/add-pjdfstest: . bin/csh bin/sh bin/sh/tests/parser cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uc... X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 22:38:20 -0000 Author: ngie Date: Tue Sep 23 22:38:10 2014 New Revision: 272050 URL: http://svnweb.freebsd.org/changeset/base/272050 Log: MFhead @ r272049 Added: user/ngie/add-pjdfstest/bin/sh/tests/parser/heredoc12.0 - copied unchanged from r272049, head/bin/sh/tests/parser/heredoc12.0 user/ngie/add-pjdfstest/contrib/hyperv/ - copied from r272049, head/contrib/hyperv/ user/ngie/add-pjdfstest/contrib/llvm/patches/patch-r269387-clang-arm-target-cpu.diff - copied unchanged from r272049, head/contrib/llvm/patches/patch-r269387-clang-arm-target-cpu.diff user/ngie/add-pjdfstest/contrib/llvm/patches/patch-r271024-llvm-r216989-r216990-fix-movw-armv6.diff - copied unchanged from r272049, head/contrib/llvm/patches/patch-r271024-llvm-r216989-r216990-fix-movw-armv6.diff user/ngie/add-pjdfstest/contrib/llvm/patches/patch-r271432-clang-r205331-debug-info-crash.diff - copied unchanged from r272049, head/contrib/llvm/patches/patch-r271432-clang-r205331-debug-info-crash.diff user/ngie/add-pjdfstest/contrib/llvm/patches/patch-r271597-clang-r217410-i386-garbage-float.diff - copied unchanged from r272049, head/contrib/llvm/patches/patch-r271597-clang-r217410-i386-garbage-float.diff user/ngie/add-pjdfstest/contrib/openpam/lib/libpam/openpam_strlset.c - copied unchanged from r272049, head/contrib/openpam/lib/libpam/openpam_strlset.c user/ngie/add-pjdfstest/contrib/openpam/lib/libpam/openpam_strlset.h - copied unchanged from r272049, head/contrib/openpam/lib/libpam/openpam_strlset.h user/ngie/add-pjdfstest/etc/devd/hyperv.conf - copied unchanged from r272049, head/etc/devd/hyperv.conf user/ngie/add-pjdfstest/lib/libproc/tests/ - copied from r272049, head/lib/libproc/tests/ user/ngie/add-pjdfstest/lib/msun/ld128/e_lgammal_r.c - copied unchanged from r272049, head/lib/msun/ld128/e_lgammal_r.c user/ngie/add-pjdfstest/lib/msun/ld80/e_lgammal_r.c - copied unchanged from r272049, head/lib/msun/ld80/e_lgammal_r.c user/ngie/add-pjdfstest/lib/msun/src/e_lgammal.c - copied unchanged from r272049, head/lib/msun/src/e_lgammal.c user/ngie/add-pjdfstest/libexec/hyperv/ - copied from r272049, head/libexec/hyperv/ user/ngie/add-pjdfstest/share/man/man4/iscsi.4 - copied unchanged from r272049, head/share/man/man4/iscsi.4 user/ngie/add-pjdfstest/share/man/man4/man4.arm/cgem.4 - copied unchanged from r272049, head/share/man/man4/man4.arm/cgem.4 user/ngie/add-pjdfstest/sys/arm/altera/socfpga/socfpga_l3regs.h - copied unchanged from r272049, head/sys/arm/altera/socfpga/socfpga_l3regs.h user/ngie/add-pjdfstest/sys/arm/altera/socfpga/socfpga_rstmgr.c - copied unchanged from r272049, head/sys/arm/altera/socfpga/socfpga_rstmgr.c user/ngie/add-pjdfstest/sys/arm/altera/socfpga/socfpga_rstmgr.h - copied unchanged from r272049, head/sys/arm/altera/socfpga/socfpga_rstmgr.h user/ngie/add-pjdfstest/sys/arm/freescale/imx/imx_iomux.c - copied unchanged from r272049, head/sys/arm/freescale/imx/imx_iomux.c user/ngie/add-pjdfstest/sys/boot/common/zfsloader.8 - copied unchanged from r272049, head/sys/boot/common/zfsloader.8 user/ngie/add-pjdfstest/sys/boot/efi/include/eficonsctl.h - copied unchanged from r272049, head/sys/boot/efi/include/eficonsctl.h user/ngie/add-pjdfstest/sys/boot/forth/pcibios.4th - copied unchanged from r272049, head/sys/boot/forth/pcibios.4th user/ngie/add-pjdfstest/sys/boot/i386/gptzfsboot/gptzfsboot.8 - copied unchanged from r272049, head/sys/boot/i386/gptzfsboot/gptzfsboot.8 user/ngie/add-pjdfstest/sys/boot/i386/zfsboot/zfsboot.8 - copied unchanged from r272049, head/sys/boot/i386/zfsboot/zfsboot.8 user/ngie/add-pjdfstest/sys/cddl/compat/opensolaris/kern/opensolaris_dtrace.c - copied unchanged from r272049, head/sys/cddl/compat/opensolaris/kern/opensolaris_dtrace.c user/ngie/add-pjdfstest/sys/compat/linux/linux_timer.c - copied unchanged from r272049, head/sys/compat/linux/linux_timer.c user/ngie/add-pjdfstest/sys/compat/linux/linux_timer.h - copied unchanged from r272049, head/sys/compat/linux/linux_timer.h user/ngie/add-pjdfstest/sys/dev/alpm/ - copied from r272049, head/sys/dev/alpm/ user/ngie/add-pjdfstest/sys/dev/amdpm/ - copied from r272049, head/sys/dev/amdpm/ user/ngie/add-pjdfstest/sys/dev/amdsmb/ - copied from r272049, head/sys/dev/amdsmb/ user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_gem_context.c - copied unchanged from r272049, head/sys/dev/drm2/i915/i915_gem_context.c user/ngie/add-pjdfstest/sys/dev/fdt/fdt_pinctrl.c - copied unchanged from r272049, head/sys/dev/fdt/fdt_pinctrl.c user/ngie/add-pjdfstest/sys/dev/fdt/fdt_pinctrl.h - copied unchanged from r272049, head/sys/dev/fdt/fdt_pinctrl.h user/ngie/add-pjdfstest/sys/dev/fdt/fdt_pinctrl_if.m - copied unchanged from r272049, head/sys/dev/fdt/fdt_pinctrl_if.m user/ngie/add-pjdfstest/sys/dev/hyperv/utilities/hv_kvp.c - copied unchanged from r272049, head/sys/dev/hyperv/utilities/hv_kvp.c user/ngie/add-pjdfstest/sys/dev/hyperv/utilities/unicode.h - copied unchanged from r272049, head/sys/dev/hyperv/utilities/unicode.h user/ngie/add-pjdfstest/sys/dev/intpm/ - copied from r272049, head/sys/dev/intpm/ user/ngie/add-pjdfstest/sys/dev/ncr/ - copied from r272049, head/sys/dev/ncr/ user/ngie/add-pjdfstest/sys/dev/nfsmb/ - copied from r272049, head/sys/dev/nfsmb/ user/ngie/add-pjdfstest/sys/dev/rl/ - copied from r272049, head/sys/dev/rl/ user/ngie/add-pjdfstest/sys/dev/smc/if_smc_fdt.c - copied unchanged from r272049, head/sys/dev/smc/if_smc_fdt.c user/ngie/add-pjdfstest/sys/dev/viapm/ - copied from r272049, head/sys/dev/viapm/ user/ngie/add-pjdfstest/sys/modules/ncr/ - copied from r272049, head/sys/modules/ncr/ user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/mlx4_stats.h - copied unchanged from r272049, head/sys/ofed/drivers/net/mlx4/mlx4_stats.h user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/utils.c - copied unchanged from r272049, head/sys/ofed/drivers/net/mlx4/utils.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/utils.h - copied unchanged from r272049, head/sys/ofed/drivers/net/mlx4/utils.h user/ngie/add-pjdfstest/tools/build/options/WITHOUT_HYPERV - copied unchanged from r272049, head/tools/build/options/WITHOUT_HYPERV user/ngie/add-pjdfstest/tools/build/options/WITH_HYPERV - copied unchanged from r272049, head/tools/build/options/WITH_HYPERV user/ngie/add-pjdfstest/usr.bin/mkimg/qcow.c - copied unchanged from r272049, head/usr.bin/mkimg/qcow.c user/ngie/add-pjdfstest/usr.bin/mkimg/tests/ - copied from r272049, head/usr.bin/mkimg/tests/ user/ngie/add-pjdfstest/usr.sbin/hyperv/ - copied from r272049, head/usr.sbin/hyperv/ Deleted: user/ngie/add-pjdfstest/contrib/llvm/patches/patch-r271024-llvm-r216989-fix-movm-armv6.diff user/ngie/add-pjdfstest/contrib/openpam/m4/ user/ngie/add-pjdfstest/lib/libproc/test/ user/ngie/add-pjdfstest/sys/amd64/vmm/vmm_msr.c user/ngie/add-pjdfstest/sys/amd64/vmm/vmm_msr.h user/ngie/add-pjdfstest/sys/arm/freescale/imx/imx51_iomux.c user/ngie/add-pjdfstest/sys/arm/freescale/imx/imx51_iomuxreg.h user/ngie/add-pjdfstest/sys/arm/freescale/imx/imx6_iomux.c user/ngie/add-pjdfstest/sys/arm/freescale/imx/imx6_iomuxreg.h user/ngie/add-pjdfstest/sys/arm/versatile/if_smc_fdt.c user/ngie/add-pjdfstest/sys/pci/ Modified: user/ngie/add-pjdfstest/Makefile.inc1 user/ngie/add-pjdfstest/ObsoleteFiles.inc user/ngie/add-pjdfstest/UPDATING user/ngie/add-pjdfstest/bin/csh/Makefile user/ngie/add-pjdfstest/bin/sh/input.c user/ngie/add-pjdfstest/bin/sh/input.h user/ngie/add-pjdfstest/bin/sh/parser.c user/ngie/add-pjdfstest/bin/sh/sh.1 user/ngie/add-pjdfstest/bin/sh/tests/parser/Makefile user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.weak2.c user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidtype.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidtype2.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.user64mode.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.aouttype.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.chasestrings.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.libtype.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprint.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprinttarg.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtype.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtypetarg.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userstrings.ksh user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/zpool/zpool_vdev.c user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libdtrace/common/drti.c user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libdtrace/common/dt_print.c user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c user/ngie/add-pjdfstest/cddl/usr.sbin/Makefile user/ngie/add-pjdfstest/contrib/atf/FREEBSD-upgrade user/ngie/add-pjdfstest/contrib/atf/NEWS user/ngie/add-pjdfstest/contrib/atf/atf-c++/atf-c++-api.3 user/ngie/add-pjdfstest/contrib/atf/atf-c/atf-c-api.3 user/ngie/add-pjdfstest/contrib/atf/atf-c/macros_h_test.c user/ngie/add-pjdfstest/contrib/atf/atf-sh/atf-check.1 user/ngie/add-pjdfstest/contrib/atf/atf-sh/atf-sh-api.3 user/ngie/add-pjdfstest/contrib/atf/atf-sh/atf-sh.1 user/ngie/add-pjdfstest/contrib/atf/doc/atf-test-case.4 user/ngie/add-pjdfstest/contrib/atf/doc/atf-test-program.1 user/ngie/add-pjdfstest/contrib/ipfilter/lib/gethost.c user/ngie/add-pjdfstest/contrib/ipfilter/lib/printnat.c user/ngie/add-pjdfstest/contrib/ipfilter/tools/ipf_y.y user/ngie/add-pjdfstest/contrib/ipfilter/tools/ipnat_y.y user/ngie/add-pjdfstest/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp user/ngie/add-pjdfstest/contrib/llvm/patches/patch-r270147-llvm-r197824-r213427-r213960.diff user/ngie/add-pjdfstest/contrib/llvm/patches/patch-r271282-clang-r200797-r200798-r200805-debug-info-crash.diff user/ngie/add-pjdfstest/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp user/ngie/add-pjdfstest/contrib/ofed/libibverbs/examples/asyncwatch.c user/ngie/add-pjdfstest/contrib/ofed/libibverbs/examples/device_list.c user/ngie/add-pjdfstest/contrib/ofed/libibverbs/examples/devinfo.c user/ngie/add-pjdfstest/contrib/ofed/libmlx4/src/mlx4-abi.h user/ngie/add-pjdfstest/contrib/one-true-awk/awk.1 user/ngie/add-pjdfstest/contrib/one-true-awk/main.c user/ngie/add-pjdfstest/contrib/one-true-awk/run.c user/ngie/add-pjdfstest/contrib/openbsm/bin/auditdistd/subr.c user/ngie/add-pjdfstest/contrib/openpam/CREDITS (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/HISTORY (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/INSTALL (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/LICENSE (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/Makefile.am (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/README (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/RELNOTES (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/TODO user/ngie/add-pjdfstest/contrib/openpam/aclocal.m4 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/autogen.sh (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/bin/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/bin/openpam_dump_policy/Makefile.in user/ngie/add-pjdfstest/contrib/openpam/bin/openpam_dump_policy/openpam_dump_policy.c user/ngie/add-pjdfstest/contrib/openpam/bin/pamtest/Makefile.in user/ngie/add-pjdfstest/contrib/openpam/bin/pamtest/pamtest.1 user/ngie/add-pjdfstest/contrib/openpam/bin/su/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/bin/su/su.1 user/ngie/add-pjdfstest/contrib/openpam/config.h.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/configure (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/configure.ac (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_borrow_cred.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_free_data.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_free_envlist.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_get_feature.3 user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_get_option.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_log.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_nullconv.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_readline.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_readlinev.3 user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_readword.3 user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_restore_cred.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_set_feature.3 user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_set_option.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_straddch.3 user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_subst.3 user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam_ttyconv.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam.conf.5 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_acct_mgmt.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_authenticate.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_chauthtok.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_close_session.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_conv.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_end.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_error.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_get_authtok.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_get_data.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_get_item.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_get_user.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_getenv.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_getenvlist.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_info.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_open_session.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_prompt.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_putenv.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_set_data.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_set_item.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_setcred.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_setenv.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_sm_acct_mgmt.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_sm_authenticate.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_sm_chauthtok.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_sm_close_session.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_sm_open_session.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_sm_setcred.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_start.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_strerror.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_verror.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_vinfo.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam_vprompt.3 (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/include/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/include/security/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/include/security/openpam_version.h (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/lib/Makefile.am user/ngie/add-pjdfstest/contrib/openpam/lib/Makefile.in user/ngie/add-pjdfstest/contrib/openpam/lib/libpam/Makefile.am user/ngie/add-pjdfstest/contrib/openpam/lib/libpam/Makefile.in user/ngie/add-pjdfstest/contrib/openpam/lib/libpam/openpam_configure.c user/ngie/add-pjdfstest/contrib/openpam/lib/libpam/openpam_ctype.h user/ngie/add-pjdfstest/contrib/openpam/lib/libpam/openpam_dispatch.c user/ngie/add-pjdfstest/contrib/openpam/lib/libpam/openpam_ttyconv.c user/ngie/add-pjdfstest/contrib/openpam/lib/libpam/pam_get_authtok.c user/ngie/add-pjdfstest/contrib/openpam/ltmain.sh (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/mkpkgng.in user/ngie/add-pjdfstest/contrib/openpam/modules/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/pam_deny/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/pam_permit/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/pam_unix/Makefile.in (contents, props changed) user/ngie/add-pjdfstest/contrib/openpam/pamgdb.in user/ngie/add-pjdfstest/contrib/openpam/t/Makefile.am user/ngie/add-pjdfstest/contrib/openpam/t/Makefile.in user/ngie/add-pjdfstest/etc/defaults/periodic.conf user/ngie/add-pjdfstest/etc/defaults/rc.conf user/ngie/add-pjdfstest/etc/devd/Makefile user/ngie/add-pjdfstest/etc/mail/Makefile user/ngie/add-pjdfstest/etc/motd user/ngie/add-pjdfstest/etc/mtree/BSD.tests.dist user/ngie/add-pjdfstest/etc/mtree/BSD.usr.dist user/ngie/add-pjdfstest/etc/mtree/BSD.var.dist user/ngie/add-pjdfstest/etc/network.subr user/ngie/add-pjdfstest/etc/rc.d/Makefile user/ngie/add-pjdfstest/etc/rc.d/ipropd_slave user/ngie/add-pjdfstest/etc/rc.d/syscons user/ngie/add-pjdfstest/etc/rc.subr user/ngie/add-pjdfstest/include/unistd.h user/ngie/add-pjdfstest/kerberos5/lib/libasn1/Makefile user/ngie/add-pjdfstest/lib/libc/Makefile user/ngie/add-pjdfstest/lib/libc/gen/nlist.c user/ngie/add-pjdfstest/lib/libc/sys/mmap.2 user/ngie/add-pjdfstest/lib/libc/sys/mq_open.2 user/ngie/add-pjdfstest/lib/libgeom/geom_stats.c user/ngie/add-pjdfstest/lib/libnv/msgio.c user/ngie/add-pjdfstest/lib/libnv/nv.h user/ngie/add-pjdfstest/lib/libnv/nv_impl.h user/ngie/add-pjdfstest/lib/libnv/nvlist.c user/ngie/add-pjdfstest/lib/libnv/nvlist_impl.h user/ngie/add-pjdfstest/lib/libnv/nvpair.c user/ngie/add-pjdfstest/lib/libnv/nvpair_impl.h user/ngie/add-pjdfstest/lib/libpam/libpam/Makefile user/ngie/add-pjdfstest/lib/libpam/modules/pam_login_access/pam_login_access.c user/ngie/add-pjdfstest/lib/libproc/Makefile user/ngie/add-pjdfstest/lib/libunbound/Makefile user/ngie/add-pjdfstest/lib/msun/Makefile user/ngie/add-pjdfstest/lib/msun/Symbol.map user/ngie/add-pjdfstest/lib/msun/man/lgamma.3 user/ngie/add-pjdfstest/lib/msun/src/e_lgamma.c user/ngie/add-pjdfstest/lib/msun/src/e_lgamma_r.c user/ngie/add-pjdfstest/lib/msun/src/e_lgammaf_r.c user/ngie/add-pjdfstest/lib/msun/src/imprecise.c user/ngie/add-pjdfstest/lib/msun/src/math.h user/ngie/add-pjdfstest/libexec/Makefile user/ngie/add-pjdfstest/release/arm/BEAGLEBONE.conf user/ngie/add-pjdfstest/release/arm/PANDABOARD.conf user/ngie/add-pjdfstest/release/arm/RPI-B.conf user/ngie/add-pjdfstest/release/arm/WANDBOARD-QUAD.conf user/ngie/add-pjdfstest/release/arm/ZEDBOARD.conf user/ngie/add-pjdfstest/release/arm/release.sh user/ngie/add-pjdfstest/release/picobsd/tinyware/simple_httpd/simple_httpd.c user/ngie/add-pjdfstest/release/rc.local user/ngie/add-pjdfstest/release/scripts/pkg-stage.sh user/ngie/add-pjdfstest/sbin/camcontrol/camcontrol.c user/ngie/add-pjdfstest/sbin/dhclient/packet.c user/ngie/add-pjdfstest/sbin/dump/traverse.c user/ngie/add-pjdfstest/sbin/ifconfig/ifconfig.8 user/ngie/add-pjdfstest/sbin/ifconfig/ifconfig.h user/ngie/add-pjdfstest/sbin/ifconfig/sfp.c user/ngie/add-pjdfstest/sbin/ping6/Makefile user/ngie/add-pjdfstest/sbin/ping6/ping6.c user/ngie/add-pjdfstest/sbin/routed/defs.h user/ngie/add-pjdfstest/sbin/routed/input.c user/ngie/add-pjdfstest/sbin/routed/main.c user/ngie/add-pjdfstest/sbin/routed/output.c user/ngie/add-pjdfstest/sbin/routed/routed.8 user/ngie/add-pjdfstest/sbin/savecore/savecore.c user/ngie/add-pjdfstest/sbin/sysctl/sysctl.c user/ngie/add-pjdfstest/share/examples/bhyve/vmrun.sh user/ngie/add-pjdfstest/share/man/man4/Makefile user/ngie/add-pjdfstest/share/man/man4/ada.4 user/ngie/add-pjdfstest/share/man/man4/cxgbe.4 user/ngie/add-pjdfstest/share/man/man4/lagg.4 user/ngie/add-pjdfstest/share/man/man4/malo.4 user/ngie/add-pjdfstest/share/man/man4/man4.arm/Makefile user/ngie/add-pjdfstest/share/man/man5/rc.conf.5 user/ngie/add-pjdfstest/share/man/man5/src.conf.5 user/ngie/add-pjdfstest/share/man/man9/Makefile user/ngie/add-pjdfstest/share/man/man9/SDT.9 user/ngie/add-pjdfstest/share/man/man9/VOP_GETPAGES.9 user/ngie/add-pjdfstest/share/man/man9/altq.9 user/ngie/add-pjdfstest/share/man/man9/ifnet.9 user/ngie/add-pjdfstest/share/man/man9/sleepqueue.9 user/ngie/add-pjdfstest/share/man/man9/sysctl.9 user/ngie/add-pjdfstest/share/mk/src.opts.mk user/ngie/add-pjdfstest/share/vt/keymaps/Makefile user/ngie/add-pjdfstest/sys/Makefile user/ngie/add-pjdfstest/sys/amd64/amd64/fpu.c user/ngie/add-pjdfstest/sys/amd64/amd64/machdep.c user/ngie/add-pjdfstest/sys/amd64/amd64/mp_machdep.c user/ngie/add-pjdfstest/sys/amd64/amd64/pmap.c user/ngie/add-pjdfstest/sys/amd64/amd64/trap.c user/ngie/add-pjdfstest/sys/amd64/conf/GENERIC user/ngie/add-pjdfstest/sys/amd64/conf/NOTES user/ngie/add-pjdfstest/sys/amd64/include/vmm.h (contents, props changed) user/ngie/add-pjdfstest/sys/amd64/linux32/linux.h user/ngie/add-pjdfstest/sys/amd64/linux32/linux32_dummy.c user/ngie/add-pjdfstest/sys/amd64/linux32/linux32_proto.h user/ngie/add-pjdfstest/sys/amd64/linux32/linux32_syscall.h user/ngie/add-pjdfstest/sys/amd64/linux32/linux32_syscalls.c user/ngie/add-pjdfstest/sys/amd64/linux32/linux32_sysent.c user/ngie/add-pjdfstest/sys/amd64/linux32/linux32_systrace_args.c user/ngie/add-pjdfstest/sys/amd64/linux32/syscalls.master user/ngie/add-pjdfstest/sys/amd64/vmm/intel/ept.c user/ngie/add-pjdfstest/sys/amd64/vmm/intel/vmcs.h user/ngie/add-pjdfstest/sys/amd64/vmm/intel/vmx.c user/ngie/add-pjdfstest/sys/amd64/vmm/intel/vmx.h user/ngie/add-pjdfstest/sys/amd64/vmm/intel/vmx_msr.c user/ngie/add-pjdfstest/sys/amd64/vmm/intel/vmx_msr.h user/ngie/add-pjdfstest/sys/amd64/vmm/io/vlapic.c user/ngie/add-pjdfstest/sys/amd64/vmm/vmm.c user/ngie/add-pjdfstest/sys/arm/allwinner/a10_clk.c user/ngie/add-pjdfstest/sys/arm/allwinner/if_emac.c user/ngie/add-pjdfstest/sys/arm/altera/socfpga/files.socfpga user/ngie/add-pjdfstest/sys/arm/altera/socfpga/socfpga_common.c user/ngie/add-pjdfstest/sys/arm/arm/cpufunc_asm_sheeva.S user/ngie/add-pjdfstest/sys/arm/arm/cpufunc_asm_xscale.S user/ngie/add-pjdfstest/sys/arm/arm/cpufunc_asm_xscale_c3.S user/ngie/add-pjdfstest/sys/arm/arm/exception.S user/ngie/add-pjdfstest/sys/arm/arm/fiq.c user/ngie/add-pjdfstest/sys/arm/arm/gic.c user/ngie/add-pjdfstest/sys/arm/arm/locore.S user/ngie/add-pjdfstest/sys/arm/arm/machdep.c user/ngie/add-pjdfstest/sys/arm/arm/minidump_machdep.c user/ngie/add-pjdfstest/sys/arm/arm/mp_machdep.c user/ngie/add-pjdfstest/sys/arm/arm/mpcore_timer.c user/ngie/add-pjdfstest/sys/arm/arm/nexus.c user/ngie/add-pjdfstest/sys/arm/arm/pmap-v6.c user/ngie/add-pjdfstest/sys/arm/arm/pmap.c user/ngie/add-pjdfstest/sys/arm/arm/trap.c user/ngie/add-pjdfstest/sys/arm/arm/undefined.c user/ngie/add-pjdfstest/sys/arm/arm/vm_machdep.c user/ngie/add-pjdfstest/sys/arm/at91/at91.c user/ngie/add-pjdfstest/sys/arm/at91/at91_aic.c user/ngie/add-pjdfstest/sys/arm/at91/at91_pinctrl.c user/ngie/add-pjdfstest/sys/arm/at91/files.at91 user/ngie/add-pjdfstest/sys/arm/at91/if_ate.c user/ngie/add-pjdfstest/sys/arm/at91/if_macb.c user/ngie/add-pjdfstest/sys/arm/cavium/cns11xx/econa.c user/ngie/add-pjdfstest/sys/arm/cavium/cns11xx/if_ece.c user/ngie/add-pjdfstest/sys/arm/freescale/imx/files.imx51 user/ngie/add-pjdfstest/sys/arm/freescale/imx/files.imx53 user/ngie/add-pjdfstest/sys/arm/freescale/imx/files.imx6 user/ngie/add-pjdfstest/sys/arm/freescale/imx/imx6_machdep.c user/ngie/add-pjdfstest/sys/arm/freescale/imx/std.imx51 user/ngie/add-pjdfstest/sys/arm/freescale/imx/std.imx53 user/ngie/add-pjdfstest/sys/arm/freescale/imx/std.imx6 user/ngie/add-pjdfstest/sys/arm/include/armreg.h user/ngie/add-pjdfstest/sys/arm/include/asm.h user/ngie/add-pjdfstest/sys/arm/include/atomic.h user/ngie/add-pjdfstest/sys/arm/include/intr.h user/ngie/add-pjdfstest/sys/arm/include/pmap.h user/ngie/add-pjdfstest/sys/arm/lpc/if_lpe.c user/ngie/add-pjdfstest/sys/arm/s3c2xx0/s3c24x0.c user/ngie/add-pjdfstest/sys/arm/ti/cpsw/if_cpsw.c user/ngie/add-pjdfstest/sys/arm/versatile/files.versatile user/ngie/add-pjdfstest/sys/arm/xscale/i80321/i80321_intr.h user/ngie/add-pjdfstest/sys/arm/xscale/i80321/i80321_timer.c user/ngie/add-pjdfstest/sys/arm/xscale/i80321/iq80321.c user/ngie/add-pjdfstest/sys/arm/xscale/i8134x/i81342.c user/ngie/add-pjdfstest/sys/arm/xscale/ixp425/if_npe.c user/ngie/add-pjdfstest/sys/arm/xscale/ixp425/ixp425.c user/ngie/add-pjdfstest/sys/arm/xscale/ixp425/ixp425_pci.c user/ngie/add-pjdfstest/sys/arm/xscale/ixp425/ixp425_timer.c user/ngie/add-pjdfstest/sys/arm/xscale/pxa/pxa_icu.c user/ngie/add-pjdfstest/sys/arm/xscale/pxa/pxa_timer.c user/ngie/add-pjdfstest/sys/boot/amd64/boot1.efi/boot1.c user/ngie/add-pjdfstest/sys/boot/amd64/efi/bootinfo.c user/ngie/add-pjdfstest/sys/boot/amd64/efi/conf.c user/ngie/add-pjdfstest/sys/boot/common/Makefile.inc user/ngie/add-pjdfstest/sys/boot/efi/libefi/Makefile user/ngie/add-pjdfstest/sys/boot/efi/libefi/libefi.c user/ngie/add-pjdfstest/sys/boot/fdt/dts/arm/socfpga.dtsi user/ngie/add-pjdfstest/sys/boot/ficl/loader.c user/ngie/add-pjdfstest/sys/boot/i386/gptzfsboot/Makefile user/ngie/add-pjdfstest/sys/boot/i386/libi386/biospci.c user/ngie/add-pjdfstest/sys/boot/i386/libi386/comconsole.c user/ngie/add-pjdfstest/sys/boot/i386/libi386/libi386.h user/ngie/add-pjdfstest/sys/boot/i386/loader/Makefile user/ngie/add-pjdfstest/sys/boot/i386/loader/main.c user/ngie/add-pjdfstest/sys/boot/i386/zfsboot/Makefile user/ngie/add-pjdfstest/sys/cam/cam_ccb.h user/ngie/add-pjdfstest/sys/cam/cam_queue.c user/ngie/add-pjdfstest/sys/cam/cam_queue.h user/ngie/add-pjdfstest/sys/cam/cam_xpt.c user/ngie/add-pjdfstest/sys/cam/ctl/ctl.c user/ngie/add-pjdfstest/sys/cam/ctl/ctl.h user/ngie/add-pjdfstest/sys/cam/ctl/ctl_backend_block.c user/ngie/add-pjdfstest/sys/cam/ctl/ctl_cmd_table.c user/ngie/add-pjdfstest/sys/cam/ctl/ctl_error.c user/ngie/add-pjdfstest/sys/cam/ctl/ctl_error.h user/ngie/add-pjdfstest/sys/cam/ctl/ctl_frontend_iscsi.c user/ngie/add-pjdfstest/sys/cam/ctl/ctl_private.h user/ngie/add-pjdfstest/sys/cam/ctl/ctl_ser_table.c user/ngie/add-pjdfstest/sys/cam/ctl/ctl_tpc.c user/ngie/add-pjdfstest/sys/cam/scsi/scsi_all.h user/ngie/add-pjdfstest/sys/cam/scsi/scsi_da.c user/ngie/add-pjdfstest/sys/cddl/boot/zfs/zfsimpl.h user/ngie/add-pjdfstest/sys/cddl/compat/opensolaris/sys/sdt.h user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/bpobj.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dnode.h user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c user/ngie/add-pjdfstest/sys/cddl/dev/dtrace/powerpc/dtrace_isa.c user/ngie/add-pjdfstest/sys/cddl/dev/fbt/powerpc/fbt_isa.c user/ngie/add-pjdfstest/sys/compat/linprocfs/linprocfs.c user/ngie/add-pjdfstest/sys/compat/linux/linux_mib.c user/ngie/add-pjdfstest/sys/conf/NOTES user/ngie/add-pjdfstest/sys/conf/files user/ngie/add-pjdfstest/sys/conf/files.amd64 user/ngie/add-pjdfstest/sys/conf/files.i386 user/ngie/add-pjdfstest/sys/conf/files.pc98 user/ngie/add-pjdfstest/sys/conf/options user/ngie/add-pjdfstest/sys/contrib/altq/altq/if_altq.h user/ngie/add-pjdfstest/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c user/ngie/add-pjdfstest/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_stub.c user/ngie/add-pjdfstest/sys/contrib/ipfilter/netinet/ip_dstlist.c user/ngie/add-pjdfstest/sys/dev/acpica/acpi.c user/ngie/add-pjdfstest/sys/dev/acpica/acpi_pci.c user/ngie/add-pjdfstest/sys/dev/ae/if_ae.c user/ngie/add-pjdfstest/sys/dev/age/if_age.c user/ngie/add-pjdfstest/sys/dev/ahci/ahci.c user/ngie/add-pjdfstest/sys/dev/ahci/ahci_pci.c user/ngie/add-pjdfstest/sys/dev/alc/if_alc.c user/ngie/add-pjdfstest/sys/dev/ale/if_ale.c user/ngie/add-pjdfstest/sys/dev/altera/atse/a_api.h user/ngie/add-pjdfstest/sys/dev/altera/atse/if_atse.c user/ngie/add-pjdfstest/sys/dev/an/if_an.c user/ngie/add-pjdfstest/sys/dev/asmc/asmc.c user/ngie/add-pjdfstest/sys/dev/asmc/asmcvar.h user/ngie/add-pjdfstest/sys/dev/ath/if_ath.c user/ngie/add-pjdfstest/sys/dev/ath/if_ath_rx.c user/ngie/add-pjdfstest/sys/dev/ath/if_ath_rx_edma.c user/ngie/add-pjdfstest/sys/dev/ath/if_ath_tx.c user/ngie/add-pjdfstest/sys/dev/ath/if_athvar.h user/ngie/add-pjdfstest/sys/dev/atkbdc/atkbd.c user/ngie/add-pjdfstest/sys/dev/bfe/if_bfe.c user/ngie/add-pjdfstest/sys/dev/bge/if_bge.c user/ngie/add-pjdfstest/sys/dev/bm/if_bm.c user/ngie/add-pjdfstest/sys/dev/bwi/if_bwi.c user/ngie/add-pjdfstest/sys/dev/bwn/if_bwn.c user/ngie/add-pjdfstest/sys/dev/bxe/bxe.c user/ngie/add-pjdfstest/sys/dev/bxe/bxe_stats.c user/ngie/add-pjdfstest/sys/dev/bxe/bxe_stats.h user/ngie/add-pjdfstest/sys/dev/bxe/ecore_sp.h user/ngie/add-pjdfstest/sys/dev/cadence/if_cgem.c user/ngie/add-pjdfstest/sys/dev/cas/if_cas.c user/ngie/add-pjdfstest/sys/dev/ce/if_ce.c user/ngie/add-pjdfstest/sys/dev/cm/smc90cx6.c user/ngie/add-pjdfstest/sys/dev/cp/if_cp.c user/ngie/add-pjdfstest/sys/dev/cs/if_cs.c user/ngie/add-pjdfstest/sys/dev/ctau/if_ct.c user/ngie/add-pjdfstest/sys/dev/cx/if_cx.c user/ngie/add-pjdfstest/sys/dev/cxgb/cxgb_main.c user/ngie/add-pjdfstest/sys/dev/cxgbe/common/t4_regs.h user/ngie/add-pjdfstest/sys/dev/cxgbe/t4_main.c user/ngie/add-pjdfstest/sys/dev/dc/if_dc.c user/ngie/add-pjdfstest/sys/dev/de/if_de.c user/ngie/add-pjdfstest/sys/dev/drm2/drm_gem_names.c user/ngie/add-pjdfstest/sys/dev/drm2/drm_gem_names.h user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_dma.c user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_drm.h user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_drv.c user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_drv.h user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_gem.c user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_gem_execbuffer.c user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_gem_gtt.c user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_irq.c user/ngie/add-pjdfstest/sys/dev/drm2/i915/i915_reg.h user/ngie/add-pjdfstest/sys/dev/drm2/i915/intel_ringbuffer.c user/ngie/add-pjdfstest/sys/dev/drm2/i915/intel_ringbuffer.h user/ngie/add-pjdfstest/sys/dev/e1000/if_em.c user/ngie/add-pjdfstest/sys/dev/e1000/if_igb.c user/ngie/add-pjdfstest/sys/dev/e1000/if_igb.h user/ngie/add-pjdfstest/sys/dev/e1000/if_lem.c user/ngie/add-pjdfstest/sys/dev/ed/if_ed.c user/ngie/add-pjdfstest/sys/dev/en/midway.c user/ngie/add-pjdfstest/sys/dev/ep/if_ep.c user/ngie/add-pjdfstest/sys/dev/ex/if_ex.c user/ngie/add-pjdfstest/sys/dev/fatm/if_fatm.c user/ngie/add-pjdfstest/sys/dev/fe/if_fe.c user/ngie/add-pjdfstest/sys/dev/ffec/if_ffec.c user/ngie/add-pjdfstest/sys/dev/firewire/firewire.c user/ngie/add-pjdfstest/sys/dev/firewire/firewire.h user/ngie/add-pjdfstest/sys/dev/firewire/firewirereg.h user/ngie/add-pjdfstest/sys/dev/firewire/fwcrom.c user/ngie/add-pjdfstest/sys/dev/firewire/fwdev.c user/ngie/add-pjdfstest/sys/dev/firewire/fwdma.c user/ngie/add-pjdfstest/sys/dev/firewire/fwmem.c user/ngie/add-pjdfstest/sys/dev/firewire/fwohci.c user/ngie/add-pjdfstest/sys/dev/firewire/fwohci_pci.c user/ngie/add-pjdfstest/sys/dev/firewire/fwohcivar.h user/ngie/add-pjdfstest/sys/dev/firewire/if_fwe.c user/ngie/add-pjdfstest/sys/dev/firewire/if_fwip.c user/ngie/add-pjdfstest/sys/dev/firewire/sbp.c user/ngie/add-pjdfstest/sys/dev/firewire/sbp_targ.c user/ngie/add-pjdfstest/sys/dev/fxp/if_fxp.c user/ngie/add-pjdfstest/sys/dev/gem/if_gem.c user/ngie/add-pjdfstest/sys/dev/gxemul/ether/if_gx.c user/ngie/add-pjdfstest/sys/dev/hatm/if_hatm_rx.c user/ngie/add-pjdfstest/sys/dev/hatm/if_hatm_tx.c user/ngie/add-pjdfstest/sys/dev/hme/if_hme.c user/ngie/add-pjdfstest/sys/dev/hwpmc/hwpmc_powerpc.c user/ngie/add-pjdfstest/sys/dev/hyperv/include/hyperv.h user/ngie/add-pjdfstest/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c user/ngie/add-pjdfstest/sys/dev/hyperv/utilities/hv_kvp.h user/ngie/add-pjdfstest/sys/dev/hyperv/utilities/hv_util.c user/ngie/add-pjdfstest/sys/dev/ie/if_ie.c user/ngie/add-pjdfstest/sys/dev/if_ndis/if_ndis.c user/ngie/add-pjdfstest/sys/dev/iicbus/if_ic.c user/ngie/add-pjdfstest/sys/dev/ipw/if_ipw.c user/ngie/add-pjdfstest/sys/dev/iscsi/iscsi.c user/ngie/add-pjdfstest/sys/dev/isp/isp_freebsd.c user/ngie/add-pjdfstest/sys/dev/isp/isp_freebsd.h user/ngie/add-pjdfstest/sys/dev/iwi/if_iwi.c user/ngie/add-pjdfstest/sys/dev/iwn/if_iwn.c user/ngie/add-pjdfstest/sys/dev/ixgbe/ixgbe.c user/ngie/add-pjdfstest/sys/dev/ixgbe/ixgbe.h user/ngie/add-pjdfstest/sys/dev/ixl/i40e_alloc.h user/ngie/add-pjdfstest/sys/dev/ixl/i40e_common.c user/ngie/add-pjdfstest/sys/dev/ixl/i40e_osdep.c user/ngie/add-pjdfstest/sys/dev/ixl/i40e_osdep.h user/ngie/add-pjdfstest/sys/dev/ixl/if_ixl.c user/ngie/add-pjdfstest/sys/dev/ixl/if_ixlv.c user/ngie/add-pjdfstest/sys/dev/ixl/ixl_txrx.c user/ngie/add-pjdfstest/sys/dev/le/am7990.c user/ngie/add-pjdfstest/sys/dev/le/am79900.c user/ngie/add-pjdfstest/sys/dev/le/lance.c user/ngie/add-pjdfstest/sys/dev/lge/if_lge.c user/ngie/add-pjdfstest/sys/dev/lmc/if_lmc.c user/ngie/add-pjdfstest/sys/dev/malo/if_malo.c user/ngie/add-pjdfstest/sys/dev/mge/if_mge.c user/ngie/add-pjdfstest/sys/dev/mii/rgephy.c user/ngie/add-pjdfstest/sys/dev/mii/rlphy.c user/ngie/add-pjdfstest/sys/dev/mii/rlswitch.c user/ngie/add-pjdfstest/sys/dev/msk/if_msk.c user/ngie/add-pjdfstest/sys/dev/mvs/mvs.c user/ngie/add-pjdfstest/sys/dev/mvs/mvs_pci.c user/ngie/add-pjdfstest/sys/dev/mvs/mvs_soc.c user/ngie/add-pjdfstest/sys/dev/mwl/if_mwl.c user/ngie/add-pjdfstest/sys/dev/mxge/if_mxge.c user/ngie/add-pjdfstest/sys/dev/my/if_my.c user/ngie/add-pjdfstest/sys/dev/netfpga10g/nf10bmac/if_nf10bmac.c user/ngie/add-pjdfstest/sys/dev/netmap/if_lem_netmap.h user/ngie/add-pjdfstest/sys/dev/netmap/if_re_netmap.h user/ngie/add-pjdfstest/sys/dev/nfe/if_nfe.c user/ngie/add-pjdfstest/sys/dev/nge/if_nge.c user/ngie/add-pjdfstest/sys/dev/oce/oce_if.c user/ngie/add-pjdfstest/sys/dev/oce/oce_if.h user/ngie/add-pjdfstest/sys/dev/patm/if_patm_rx.c user/ngie/add-pjdfstest/sys/dev/patm/if_patm_tx.c user/ngie/add-pjdfstest/sys/dev/pci/pci.c user/ngie/add-pjdfstest/sys/dev/pci/pci_private.h user/ngie/add-pjdfstest/sys/dev/pcn/if_pcn.c user/ngie/add-pjdfstest/sys/dev/pdq/pdq_ifsubr.c user/ngie/add-pjdfstest/sys/dev/ppbus/if_plip.c user/ngie/add-pjdfstest/sys/dev/qlxgbe/ql_hw.c user/ngie/add-pjdfstest/sys/dev/qlxgbe/ql_isr.c user/ngie/add-pjdfstest/sys/dev/qlxge/qls_isr.c user/ngie/add-pjdfstest/sys/dev/ral/rt2560.c user/ngie/add-pjdfstest/sys/dev/ral/rt2661.c user/ngie/add-pjdfstest/sys/dev/ral/rt2860.c user/ngie/add-pjdfstest/sys/dev/re/if_re.c user/ngie/add-pjdfstest/sys/dev/rt/if_rt.c user/ngie/add-pjdfstest/sys/dev/sbni/if_sbni.c user/ngie/add-pjdfstest/sys/dev/sf/if_sf.c user/ngie/add-pjdfstest/sys/dev/sge/if_sge.c user/ngie/add-pjdfstest/sys/dev/siis/siis.c user/ngie/add-pjdfstest/sys/dev/sis/if_sis.c user/ngie/add-pjdfstest/sys/dev/sk/if_sk.c user/ngie/add-pjdfstest/sys/dev/smc/if_smc.c user/ngie/add-pjdfstest/sys/dev/sn/if_sn.c user/ngie/add-pjdfstest/sys/dev/snc/dp83932.c user/ngie/add-pjdfstest/sys/dev/ste/if_ste.c user/ngie/add-pjdfstest/sys/dev/stge/if_stge.c user/ngie/add-pjdfstest/sys/dev/tl/if_tl.c user/ngie/add-pjdfstest/sys/dev/tsec/if_tsec.c user/ngie/add-pjdfstest/sys/dev/tws/tws.c user/ngie/add-pjdfstest/sys/dev/tws/tws.h user/ngie/add-pjdfstest/sys/dev/tws/tws_cam.c user/ngie/add-pjdfstest/sys/dev/tws/tws_hdm.c user/ngie/add-pjdfstest/sys/dev/tws/tws_hdm.h user/ngie/add-pjdfstest/sys/dev/tws/tws_services.c user/ngie/add-pjdfstest/sys/dev/tx/if_tx.c user/ngie/add-pjdfstest/sys/dev/usb/controller/xhci.c user/ngie/add-pjdfstest/sys/dev/usb/misc/uled.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_aue.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_axe.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_axge.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_cdce.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_cue.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_ipheth.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_kue.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_mos.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_rue.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_smsc.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_udav.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_urndis.c user/ngie/add-pjdfstest/sys/dev/usb/net/if_usie.c user/ngie/add-pjdfstest/sys/dev/usb/net/uhso.c user/ngie/add-pjdfstest/sys/dev/usb/net/usb_ethernet.c user/ngie/add-pjdfstest/sys/dev/usb/serial/u3g.c user/ngie/add-pjdfstest/sys/dev/usb/usbdevs user/ngie/add-pjdfstest/sys/dev/usb/wlan/if_rsu.c user/ngie/add-pjdfstest/sys/dev/usb/wlan/if_rum.c user/ngie/add-pjdfstest/sys/dev/usb/wlan/if_run.c user/ngie/add-pjdfstest/sys/dev/usb/wlan/if_uath.c user/ngie/add-pjdfstest/sys/dev/usb/wlan/if_upgt.c user/ngie/add-pjdfstest/sys/dev/usb/wlan/if_ural.c user/ngie/add-pjdfstest/sys/dev/usb/wlan/if_urtw.c user/ngie/add-pjdfstest/sys/dev/usb/wlan/if_urtwn.c user/ngie/add-pjdfstest/sys/dev/usb/wlan/if_zyd.c user/ngie/add-pjdfstest/sys/dev/vge/if_vge.c user/ngie/add-pjdfstest/sys/dev/virtio/network/if_vtnet.c user/ngie/add-pjdfstest/sys/dev/vmware/vmxnet3/if_vmx.c user/ngie/add-pjdfstest/sys/dev/vmware/vmxnet3/if_vmxvar.h user/ngie/add-pjdfstest/sys/dev/vr/if_vr.c user/ngie/add-pjdfstest/sys/dev/vt/hw/efifb/efifb.c user/ngie/add-pjdfstest/sys/dev/vt/hw/fb/vt_early_fb.c user/ngie/add-pjdfstest/sys/dev/vt/hw/fb/vt_fb.c user/ngie/add-pjdfstest/sys/dev/vt/hw/fb/vt_fb.h user/ngie/add-pjdfstest/sys/dev/vt/hw/ofwfb/ofwfb.c user/ngie/add-pjdfstest/sys/dev/vt/logo/logo_freebsd.c user/ngie/add-pjdfstest/sys/dev/vt/vt.h user/ngie/add-pjdfstest/sys/dev/vt/vt_buf.c user/ngie/add-pjdfstest/sys/dev/vt/vt_consolectl.c user/ngie/add-pjdfstest/sys/dev/vt/vt_core.c user/ngie/add-pjdfstest/sys/dev/vx/if_vx.c user/ngie/add-pjdfstest/sys/dev/vxge/vxge.c user/ngie/add-pjdfstest/sys/dev/wb/if_wb.c user/ngie/add-pjdfstest/sys/dev/wl/if_wl.c user/ngie/add-pjdfstest/sys/dev/wpi/if_wpi.c user/ngie/add-pjdfstest/sys/dev/wtap/if_wtap.c user/ngie/add-pjdfstest/sys/dev/xe/if_xe.c user/ngie/add-pjdfstest/sys/dev/xen/netback/netback.c user/ngie/add-pjdfstest/sys/dev/xen/netfront/netfront.c user/ngie/add-pjdfstest/sys/dev/xl/if_xl.c user/ngie/add-pjdfstest/sys/fs/autofs/autofs.c user/ngie/add-pjdfstest/sys/fs/autofs/autofs_vnops.c user/ngie/add-pjdfstest/sys/fs/devfs/devfs_vnops.c user/ngie/add-pjdfstest/sys/fs/ext2fs/ext2_vnops.c user/ngie/add-pjdfstest/sys/fs/fuse/fuse_vnops.c user/ngie/add-pjdfstest/sys/fs/nfsclient/nfs_clbio.c user/ngie/add-pjdfstest/sys/fs/smbfs/smbfs_io.c user/ngie/add-pjdfstest/sys/geom/eli/g_eli.c user/ngie/add-pjdfstest/sys/geom/geom_map.c user/ngie/add-pjdfstest/sys/i386/i386/initcpu.c user/ngie/add-pjdfstest/sys/i386/i386/machdep.c user/ngie/add-pjdfstest/sys/i386/i386/mp_machdep.c user/ngie/add-pjdfstest/sys/i386/i386/pmap.c user/ngie/add-pjdfstest/sys/i386/include/md_var.h user/ngie/add-pjdfstest/sys/i386/linux/linux.h user/ngie/add-pjdfstest/sys/i386/linux/linux_machdep.c user/ngie/add-pjdfstest/sys/i386/linux/linux_proto.h user/ngie/add-pjdfstest/sys/i386/linux/linux_syscall.h user/ngie/add-pjdfstest/sys/i386/linux/linux_syscalls.c user/ngie/add-pjdfstest/sys/i386/linux/linux_sysent.c user/ngie/add-pjdfstest/sys/i386/linux/linux_systrace_args.c user/ngie/add-pjdfstest/sys/i386/linux/syscalls.master user/ngie/add-pjdfstest/sys/i386/xen/mp_machdep.c user/ngie/add-pjdfstest/sys/kern/bus_if.m user/ngie/add-pjdfstest/sys/kern/kern_cons.c user/ngie/add-pjdfstest/sys/kern/kern_cpuset.c user/ngie/add-pjdfstest/sys/kern/kern_descrip.c user/ngie/add-pjdfstest/sys/kern/kern_event.c user/ngie/add-pjdfstest/sys/kern/kern_intr.c user/ngie/add-pjdfstest/sys/kern/kern_malloc.c user/ngie/add-pjdfstest/sys/kern/sched_ule.c user/ngie/add-pjdfstest/sys/kern/subr_bus.c user/ngie/add-pjdfstest/sys/kern/sys_pipe.c user/ngie/add-pjdfstest/sys/kern/sys_procdesc.c user/ngie/add-pjdfstest/sys/kern/sys_socket.c user/ngie/add-pjdfstest/sys/kern/tty_pts.c user/ngie/add-pjdfstest/sys/kern/uipc_mqueue.c user/ngie/add-pjdfstest/sys/kern/uipc_sem.c user/ngie/add-pjdfstest/sys/kern/uipc_shm.c user/ngie/add-pjdfstest/sys/kern/uipc_sockbuf.c user/ngie/add-pjdfstest/sys/kern/vfs_default.c user/ngie/add-pjdfstest/sys/kern/vfs_vnops.c user/ngie/add-pjdfstest/sys/kern/vnode_if.src user/ngie/add-pjdfstest/sys/mips/adm5120/if_admsw.c user/ngie/add-pjdfstest/sys/mips/atheros/if_arge.c user/ngie/add-pjdfstest/sys/mips/cavium/ciu.c user/ngie/add-pjdfstest/sys/mips/cavium/if_octm.c user/ngie/add-pjdfstest/sys/mips/cavium/octe/ethernet-mdio.c user/ngie/add-pjdfstest/sys/mips/cavium/octe/ethernet-rx.c user/ngie/add-pjdfstest/sys/mips/cavium/octe/ethernet-tx.c user/ngie/add-pjdfstest/sys/mips/cavium/octeon_ds1337.c user/ngie/add-pjdfstest/sys/mips/idt/if_kr.c user/ngie/add-pjdfstest/sys/mips/nlm/dev/net/xlpge.c user/ngie/add-pjdfstest/sys/mips/rmi/dev/nlge/if_nlge.c user/ngie/add-pjdfstest/sys/mips/rmi/dev/xlr/rge.c user/ngie/add-pjdfstest/sys/modules/Makefile user/ngie/add-pjdfstest/sys/modules/bce/Makefile user/ngie/add-pjdfstest/sys/modules/bxe/Makefile user/ngie/add-pjdfstest/sys/modules/drm2/i915kms/Makefile user/ngie/add-pjdfstest/sys/modules/hyperv/utilities/Makefile user/ngie/add-pjdfstest/sys/modules/i2c/controllers/alpm/Makefile user/ngie/add-pjdfstest/sys/modules/i2c/controllers/amdpm/Makefile user/ngie/add-pjdfstest/sys/modules/i2c/controllers/amdsmb/Makefile user/ngie/add-pjdfstest/sys/modules/i2c/controllers/intpm/Makefile user/ngie/add-pjdfstest/sys/modules/i2c/controllers/nfsmb/Makefile user/ngie/add-pjdfstest/sys/modules/i2c/controllers/viapm/Makefile user/ngie/add-pjdfstest/sys/modules/ixgbe/Makefile user/ngie/add-pjdfstest/sys/modules/linux/Makefile user/ngie/add-pjdfstest/sys/modules/mlx4/Makefile user/ngie/add-pjdfstest/sys/modules/mlxen/Makefile user/ngie/add-pjdfstest/sys/modules/rl/Makefile user/ngie/add-pjdfstest/sys/modules/vmm/Makefile user/ngie/add-pjdfstest/sys/modules/zfs/Makefile user/ngie/add-pjdfstest/sys/net/if.c user/ngie/add-pjdfstest/sys/net/if_arcsubr.c user/ngie/add-pjdfstest/sys/net/if_atmsubr.c user/ngie/add-pjdfstest/sys/net/if_bridge.c user/ngie/add-pjdfstest/sys/net/if_debug.c user/ngie/add-pjdfstest/sys/net/if_disc.c user/ngie/add-pjdfstest/sys/net/if_edsc.c user/ngie/add-pjdfstest/sys/net/if_epair.c user/ngie/add-pjdfstest/sys/net/if_ethersubr.c user/ngie/add-pjdfstest/sys/net/if_faith.c user/ngie/add-pjdfstest/sys/net/if_fddisubr.c user/ngie/add-pjdfstest/sys/net/if_fwsubr.c user/ngie/add-pjdfstest/sys/net/if_gif.c user/ngie/add-pjdfstest/sys/net/if_gre.c user/ngie/add-pjdfstest/sys/net/if_gre.h user/ngie/add-pjdfstest/sys/net/if_iso88025subr.c user/ngie/add-pjdfstest/sys/net/if_lagg.c user/ngie/add-pjdfstest/sys/net/if_lagg.h user/ngie/add-pjdfstest/sys/net/if_loop.c user/ngie/add-pjdfstest/sys/net/if_mib.c user/ngie/add-pjdfstest/sys/net/if_spppfr.c user/ngie/add-pjdfstest/sys/net/if_spppsubr.c user/ngie/add-pjdfstest/sys/net/if_stf.c user/ngie/add-pjdfstest/sys/net/if_tap.c user/ngie/add-pjdfstest/sys/net/if_tun.c user/ngie/add-pjdfstest/sys/net/if_var.h user/ngie/add-pjdfstest/sys/net/if_vlan.c user/ngie/add-pjdfstest/sys/net/ifq.h user/ngie/add-pjdfstest/sys/net/route.c user/ngie/add-pjdfstest/sys/net/route.h user/ngie/add-pjdfstest/sys/net/rtsock.c user/ngie/add-pjdfstest/sys/net80211/ieee80211.c user/ngie/add-pjdfstest/sys/net80211/ieee80211_adhoc.c user/ngie/add-pjdfstest/sys/net80211/ieee80211_hostap.c user/ngie/add-pjdfstest/sys/net80211/ieee80211_input.c user/ngie/add-pjdfstest/sys/net80211/ieee80211_mesh.c user/ngie/add-pjdfstest/sys/net80211/ieee80211_monitor.c user/ngie/add-pjdfstest/sys/net80211/ieee80211_output.c user/ngie/add-pjdfstest/sys/net80211/ieee80211_sta.c user/ngie/add-pjdfstest/sys/net80211/ieee80211_superg.c user/ngie/add-pjdfstest/sys/net80211/ieee80211_wds.c user/ngie/add-pjdfstest/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c user/ngie/add-pjdfstest/sys/netgraph/bluetooth/drivers/h4/ng_h4.c user/ngie/add-pjdfstest/sys/netgraph/bluetooth/include/ng_btsocket_l2cap.h user/ngie/add-pjdfstest/sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h user/ngie/add-pjdfstest/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c user/ngie/add-pjdfstest/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c user/ngie/add-pjdfstest/sys/netgraph/ng_device.c user/ngie/add-pjdfstest/sys/netgraph/ng_eiface.c user/ngie/add-pjdfstest/sys/netgraph/ng_iface.c user/ngie/add-pjdfstest/sys/netgraph/ng_ppp.c user/ngie/add-pjdfstest/sys/netgraph/ng_sppp.c user/ngie/add-pjdfstest/sys/netgraph/ng_tty.c user/ngie/add-pjdfstest/sys/netinet/in.c user/ngie/add-pjdfstest/sys/netinet/in_pcb.c user/ngie/add-pjdfstest/sys/netinet/in_pcb.h user/ngie/add-pjdfstest/sys/netinet/in_pcbgroup.c user/ngie/add-pjdfstest/sys/netinet/in_rss.c user/ngie/add-pjdfstest/sys/netinet/ip_fastfwd.c user/ngie/add-pjdfstest/sys/netinet/ip_gre.c user/ngie/add-pjdfstest/sys/netinet/ip_options.c user/ngie/add-pjdfstest/sys/netinet/ip_options.h user/ngie/add-pjdfstest/sys/netinet/ip_output.c user/ngie/add-pjdfstest/sys/netinet/sctp_auth.c user/ngie/add-pjdfstest/sys/netinet/sctp_auth.h user/ngie/add-pjdfstest/sys/netinet/sctp_cc_functions.c user/ngie/add-pjdfstest/sys/netinet/sctp_os_bsd.h user/ngie/add-pjdfstest/sys/netinet/sctp_output.c user/ngie/add-pjdfstest/sys/netinet/sctp_pcb.c user/ngie/add-pjdfstest/sys/netinet/sctp_structs.h user/ngie/add-pjdfstest/sys/netinet/sctp_usrreq.c user/ngie/add-pjdfstest/sys/netinet/sctputil.c user/ngie/add-pjdfstest/sys/netinet/tcp_hostcache.c user/ngie/add-pjdfstest/sys/netinet/tcp_hostcache.h user/ngie/add-pjdfstest/sys/netinet/tcp_input.c user/ngie/add-pjdfstest/sys/netinet/tcp_output.c user/ngie/add-pjdfstest/sys/netinet/tcp_subr.c user/ngie/add-pjdfstest/sys/netinet/tcp_usrreq.c user/ngie/add-pjdfstest/sys/netinet/tcp_var.h user/ngie/add-pjdfstest/sys/netinet6/in6.c user/ngie/add-pjdfstest/sys/netinet6/in6.h user/ngie/add-pjdfstest/sys/netinet6/in6_pcb.c user/ngie/add-pjdfstest/sys/netinet6/in6_pcb.h user/ngie/add-pjdfstest/sys/netinet6/in6_var.h user/ngie/add-pjdfstest/sys/netinet6/ip6_output.c user/ngie/add-pjdfstest/sys/netinet6/nd6.c user/ngie/add-pjdfstest/sys/netinet6/scope6.c user/ngie/add-pjdfstest/sys/netinet6/scope6_var.h user/ngie/add-pjdfstest/sys/netipsec/ipsec_input.c user/ngie/add-pjdfstest/sys/netipsec/ipsec_output.c user/ngie/add-pjdfstest/sys/netpfil/pf/if_pflog.c user/ngie/add-pjdfstest/sys/netpfil/pf/if_pfsync.c user/ngie/add-pjdfstest/sys/netpfil/pf/pf_ioctl.c user/ngie/add-pjdfstest/sys/nfsclient/nfs_bio.c user/ngie/add-pjdfstest/sys/ofed/drivers/infiniband/hw/mlx4/mad.c user/ngie/add-pjdfstest/sys/ofed/drivers/infiniband/hw/mlx4/main.c user/ngie/add-pjdfstest/sys/ofed/drivers/infiniband/hw/mlx4/qp.c user/ngie/add-pjdfstest/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c user/ngie/add-pjdfstest/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/alloc.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/catas.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/cmd.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/cq.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_cq.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_ethtool.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_main.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_netdev.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_port.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_port.h user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_resources.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_rx.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_selftest.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/en_tx.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/eq.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/fw.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/fw.h user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/icm.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/icm.h user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/intf.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/main.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/mcg.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/mlx4.h user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/mlx4_en.h user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/mr.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/pd.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/port.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/profile.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/qp.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/reset.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/resource_tracker.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/sense.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/srq.c user/ngie/add-pjdfstest/sys/ofed/drivers/net/mlx4/sys_tune.c user/ngie/add-pjdfstest/sys/ofed/include/linux/linux_compat.c user/ngie/add-pjdfstest/sys/ofed/include/linux/mlx4/cmd.h user/ngie/add-pjdfstest/sys/ofed/include/linux/mlx4/cq.h user/ngie/add-pjdfstest/sys/ofed/include/linux/mlx4/device.h user/ngie/add-pjdfstest/sys/ofed/include/linux/mlx4/driver.h user/ngie/add-pjdfstest/sys/ofed/include/linux/mlx4/qp.h user/ngie/add-pjdfstest/sys/ofed/include/linux/mlx4/srq.h user/ngie/add-pjdfstest/sys/opencrypto/cryptodev.c user/ngie/add-pjdfstest/sys/pc98/pc98/machdep.c user/ngie/add-pjdfstest/sys/powerpc/aim/locore64.S user/ngie/add-pjdfstest/sys/powerpc/powerpc/intr_machdep.c user/ngie/add-pjdfstest/sys/powerpc/ps3/if_glc.c user/ngie/add-pjdfstest/sys/powerpc/ps3/ps3_syscons.c user/ngie/add-pjdfstest/sys/powerpc/pseries/phyp_llan.c user/ngie/add-pjdfstest/sys/sparc64/pci/psycho.c user/ngie/add-pjdfstest/sys/sparc64/sparc64/intr_machdep.c user/ngie/add-pjdfstest/sys/sys/bus.h user/ngie/add-pjdfstest/sys/sys/cpuset.h user/ngie/add-pjdfstest/sys/sys/file.h user/ngie/add-pjdfstest/sys/sys/interrupt.h user/ngie/add-pjdfstest/sys/sys/ksem.h user/ngie/add-pjdfstest/sys/sys/mbuf.h user/ngie/add-pjdfstest/sys/sys/mman.h user/ngie/add-pjdfstest/sys/sys/param.h user/ngie/add-pjdfstest/sys/sys/sleepqueue.h user/ngie/add-pjdfstest/sys/sys/sockbuf.h user/ngie/add-pjdfstest/sys/sys/timex.h user/ngie/add-pjdfstest/sys/ufs/ffs/ffs_vnops.c user/ngie/add-pjdfstest/sys/vm/vm_map.c user/ngie/add-pjdfstest/sys/vm/vm_mmap.c user/ngie/add-pjdfstest/sys/vm/vm_object.h user/ngie/add-pjdfstest/sys/vm/vm_pager.c user/ngie/add-pjdfstest/sys/vm/vm_pager.h user/ngie/add-pjdfstest/sys/vm/vnode_pager.c user/ngie/add-pjdfstest/sys/vm/vnode_pager.h user/ngie/add-pjdfstest/sys/x86/include/specialreg.h user/ngie/add-pjdfstest/sys/x86/x86/identcpu.c user/ngie/add-pjdfstest/sys/x86/x86/intr_machdep.c user/ngie/add-pjdfstest/sys/x86/x86/local_apic.c user/ngie/add-pjdfstest/sys/x86/xen/xen_intr.c user/ngie/add-pjdfstest/tests/sys/kern/unix_seqpacket_test.c user/ngie/add-pjdfstest/tests/sys/netinet/fibs_test.sh user/ngie/add-pjdfstest/tools/build/mk/OptionalObsoleteFiles.inc user/ngie/add-pjdfstest/tools/build/options/WITHOUT_RCS user/ngie/add-pjdfstest/tools/regression/acltools/01.t user/ngie/add-pjdfstest/tools/regression/acltools/03.t user/ngie/add-pjdfstest/tools/regression/acltools/04.t user/ngie/add-pjdfstest/tools/test/dtrace/Makefile user/ngie/add-pjdfstest/usr.bin/elfdump/elfdump.1 user/ngie/add-pjdfstest/usr.bin/grep/Makefile user/ngie/add-pjdfstest/usr.bin/iscsictl/iscsictl.8 user/ngie/add-pjdfstest/usr.bin/mkimg/Makefile user/ngie/add-pjdfstest/usr.bin/mkimg/apm.c user/ngie/add-pjdfstest/usr.bin/mkimg/bsd.c user/ngie/add-pjdfstest/usr.bin/mkimg/ebr.c user/ngie/add-pjdfstest/usr.bin/mkimg/gpt.c user/ngie/add-pjdfstest/usr.bin/mkimg/mbr.c user/ngie/add-pjdfstest/usr.bin/mkimg/mkimg.1 user/ngie/add-pjdfstest/usr.bin/mkimg/mkimg.c user/ngie/add-pjdfstest/usr.bin/mkimg/mkimg.h user/ngie/add-pjdfstest/usr.bin/mkimg/pc98.c user/ngie/add-pjdfstest/usr.bin/mkimg/scheme.c user/ngie/add-pjdfstest/usr.bin/mkimg/scheme.h user/ngie/add-pjdfstest/usr.bin/mkimg/vtoc8.c user/ngie/add-pjdfstest/usr.bin/rctl/rctl.8 user/ngie/add-pjdfstest/usr.bin/truss/arm-fbsd.c user/ngie/add-pjdfstest/usr.bin/vmstat/vmstat.c user/ngie/add-pjdfstest/usr.bin/xinstall/xinstall.c user/ngie/add-pjdfstest/usr.sbin/Makefile user/ngie/add-pjdfstest/usr.sbin/Makefile.amd64 user/ngie/add-pjdfstest/usr.sbin/Makefile.i386 user/ngie/add-pjdfstest/usr.sbin/autofs/common.c user/ngie/add-pjdfstest/usr.sbin/bhyve/bhyve.8 user/ngie/add-pjdfstest/usr.sbin/bhyve/bhyverun.c user/ngie/add-pjdfstest/usr.sbin/bhyve/block_if.c user/ngie/add-pjdfstest/usr.sbin/bhyve/smbiostbl.c user/ngie/add-pjdfstest/usr.sbin/bhyve/xmsr.c user/ngie/add-pjdfstest/usr.sbin/bhyve/xmsr.h user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/gpart_ops.c user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/part_wizard.c user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/partedit.c user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/partedit.h user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/partedit_generic.c user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/partedit_pc98.c user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/partedit_powerpc.c user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/partedit_sparc64.c user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/partedit_x86.c user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/sade.8 user/ngie/add-pjdfstest/usr.sbin/bsdinstall/partedit/scripted.c user/ngie/add-pjdfstest/usr.sbin/bsdinstall/scripts/auto user/ngie/add-pjdfstest/usr.sbin/bsdinstall/scripts/config user/ngie/add-pjdfstest/usr.sbin/bsdinstall/scripts/zfsboot user/ngie/add-pjdfstest/usr.sbin/ctladm/ctladm.8 user/ngie/add-pjdfstest/usr.sbin/ctld/ctl.conf.5 user/ngie/add-pjdfstest/usr.sbin/ctld/ctld.c user/ngie/add-pjdfstest/usr.sbin/iscsid/iscsid.8 user/ngie/add-pjdfstest/usr.sbin/iscsid/login.c user/ngie/add-pjdfstest/usr.sbin/lpr/lpd/printjob.c user/ngie/add-pjdfstest/usr.sbin/makefs/ffs.c user/ngie/add-pjdfstest/usr.sbin/mfiutil/mfi_properties.c user/ngie/add-pjdfstest/usr.sbin/mtree/Makefile user/ngie/add-pjdfstest/usr.sbin/newsyslog/newsyslog.8 Directory Properties: user/ngie/add-pjdfstest/ (props changed) user/ngie/add-pjdfstest/cddl/ (props changed) user/ngie/add-pjdfstest/cddl/contrib/opensolaris/ (props changed) user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libzfs/ (props changed) user/ngie/add-pjdfstest/contrib/atf/ (props changed) user/ngie/add-pjdfstest/contrib/ipfilter/ (props changed) user/ngie/add-pjdfstest/contrib/llvm/ (props changed) user/ngie/add-pjdfstest/contrib/llvm/tools/clang/ (props changed) user/ngie/add-pjdfstest/contrib/one-true-awk/ (props changed) user/ngie/add-pjdfstest/contrib/openbsm/ (props changed) user/ngie/add-pjdfstest/contrib/openpam/ (props changed) user/ngie/add-pjdfstest/contrib/openpam/bin/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/bin/su/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/bin/su/su.c (props changed) user/ngie/add-pjdfstest/contrib/openpam/compile (props changed) user/ngie/add-pjdfstest/contrib/openpam/config.guess (props changed) user/ngie/add-pjdfstest/contrib/openpam/config.sub (props changed) user/ngie/add-pjdfstest/contrib/openpam/depcomp (props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/openpam.man (props changed) user/ngie/add-pjdfstest/contrib/openpam/doc/man/pam.man (props changed) user/ngie/add-pjdfstest/contrib/openpam/include/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/include/security/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/include/security/openpam.h (props changed) user/ngie/add-pjdfstest/contrib/openpam/include/security/openpam_attr.h (props changed) user/ngie/add-pjdfstest/contrib/openpam/include/security/pam_appl.h (props changed) user/ngie/add-pjdfstest/contrib/openpam/include/security/pam_constants.h (props changed) user/ngie/add-pjdfstest/contrib/openpam/include/security/pam_modules.h (props changed) user/ngie/add-pjdfstest/contrib/openpam/include/security/pam_types.h (props changed) user/ngie/add-pjdfstest/contrib/openpam/install-sh (props changed) user/ngie/add-pjdfstest/contrib/openpam/misc/gendoc.pl (props changed) user/ngie/add-pjdfstest/contrib/openpam/missing (props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/pam_deny/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/pam_deny/pam_deny.c (props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/pam_permit/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/pam_permit/pam_permit.c (props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/pam_unix/Makefile.am (props changed) user/ngie/add-pjdfstest/contrib/openpam/modules/pam_unix/pam_unix.c (props changed) user/ngie/add-pjdfstest/etc/ (props changed) user/ngie/add-pjdfstest/include/ (props changed) user/ngie/add-pjdfstest/lib/libc/ (props changed) user/ngie/add-pjdfstest/sbin/ (props changed) user/ngie/add-pjdfstest/share/ (props changed) user/ngie/add-pjdfstest/share/man/man4/ (props changed) user/ngie/add-pjdfstest/sys/ (props changed) user/ngie/add-pjdfstest/sys/amd64/vmm/ (props changed) user/ngie/add-pjdfstest/sys/boot/ (props changed) user/ngie/add-pjdfstest/sys/cddl/contrib/opensolaris/ (props changed) user/ngie/add-pjdfstest/sys/conf/ (props changed) user/ngie/add-pjdfstest/sys/contrib/ipfilter/ (props changed) user/ngie/add-pjdfstest/sys/dev/hyperv/ (props changed) user/ngie/add-pjdfstest/sys/modules/hyperv/ (props changed) user/ngie/add-pjdfstest/sys/modules/vmm/ (props changed) user/ngie/add-pjdfstest/usr.bin/mkimg/ (props changed) user/ngie/add-pjdfstest/usr.sbin/bhyve/ (props changed) Modified: user/ngie/add-pjdfstest/Makefile.inc1 ============================================================================== --- user/ngie/add-pjdfstest/Makefile.inc1 Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/Makefile.inc1 Tue Sep 23 22:38:10 2014 (r272050) @@ -352,6 +352,7 @@ WMAKE= ${WMAKEENV} ${MAKE} ${WORLD_FLAG .if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "powerpc64" # 32 bit world +LIB32_OBJTREE= ${OBJTREE}${.CURDIR}/world32 LIB32TMP= ${OBJTREE}${.CURDIR}/lib32 .if ${TARGET_ARCH} == "amd64" @@ -387,7 +388,7 @@ LIB32FLAGS+= --sysroot=${WORLDTMP} .endif # Yes, the flags are redundant. -LIB32WMAKEENV+= MAKEOBJDIRPREFIX=${OBJTREE}/lib32 \ +LIB32WMAKEENV+= MAKEOBJDIRPREFIX=${LIB32_OBJTREE} \ _SHLIBDIRPREFIX=${LIB32TMP} \ _LDSCRIPTROOT=${LIB32TMP} \ VERSION="${VERSION}" \ @@ -611,7 +612,7 @@ build32: cd ${.CURDIR}/${_dir}; \ WORLDTMP=${WORLDTMP} \ MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \ - MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} SSP_CFLAGS= DESTDIR= \ + MAKEOBJDIRPREFIX=${LIB32_OBJTREE} ${MAKE} SSP_CFLAGS= DESTDIR= \ DIRPRFX=${_dir}/ -DNO_LINT -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \ build-tools .endfor Modified: user/ngie/add-pjdfstest/ObsoleteFiles.inc ============================================================================== --- user/ngie/add-pjdfstest/ObsoleteFiles.inc Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/ObsoleteFiles.inc Tue Sep 23 22:38:10 2014 (r272050) @@ -38,6 +38,11 @@ # xargs -n1 | sort | uniq -d; # done +# 20140922: sleepq_calc_signal_retval.9 and sleepq_catch_signals.9 removed +OLD_FILES+=usr/share/man/man9/sleepq_calc_signal_retval.9.gz +OLD_FILES+=usr/share/man/man9/sleepq_catch_signals.9.gz +# 20140917: hv_kvpd rc.d script removed in favor of devd configuration +OLD_FILES+=etc/rc.d/hv_kvpd # 20140814: libopie version bump OLD_LIBS+=usr/lib/libopie.so.7 OLD_LIBS+=usr/lib32/libopie.so.7 Modified: user/ngie/add-pjdfstest/UPDATING ============================================================================== --- user/ngie/add-pjdfstest/UPDATING Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/UPDATING Tue Sep 23 22:38:10 2014 (r272050) @@ -31,6 +31,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20140922: + At svn r271982, The default linux compat kernel ABI has been adjusted + to 2.6.18 in support of the linux-c6 compat ports infrastructure + update. If you wish to continue using the linux-f10 compat ports, + add compat.linux.osrelease=2.6.16 to your local sysctl.conf. Users are + encouraged to update their linux-compat packages to linux-c6 during + their next update cycle. + 20140729: The ofwfb driver, used to provide a graphics console on PowerPC when using vt(4), no longer allows mmap() of all of physical memory. This Modified: user/ngie/add-pjdfstest/bin/csh/Makefile ============================================================================== --- user/ngie/add-pjdfstest/bin/csh/Makefile Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/bin/csh/Makefile Tue Sep 23 22:38:10 2014 (r272050) @@ -94,7 +94,7 @@ GENHDRS+= iconv.h SRCS+= iconv_stub.c iconv.h: ${.CURDIR}/iconv_stub.h - cp ${.CURDIR}/iconv_stub.h ${.TARGET} + cp -f ${.CURDIR}/iconv_stub.h ${.TARGET} .endif .endif Modified: user/ngie/add-pjdfstest/bin/sh/input.c ============================================================================== --- user/ngie/add-pjdfstest/bin/sh/input.c Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/bin/sh/input.c Tue Sep 23 22:38:10 2014 (r272050) @@ -116,33 +116,6 @@ resetinput(void) } -/* - * Read a line from the script. - */ - -char * -pfgets(char *line, int len) -{ - char *p = line; - int nleft = len; - int c; - - while (--nleft > 0) { - c = pgetc_macro(); - if (c == PEOF) { - if (p == line) - return NULL; - break; - } - *p++ = c; - if (c == '\n') - break; - } - *p = '\0'; - return line; -} - - /* * Read a character from the script, returning PEOF on end of file. @@ -338,7 +311,7 @@ pungetc(void) * We handle aliases this way. */ void -pushstring(char *s, int len, struct alias *ap) +pushstring(const char *s, int len, struct alias *ap) { struct strpush *sp; Modified: user/ngie/add-pjdfstest/bin/sh/input.h ============================================================================== --- user/ngie/add-pjdfstest/bin/sh/input.h Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/bin/sh/input.h Tue Sep 23 22:38:10 2014 (r272050) @@ -48,12 +48,11 @@ struct alias; struct parsefile; void resetinput(void); -char *pfgets(char *, int); int pgetc(void); int preadbuffer(void); int preadateof(void); void pungetc(void); -void pushstring(char *, int, struct alias *); +void pushstring(const char *, int, struct alias *); void setinputfile(const char *, int); void setinputfd(int, int); void setinputstring(const char *, int); Modified: user/ngie/add-pjdfstest/bin/sh/parser.c ============================================================================== --- user/ngie/add-pjdfstest/bin/sh/parser.c Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/bin/sh/parser.c Tue Sep 23 22:38:10 2014 (r272050) @@ -66,7 +66,6 @@ __FBSDID("$FreeBSD$"); * Shell command parser. */ -#define EOFMARKLEN 79 #define PROMPTLEN 128 /* values of checkkwd variable */ @@ -718,7 +717,6 @@ parsefname(void) if (n->type == NHERE) { struct heredoc *here = heredoc; struct heredoc *p; - int i; if (quoteflag == 0) n->type = NXHERE; @@ -727,7 +725,7 @@ parsefname(void) while (*wordtext == '\t') wordtext++; } - if (! noexpand(wordtext) || (i = strlen(wordtext)) == 0 || i > EOFMARKLEN) + if (! noexpand(wordtext)) synerror("Illegal eof marker for << redirection"); rmescapes(wordtext); here->eofmark = wordtext; @@ -946,6 +944,41 @@ struct tokenstate /* + * Check to see whether we are at the end of the here document. When this + * is called, c is set to the first character of the next input line. If + * we are at the end of the here document, this routine sets the c to PEOF. + * The new value of c is returned. + */ + +static int +checkend(int c, const char *eofmark, int striptabs) +{ + if (striptabs) { + while (c == '\t') + c = pgetc(); + } + if (c == *eofmark) { + int c2; + const char *q; + + for (q = eofmark + 1; c2 = pgetc(), *q != '\0' && c2 == *q; q++) + ; + if ((c2 == PEOF || c2 == '\n') && *q == '\0') { + c = PEOF; + if (c2 == '\n') { + plinno++; + needprompt = doprompt; + } + } else { + pungetc(); + pushstring(eofmark + 1, q - (eofmark + 1), NULL); + } + } + return (c); +} + + +/* * Called to parse command substitutions. */ @@ -1269,7 +1302,6 @@ readcstyleesc(char *out) * will run code that appears at the end of readtoken1. */ -#define CHECKEND() {goto checkend; checkend_return:;} #define PARSEREDIR() {goto parseredir; parseredir_return:;} #define PARSESUB() {goto parsesub; parsesub_return:;} #define PARSEARITH() {goto parsearith; parsearith_return:;} @@ -1281,7 +1313,6 @@ readtoken1(int firstc, char const *initi int c = firstc; char *out; int len; - char line[EOFMARKLEN + 1]; struct nodelist *bqlist; int quotef; int newvarnest; @@ -1303,7 +1334,9 @@ readtoken1(int firstc, char const *initi STARTSTACKSTR(out); loop: { /* for each line, until end of word */ - CHECKEND(); /* set c to PEOF if at end of here document */ + if (eofmark) + /* set c to PEOF if at end of here document */ + c = checkend(c, eofmark, striptabs); for (;;) { /* until end of line or end of word */ CHECKSTRSPACE(4, out); /* permit 4 calls to USTPUTC */ @@ -1484,40 +1517,6 @@ endword: /* - * Check to see whether we are at the end of the here document. When this - * is called, c is set to the first character of the next input line. If - * we are at the end of the here document, this routine sets the c to PEOF. - */ - -checkend: { - if (eofmark) { - if (striptabs) { - while (c == '\t') - c = pgetc(); - } - if (c == *eofmark) { - if (pfgets(line, sizeof line) != NULL) { - const char *p, *q; - - p = line; - for (q = eofmark + 1 ; *q && *p == *q ; p++, q++); - if ((*p == '\0' || *p == '\n') && *q == '\0') { - c = PEOF; - if (*p == '\n') { - plinno++; - needprompt = doprompt; - } - } else { - pushstring(line, strlen(line), NULL); - } - } - } - } - goto checkend_return; -} - - -/* * Parse a redirection operator. The variable "out" points to a string * specifying the fd to be redirected. The variable "c" contains the * first character of the redirection operator. @@ -1915,7 +1914,7 @@ char * getprompt(void *unused __unused) { static char ps[PROMPTLEN]; - char *fmt; + const char *fmt; const char *pwd; int i, trim; static char internal_error[] = "??"; @@ -2029,7 +2028,7 @@ expandstr(const char *ps) parser_temp = NULL; setinputstring(ps, 1); doprompt = 0; - readtoken1(pgetc(), DQSYNTAX, "\n\n", 0); + readtoken1(pgetc(), DQSYNTAX, "", 0); if (backquotelist != NULL) error("Command substitution not allowed here"); Modified: user/ngie/add-pjdfstest/bin/sh/sh.1 ============================================================================== --- user/ngie/add-pjdfstest/bin/sh/sh.1 Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/bin/sh/sh.1 Tue Sep 23 22:38:10 2014 (r272050) @@ -32,7 +32,7 @@ .\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 .\" $FreeBSD$ .\" -.Dd September 4, 2014 +.Dd September 21, 2014 .Dt SH 1 .Os .Sh NAME @@ -590,7 +590,8 @@ the following actions: Leading words of the form .Dq Li name=value are stripped off and assigned to the environment of -the simple command. +the simple command +(they do not affect expansions). Redirection operators and their arguments (as described below) are stripped off and saved for processing. Modified: user/ngie/add-pjdfstest/bin/sh/tests/parser/Makefile ============================================================================== --- user/ngie/add-pjdfstest/bin/sh/tests/parser/Makefile Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/bin/sh/tests/parser/Makefile Tue Sep 23 22:38:10 2014 (r272050) @@ -54,6 +54,7 @@ FILES+= heredoc8.0 FILES+= heredoc9.0 FILES+= heredoc10.0 FILES+= heredoc11.0 +FILES+= heredoc12.0 FILES+= no-space1.0 FILES+= no-space2.0 FILES+= only-redir1.0 Copied: user/ngie/add-pjdfstest/bin/sh/tests/parser/heredoc12.0 (from r272049, head/bin/sh/tests/parser/heredoc12.0) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/ngie/add-pjdfstest/bin/sh/tests/parser/heredoc12.0 Tue Sep 23 22:38:10 2014 (r272050, copy of r272049, head/bin/sh/tests/parser/heredoc12.0) @@ -0,0 +1,47 @@ +# $FreeBSD$ + +failures=0 + +check() { + if ! eval "[ $* ]"; then + echo "Failed: $*" + : $((failures += 1)) + fi +} + +longmark=`printf %01000d 4` +longmarkstripped=`printf %0999d 0` + +check '"$(cat <<'"$longmark +$longmark"' +echo yes)" = "yes"' + +check '"$(cat <<\'"$longmark +$longmark"' +echo yes)" = "yes"' + +check '"$(cat <<'"$longmark +yes +$longmark"' +)" = "yes"' + +check '"$(cat <<\'"$longmark +yes +$longmark"' +)" = "yes"' + +check '"$(cat <<'"$longmark +$longmarkstripped +$longmark. +$longmark"' +)" = "'"$longmarkstripped +$longmark."'"' + +check '"$(cat <<\'"$longmark +$longmarkstripped +$longmark. +$longmark"' +)" = "'"$longmarkstripped +$longmark."'"' + +exit $((failures != 0)) Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.weak2.c ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.weak2.c Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.weak2.c Tue Sep 23 22:38:10 2014 (r272050) @@ -34,14 +34,14 @@ * leading underscores. */ -#pragma weak _go = go - static int go(int a) { return (a + 1); } +#pragma weak _go = go + static void handle(int sig) { Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidtype.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidtype.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidtype.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -29,6 +29,7 @@ dtrace=$1 t="season_8_mountain_of_madness_t" pid=$$ -rc=`$dtrace -n "BEGIN{ trace(pid$pid`$t)0); }"` +$dtrace -n "BEGIN{ trace(pid$pid\`$t)0); }" +rc=$? exit $rc Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidtype2.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidtype2.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidtype2.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -30,6 +30,7 @@ dtrace=$1 t="season_8_mountain_of_madness_t" pid=$$ -rc=`$dtrace -n "BEGIN{ trace(pid`$t)0); }"` -p $pid +$dtrace -n "BEGIN{ trace(pid$pid\`$t)0); }" -p $pid +rc=$? exit $rc Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.user64mode.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.user64mode.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.user64mode.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -31,7 +31,7 @@ dtrace=$1 t="zelda_info_t" exe="tst.chasestrings.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -ne 0 ]]; then echo "CTF does not exist in $exe, that's a bug" >&2 exit 1 Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.aouttype.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.aouttype.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.aouttype.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -25,10 +25,10 @@ if [ $# != 1 ]; then fi dtrace=$1 -t="season_7_lisa_the_vegetrian_t *" +t="season_7_lisa_the_vegetarian_t *" exe="tst.aouttype.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -ne 0 ]]; then echo "CTF does not exist in $exe, that's a bug" >&2 exit 1 @@ -37,7 +37,8 @@ fi ./$exe & pid=$! -rc=`$dtrace -n "BEGIN{ trace((pid$pid\`$t)0); exit(0); }"` +$dtrace -n "BEGIN{ trace((pid$pid\`$t)0); exit(0); }" +rc=$? kill -9 $pid Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.chasestrings.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.chasestrings.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.chasestrings.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -29,7 +29,7 @@ dtrace=$1 t="zelda_info_t" exe="tst.chasestrings.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -ne 0 ]]; then echo "CTF does not exist in $exe, that's a bug" >&2 exit 1 Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.libtype.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.libtype.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.libtype.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -29,7 +29,7 @@ dtrace=$1 t="int" exe="tst.libtype.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -eq 0 ]]; then echo "CTF exists in $exe, that's a bug" >&2 exit 1 @@ -38,7 +38,8 @@ fi ./$exe & pid=$! -rc=`$dtrace -n "BEGIN{ trace((pid$pid\`$t)0); exit(0); }"` +$dtrace -n "BEGIN{ trace((pid$pid\`$t)0); exit(0); }" +rc=$? kill -9 $pid Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprint.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprint.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprint.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -28,7 +28,7 @@ dtrace=$1 t="final_fantasy_info_t" exe="tst.printtype.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -ne 0 ]]; then echo "CTF does not exist in $exe, that's a bug" >&2 exit 1 Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprinttarg.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprinttarg.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprinttarg.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -29,7 +29,7 @@ dtrace=$1 t="final_fantasy_info_t" exe="tst.printtype.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -ne 0 ]]; then echo "CTF does not exist in $exe, that's a bug" >&2 exit 1 Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtype.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtype.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtype.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -28,7 +28,7 @@ dtrace=$1 t="final_fantasy_info_t" exe="tst.printtype.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -ne 0 ]]; then echo "CTF does not exist in $exe, that's a bug" >&2 exit 1 Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtypetarg.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtypetarg.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtypetarg.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -29,7 +29,7 @@ dtrace=$1 t="final_fantasy_info_t" exe="tst.printtype.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -ne 0 ]]; then echo "CTF does not exist in $exe, that's a bug" >&2 exit 1 Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -29,7 +29,7 @@ dtrace=$1 t="zelda_info_t" exe="tst.chasestrings.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -ne 0 ]]; then echo "CTF does not exist in $exe, that's a bug" >&2 exit 1 Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userstrings.ksh ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userstrings.ksh Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userstrings.ksh Tue Sep 23 22:38:10 2014 (r272050) @@ -28,7 +28,7 @@ fi dtrace=$1 exe="tst.chasestrings.exe" -elfdump "./$exe" | grep -q '.SUNW_ctf' +elfdump -c "./$exe" | grep -Fq 'sh_name: .SUNW_ctf' if [[ $? -ne 0 ]]; then echo "CTF does not exist in $exe, that's a bug" >&2 exit 1 Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c Tue Sep 23 22:38:10 2014 (r272050) @@ -4524,7 +4524,8 @@ is_root_pool(zpool_handle_t *zhp) } static void -root_pool_upgrade_check(zpool_handle_t *zhp, char *poolname, int size) { +root_pool_upgrade_check(zpool_handle_t *zhp, char *poolname, int size) +{ if (poolname[0] == '\0' && is_root_pool(zhp)) (void) strlcpy(poolname, zpool_get_name(zhp), size); @@ -4623,7 +4624,7 @@ upgrade_cb(zpool_handle_t *zhp, void *ar #ifdef __FreeBSD__ root_pool_upgrade_check(zhp, cbp->cb_poolname, sizeof(cbp->cb_poolname)); -#endif /* ___FreeBSD__ */ +#endif /* __FreeBSD__ */ printnl = B_TRUE; #ifdef illumos @@ -4647,6 +4648,10 @@ upgrade_cb(zpool_handle_t *zhp, void *ar if (count > 0) { cbp->cb_first = B_FALSE; printnl = B_TRUE; +#ifdef __FreeBSD__ + root_pool_upgrade_check(zhp, cbp->cb_poolname, + sizeof(cbp->cb_poolname)); +#endif /* __FreeBSD__ */ /* * If they did "zpool upgrade -a", then we could * be doing ioctls to different pools. We need @@ -4788,7 +4793,7 @@ upgrade_one(zpool_handle_t *zhp, void *d #ifdef __FreeBSD__ root_pool_upgrade_check(zhp, cbp->cb_poolname, sizeof(cbp->cb_poolname)); -#endif /* ___FreeBSD__ */ +#endif /* __FreeBSD__ */ } if (cbp->cb_version >= SPA_VERSION_FEATURES) { Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/zpool/zpool_vdev.c ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/zpool/zpool_vdev.c Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/cmd/zpool/zpool_vdev.c Tue Sep 23 22:38:10 2014 (r272050) @@ -653,6 +653,7 @@ get_replication(nvlist_t *nvroot, boolea dontreport = 0; vdev_size = -1ULL; for (c = 0; c < children; c++) { + boolean_t is_replacing, is_spare; nvlist_t *cnv = child[c]; char *path; struct stat64 statbuf; @@ -669,16 +670,19 @@ get_replication(nvlist_t *nvroot, boolea * If this is a replacing or spare vdev, then * get the real first child of the vdev. */ - if (strcmp(childtype, - VDEV_TYPE_REPLACING) == 0 || - strcmp(childtype, VDEV_TYPE_SPARE) == 0) { + is_replacing = strcmp(childtype, + VDEV_TYPE_REPLACING) == 0; + is_spare = strcmp(childtype, + VDEV_TYPE_SPARE) == 0; + if (is_replacing || is_spare) { nvlist_t **rchild; uint_t rchildren; verify(nvlist_lookup_nvlist_array(cnv, ZPOOL_CONFIG_CHILDREN, &rchild, &rchildren) == 0); - assert(rchildren == 2); + assert((is_replacing && rchildren == 2) + || (is_spare && rchildren >= 2)); cnv = rchild[0]; verify(nvlist_lookup_string(cnv, Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c Tue Sep 23 22:38:10 2014 (r272050) @@ -274,7 +274,7 @@ ctf_fdopen(int fd, int *errp) */ if (nbytes >= (ssize_t) sizeof (Elf32_Ehdr) && bcmp(&hdr.e32.e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { -#ifdef _BIG_ENDIAN +#if BYTE_ORDER == _BIG_ENDIAN uchar_t order = ELFDATA2MSB; #else uchar_t order = ELFDATA2LSB; Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libdtrace/common/drti.c ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libdtrace/common/drti.c Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libdtrace/common/drti.c Tue Sep 23 22:38:10 2014 (r272050) @@ -90,36 +90,6 @@ dprintf(int debug, const char *fmt, ...) va_end(ap); } -#if !defined(sun) -static void -fixsymbol(Elf *e, Elf_Data *data, size_t idx, int nprobes, char *buf, - dof_sec_t *sec, int *fixedprobes, char *dofstrtab) -{ - GElf_Sym sym; - char *s; - unsigned char *funcname; - dof_probe_t *prb; - int j = 0; - int ndx; - - while (gelf_getsym(data, j++, &sym) != NULL) { - prb = (dof_probe_t *)(void *)(buf + sec->dofs_offset); - - for (ndx = nprobes; ndx; ndx--, prb += 1) { - funcname = dofstrtab + prb->dofpr_func; - s = elf_strptr(e, idx, sym.st_name); - if (strcmp(s, funcname) == 0) { - dprintf(1, "fixing %s() symbol\n", s); - prb->dofpr_addr = sym.st_value; - (*fixedprobes)++; - } - } - if (*fixedprobes == nprobes) - break; - } -} -#endif - #if defined(sun) #pragma init(dtrace_dof_init) #else @@ -145,24 +115,18 @@ dtrace_dof_init(void) Lmid_t lmid; #else u_long lmid = 0; - dof_sec_t *sec, *secstart, *dofstrtab, *dofprobes; - dof_provider_t *dofprovider; - size_t i; #endif int fd; const char *p; #if !defined(sun) Elf *e; Elf_Scn *scn = NULL; - Elf_Data *symtabdata = NULL, *dynsymdata = NULL, *dofdata = NULL; + Elf_Data *dofdata = NULL; dof_hdr_t *dof_next = NULL; GElf_Shdr shdr; - int efd, nprobes; + int efd; char *s; - char *dofstrtabraw; - size_t shstridx, symtabidx = 0, dynsymidx = 0; - unsigned char *buf; - int fixedprobes; + size_t shstridx; #endif if (getenv("DTRACE_DOF_INIT_DISABLE") != NULL) @@ -183,7 +147,6 @@ dtrace_dof_init(void) } #endif - if ((modname = strrchr(lmp->l_name, '/')) == NULL) modname = lmp->l_name; else @@ -203,15 +166,9 @@ dtrace_dof_init(void) dof = NULL; while ((scn = elf_nextscn(e, scn)) != NULL) { gelf_getshdr(scn, &shdr); - if (shdr.sh_type == SHT_SYMTAB) { - symtabidx = shdr.sh_link; - symtabdata = elf_getdata(scn, NULL); - } else if (shdr.sh_type == SHT_DYNSYM) { - dynsymidx = shdr.sh_link; - dynsymdata = elf_getdata(scn, NULL); - } else if (shdr.sh_type == SHT_PROGBITS) { + if (shdr.sh_type == SHT_SUNW_dof) { s = elf_strptr(e, shstridx, shdr.sh_name); - if (s && strcmp(s, ".SUNW_dof") == 0) { + if (s != NULL && strcmp(s, ".SUNW_dof") == 0) { dofdata = elf_getdata(scn, NULL); dof = dofdata->d_buf; } @@ -225,7 +182,6 @@ dtrace_dof_init(void) } while ((char *) dof < (char *) dofdata->d_buf + dofdata->d_size) { - fixedprobes = 0; dof_next = (void *) ((char *) dof + dof->dofh_filesz); #endif @@ -273,76 +229,6 @@ dtrace_dof_init(void) return; #endif } -#if !defined(sun) - /* - * We need to fix the base address of each probe since this wasn't - * done by ld(1). (ld(1) needs to grow support for parsing the - * SUNW_dof section). - * - * The complexity of this is not that great. The first for loop - * iterates over the sections inside the DOF file. There are usually - * 10 sections here. We asume the STRTAB section comes first and the - * PROBES section comes after. Since we are only interested in fixing - * data inside the PROBES section we quit the for loop after processing - * the PROBES section. It's usually the case that the first section - * is the STRTAB section and the second section is the PROBES section, - * so this for loop is not meaningful when doing complexity analysis. - * - * After finding the probes section, we iterate over the symbols - * in the symtab section. When we find a symbol name that matches - * the probe function name, we fix it. If we have fixed all the - * probes, we exit all the loops and we are done. - * The number of probes is given by the variable 'nprobes' and this - * depends entirely on the user, but some optimizations were done. - * - * We are assuming the number of probes is less than the number of - * symbols (libc can have 4k symbols, for example). - */ - secstart = sec = (dof_sec_t *)(dof + 1); - buf = (char *)dof; - for (i = 0; i < dof->dofh_secnum; i++, sec++) { - if (sec->dofs_type != DOF_SECT_PROVIDER) - continue; - - dofprovider = (void *) (buf + sec->dofs_offset); - dofstrtab = secstart + dofprovider->dofpv_strtab; - dofprobes = secstart + dofprovider->dofpv_probes; - - if (dofstrtab->dofs_type != DOF_SECT_STRTAB) { - fprintf(stderr, "WARNING: expected STRTAB section, but got %d\n", - dofstrtab->dofs_type); - break; - } - if (dofprobes->dofs_type != DOF_SECT_PROBES) { - fprintf(stderr, "WARNING: expected PROBES section, but got %d\n", - dofprobes->dofs_type); - break; - } - - dprintf(1, "found provider %p\n", dofprovider); - dofstrtabraw = (char *)(buf + dofstrtab->dofs_offset); - nprobes = dofprobes->dofs_size / dofprobes->dofs_entsize; - fixsymbol(e, symtabdata, symtabidx, nprobes, buf, dofprobes, &fixedprobes, - dofstrtabraw); - if (fixedprobes != nprobes) { - /* - * If we haven't fixed all the probes using the - * symtab section, look inside the dynsym - * section. - */ - fixsymbol(e, dynsymdata, dynsymidx, nprobes, buf, dofprobes, - &fixedprobes, dofstrtabraw); - } - if (fixedprobes != nprobes) { - fprintf(stderr, "WARNING: number of probes " - "fixed does not match the number of " - "defined probes (%d != %d, " - "respectively)\n", fixedprobes, nprobes); - fprintf(stderr, "WARNING: some probes might " - "not fire or your program might crash\n"); - } - } -#endif if ((gen = ioctl(fd, DTRACEHIOC_ADDDOF, &dh)) == -1) dprintf(1, "DTrace ioctl failed for DOF at %p", dof); else { Modified: user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c ============================================================================== --- user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c Tue Sep 23 22:29:03 2014 (r272049) +++ user/ngie/add-pjdfstest/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c Tue Sep 23 22:38:10 2014 (r272050) @@ -322,7 +322,11 @@ prepare_elf64(dtrace_hdl_t *dtp, const d char *strtab; int i, j, nrel; size_t strtabsz = 1; +#if defined(sun) uint32_t count = 0; +#else + uint64_t count = 0; +#endif size_t base; Elf64_Sym *sym; Elf64_Rela *rel; @@ -418,7 +422,6 @@ prepare_elf64(dtrace_hdl_t *dtp, const d s = &dofs[dofrh->dofr_tgtsec]; for (j = 0; j < nrel; j++) { -#ifdef DOODAD #if defined(__arm__) /* XXX */ #elif defined(__mips__) @@ -431,8 +434,13 @@ prepare_elf64(dtrace_hdl_t *dtp, const d #elif defined(__i386) || defined(__amd64) rel->r_offset = s->dofs_offset + dofr[j].dofr_offset; +#if defined(sun) rel->r_info = ELF64_R_INFO(count + dep->de_global, R_AMD64_64); +#else + rel->r_info = ELF64_R_INFO(count + dep->de_global, + R_X86_64_RELATIVE); +#endif #elif defined(__sparc) rel->r_offset = s->dofs_offset + dofr[j].dofr_offset; @@ -441,7 +449,6 @@ prepare_elf64(dtrace_hdl_t *dtp, const d #else #error unknown ISA #endif -#endif sym->st_name = base + dofr[j].dofr_name - 1; sym->st_value = 0; @@ -704,7 +711,11 @@ dump_elf64(dtrace_hdl_t *dtp, const dof_ shp = &elf_file.shdr[ESHDR_DOF]; shp->sh_name = 11; /* DTRACE_SHSTRTAB64[11] = ".SUNW_dof" */ +#if defined(sun) shp->sh_flags = SHF_ALLOC; +#else + shp->sh_flags = SHF_WRITE | SHF_ALLOC; +#endif shp->sh_type = SHT_SUNW_dof; shp->sh_offset = off; shp->sh_size = dof->dofh_filesz; @@ -1662,19 +1673,6 @@ dtrace_program_link(dtrace_hdl_t *dtp, d { #if !defined(sun) char tfile[PATH_MAX]; - Elf *e; - Elf_Scn *scn; - Elf_Data *data; - GElf_Shdr shdr; - int efd; - size_t stridx; - unsigned char *buf; - char *s; - int loc; - GElf_Ehdr ehdr; - Elf_Scn *scn0; - GElf_Shdr shdr0; - uint64_t off, rc; #endif char drti[PATH_MAX]; dof_hdr_t *dof; @@ -1810,21 +1808,21 @@ dtrace_program_link(dtrace_hdl_t *dtp, d (void) unlink(file); #endif -#if defined(sun) if (dtp->dt_oflags & DTRACE_O_LP64) status = dump_elf64(dtp, dof, fd); else status = dump_elf32(dtp, dof, fd); +#if defined(sun) if (status != 0 || lseek(fd, 0, SEEK_SET) != 0) { return (dt_link_error(dtp, NULL, -1, NULL, "failed to write %s: %s", file, strerror(errno))); } #else - /* We don't write the ELF header, just the DOF section */ - if (dt_write(dtp, fd, dof, dof->dofh_filesz) < dof->dofh_filesz) + if (status != 0) return (dt_link_error(dtp, NULL, -1, NULL, - "failed to write %s: %s", tfile, strerror(errno))); + "failed to write %s: %s", tfile, + strerror(dtrace_errno(dtp)))); #endif if (!dtp->dt_lazyload) { @@ -1846,7 +1844,7 @@ dtrace_program_link(dtrace_hdl_t *dtp, d (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, fd, drti); #else - const char *fmt = "%s -o %s -r %s"; + const char *fmt = "%s -o %s -r %s %s"; #if defined(__amd64__) /* @@ -1868,10 +1866,9 @@ dtrace_program_link(dtrace_hdl_t *dtp, d len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile, drti) + 1; - len *= 2; cmd = alloca(len); - (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, + (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, tfile, drti); #endif if ((status = system(cmd)) == -1) { @@ -1894,85 +1891,6 @@ dtrace_program_link(dtrace_hdl_t *dtp, d file, dtp->dt_ld_path, WEXITSTATUS(status)); goto done; } -#if !defined(sun) - /* - * FreeBSD's ld(1) is not instructed to interpret and add - * correctly the SUNW_dof section present in tfile. - * We use libelf to add this section manually and hope the next - * ld invocation won't remove it. - */ - elf_version(EV_CURRENT); - if ((efd = open(file, O_RDWR, 0)) < 0) { - ret = dt_link_error(dtp, NULL, -1, NULL, - "failed to open file %s: %s", - file, strerror(errno)); - goto done; - } - if ((e = elf_begin(efd, ELF_C_RDWR, NULL)) == NULL) { - close(efd); - ret = dt_link_error(dtp, NULL, -1, NULL, - "failed to open elf file: %s", - elf_errmsg(elf_errno())); - goto done; - } - /* - * Add the string '.SUWN_dof' to the shstrtab section. - */ - elf_getshdrstrndx(e, &stridx); - scn = elf_getscn(e, stridx); - gelf_getshdr(scn, &shdr); - data = elf_newdata(scn); - data->d_off = shdr.sh_size; - data->d_buf = ".SUNW_dof"; - data->d_size = 10; - data->d_type = ELF_T_BYTE; - loc = shdr.sh_size; - shdr.sh_size += data->d_size; - gelf_update_shdr(scn, &shdr); - /* - * Construct the .SUNW_dof section. - */ - scn = elf_newscn(e); - data = elf_newdata(scn); - buf = mmap(NULL, dof->dofh_filesz, PROT_READ, MAP_SHARED, - fd, 0); - if (buf == MAP_FAILED) { - ret = dt_link_error(dtp, NULL, -1, NULL, - "failed to mmap buffer %s", strerror(errno)); - elf_end(e); - close(efd); - goto done; - } - data->d_buf = buf; - data->d_align = 4; - data->d_size = dof->dofh_filesz; - data->d_version = EV_CURRENT; - gelf_getshdr(scn, &shdr); - shdr.sh_name = loc; - shdr.sh_flags = SHF_ALLOC; - /* - * Actually this should be SHT_SUNW_dof, but FreeBSD's ld(1) - * will remove this 'unknown' section when we try to create an - * executable using the object we are modifying, so we stop - * playing by the rules and use SHT_PROGBITS. - * Also, note that our drti has modifications to handle this. - */ - shdr.sh_type = SHT_PROGBITS; - shdr.sh_addralign = 4; - gelf_update_shdr(scn, &shdr); - if (elf_update(e, ELF_C_WRITE) < 0) { *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-user@FreeBSD.ORG Wed Sep 24 09:25:48 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 964A5FA1; Wed, 24 Sep 2014 09:25:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 821D2B0A; Wed, 24 Sep 2014 09:25:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8O9Pm69068579; Wed, 24 Sep 2014 09:25:48 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8O9Pm1G068578; Wed, 24 Sep 2014 09:25:48 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201409240925.s8O9Pm1G068578@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Wed, 24 Sep 2014 09:25:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272061 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 09:25:48 -0000 Author: pho Date: Wed Sep 24 09:25:47 2014 New Revision: 272061 URL: http://svnweb.freebsd.org/changeset/base/272061 Log: Style fixes. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/mmap19.sh Modified: user/pho/stress2/misc/mmap19.sh ============================================================================== --- user/pho/stress2/misc/mmap19.sh Wed Sep 24 08:28:34 2014 (r272060) +++ user/pho/stress2/misc/mmap19.sh Wed Sep 24 09:25:47 2014 (r272061) @@ -39,8 +39,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > mmap19.c cc -o mmap19 -Wall -Wextra -O2 mmap19.c -lpthread || exit 1 -rm -f mmap19.c /tmp/mmap19.core -rm -f /tmp/mmap19.core +rm -f mmap19.c daemon sh -c "(cd $here/../testcases/swap; ./swap -t 2m -i 20 -k)" rnd=`od -An -N1 -t u1 /dev/random | sed 's/ //g'` @@ -54,6 +53,12 @@ rm -f /tmp/mmap19 /tmp/mmap19.core exit 0 EOF #include +#include +#include +#include +#include +#include + #include #include #include @@ -64,27 +69,21 @@ EOF #include #include #include -#include -#include -#include -#include -#include #include #include -#define PARALLEL 50 #define LOOPS 50 - -void *p; - #define N (128 * 1024 / (int)sizeof(u_int32_t)) +#define PARALLEL 50 + u_int32_t r[N]; +void *p; unsigned long makearg(void) { - unsigned int i; unsigned long val; + unsigned int i; val = arc4random(); i = arc4random() % 100; @@ -115,30 +114,32 @@ makeptr(void) else val = makearg(); val = trunc_page(val); + return ((void *)val); } void * tmmap(void *arg __unused) { - int i, fd; size_t len; + int i, fd; pthread_set_name_np(pthread_self(), __func__); len = 1LL * 1024 * 1024 * 1024; for (i = 0; i < 100; i++) { - if ((fd = open("/dev/zero", O_CREAT | O_TRUNC | O_RDWR, 0622)) == -1) + if ((fd = open("/dev/zero", O_CREAT | O_TRUNC | O_RDWR, + 0622)) == -1) err(1,"open()"); - if ((p = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0)) != - MAP_FAILED) { + if ((p = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_PRIVATE, + fd, 0)) != MAP_FAILED) { usleep(100); munmap(p, len); } - if ((p = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_ANON, -1, 0)) != - MAP_FAILED) { + if ((p = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_ANON, -1, + 0)) != MAP_FAILED) { usleep(100); munmap(p, len); } @@ -151,9 +152,9 @@ tmmap(void *arg __unused) void * tmprotect(void *arg __unused) { - int i, n, prot; const void *addr; size_t len; + int i, n, prot; pthread_set_name_np(pthread_self(), __func__); n = 0; @@ -166,16 +167,17 @@ tmprotect(void *arg __unused) usleep(1000); } if (n < 10) - fprintf(stderr, "tmprotect() only succeeded %d times.\n", n); + fprintf(stderr, "Note: tmprotect() only succeeded %d times.\n", + n); + return (NULL); } void test(void) { - int i; - int rc; pthread_t tid[2]; + int i, rc; if ((rc = pthread_create(&tid[0], NULL, tmmap, NULL)) != 0) errc(1, rc, "tmmap()"); @@ -193,14 +195,15 @@ test(void) for (i = 0; i < 2; i++) if ((rc = pthread_join(tid[i], NULL)) != 0) errc(1, rc, "pthread_join(%d)", i); + _exit(0); } int main(void) { - int i, j; struct rlimit rl; + int i, j; rl.rlim_max = rl.rlim_cur = 0; if (setrlimit(RLIMIT_CORE, &rl) == -1) From owner-svn-src-user@FreeBSD.ORG Wed Sep 24 09:28:38 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0503139; Wed, 24 Sep 2014 09:28:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C7DDB34; Wed, 24 Sep 2014 09:28:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8O9ScJP068943; Wed, 24 Sep 2014 09:28:38 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8O9Scrh068941; Wed, 24 Sep 2014 09:28:38 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201409240928.s8O9Scrh068941@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Wed, 24 Sep 2014 09:28:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272062 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 09:28:38 -0000 Author: pho Date: Wed Sep 24 09:28:37 2014 New Revision: 272062 URL: http://svnweb.freebsd.org/changeset/base/272062 Log: Added comments. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/mmap12.sh user/pho/stress2/misc/mmap13.sh Modified: user/pho/stress2/misc/mmap12.sh ============================================================================== --- user/pho/stress2/misc/mmap12.sh Wed Sep 24 09:25:47 2014 (r272061) +++ user/pho/stress2/misc/mmap12.sh Wed Sep 24 09:28:37 2014 (r272062) @@ -55,11 +55,15 @@ EOF #include int -main(int argc, char **argv) +main(void) { void *addr; size_t sz = 1; +/* + * This is the minimum amount of C code ot takes to panic the kernel. + * This is as submitted and thus not a complete and correct test program. + */ addr = mmap(NULL, sz, PROT_READ, MAP_ANON, -1, 0); if (addr == NULL) err(1, "mmap"); Modified: user/pho/stress2/misc/mmap13.sh ============================================================================== --- user/pho/stress2/misc/mmap13.sh Wed Sep 24 09:25:47 2014 (r272061) +++ user/pho/stress2/misc/mmap13.sh Wed Sep 24 09:28:37 2014 (r272062) @@ -40,6 +40,9 @@ cc -o mmap13 -O2 -Wall -Wextra mmap13.c rm -f mmap13.c cd $odir +# Both the 5000 and 500 are empirical values. +# Combined they demonstrate the leak in a consistent way. + v1=`sysctl -n vm.stats.vm.v_wire_count` for i in `jot 5000`; do /tmp/mmap13 From owner-svn-src-user@FreeBSD.ORG Fri Sep 26 06:02:36 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26E49B76; Fri, 26 Sep 2014 06:02:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 07134EB6; Fri, 26 Sep 2014 06:02:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8Q62ZD2056346; Fri, 26 Sep 2014 06:02:35 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8Q62Z9u056345; Fri, 26 Sep 2014 06:02:35 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201409260602.s8Q62Z9u056345@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Fri, 26 Sep 2014 06:02:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272155 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 06:02:36 -0000 Author: pho Date: Fri Sep 26 06:02:35 2014 New Revision: 272155 URL: http://svnweb.freebsd.org/changeset/base/272155 Log: Added a regression test. Sponsored by: EMC / Isilon storage division Added: user/pho/stress2/misc/link.sh (contents, props changed) Added: user/pho/stress2/misc/link.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/link.sh Fri Sep 26 06:02:35 2014 (r272155) @@ -0,0 +1,194 @@ +#!/bin/sh + +# +# Copyright (c) 2014 EMC Corp. +# 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$ +# + +# Deadlock seen for file systems which suspend writes on unmount, such as +# UFS and tmpfs. +# http://people.freebsd.org/~pho/stress/log/link.txt +# Fixed by r272130 + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +. ../default.cfg + +here=`pwd` +cd /tmp +sed '1,/^EOF/d' < $here/$0 > link.c +cc -o link -Wall -Wextra -O2 -g link.c || exit 1 +rm -f link.c + +mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint +[ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart + +mdconfig -a -t swap -s 1g -u $mdstart || exit 1 +bsdlabel -w md$mdstart auto +newfs -U md${mdstart}$part > /dev/null +mount /dev/md${mdstart}$part $mntpoint + +daemon sh -c "(cd $here/../testcases/swap; ./swap -t 5m -i 20 -h -l 100)" \ + > /dev/null 2>&1 +/tmp/link $mntpoint > /dev/null 2>&1 & + +for i in `jot 100`; do + umount -f $mntpoint && + mount /dev/md${mdstart}$part $mntpoint + sleep .1 +done +pkill -9 link +wait + +while mount | grep $mntpoint | grep -q /dev/md; do + umount $mntpoint || sleep 1 +done +mdconfig -d -u $mdstart + +# tmpfs +mount -t tmpfs tmpfs $mntpoint + +/tmp/link $mntpoint > /dev/null 2>&1 & + +for i in `jot 100`; do + umount -f $mntpoint && + mount -t tmpfs tmpfs $mntpoint + sleep .1 +done +pkill -9 link swap +wait + +while pkill -9 swap; do + : +done > /dev/null 2>&1 +while mount | grep $mntpoint | grep -q tmpfs; do + umount $mntpoint || sleep 1 +done +rm -f /tmp/link +exit 0 +EOF +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#define PARALLEL 16 +#define RUNTIME 300 + +time_t start; +char *dir; + +void +trename(void) +{ + int fd; + char name1[MAXPATHLEN + 1]; + char name2[MAXPATHLEN + 1]; + + setproctitle(__func__); + snprintf(name1, sizeof(name1), "%s/r1.%05d", dir, getpid()); + snprintf(name2, sizeof(name2), "%s/r2.%05d", dir, getpid()); + if ((fd = open(name1, O_RDWR | O_CREAT, 0644)) == -1) + err(1, "open(%s)", name1); + close(fd); + + while (time(NULL) - start < RUNTIME) { + if (rename(name1, name2) == -1) { + if (errno == ENOENT) { + if ((fd = open(name1, O_RDWR | O_CREAT, 0644)) == -1) + err(1, "open(%s)", name1); + close(fd); + continue; + } else + warn("link(%s, %s)", name1, name2); + } + if (rename(name2, name1) == -1) + warn("link(%s, %s)", name2, name1); + } + unlink(name1); + unlink(name2); + _exit(0); +} + +void +tlink(void) +{ + int fd; + char name1[MAXPATHLEN + 1]; + char name2[MAXPATHLEN + 1]; + + setproctitle(__func__); + snprintf(name1, sizeof(name1), "%s/f1.%05d", dir, getpid()); + snprintf(name2, sizeof(name2), "%s/f2.%05d", dir, getpid()); + if ((fd = open(name1, O_RDWR | O_CREAT, 0644)) == -1) + err(1, "open(%s)", name1); + close(fd); + + while (time(NULL) - start < RUNTIME) { + unlink(name2); + if (link(name1, name2) == -1) { + if (errno == ENOENT) { + if ((fd = open(name1, O_RDWR | O_CREAT, 0644)) == -1) + err(1, "open(%s)", name1); + close(fd); + continue; + } else + warn("link(%s, %s)", name1, name2); + } + } + unlink(name1); + unlink(name2); + _exit(0); +} + +int +main(int argc, char **argv) +{ + int i, type; + + if (argc != 2) + errx(1, "Usage: %s ", argv[0]); + dir = argv[1]; + type = arc4random() % 2; /* test either link() or rename() */ + + start = time(NULL); + for (i = 0; i < PARALLEL; i++) { + if (type == 0 && fork() == 0) + tlink(); + if (type == 1 && fork() == 0) + trename(); + } + for (i = 0; i < PARALLEL; i++) + wait(NULL); + + return(0); +} From owner-svn-src-user@FreeBSD.ORG Fri Sep 26 06:41:34 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C4B1A63; Fri, 26 Sep 2014 06:41:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38526341; Fri, 26 Sep 2014 06:41:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8Q6fYf0074589; Fri, 26 Sep 2014 06:41:34 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8Q6fX22074587; Fri, 26 Sep 2014 06:41:33 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201409260641.s8Q6fX22074587@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Fri, 26 Sep 2014 06:41:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272156 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 06:41:34 -0000 Author: pho Date: Fri Sep 26 06:41:33 2014 New Revision: 272156 URL: http://svnweb.freebsd.org/changeset/base/272156 Log: Simplify page stealer cleanup. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/mmap5.sh user/pho/stress2/misc/mmap6.sh Modified: user/pho/stress2/misc/mmap5.sh ============================================================================== --- user/pho/stress2/misc/mmap5.sh Fri Sep 26 06:02:35 2014 (r272155) +++ user/pho/stress2/misc/mmap5.sh Fri Sep 26 06:41:33 2014 (r272156) @@ -44,10 +44,9 @@ cp /tmp/mmap5 /tmp/mmap5.inputfile (cd ../testcases/swap; ./swap -t 1m -i 2) & cp /tmp/mmap5 /tmp/mmap5.inputfile /tmp/mmap5 /tmp/mmap5.inputfile -while ps auxww | grep -v grep | grep -qw swap; do - killall -9 swap 2>/dev/null +while killall -9 swap; do sleep .1 -done +done > /dev/null 2>&1 wait rm -f /tmp/mmap5 /tmp/mmap5.inputfile exit Modified: user/pho/stress2/misc/mmap6.sh ============================================================================== --- user/pho/stress2/misc/mmap6.sh Fri Sep 26 06:02:35 2014 (r272155) +++ user/pho/stress2/misc/mmap6.sh Fri Sep 26 06:41:33 2014 (r272156) @@ -43,10 +43,9 @@ cp /tmp/mmap6 /tmp/mmap6.inputfile (cd ../testcases/swap; ./swap -t 1m -i 2) & cp /tmp/mmap6 /tmp/mmap6.inputfile /tmp/mmap6 /tmp/mmap6.inputfile -while ps auxww | grep -v grep | grep -qw swap; do - killall -9 swap 2>/dev/null +while killall -9 swap; do sleep .1 -done +done > /dev/null 2>&1 wait rm -f /tmp/mmap6 /tmp/mmap6.inputfile exit From owner-svn-src-user@FreeBSD.ORG Fri Sep 26 19:56:53 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7BDEC731; Fri, 26 Sep 2014 19:56:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68760D40; Fri, 26 Sep 2014 19:56:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8QJurs3051239; Fri, 26 Sep 2014 19:56:53 GMT (envelope-from gjb@FreeBSD.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8QJur1c051238; Fri, 26 Sep 2014 19:56:53 GMT (envelope-from gjb@FreeBSD.org) Message-Id: <201409261956.s8QJur1c051238@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: gjb set sender to gjb@FreeBSD.org using -f From: Glen Barber Date: Fri, 26 Sep 2014 19:56:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272186 - user/gjb/thermite X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 19:56:53 -0000 Author: gjb Date: Fri Sep 26 19:56:52 2014 New Revision: 272186 URL: http://svnweb.freebsd.org/changeset/base/272186 Log: Fix devfs(5) mount path in create_vmimage_qemu(). Sponsored by: The FreeBSD Foundation Modified: user/gjb/thermite/mk-vmimage.sh Modified: user/gjb/thermite/mk-vmimage.sh ============================================================================== --- user/gjb/thermite/mk-vmimage.sh Fri Sep 26 19:48:47 2014 (r272185) +++ user/gjb/thermite/mk-vmimage.sh Fri Sep 26 19:56:52 2014 (r272186) @@ -111,7 +111,7 @@ create_vmimage_qemu() { chroot ${CHROOTDIR} make -s -C /usr/src DESTDIR=/vmimage/mnt \ installworld installkernel distribution set -e - while ! umount ${CHROOTDIR}/vmimage/mnt/dev; do + while ! umount ${CHROOTDIR}/dev; do sleep 1 done create_etc From owner-svn-src-user@FreeBSD.ORG Sat Sep 27 14:24:44 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4338078; Sat, 27 Sep 2014 14:24:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EFA733C; Sat, 27 Sep 2014 14:24:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8REOiWh086376; Sat, 27 Sep 2014 14:24:44 GMT (envelope-from gjb@FreeBSD.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8REOiTD086375; Sat, 27 Sep 2014 14:24:44 GMT (envelope-from gjb@FreeBSD.org) Message-Id: <201409271424.s8REOiTD086375@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: gjb set sender to gjb@FreeBSD.org using -f From: Glen Barber Date: Sat, 27 Sep 2014 14:24:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r272212 - user/gjb/thermite X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2014 14:24:44 -0000 Author: gjb Date: Sat Sep 27 14:24:43 2014 New Revision: 272212 URL: http://svnweb.freebsd.org/changeset/base/272212 Log: Check if mkimg(1) reports back a version which can be used to determine which disk formats can be created. If the version is not empty, use create_vmimage_mkimg() to create the qcow2 format. While here, use mkimg(1) instead of qemu-img to create the raw disk format. Many thanks to marcel@ for adding VHD and QCOW2 formats. Sponsored by: The FreeBSD Foundation Modified: user/gjb/thermite/mk-vmimage.sh Modified: user/gjb/thermite/mk-vmimage.sh ============================================================================== --- user/gjb/thermite/mk-vmimage.sh Sat Sep 27 13:57:48 2014 (r272211) +++ user/gjb/thermite/mk-vmimage.sh Sat Sep 27 14:24:43 2014 (r272212) @@ -77,6 +77,8 @@ create_etc() { } create_vmimage_qemu() { + # mkimg(1) supports the formats being created. + [ ! -z "${no_qemu}" ] && return 0 diskformats="qcow2" if [ ! -x /usr/local/bin/qemu-img ]; then echo "qemu-img not found, skipping qcow2 format." @@ -131,19 +133,25 @@ create_vmimage_qemu() { xz ${CHROOTDIR}/vmimage/${VM_IMAGE_NAME}.${_f} done mdconfig -d -u ${mddev} - mv ${CHROOTDIR}/vmimage/${VM_IMAGE_NAME}.rawdisk \ - ${CHROOTDIR}/vmimage/${VM_IMAGE_NAME}.raw - xz ${CHROOTDIR}/vmimage/${VM_IMAGE_NAME}.raw + rm ${CHROOTDIR}/vmimage/${VM_IMAGE_NAME}.rawdisk return 0 } create_vmimage_mkimg() { - diskformats="vmdk vhdf" + no_qemu= + diskformats="vmdk vhdf raw" if [ ! -x /usr/bin/mkimg ]; then return 0 fi + mkimg_version=$(/usr/bin/mkimg --version 2>/dev/null | awk '{print $2}') + + if [ ! -z "${mkimg_version}" ]; then + diskformats="${diskformats} qcow2" + no_qemu=1 + fi + if [ ! -d ${CHROOTDIR}/R/ftp ]; then echo "Error: Cannot find the ftp/*.txz files." exit 1