From owner-svn-src-user@FreeBSD.ORG Sun Feb 8 09:25:07 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE9D2B18; Sun, 8 Feb 2015 09:25:07 +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 9ADA0E6; Sun, 8 Feb 2015 09:25:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t189P7Cm053003; Sun, 8 Feb 2015 09:25:07 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t189P7AC052997; Sun, 8 Feb 2015 09:25:07 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502080925.t189P7AC052997@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sun, 8 Feb 2015 09:25:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278373 - 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: Sun, 08 Feb 2015 09:25:07 -0000 Author: pho Date: Sun Feb 8 09:25:06 2015 New Revision: 278373 URL: https://svnweb.freebsd.org/changeset/base/278373 Log: Do not assume that we have a controlling terminal, remember to cleanup tmp files. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/syscall2.sh user/pho/stress2/misc/syscall4.sh Modified: user/pho/stress2/misc/syscall2.sh ============================================================================== --- user/pho/stress2/misc/syscall2.sh Sun Feb 8 08:52:18 2015 (r278372) +++ user/pho/stress2/misc/syscall2.sh Sun Feb 8 09:25:06 2015 (r278373) @@ -55,7 +55,8 @@ n=$syscall rm -f /tmp/syscall2.log while [ $n -gt 0 ]; do - echo "`date '+%T'` syscall $n" | tee /dev/tty >> /tmp/syscall2.log + echo "`date '+%T'` syscall $n" + echo "`date '+%T'` syscall $n" >> /tmp/syscall2.log for i in `jot 5`; do su ${testuser} -c "sh -c \"/tmp/syscall2 -t 30s -i 100 -h -l 100 -k $n\"" done Modified: user/pho/stress2/misc/syscall4.sh ============================================================================== --- user/pho/stress2/misc/syscall4.sh Sun Feb 8 08:52:18 2015 (r278372) +++ user/pho/stress2/misc/syscall4.sh Sun Feb 8 09:25:06 2015 (r278373) @@ -40,7 +40,7 @@ cd /tmp sed '1,/^EOF/d' < $odir/$0 > syscall4.c rm -f /tmp/syscall4 cc -o syscall4 -Wall -Wextra -O2 -g syscall4.c -lpthread || exit 1 -#rm -f syscall4.c +rm -f syscall4.c kldstat -v | grep -q sysvmsg || kldload sysvmsg kldstat -v | grep -q sysvsem || kldload sysvsem From owner-svn-src-user@FreeBSD.ORG Sun Feb 8 09:30:16 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8D92E09; Sun, 8 Feb 2015 09:30:16 +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 A50DE120; Sun, 8 Feb 2015 09:30:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t189UGZU053737; Sun, 8 Feb 2015 09:30:16 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t189UG8s053736; Sun, 8 Feb 2015 09:30:16 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502080930.t189UG8s053736@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sun, 8 Feb 2015 09:30:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278375 - 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: Sun, 08 Feb 2015 09:30:16 -0000 Author: pho Date: Sun Feb 8 09:30:15 2015 New Revision: 278375 URL: https://svnweb.freebsd.org/changeset/base/278375 Log: Added findings, speed up the hunt for the fsx source and poll for fsx termination. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/umountf2.sh Modified: user/pho/stress2/misc/umountf2.sh ============================================================================== --- user/pho/stress2/misc/umountf2.sh Sun Feb 8 09:28:55 2015 (r278374) +++ user/pho/stress2/misc/umountf2.sh Sun Feb 8 09:30:15 2015 (r278375) @@ -32,15 +32,19 @@ # Test problems with "umount -f and fsx. Results in a "KDB: enter: watchdog timeout" +# http://people.freebsd.org/~pho/stress/log/kostik745.txt +# Fixed by r275743 + [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 -fsxc=`find -x / /usr/src -name fsx.c | tail -1` +. ../default.cfg + +fsxc=`find -x /usr/src -name fsx.c | tail -1` +[ -z "$fsxc" ] && fsxc=`find -x / -name fsx.c | tail -1` [ -z "$fsxc" ] && exit cc -o /tmp/fsx $fsxc -. ../default.cfg - D=$diskimage dede $D 1m 1k || exit 1 @@ -55,10 +59,14 @@ sleep 5 for i in `jot 100`; do /tmp/fsx -S $i -q ${mntpoint}/xxx$i > /dev/null & done -sleep 30 +sleep 30 umount -f $mntpoint & -sleep 300 -killall fsx +for i in `jot 10`; do + sleep 30 + pgrep -q fsx || break +done +pgrep -q fsx && echo FAIL && pkill fsx sleep 5 +wait mdconfig -d -u $mdstart rm -f $D /tmp/fsx From owner-svn-src-user@FreeBSD.ORG Sun Feb 8 10:16:31 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4810E4D1; Sun, 8 Feb 2015 10:16:31 +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 3458077B; Sun, 8 Feb 2015 10:16:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t18AGVXA076738; Sun, 8 Feb 2015 10:16:31 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t18AGVrY076737; Sun, 8 Feb 2015 10:16:31 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502081016.t18AGVrY076737@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sun, 8 Feb 2015 10:16:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278376 - 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: Sun, 08 Feb 2015 10:16:31 -0000 Author: pho Date: Sun Feb 8 10:16:30 2015 New Revision: 278376 URL: https://svnweb.freebsd.org/changeset/base/278376 Log: Clean up. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/umountf3.sh Modified: user/pho/stress2/misc/umountf3.sh ============================================================================== --- user/pho/stress2/misc/umountf3.sh Sun Feb 8 09:30:15 2015 (r278375) +++ user/pho/stress2/misc/umountf3.sh Sun Feb 8 10:16:30 2015 (r278376) @@ -53,8 +53,6 @@ mdconfig -a -t vnode -f $D -u ${mdstart} bsdlabel -w md${mdstart} auto newfs md${mdstart}${part} > /dev/null 2>&1 mount /dev/md${mdstart}${part} $mntpoint -#newfs_msdos -F 32 -b 8192 /dev/md${mdstart}a -#mount -t msdosfs /dev/md${mdstart}a $mntpoint export RUNDIR=$mntpoint/stressX for i in `jot 25`; do (cd /$mntpoint; /tmp/umountf3) & From owner-svn-src-user@FreeBSD.ORG Sun Feb 8 10:17:21 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CA295B3; Sun, 8 Feb 2015 10:17:21 +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 8951377D; Sun, 8 Feb 2015 10:17:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t18AHLQ3076884; Sun, 8 Feb 2015 10:17:21 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t18AHLgo076883; Sun, 8 Feb 2015 10:17:21 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502081017.t18AHLgo076883@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sun, 8 Feb 2015 10:17:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278377 - 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: Sun, 08 Feb 2015 10:17:21 -0000 Author: pho Date: Sun Feb 8 10:17:20 2015 New Revision: 278377 URL: https://svnweb.freebsd.org/changeset/base/278377 Log: Cleaned up script and verified that is still causes a panic. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/umountf7.sh Modified: user/pho/stress2/misc/umountf7.sh ============================================================================== --- user/pho/stress2/misc/umountf7.sh Sun Feb 8 10:16:30 2015 (r278376) +++ user/pho/stress2/misc/umountf7.sh Sun Feb 8 10:17:20 2015 (r278377) @@ -39,9 +39,9 @@ dir=/tmp odir=`pwd` cd $dir -sed '1,/^EOF/d' < $odir/$0 > $dir/mv4.c -cc -o mv4 -Wall -Wextra mv4.c -lpthread || exit 1 -rm -f mv4.c +sed '1,/^EOF/d' < $odir/$0 > $dir/umountf7.c +cc -o umountf7 -Wall -Wextra umountf7.c -lpthread || exit 1 +rm -f umountf7.c cd $odir mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint @@ -57,24 +57,22 @@ for j in `jot $parallel`; do [ -d $mntpoint/$j ] || mkdir $mntpoint/$j done for j in `jot $parallel`; do - (cd $mntpoint/$j; /tmp/mv4 100000) & + (cd $mntpoint/$j; /tmp/umountf7 100000) & done -sleep 60 +sleep 30 umount -f $mntpoint -killall mv4 -for j in `jot $parallel`; do - wait -done -while ps auxww | grep -v grep | grep -qw swap; do - killall -9 swap 2>/dev/null +pkill umountf7 +wait +while pkill -9 swap; do + : done find $mntpoint -type f -while mount | grep $mntpoint | grep -q /dev/md; do +while mount | grep "on $mntpoint " | grep -q /dev/md; do umount $mntpoint || sleep 1 done mdconfig -d -u $mdstart -rm -f /tmp/mv4 +rm -f /tmp/umountf7 exit EOF From owner-svn-src-user@FreeBSD.ORG Sun Feb 8 15:05:36 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEF3DB27; Sun, 8 Feb 2015 15:05: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 A1F482FC; Sun, 8 Feb 2015 15:05: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 t18F5aEg031245; Sun, 8 Feb 2015 15:05:36 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t18F5aXu031244; Sun, 8 Feb 2015 15:05:36 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502081505.t18F5aXu031244@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sun, 8 Feb 2015 15:05:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278381 - 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: Sun, 08 Feb 2015 15:05:36 -0000 Author: pho Date: Sun Feb 8 15:05:35 2015 New Revision: 278381 URL: https://svnweb.freebsd.org/changeset/base/278381 Log: Move temporary log files to /tmp, fix trailing whitespace and do not user /dev/tty. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/syscall5.sh Modified: user/pho/stress2/misc/syscall5.sh ============================================================================== --- user/pho/stress2/misc/syscall5.sh Sun Feb 8 14:28:43 2015 (r278380) +++ user/pho/stress2/misc/syscall5.sh Sun Feb 8 15:05:35 2015 (r278381) @@ -41,13 +41,15 @@ syscall=$((syscall - 1)) args=`getopt ars:t: $*` [ $? -ne 0 ] && echo "Usage $0 [-a] [-r] [-s number] [-t seconds]" && exit 1 set -- $args +last=/tmp/syscall5.last +log=/tmp/syscall5.log for i; do case "$i" in -a) all=1 # Test all syscalls shift ;; - -r) [ -h .syscall5.last ] && - syscall=`ls -l .syscall5.last | awk '{print $NF}'` + -r) [ -h $last ] && + syscall=`ls -l $last | awk '{print $NF}'` syscall=$((syscall - 1)) shift ;; @@ -73,12 +75,12 @@ rfork pselect " -rm -f ./syscall5.log +rm -f $log n=$syscall start=`date '+%s'` while [ $n -gt 0 ]; do ps -lUnobody | grep syscall4 | awk '{print $2}' | xargs kill - ln -fs $n .syscall5.last + ln -fs $n $last name=`grep -w "$n$" /usr/include/sys/syscall.h | awk '{print $2}' | sed 's/SYS_//'` [ -z "$name" ] && name="unknown" @@ -87,13 +89,13 @@ while [ $n -gt 0 ]; do [ $name = "Excluded" ] && { n=$((n - 1)); continue; } fi - echo "`date '+%T'` syscall $n ($name)" | - tee /dev/tty >> ./syscall5.log + echo "`date '+%T'` syscall $n ($name)" + echo "`date '+%T'` syscall $n ($name)" >> $log printf "`date '+%T'` syscall $n ($name)\r\n" > /dev/console sync; sleep 1 - echo "$broken" | grep -qw "$name" || + echo "$broken" | grep -qw "$name" || ./syscall4.sh $n || break n=$((n - 1)) [ -z "$all" -a `date '+%s'` -gt $((start + 1800)) ] && break done -rm -f ./syscall5.log .syscall5-last +rm -f $log $last From owner-svn-src-user@FreeBSD.ORG Sun Feb 8 15:14:07 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5F7B2C45; Sun, 8 Feb 2015 15:14:07 +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 335373C9; Sun, 8 Feb 2015 15:14:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t18FE7FE035722; Sun, 8 Feb 2015 15:14:07 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t18FE7da035721; Sun, 8 Feb 2015 15:14:07 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502081514.t18FE7da035721@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sun, 8 Feb 2015 15:14:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278382 - 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: Sun, 08 Feb 2015 15:14:07 -0000 Author: pho Date: Sun Feb 8 15:14:06 2015 New Revision: 278382 URL: https://svnweb.freebsd.org/changeset/base/278382 Log: Added one more "umount -f" test scenario. Sponsored by: EMC / Isilon storage division Added: user/pho/stress2/misc/umountf8.sh (contents, props changed) Added: user/pho/stress2/misc/umountf8.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/umountf8.sh Sun Feb 8 15:14:06 2015 (r278382) @@ -0,0 +1,44 @@ +#!/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$ +# + +# Hang seen: +# http://people.freebsd.org/~pho/stress/log/kostik707.txt +# Fixed by r270203. + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +. ../default.cfg + +./marcus.sh > /dev/null 2>&1 & +sleep 30 +umount -f $mntpoint & +sleep 120 +../tools/killall.sh +wait From owner-svn-src-user@FreeBSD.ORG Sun Feb 8 20:48:20 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 646A2289; Sun, 8 Feb 2015 20:48: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 4F2288FA; Sun, 8 Feb 2015 20:48: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 t18KmKej093340; Sun, 8 Feb 2015 20:48:20 GMT (envelope-from dchagin@FreeBSD.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t18KmI3n093332; Sun, 8 Feb 2015 20:48:18 GMT (envelope-from dchagin@FreeBSD.org) Message-Id: <201502082048.t18KmI3n093332@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dchagin set sender to dchagin@FreeBSD.org using -f From: Dmitry Chagin Date: Sun, 8 Feb 2015 20:48:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278401 - in user/dchagin/lemul/sys: amd64/linux amd64/linux32 compat/linux i386/linux 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: Sun, 08 Feb 2015 20:48:20 -0000 Author: dchagin Date: Sun Feb 8 20:48:17 2015 New Revision: 278401 URL: https://svnweb.freebsd.org/changeset/base/278401 Log: According to Linux man sigaltstack(3) shall return EINVAL if the ss argument is not a null pointer, and the ss_flags member pointed to by ss contains flags other than SS_DISABLE. However, in fact, Linux also allows SS_ONSTACK flag which is simply ignored. For buggy apps (at least mono) ignore other than SS_DISABLE flags as a Linux do. While here move MI part of sigaltstack code to the appropriate place. Reported by: abi at abinet dot ru Modified: user/dchagin/lemul/sys/amd64/linux/linux.h user/dchagin/lemul/sys/amd64/linux/linux_machdep.c user/dchagin/lemul/sys/amd64/linux32/linux.h user/dchagin/lemul/sys/amd64/linux32/linux32_machdep.c user/dchagin/lemul/sys/compat/linux/linux_signal.c user/dchagin/lemul/sys/compat/linux/linux_signal.h user/dchagin/lemul/sys/i386/linux/linux.h user/dchagin/lemul/sys/i386/linux/linux_machdep.c Modified: user/dchagin/lemul/sys/amd64/linux/linux.h ============================================================================== --- user/dchagin/lemul/sys/amd64/linux/linux.h Sun Feb 8 20:44:50 2015 (r278400) +++ user/dchagin/lemul/sys/amd64/linux/linux.h Sun Feb 8 20:48:17 2015 (r278401) @@ -250,9 +250,6 @@ struct l_newstat { #define LINUX_SS_ONSTACK 1 #define LINUX_SS_DISABLE 2 -int linux_to_bsd_sigaltstack(int lsa); -int bsd_to_linux_sigaltstack(int bsa); - typedef void (*l_handler_t)(l_int); typedef struct { Modified: user/dchagin/lemul/sys/amd64/linux/linux_machdep.c ============================================================================== --- user/dchagin/lemul/sys/amd64/linux/linux_machdep.c Sun Feb 8 20:44:50 2015 (r278400) +++ user/dchagin/lemul/sys/amd64/linux/linux_machdep.c Sun Feb 8 20:48:17 2015 (r278401) @@ -87,29 +87,6 @@ __FBSDID("$FreeBSD$"); #include #include -int -linux_to_bsd_sigaltstack(int lsa) -{ - int bsa = 0; - - if (lsa & LINUX_SS_DISABLE) - bsa |= SS_DISABLE; - if (lsa & LINUX_SS_ONSTACK) - bsa |= SS_ONSTACK; - return (bsa); -} - -int -bsd_to_linux_sigaltstack(int bsa) -{ - int lsa = 0; - - if (bsa & SS_DISABLE) - lsa |= LINUX_SS_DISABLE; - if (bsa & SS_ONSTACK) - lsa |= LINUX_SS_ONSTACK; - return (lsa); -} int linux_execve(struct thread *td, struct linux_execve_args *args) Modified: user/dchagin/lemul/sys/amd64/linux32/linux.h ============================================================================== --- user/dchagin/lemul/sys/amd64/linux32/linux.h Sun Feb 8 20:44:50 2015 (r278400) +++ user/dchagin/lemul/sys/amd64/linux32/linux.h Sun Feb 8 20:48:17 2015 (r278401) @@ -328,9 +328,6 @@ struct l_statfs64 { #define LINUX_SS_ONSTACK 1 #define LINUX_SS_DISABLE 2 -int linux_to_bsd_sigaltstack(int lsa); -int bsd_to_linux_sigaltstack(int bsa); - typedef l_uintptr_t l_handler_t; typedef l_ulong l_osigset_t; Modified: user/dchagin/lemul/sys/amd64/linux32/linux32_machdep.c ============================================================================== --- user/dchagin/lemul/sys/amd64/linux32/linux32_machdep.c Sun Feb 8 20:44:50 2015 (r278400) +++ user/dchagin/lemul/sys/amd64/linux32/linux32_machdep.c Sun Feb 8 20:48:17 2015 (r278401) @@ -82,34 +82,10 @@ struct l_old_select_argv { l_uintptr_t timeout; } __packed; -int -linux_to_bsd_sigaltstack(int lsa) -{ - int bsa = 0; - - if (lsa & LINUX_SS_DISABLE) - bsa |= SS_DISABLE; - if (lsa & LINUX_SS_ONSTACK) - bsa |= SS_ONSTACK; - return (bsa); -} - static int linux_mmap_common(struct thread *td, l_uintptr_t addr, l_size_t len, l_int prot, l_int flags, l_int fd, l_loff_t pos); -int -bsd_to_linux_sigaltstack(int bsa) -{ - int lsa = 0; - - if (bsa & SS_DISABLE) - lsa |= LINUX_SS_DISABLE; - if (bsa & SS_ONSTACK) - lsa |= LINUX_SS_ONSTACK; - return (lsa); -} - static void bsd_to_linux_rusage(struct rusage *ru, struct l_rusage *lru) { Modified: user/dchagin/lemul/sys/compat/linux/linux_signal.c ============================================================================== --- user/dchagin/lemul/sys/compat/linux/linux_signal.c Sun Feb 8 20:44:50 2015 (r278400) +++ user/dchagin/lemul/sys/compat/linux/linux_signal.c Sun Feb 8 20:48:17 2015 (r278401) @@ -683,6 +683,32 @@ sicode_to_lsicode(int si_code, int *lsi_ } } +int +linux_to_bsd_sigaltstack(int lsa) +{ + int bsa = 0; + + if (lsa & LINUX_SS_DISABLE) + bsa |= SS_DISABLE; + /* + * Linux ignores SS_ONSTACK flag for ss + * parameter while FreeBSD prohibits it. + */ + return (bsa); +} + +int +bsd_to_linux_sigaltstack(int bsa) +{ + int lsa = 0; + + if (bsa & SS_DISABLE) + lsa |= LINUX_SS_DISABLE; + if (bsa & SS_ONSTACK) + lsa |= LINUX_SS_ONSTACK; + return (lsa); +} + void lsiginfo_to_ksiginfo(l_siginfo_t *lsi, ksiginfo_t *ksi, int sig) { Modified: user/dchagin/lemul/sys/compat/linux/linux_signal.h ============================================================================== --- user/dchagin/lemul/sys/compat/linux/linux_signal.h Sun Feb 8 20:44:50 2015 (r278400) +++ user/dchagin/lemul/sys/compat/linux/linux_signal.h Sun Feb 8 20:48:17 2015 (r278401) @@ -46,6 +46,8 @@ extern int bsd_to_linux_signal[]; extern int linux_to_bsd_signal[]; +int linux_to_bsd_sigaltstack(int lsa); +int bsd_to_linux_sigaltstack(int bsa); void linux_to_bsd_sigset(l_sigset_t *, sigset_t *); void bsd_to_linux_sigset(sigset_t *, l_sigset_t *); int linux_do_sigaction(struct thread *, int, l_sigaction_t *, l_sigaction_t *); Modified: user/dchagin/lemul/sys/i386/linux/linux.h ============================================================================== --- user/dchagin/lemul/sys/i386/linux/linux.h Sun Feb 8 20:44:50 2015 (r278400) +++ user/dchagin/lemul/sys/i386/linux/linux.h Sun Feb 8 20:48:17 2015 (r278401) @@ -303,9 +303,6 @@ struct l_statfs64 { #define LINUX_SS_ONSTACK 1 #define LINUX_SS_DISABLE 2 -int linux_to_bsd_sigaltstack(int lsa); -int bsd_to_linux_sigaltstack(int bsa); - typedef void (*l_handler_t)(l_int); typedef l_ulong l_osigset_t; Modified: user/dchagin/lemul/sys/i386/linux/linux_machdep.c ============================================================================== --- user/dchagin/lemul/sys/i386/linux/linux_machdep.c Sun Feb 8 20:44:50 2015 (r278400) +++ user/dchagin/lemul/sys/i386/linux/linux_machdep.c Sun Feb 8 20:48:17 2015 (r278401) @@ -99,29 +99,6 @@ static int linux_mmap_common(struct thre l_size_t len, l_int prot, l_int flags, l_int fd, l_loff_t pos); -int -linux_to_bsd_sigaltstack(int lsa) -{ - int bsa = 0; - - if (lsa & LINUX_SS_DISABLE) - bsa |= SS_DISABLE; - if (lsa & LINUX_SS_ONSTACK) - bsa |= SS_ONSTACK; - return (bsa); -} - -int -bsd_to_linux_sigaltstack(int bsa) -{ - int lsa = 0; - - if (bsa & SS_DISABLE) - lsa |= LINUX_SS_DISABLE; - if (bsa & SS_ONSTACK) - lsa |= LINUX_SS_ONSTACK; - return (lsa); -} int linux_execve(struct thread *td, struct linux_execve_args *args) From owner-svn-src-user@FreeBSD.ORG Tue Feb 10 11:47:23 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14A5B72B; Tue, 10 Feb 2015 11:47: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 F31B4F98; Tue, 10 Feb 2015 11:47:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1ABlM5X052052; Tue, 10 Feb 2015 11:47:22 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1ABl4ec051941; Tue, 10 Feb 2015 11:47:04 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502101147.t1ABl4ec051941@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Tue, 10 Feb 2015 11:47:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278501 - in 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: Tue, 10 Feb 2015 11:47:23 -0000 Author: pho Date: Tue Feb 10 11:47:03 2015 New Revision: 278501 URL: https://svnweb.freebsd.org/changeset/base/278501 Log: In order to detect ABI drift, implement the option to use pre-compiled binaries for the stress2/misc test scripts. Discussed with: kib Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/README user/pho/stress2/default.cfg user/pho/stress2/misc/alternativeFlushPath.sh user/pho/stress2/misc/callout_reset_on.sh user/pho/stress2/misc/cmp.sh user/pho/stress2/misc/contigmalloc.sh user/pho/stress2/misc/core.sh user/pho/stress2/misc/datamove.sh user/pho/stress2/misc/datamove2.sh user/pho/stress2/misc/datamove3.sh user/pho/stress2/misc/datamove4.sh user/pho/stress2/misc/devfd.sh user/pho/stress2/misc/devfs2.sh user/pho/stress2/misc/dup2.sh user/pho/stress2/misc/execi386.sh user/pho/stress2/misc/extattr.sh user/pho/stress2/misc/extattr_set_fd.sh user/pho/stress2/misc/f_offset.sh user/pho/stress2/misc/fcntl.sh user/pho/stress2/misc/fdgrowtable.sh user/pho/stress2/misc/fifo.sh user/pho/stress2/misc/fifo2.sh user/pho/stress2/misc/flock_open_close.sh user/pho/stress2/misc/fork.sh user/pho/stress2/misc/fpclone2.sh user/pho/stress2/misc/fpu.sh user/pho/stress2/misc/fragments.sh user/pho/stress2/misc/fts.sh user/pho/stress2/misc/fullpath.sh user/pho/stress2/misc/fuzz.sh user/pho/stress2/misc/holdcnt0.sh user/pho/stress2/misc/inversion.sh user/pho/stress2/misc/isofs.sh user/pho/stress2/misc/jail.sh user/pho/stress2/misc/jail2.sh user/pho/stress2/misc/jail3.sh user/pho/stress2/misc/jail4.sh user/pho/stress2/misc/kern_umtx_inf_loop.sh user/pho/stress2/misc/kevent.sh user/pho/stress2/misc/kevent2.sh user/pho/stress2/misc/kevent3.sh user/pho/stress2/misc/kevent4.sh user/pho/stress2/misc/kevent5.sh user/pho/stress2/misc/kevent6.sh user/pho/stress2/misc/kevent7.sh user/pho/stress2/misc/kevent8.sh user/pho/stress2/misc/killpg.sh user/pho/stress2/misc/kinfo.sh user/pho/stress2/misc/kinfo2.sh user/pho/stress2/misc/kinfo3.sh user/pho/stress2/misc/ldt.sh user/pho/stress2/misc/linger.sh user/pho/stress2/misc/linger2.sh user/pho/stress2/misc/linger3.sh user/pho/stress2/misc/linger4.sh user/pho/stress2/misc/link.sh user/pho/stress2/misc/mlockall.sh user/pho/stress2/misc/mlockall2.sh user/pho/stress2/misc/mlockall3.sh user/pho/stress2/misc/mlockall4.sh user/pho/stress2/misc/mmap.sh user/pho/stress2/misc/mmap10.sh user/pho/stress2/misc/mmap11.sh user/pho/stress2/misc/mmap12.sh user/pho/stress2/misc/mmap13.sh user/pho/stress2/misc/mmap19.sh user/pho/stress2/misc/mmap2.sh user/pho/stress2/misc/mmap3.sh user/pho/stress2/misc/mmap4.sh user/pho/stress2/misc/mmap5.sh user/pho/stress2/misc/mmap6.sh user/pho/stress2/misc/mmap7.sh user/pho/stress2/misc/mmap8.sh user/pho/stress2/misc/mmap9.sh user/pho/stress2/misc/mountu.sh user/pho/stress2/misc/msdos5.sh user/pho/stress2/misc/msync.sh user/pho/stress2/misc/msync2.sh user/pho/stress2/misc/namecache.sh user/pho/stress2/misc/namecache2.sh user/pho/stress2/misc/nanosleep.sh user/pho/stress2/misc/nbufkv.sh user/pho/stress2/misc/newfs4.sh user/pho/stress2/misc/nfs12.sh user/pho/stress2/misc/nfsrename.sh user/pho/stress2/misc/nullfs11.sh user/pho/stress2/misc/nullfs5.sh user/pho/stress2/misc/pcatch.sh user/pho/stress2/misc/pfl.sh user/pho/stress2/misc/posix_fadvise.sh user/pho/stress2/misc/pread.sh user/pho/stress2/misc/procfs3.sh user/pho/stress2/misc/procfs4.sh user/pho/stress2/misc/procfs5.sh user/pho/stress2/misc/pthread.sh user/pho/stress2/misc/pthread2.sh user/pho/stress2/misc/pthread3.sh user/pho/stress2/misc/pthread4.sh user/pho/stress2/misc/pthread5.sh user/pho/stress2/misc/pthread6.sh user/pho/stress2/misc/ptrace.sh user/pho/stress2/misc/ptrace2.sh user/pho/stress2/misc/ptrace3.sh user/pho/stress2/misc/pts.sh user/pho/stress2/misc/rdwr.sh user/pho/stress2/misc/readdir.sh user/pho/stress2/misc/rename.sh user/pho/stress2/misc/rename10.sh user/pho/stress2/misc/rename11.sh user/pho/stress2/misc/rename12.sh user/pho/stress2/misc/rename2.sh user/pho/stress2/misc/rename4.sh user/pho/stress2/misc/rename5.sh user/pho/stress2/misc/rename6.sh user/pho/stress2/misc/rename7.sh user/pho/stress2/misc/rename8.sh user/pho/stress2/misc/rename9.sh user/pho/stress2/misc/revoke.sh user/pho/stress2/misc/rot.sh user/pho/stress2/misc/rwlock_ronly.sh user/pho/stress2/misc/sem.sh user/pho/stress2/misc/sendfile.sh user/pho/stress2/misc/sendfile2.sh user/pho/stress2/misc/sendfile3.sh user/pho/stress2/misc/sendfile4.sh user/pho/stress2/misc/sendfile5.sh user/pho/stress2/misc/sendfile6.sh user/pho/stress2/misc/sendfile_shm.sh user/pho/stress2/misc/setuid.sh user/pho/stress2/misc/shm_open.sh user/pho/stress2/misc/signal.sh user/pho/stress2/misc/sigreturn.sh user/pho/stress2/misc/sigstop.sh user/pho/stress2/misc/sigxcpu.sh user/pho/stress2/misc/snap8.sh user/pho/stress2/misc/sndstat.sh user/pho/stress2/misc/socketpair.sh user/pho/stress2/misc/socketpair2.sh user/pho/stress2/misc/spin.sh user/pho/stress2/misc/statfs.sh user/pho/stress2/misc/stealer.sh user/pho/stress2/misc/suj10.sh user/pho/stress2/misc/suj17.sh user/pho/stress2/misc/suj2.sh user/pho/stress2/misc/suj20.sh user/pho/stress2/misc/suj21.sh user/pho/stress2/misc/suj22.sh user/pho/stress2/misc/suj23.sh user/pho/stress2/misc/suj30.sh user/pho/stress2/misc/suj32.sh user/pho/stress2/misc/suj5.sh user/pho/stress2/misc/suj6.sh user/pho/stress2/misc/swap.sh user/pho/stress2/misc/swap2.sh user/pho/stress2/misc/symlink.sh user/pho/stress2/misc/symlink2.sh user/pho/stress2/misc/syscall2.sh user/pho/stress2/misc/syscall3.sh user/pho/stress2/misc/syscall4.sh user/pho/stress2/misc/tmpfs10.sh user/pho/stress2/misc/tmpfs5.sh user/pho/stress2/misc/tmpfs6.sh user/pho/stress2/misc/tmpfs7.sh user/pho/stress2/misc/tmpfs8.sh user/pho/stress2/misc/tmpfs9.sh user/pho/stress2/misc/truncate.sh user/pho/stress2/misc/truncate2.sh user/pho/stress2/misc/truncate3.sh user/pho/stress2/misc/truncate5.sh user/pho/stress2/misc/umountf2.sh user/pho/stress2/misc/umountf3.sh user/pho/stress2/misc/umountf7.sh user/pho/stress2/misc/vfork.sh user/pho/stress2/misc/vnodes.sh user/pho/stress2/misc/vunref.sh user/pho/stress2/misc/wire_no_page.sh Modified: user/pho/stress2/README ============================================================================== --- user/pho/stress2/README Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/README Tue Feb 10 11:47:03 2015 (r278501) @@ -37,6 +37,8 @@ The following sub-directories exists: These days most test development occur is stress2/misc, where the regression tests reside. To run all of these tests once, type "./all.sh -o" in the stress2/misc directory. +The default mode is to compile tests, but pre-build binaries may be used. +See default.cfg for details. The name stress2 indicates that this is the second generation of the Kernel Stress Test Suite. The first version (stress) was based mostly on scripts. Modified: user/pho/stress2/default.cfg ============================================================================== --- user/pho/stress2/default.cfg Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/default.cfg Tue Feb 10 11:47:03 2015 (r278501) @@ -88,5 +88,40 @@ checkfs () { fi } +# Support for pre-build binaries for stress2/misc tests +# Build modes: +# 1 Build and copy binary to $STRESS2BIN +# 2 Do not compile; use binary from $STRESS2BIN + +# Examples: +# BMODE=1 ./all.sh -on `grep -lw mycc *.sh` +# BMODE=2 STRESS2BIN=/home/pho/stress2/bin.i386.r276368 ./all.sh + +CC=${CC:-cc} +top=`dirname $(pwd)` # cwd for the all.sh script +STRESS2BIN=${STRESS2BIN:-$top/bin} +mycc () { # "-o" must be first argument + [ "$1" = "-o" ] && file=`basename $2` + if [ "$BMODE" = "1" ]; then + $CC $@ || return + [ -z "$file" ] && return # "-c" + [ -d $STRESS2BIN ] || mkdir $STRESS2BIN + [ -x $STRESS2BIN/$file ] && + echo "Overwriting $STRESS2BIN/$file" + echo "cp $2 $STRESS2BIN" + cp $2 $STRESS2BIN + elif [ "$BMODE" = "2" ]; then + [ -z "$file" ] && return + if [ ! -x $STRESS2BIN/$file ]; then + echo "$STRESS2BIN/$file not found" + exit 1 + fi + echo "Using binary $STRESS2BIN/$file" + cp $STRESS2BIN/$file /tmp + else + $CC $@ # default "build and run" mode + fi +} + [ -f "./`hostname`" ] && . "./`hostname`" # source in local configuration [ -f "../`hostname`" ] && . "../`hostname`" # source in local configuration Modified: user/pho/stress2/misc/alternativeFlushPath.sh ============================================================================== --- user/pho/stress2/misc/alternativeFlushPath.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/alternativeFlushPath.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -48,7 +48,7 @@ rm -rf $dir mkdir -p $dir cd $dir sed '1,/^EOF/d' < $odir/$0 > $dir/alternativeFlushPath.c -cc -o /tmp/alternativeFlushPath -Wall -Wextra alternativeFlushPath.c +mycc -o /tmp/alternativeFlushPath -Wall -Wextra alternativeFlushPath.c rm -f alternativeFlushPath.c for j in `jot 10`; do Modified: user/pho/stress2/misc/callout_reset_on.sh ============================================================================== --- user/pho/stress2/misc/callout_reset_on.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/callout_reset_on.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -36,6 +36,8 @@ # Fixed in r243901. +. ../default.cfg + rm -f /tmp/crwriter /tmp/crlogger || exit 1 cat > /tmp/crwriter.c < /tmp/crlogger.c < cmp.c -cc -o cmp -Wall -Wextra -O2 -g cmp.c || exit 1 +mycc -o cmp -Wall -Wextra -O2 -g cmp.c || exit 1 rm -f cmp.c mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint Modified: user/pho/stress2/misc/contigmalloc.sh ============================================================================== --- user/pho/stress2/misc/contigmalloc.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/contigmalloc.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -45,8 +45,10 @@ [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 +. ../default.cfg + odir=`pwd` -dir=/tmp/ctest +dir=/tmp/contigmalloc rm -rf $dir; mkdir -p $dir cat > $dir/ctest.c < @@ -132,7 +134,7 @@ main(int argc, char *argv[]) } EOF -cc -o $dir/ctest -Wall -Wextra -O0 -g $dir/ctest.c || exit +mycc -o /tmp/ctest -Wall -Wextra -O0 -g $dir/ctest.c || exit rm $dir/ctest.c cd $dir @@ -149,9 +151,9 @@ 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 +/tmp/ctest `sysctl -n debug.cmalloc_offset` $mw 2>&1 | tail -5 kldunload $dir/cmalloc.ko -rm -rf $dir +rm -rf $dir /tmp/ctest exit EOF2 Modified: user/pho/stress2/misc/core.sh ============================================================================== --- user/pho/stress2/misc/core.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/core.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ odir=`pwd` cd /tmp rm -f core sed '1,/^EOF/d' < $odir/$0 > core.c -cc -o core -Wall core.c +mycc -o core -Wall core.c rm -f core.c cd $RUNDIR Modified: user/pho/stress2/misc/datamove.sh ============================================================================== --- user/pho/stress2/misc/datamove.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/datamove.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -43,7 +43,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > datamove.c -cc -o datamove -Wall datamove.c +mycc -o datamove -Wall datamove.c rm -f datamove.c n=5 Modified: user/pho/stress2/misc/datamove2.sh ============================================================================== --- user/pho/stress2/misc/datamove2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/datamove2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -39,7 +39,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > datamove2.c -cc -o datamove2 -Wall datamove2.c +mycc -o datamove2 -Wall datamove2.c rm -f datamove2.c for i in `jot 2`; do Modified: user/pho/stress2/misc/datamove3.sh ============================================================================== --- user/pho/stress2/misc/datamove3.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/datamove3.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -39,7 +39,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > datamove3.c -cc -o datamove3 -Wall datamove3.c -lpthread +mycc -o datamove3 -Wall datamove3.c -lpthread rm -f datamove3.c n=5 Modified: user/pho/stress2/misc/datamove4.sh ============================================================================== --- user/pho/stress2/misc/datamove4.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/datamove4.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -38,7 +38,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > datamove4.c -cc -o datamove4 -Wall -Wextra -O2 -g datamove4.c +mycc -o datamove4 -Wall -Wextra -O2 -g datamove4.c rm -f datamove4.c mount | grep -q "$mntpoint " && umount $mntpoint Modified: user/pho/stress2/misc/devfd.sh ============================================================================== --- user/pho/stress2/misc/devfd.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/devfd.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -42,7 +42,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > devfd.c rm -f /tmp/devfd -cc -o devfd -Wall -Wextra -O2 -g devfd.c -lpthread || exit 1 +mycc -o devfd -Wall -Wextra -O2 -g devfd.c -lpthread || exit 1 rm -f devfd.c mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint Modified: user/pho/stress2/misc/devfs2.sh ============================================================================== --- user/pho/stress2/misc/devfs2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/devfs2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -41,12 +41,14 @@ # Test scenario by kib@freebsd.org +. ../default.cfg + odir=`pwd` dir=/tmp cd $dir sed '1,/^EOF/d' < $odir/$0 > $dir/devfs2.c -cc -o devfs2 -Wall devfs2.c -lthr +mycc -o devfs2 -Wall devfs2.c -lthr rm -f devfs2.c ./devfs2 Modified: user/pho/stress2/misc/dup2.sh ============================================================================== --- user/pho/stress2/misc/dup2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/dup2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -30,11 +30,13 @@ # Regression test for r234131. +. ../default.cfg + dir=/tmp odir=`pwd` cd $dir sed '1,/^EOF/d' < $odir/$0 > $dir/dup2.c -cc -o dup2 -Wall -Wextra dup2.c || exit 1 +mycc -o dup2 -Wall -Wextra dup2.c || exit 1 rm -f dup2.c cd $odir Modified: user/pho/stress2/misc/execi386.sh ============================================================================== --- user/pho/stress2/misc/execi386.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/execi386.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -34,6 +34,8 @@ [ `uname -p` = "amd64" ] || exit 0 +. ../default.cfg + here=`pwd` cd /tmp @@ -63,7 +65,7 @@ main() { } EOF -cc -o execi386 -Wall -Wextra -O2 -g execi386.c -lpthread || exit 1 +mycc -o execi386 -Wall -Wextra -O2 -g execi386.c -lpthread || exit 1 cat > /tmp/i386.c < @@ -76,7 +78,7 @@ main(void) } EOF -cc -m32 -o i386 -Wall -Wextra -O2 -g i386.c || exit 1 +mycc -m32 -o i386 -Wall -Wextra -O2 -g i386.c || exit 1 ./execi386 > /dev/null || echo FAIL Modified: user/pho/stress2/misc/extattr.sh ============================================================================== --- user/pho/stress2/misc/extattr.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/extattr.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -39,7 +39,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > extattr.c -cc -o extattr -Wall extattr.c +mycc -o extattr -Wall extattr.c rm -f extattr.c cd $odir Modified: user/pho/stress2/misc/extattr_set_fd.sh ============================================================================== --- user/pho/stress2/misc/extattr_set_fd.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/extattr_set_fd.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -38,7 +38,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > extattr_set_fd.c -cc -o extattr_set_fd -Wall -Wextra -O2 extattr_set_fd.c +mycc -o extattr_set_fd -Wall -Wextra -O2 extattr_set_fd.c rm -f extattr_set_fd.c mount | grep -q "$mntpoint" && umount $mntpoint Modified: user/pho/stress2/misc/f_offset.sh ============================================================================== --- user/pho/stress2/misc/f_offset.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/f_offset.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -32,10 +32,12 @@ # Test scenario by kib@ +. ../default.cfg + here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > f_offset.c -cc -o f_offset -Wall -Wextra -O2 f_offset.c -lpthread +mycc -o f_offset -Wall -Wextra -O2 f_offset.c -lpthread rm -f f_offset.c /tmp/f_offset Modified: user/pho/stress2/misc/fcntl.sh ============================================================================== --- user/pho/stress2/misc/fcntl.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fcntl.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -30,10 +30,12 @@ # fcntl(2) locking scenario. No problems seen. +. ../default.cfg + here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > fcntl.c -cc -o fcntl -Wall -Wextra -O0 -g fcntl.c || exit 1 +mycc -o fcntl -Wall -Wextra -O0 -g fcntl.c || exit 1 rm -f fcntl.c /tmp/fcntl Modified: user/pho/stress2/misc/fdgrowtable.sh ============================================================================== --- user/pho/stress2/misc/fdgrowtable.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fdgrowtable.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -39,7 +39,7 @@ max=`sysctl kern.maxfilesperproc | sed ' here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > fdgrowtable.c -cc -o fdgrowtable -Wall -Wextra -O2 fdgrowtable.c || exit 1 +mycc -o fdgrowtable -Wall -Wextra -O2 fdgrowtable.c || exit 1 rm -f fdgrowtable.c cd $here Modified: user/pho/stress2/misc/fifo.sh ============================================================================== --- user/pho/stress2/misc/fifo.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fifo.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -40,7 +40,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > fifo.c rm -f /tmp/fifo -cc -o fifo -Wall -Wextra -O2 -g fifo.c || exit 1 +mycc -o fifo -Wall -Wextra -O2 -g fifo.c || exit 1 rm -f fifo.c mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint Modified: user/pho/stress2/misc/fifo2.sh ============================================================================== --- user/pho/stress2/misc/fifo2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fifo2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -41,7 +41,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > fifo2.c rm -f /tmp/fifo2 -cc -o fifo2 -Wall -Wextra -O2 -g fifo2.c -lpthread || exit 1 +mycc -o fifo2 -Wall -Wextra -O2 -g fifo2.c -lpthread || exit 1 rm -f fifo2.c mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint Modified: user/pho/stress2/misc/flock_open_close.sh ============================================================================== --- user/pho/stress2/misc/flock_open_close.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/flock_open_close.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -40,7 +40,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > flock_open_close.c rm -f /tmp/flock_open_close -cc -o flock_open_close -Wall -Wextra -O2 -g flock_open_close.c -lpthread || exit 1 +mycc -o flock_open_close -Wall -Wextra -O2 -g flock_open_close.c -lpthread || exit 1 rm -f flock_open_close.c mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint Modified: user/pho/stress2/misc/fork.sh ============================================================================== --- user/pho/stress2/misc/fork.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fork.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -34,10 +34,12 @@ # Note that program erroneously calls exit(3) and not _exit(2). +. ../default.cfg + here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > fork.c -cc -o fork -Wall -Wextra -O2 -g fork.c -lpthread || exit 1 +mycc -o fork -Wall -Wextra -O2 -g fork.c -lpthread || exit 1 for i in `jot 100`; do /tmp/fork & Modified: user/pho/stress2/misc/fpclone2.sh ============================================================================== --- user/pho/stress2/misc/fpclone2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fpclone2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -30,7 +30,7 @@ # Test scenario by kib@freebsd.org -# Test of +# Test of patch for Giant trick in cdevsw [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 @@ -53,12 +53,12 @@ make kldload $dir/fpclone.ko sed '1,/^EOF2/d' < $odir/$0 > fpclone2.c -cc -o fpclone2 -Wall fpclone2.c +mycc -o /tmp/fpclone2 -Wall fpclone2.c rm -f fpclone2.c cd $odir for i in `jot 10`; do - $dir/fpclone2 & + /tmp/fpclone2 & done for i in `jot 10`; do @@ -66,7 +66,7 @@ for i in `jot 10`; do done kldstat kldunload $dir/fpclone.ko -rm -rf $dir fpclone2 +rm -rf $dir /tmp/fpclone2 exit EOF2 Modified: user/pho/stress2/misc/fpu.sh ============================================================================== --- user/pho/stress2/misc/fpu.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fpu.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -35,7 +35,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > fpu.c -cc -o fpu -Wall -O2 fpu.c +mycc -o fpu -Wall -O2 fpu.c rm -f fpu.c [ -d $RUNDIR ] || mkdir -p $RUNDIR cd $RUNDIR Modified: user/pho/stress2/misc/fragments.sh ============================================================================== --- user/pho/stress2/misc/fragments.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fragments.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -43,7 +43,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > fragments.c rm -f /tmp/fragments -cc -o fragments -Wall -Wextra -O2 -g fragments.c +mycc -o fragments -Wall -Wextra -O2 -g fragments.c rm -f fragments.c cd $here Modified: user/pho/stress2/misc/fts.sh ============================================================================== --- user/pho/stress2/misc/fts.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fts.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -38,7 +38,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > fts.c -cc -o fts -Wall -Wextra fts.c +mycc -o fts -Wall -Wextra fts.c rm -f fts.c cd $here Modified: user/pho/stress2/misc/fullpath.sh ============================================================================== --- user/pho/stress2/misc/fullpath.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fullpath.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -38,7 +38,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > fullpath.c -cc -o fullpath -Wall fullpath.c +mycc -o fullpath -Wall fullpath.c rm -f fullpath.c cd /proc Modified: user/pho/stress2/misc/fuzz.sh ============================================================================== --- user/pho/stress2/misc/fuzz.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/fuzz.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -93,7 +93,7 @@ dir=/tmp cd $dir sed '1,/^EOF/d' < $odir/$0 > $dir/fuzz.c -cc -o fuzz -Wall fuzz.c +mycc -o fuzz -Wall fuzz.c rm -f fuzz.c for j in `jot 10`; do Modified: user/pho/stress2/misc/holdcnt0.sh ============================================================================== --- user/pho/stress2/misc/holdcnt0.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/holdcnt0.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -35,15 +35,15 @@ # Test scenario suggestion by alc@ [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 -[ `uname -m` = "i386" ] && exit 0 # Not enough vm . ../default.cfg here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > holdcnt0.c -cc -o holdcnt0 -Wall -Wextra -g holdcnt0.c || exit 1 +mycc -o holdcnt0 -Wall -Wextra -g holdcnt0.c || exit 1 rm -f holdcnt0.c +[ `uname -m` = "i386" ] && exit 0 # Not enough vm cd $here mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint @@ -198,7 +198,7 @@ reader(void) continue; } len = statbuf.st_size; - if ((p = mmap(p, len, PROT_READ, MAP_SHARED, fd, 0)) == MAP_FAILED) + if ((p = mmap(p, len, PROT_READ, MAP_SHARED, fd, 0)) == MAP_FAILED) err(1, "mmap()"); close(fd); n = statbuf.st_size / ps; Modified: user/pho/stress2/misc/inversion.sh ============================================================================== --- user/pho/stress2/misc/inversion.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/inversion.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -31,6 +31,8 @@ # Provokes a deadlock by lower priority process holding a lock and # never beeing run +. ../default.cfg + dir=/tmp N=5 # Number of CPUs + 1 M=25 # Number of lower priority jobs @@ -38,7 +40,7 @@ M=25 # Number of lower priority jobs odir=`pwd` cd $dir sed '1,/^EOF/d' < $odir/$0 > $dir/inversion.c -cc -o inversion -Wall inversion.c +mycc -o inversion -Wall inversion.c rm -f inversion.c for i in `jot $N`; do Modified: user/pho/stress2/misc/isofs.sh ============================================================================== --- user/pho/stress2/misc/isofs.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/isofs.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -39,7 +39,7 @@ I=`dirname $diskimage`/dir.iso export here=`pwd` cd /tmp -cc -o fstool $here/../tools/fstool.c +mycc -o fstool $here/../tools/fstool.c rm -rf $D $I mkdir $D Modified: user/pho/stress2/misc/jail.sh ============================================================================== --- user/pho/stress2/misc/jail.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/jail.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -36,7 +36,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > jail.c -cc -o jail -Wall jail.c +mycc -o jail -Wall jail.c rm -f jail.c cd $RUNDIR /tmp/jail Modified: user/pho/stress2/misc/jail2.sh ============================================================================== --- user/pho/stress2/misc/jail2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/jail2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -36,7 +36,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > jail2.c -cc -o jail2 -Wall jail2.c +mycc -o jail2 -Wall jail2.c rm -f jail2.c cd $odir /tmp/jail2 Modified: user/pho/stress2/misc/jail3.sh ============================================================================== --- user/pho/stress2/misc/jail3.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/jail3.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -36,7 +36,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > jail3.c -cc -o jail3 -Wall jail3.c +mycc -o jail3 -Wall jail3.c rm -f jail3.c cd $odir /tmp/jail3 Modified: user/pho/stress2/misc/jail4.sh ============================================================================== --- user/pho/stress2/misc/jail4.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/jail4.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -38,7 +38,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > jail4.c -cc -o jail4 -Wall jail4.c +mycc -o jail4 -Wall jail4.c rm -f jail4.c cd $odir /tmp/jail4 Modified: user/pho/stress2/misc/kern_umtx_inf_loop.sh ============================================================================== --- user/pho/stress2/misc/kern_umtx_inf_loop.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kern_umtx_inf_loop.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -13,7 +13,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > kern_umtx_inf_loop.c -cc -o kern_umtx_inf_loop -Wall -Wextra -O0 -g kern_umtx_inf_loop.c \ +mycc -o kern_umtx_inf_loop -Wall -Wextra -O0 -g kern_umtx_inf_loop.c \ -lpthread || exit 1 rm -f kern_umtx_inf_loop.c Modified: user/pho/stress2/misc/kevent.sh ============================================================================== --- user/pho/stress2/misc/kevent.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kevent.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -36,7 +36,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > kevent.c -cc -o kevent -Wall kevent.c -pthread +mycc -o kevent -Wall kevent.c -pthread rm -f kevent.c [ -d "$RUNDIR" ] || mkdir -p $RUNDIR cd $RUNDIR Modified: user/pho/stress2/misc/kevent2.sh ============================================================================== --- user/pho/stress2/misc/kevent2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kevent2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -33,19 +33,20 @@ odir=`pwd` cd /tmp -sed '1,/^EOF/d' < $odir/$0 > kevent.c -cc -o kevent -Wall kevent.c -pthread -rm -f kevent.c +sed '1,/^EOF/d' < $odir/$0 > kevent2.c +mycc -o kevent2 -Wall kevent2.c -pthread +rm -f kevent2.c cd $RUNDIR for i in `jot 10`; do for j in `jot 12`; do - /tmp/kevent > /dev/null 2>&1 & + /tmp/kevent2 > /dev/null 2>&1 & done for j in `jot 12`; do wait done done +rm -f /tmp/kevent2 exit EOF #include @@ -170,6 +171,6 @@ main(int argc, char **argv) if (pthread_cond_destroy(&cond) == -1) err(1, "pthread_condattr_destroy"); } - + return (0); } Modified: user/pho/stress2/misc/kevent3.sh ============================================================================== --- user/pho/stress2/misc/kevent3.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kevent3.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -33,19 +33,20 @@ odir=`pwd` cd /tmp -sed '1,/^EOF/d' < $odir/$0 > kevent.c -cc -o kevent -Wall kevent.c -pthread -rm -f kevent.c +sed '1,/^EOF/d' < $odir/$0 > kevent3.c +mycc -o kevent3 -Wall kevent3.c -pthread +rm -f kevent3.c cd $RUNDIR for i in `jot 64`; do for j in `jot 12`; do - /tmp/kevent > /dev/null 2>&1 & + /tmp/kevent3 > /dev/null 2>&1 & done for j in `jot 12`; do wait done done +rm -f /tmp/kevent3 exit EOF /* Modified: user/pho/stress2/misc/kevent4.sh ============================================================================== --- user/pho/stress2/misc/kevent4.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kevent4.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -35,7 +35,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > kevent4.c -cc -o kevent4 -Wall kevent4.c -pthread +mycc -o kevent4 -Wall kevent4.c -pthread rm -f kevent4.c cd $odir Modified: user/pho/stress2/misc/kevent5.sh ============================================================================== --- user/pho/stress2/misc/kevent5.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kevent5.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > kevent5.c -cc -o kevent5 -Wall -Wextra -O2 -g kevent5.c || exit 1 +mycc -o kevent5 -Wall -Wextra -O2 -g kevent5.c || exit 1 rm -f kevent5.c [ -d $RUNDIR ] || mkdir -p $RUNDIR Modified: user/pho/stress2/misc/kevent6.sh ============================================================================== --- user/pho/stress2/misc/kevent6.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kevent6.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > kevent6.c -cc -o kevent6 -Wall -Wextra -O2 -g kevent6.c -lpthread || exit 1 +mycc -o kevent6 -Wall -Wextra -O2 -g kevent6.c -lpthread || exit 1 rm -f kevent6.c cd $odir Modified: user/pho/stress2/misc/kevent7.sh ============================================================================== --- user/pho/stress2/misc/kevent7.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kevent7.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -44,7 +44,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > kevent7.c rm -f /tmp/kevent7 -cc -o kevent7 -Wall -Wextra -O2 -g kevent7.c -lpthread || exit 1 +mycc -o kevent7 -Wall -Wextra -O2 -g kevent7.c -lpthread || exit 1 rm -f kevent7.c mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint Modified: user/pho/stress2/misc/kevent8.sh ============================================================================== --- user/pho/stress2/misc/kevent8.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kevent8.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -38,7 +38,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > kevent8.c -cc -o kevent8 -Wall -Wextra -O2 -g kevent8.c -lpthread || exit 1 +mycc -o kevent8 -Wall -Wextra -O2 -g kevent8.c -lpthread || exit 1 rm -f kevent8.c cd $odir Modified: user/pho/stress2/misc/killpg.sh ============================================================================== --- user/pho/stress2/misc/killpg.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/killpg.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -28,15 +28,17 @@ # $FreeBSD$ # -# Regression test for r241859: +# Regression test for r241859: # Return EPERM if processes were found but they were unable to be signaled. [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 +. ../default.cfg + here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > killpg.c -cc -o killpg -Wall -Wextra killpg.c +mycc -o killpg -Wall -Wextra killpg.c rm -f killpg.c /tmp/killpg Modified: user/pho/stress2/misc/kinfo.sh ============================================================================== --- user/pho/stress2/misc/kinfo.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kinfo.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > kinfo.c -cc -o kinfo -Wall kinfo.c -lutil || exit 1 +mycc -o kinfo -Wall kinfo.c -lutil || exit 1 rm -f kinfo.c mount | grep -q procfs || mount -t procfs procfs /proc Modified: user/pho/stress2/misc/kinfo2.sh ============================================================================== --- user/pho/stress2/misc/kinfo2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kinfo2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > kinfo2.c -cc -o kinfo2 -Wall kinfo2.c -lutil +mycc -o kinfo2 -Wall kinfo2.c -lutil rm -f kinfo2.c mount | grep -q procfs || mount -t procfs procfs /procfs Modified: user/pho/stress2/misc/kinfo3.sh ============================================================================== --- user/pho/stress2/misc/kinfo3.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/kinfo3.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > kinfo3.c -cc -o kinfo3 -Wall kinfo3.c -lutil -pthread +mycc -o kinfo3 -Wall kinfo3.c -lutil -pthread rm -f kinfo3.c mount | grep -q procfs || mount -t procfs procfs /procfs Modified: user/pho/stress2/misc/ldt.sh ============================================================================== --- user/pho/stress2/misc/ldt.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/ldt.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -40,6 +40,8 @@ [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 +. ../default.cfg + cd /tmp if [ "`uname -p`" = "i386" ]; then cat > ldt.c < linger.c -cc -o linger -Wall -O2 linger.c +mycc -o linger -Wall -O2 linger.c rm -f linger.c cd $here Modified: user/pho/stress2/misc/linger2.sh ============================================================================== --- user/pho/stress2/misc/linger2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/linger2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > linger2.c -cc -o linger2 -Wall -O2 linger2.c +mycc -o linger2 -Wall -O2 linger2.c rm -f linger2.c cd $here Modified: user/pho/stress2/misc/linger3.sh ============================================================================== --- user/pho/stress2/misc/linger3.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/linger3.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > linger3.c -cc -o linger3 -Wall -Wextra -O2 linger3.c +mycc -o linger3 -Wall -Wextra -O2 linger3.c rm -f linger3.c mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint Modified: user/pho/stress2/misc/linger4.sh ============================================================================== --- user/pho/stress2/misc/linger4.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/linger4.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > linger4.c -cc -o linger4 -Wall -Wextra -O2 linger4.c +mycc -o linger4 -Wall -Wextra -O2 linger4.c rm -f linger4.c mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint Modified: user/pho/stress2/misc/link.sh ============================================================================== --- user/pho/stress2/misc/link.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/link.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -40,7 +40,7 @@ here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > link.c -cc -o link -Wall -Wextra -O2 -g link.c || exit 1 +mycc -o link -Wall -Wextra -O2 -g link.c || exit 1 rm -f link.c mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint Modified: user/pho/stress2/misc/mlockall.sh ============================================================================== --- user/pho/stress2/misc/mlockall.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mlockall.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,7 +37,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > mlockall.c -cc -o mlockall -Wall mlockall.c +mycc -o mlockall -Wall mlockall.c rm -f mlockall.c for i in `jot 10`; do Modified: user/pho/stress2/misc/mlockall2.sh ============================================================================== --- user/pho/stress2/misc/mlockall2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mlockall2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -30,6 +30,8 @@ [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 +. ../default.cfg + # core dumps seen in watchdogd after mlockall() was added. # This scenario demonstrates the problem. Fixed in r242012. @@ -38,7 +40,7 @@ mem=`sysctl hw.usermem | awk '{print $NF here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > mlockall2.c -cc -o mlockall2 -Wall -Wextra -O2 -g mlockall2.c +mycc -o mlockall2 -Wall -Wextra -O2 -g mlockall2.c rm -f mlockall2.c cd $here Modified: user/pho/stress2/misc/mlockall3.sh ============================================================================== --- user/pho/stress2/misc/mlockall3.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mlockall3.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -34,11 +34,13 @@ [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 +. ../default.cfg + dir=/tmp odir=`pwd` cd $dir sed '1,/^EOF/d' < $odir/$0 > $dir/mlockall3.c -cc -o mlockall3 -Wall -Wextra mlockall3.c -lpthread || exit 1 +mycc -o mlockall3 -Wall -Wextra mlockall3.c -lpthread || exit 1 rm -f mlockall3.c cd $odir Modified: user/pho/stress2/misc/mlockall4.sh ============================================================================== --- user/pho/stress2/misc/mlockall4.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mlockall4.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -39,7 +39,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > mlockall4.c -cc -o mlockall4 -Wall -Wextra mlockall4.c || exit 1 +mycc -o mlockall4 -Wall -Wextra mlockall4.c || exit 1 rm -f mlockall4.c mount | grep -q "on $mntpoint " && umount -f $mntpoint Modified: user/pho/stress2/misc/mmap.sh ============================================================================== --- user/pho/stress2/misc/mmap.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mmap.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -15,7 +15,7 @@ odir=`pwd` cd /tmp sed '1,/^EOF/d' < $odir/$0 > mmap.c -cc -o mmap -Wall mmap.c +mycc -o mmap -Wall mmap.c rm -f mmap.c ./mmap Modified: user/pho/stress2/misc/mmap10.sh ============================================================================== --- user/pho/stress2/misc/mmap10.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mmap10.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -32,12 +32,14 @@ # http://people.freebsd.org/~pho/stress/log/mmap10.txt # No problems seen after r271681. +. ../default.cfg + [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > mmap10.c -cc -o mmap10 -Wall -Wextra -O2 -g mmap10.c -lpthread || exit 1 +mycc -o mmap10 -Wall -Wextra -O2 -g mmap10.c -lpthread || exit 1 rm -f mmap10.c daemon sh -c "(cd $here/../testcases/swap; ./swap -t 2m -i 20 -k)" Modified: user/pho/stress2/misc/mmap11.sh ============================================================================== --- user/pho/stress2/misc/mmap11.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mmap11.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -37,10 +37,12 @@ [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 +. ../default.cfg + here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > mmap11.c -cc -o mmap11 -Wall -Wextra -O2 -g mmap11.c -lpthread || exit 1 +mycc -o mmap11 -Wall -Wextra -O2 -g mmap11.c -lpthread || exit 1 rm -f mmap11.c daemon sh -c "(cd $here/../testcases/swap; ./swap -t 2m -i 20 -k)" Modified: user/pho/stress2/misc/mmap12.sh ============================================================================== --- user/pho/stress2/misc/mmap12.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mmap12.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -34,11 +34,13 @@ # Test scenario by: Mark Johnston markj@ +. ../default.cfg + dir=/tmp odir=`pwd` cd $dir sed '1,/^EOF/d' < $odir/$0 > $dir/mmap12.c -cc -o mmap12 -O2 -Wall -Wextra mmap12.c || exit 1 +mycc -o mmap12 -O2 -Wall -Wextra mmap12.c || exit 1 rm -f mmap12.c cd $odir Modified: user/pho/stress2/misc/mmap13.sh ============================================================================== --- user/pho/stress2/misc/mmap13.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mmap13.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -32,11 +32,13 @@ # Test scenario by: Mark Johnston markj@ # Fixed in r269134. +. ../default.cfg + dir=/tmp odir=`pwd` cd $dir sed '1,/^EOF/d' < $odir/$0 > $dir/mmap13.c -cc -o mmap13 -O2 -Wall -Wextra mmap13.c || exit 1 +mycc -o mmap13 -O2 -Wall -Wextra mmap13.c || exit 1 rm -f mmap13.c cd $odir Modified: user/pho/stress2/misc/mmap19.sh ============================================================================== --- user/pho/stress2/misc/mmap19.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mmap19.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -35,10 +35,12 @@ [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 +. ../default.cfg + here=`pwd` cd /tmp sed '1,/^EOF/d' < $here/$0 > mmap19.c -cc -o mmap19 -Wall -Wextra -O2 mmap19.c -lpthread || exit 1 +mycc -o mmap19 -Wall -Wextra -O2 mmap19.c -lpthread || exit 1 rm -f mmap19.c daemon sh -c "(cd $here/../testcases/swap; ./swap -t 2m -i 20 -k)" Modified: user/pho/stress2/misc/mmap2.sh ============================================================================== --- user/pho/stress2/misc/mmap2.sh Tue Feb 10 11:37:32 2015 (r278500) +++ user/pho/stress2/misc/mmap2.sh Tue Feb 10 11:47:03 2015 (r278501) @@ -33,10 +33,12 @@ # Test scenario by kib@ +. ../default.cfg + *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-user@FreeBSD.ORG Tue Feb 10 12:35:08 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE4B65DB; Tue, 10 Feb 2015 12:35:08 +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 CA6877F6; Tue, 10 Feb 2015 12:35:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1ACZ8Cn075642; Tue, 10 Feb 2015 12:35:08 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1ACZ84M075639; Tue, 10 Feb 2015 12:35:08 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502101235.t1ACZ84M075639@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Tue, 10 Feb 2015 12:35:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278504 - 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: Tue, 10 Feb 2015 12:35:09 -0000 Author: pho Date: Tue Feb 10 12:35:07 2015 New Revision: 278504 URL: https://svnweb.freebsd.org/changeset/base/278504 Log: Fix trailing whitespace. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/unionfs.sh user/pho/stress2/misc/unionfs2.sh Modified: user/pho/stress2/misc/unionfs.sh ============================================================================== --- user/pho/stress2/misc/unionfs.sh Tue Feb 10 12:08:52 2015 (r278503) +++ user/pho/stress2/misc/unionfs.sh Tue Feb 10 12:35:07 2015 (r278504) @@ -46,7 +46,7 @@ mount /dev/md${mdstart}$part $mntpoint mount -t unionfs -o noatime /mnt /tmp export RUNDIR=/tmp/stressX export runRUNTIME=10m # Run tests for 10 minutes -(cd ..; ./run.sh disk.cfg) +(cd ..; ./run.sh disk.cfg) while mount | grep $mntpoint | grep -q /dev/md; do umount $mntpoint || sleep 1 done Modified: user/pho/stress2/misc/unionfs2.sh ============================================================================== --- user/pho/stress2/misc/unionfs2.sh Tue Feb 10 12:08:52 2015 (r278503) +++ user/pho/stress2/misc/unionfs2.sh Tue Feb 10 12:35:07 2015 (r278504) @@ -38,7 +38,7 @@ for i in 1 0; do export RUNDIR=/var/tmp/unionfs/stressX export runRUNTIME=10m # Run tests for 10 minutes - (cd ..; ./run.sh disk.cfg) + (cd ..; ./run.sh disk.cfg) false while mount | grep -q /unionfs; do umount /tmp/stressX > /dev/null 2>&1 From owner-svn-src-user@FreeBSD.ORG Thu Feb 12 20:35:32 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05744BF0; Thu, 12 Feb 2015 20:35:32 +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 E577188A; Thu, 12 Feb 2015 20:35:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1CKZVfm088627; Thu, 12 Feb 2015 20:35:31 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1CKZVh6088626; Thu, 12 Feb 2015 20:35:31 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502122035.t1CKZVh6088626@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Thu, 12 Feb 2015 20:35:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278632 - 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: Thu, 12 Feb 2015 20:35:32 -0000 Author: pho Date: Thu Feb 12 20:35:30 2015 New Revision: 278632 URL: https://svnweb.freebsd.org/changeset/base/278632 Log: Limit file system size. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/tmpfs11.sh Modified: user/pho/stress2/misc/tmpfs11.sh ============================================================================== --- user/pho/stress2/misc/tmpfs11.sh Thu Feb 12 19:45:07 2015 (r278631) +++ user/pho/stress2/misc/tmpfs11.sh Thu Feb 12 20:35:30 2015 (r278632) @@ -40,12 +40,13 @@ mp2=${mntpoint}2 md1=$mdstart md2=$((mdstart + 1)) +size=$((`sysctl -n hw.usermem` / 1024 / 1024 / 2)) mount | grep $mp1 | grep -q tmpfs && umount -f $mp1 -mount -t tmpfs tmpfs $mp1 +mount -o size=${size}m -t tmpfs tmpfs $mp1 chmod 777 $mp1 mount | grep $mp2 | grep -q tmpfs && umount -f $mp2 -mount -t tmpfs tmpfs $mp2 +mount -o size=${size}m -t tmpfs tmpfs $mp2 chmod 777 $mp2 export runRUNTIME=15m From owner-svn-src-user@FreeBSD.ORG Sat Feb 14 08:20:39 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3981C368; Sat, 14 Feb 2015 08:20:39 +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 1B9B217D; Sat, 14 Feb 2015 08:20:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1E8Kd0x011144; Sat, 14 Feb 2015 08:20:39 GMT (envelope-from dchagin@FreeBSD.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1E8KWwD011108; Sat, 14 Feb 2015 08:20:32 GMT (envelope-from dchagin@FreeBSD.org) Message-Id: <201502140820.t1E8KWwD011108@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dchagin set sender to dchagin@FreeBSD.org using -f From: Dmitry Chagin Date: Sat, 14 Feb 2015 08:20:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278745 - in user/dchagin/lemul: . bin/pkill/tests cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io cddl/contrib/opensolaris/lib/libdtrace/arm cddl/contrib/opensolaris/tools/ctf/c... 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, 14 Feb 2015 08:20:39 -0000 Author: dchagin Date: Sat Feb 14 08:20:31 2015 New Revision: 278745 URL: https://svnweb.freebsd.org/changeset/base/278745 Log: Merge from head. Added: user/dchagin/lemul/cddl/contrib/opensolaris/lib/libdtrace/arm/ - copied from r278744, head/cddl/contrib/opensolaris/lib/libdtrace/arm/ user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/lzma12.h - copied unchanged from r278744, head/contrib/xz/src/liblzma/api/lzma/lzma12.h user/dchagin/lemul/contrib/xz/src/liblzma/common/block_buffer_encoder.h - copied unchanged from r278744, head/contrib/xz/src/liblzma/common/block_buffer_encoder.h user/dchagin/lemul/contrib/xz/src/liblzma/common/hardware_cputhreads.c - copied unchanged from r278744, head/contrib/xz/src/liblzma/common/hardware_cputhreads.c user/dchagin/lemul/contrib/xz/src/liblzma/common/memcmplen.h - copied unchanged from r278744, head/contrib/xz/src/liblzma/common/memcmplen.h user/dchagin/lemul/contrib/xz/src/liblzma/common/outqueue.c - copied unchanged from r278744, head/contrib/xz/src/liblzma/common/outqueue.c user/dchagin/lemul/contrib/xz/src/liblzma/common/outqueue.h - copied unchanged from r278744, head/contrib/xz/src/liblzma/common/outqueue.h user/dchagin/lemul/contrib/xz/src/liblzma/common/stream_encoder_mt.c - copied unchanged from r278744, head/contrib/xz/src/liblzma/common/stream_encoder_mt.c user/dchagin/lemul/contrib/xz/src/liblzma/liblzma.map - copied unchanged from r278744, head/contrib/xz/src/liblzma/liblzma.map user/dchagin/lemul/contrib/xz/src/liblzma/validate_map.sh - copied unchanged from r278744, head/contrib/xz/src/liblzma/validate_map.sh user/dchagin/lemul/contrib/xz/src/xz/mytime.c - copied unchanged from r278744, head/contrib/xz/src/xz/mytime.c user/dchagin/lemul/contrib/xz/src/xz/mytime.h - copied unchanged from r278744, head/contrib/xz/src/xz/mytime.h user/dchagin/lemul/lib/libdevctl/ - copied from r278744, head/lib/libdevctl/ user/dchagin/lemul/release/doc/share/xml/errata.xml - copied unchanged from r278744, head/release/doc/share/xml/errata.xml user/dchagin/lemul/release/doc/share/xml/security.xml - copied unchanged from r278744, head/release/doc/share/xml/security.xml user/dchagin/lemul/sys/arm/broadcom/bcm2835/bcm2835_audio.c - copied unchanged from r278744, head/sys/arm/broadcom/bcm2835/bcm2835_audio.c user/dchagin/lemul/sys/arm/broadcom/bcm2835/vc_vchi_audioserv_defs.h - copied unchanged from r278744, head/sys/arm/broadcom/bcm2835/vc_vchi_audioserv_defs.h user/dchagin/lemul/sys/cddl/contrib/opensolaris/uts/arm/ - copied from r278744, head/sys/cddl/contrib/opensolaris/uts/arm/ user/dchagin/lemul/sys/cddl/dev/dtrace/arm/ - copied from r278744, head/sys/cddl/dev/dtrace/arm/ user/dchagin/lemul/sys/cddl/dev/fbt/arm/ - copied from r278744, head/sys/cddl/dev/fbt/arm/ user/dchagin/lemul/sys/contrib/vchiq/ - copied from r278744, head/sys/contrib/vchiq/ user/dchagin/lemul/sys/dev/cxgbe/if_cxl.c - copied unchanged from r278744, head/sys/dev/cxgbe/if_cxl.c user/dchagin/lemul/sys/dev/wpi/if_wpi_debug.h - copied unchanged from r278744, head/sys/dev/wpi/if_wpi_debug.h user/dchagin/lemul/sys/modules/cxgbe/if_cxl/ - copied from r278744, head/sys/modules/cxgbe/if_cxl/ user/dchagin/lemul/sys/modules/dtb/rpi/ - copied from r278744, head/sys/modules/dtb/rpi/ user/dchagin/lemul/tools/tools/qrndtest/ - copied from r278744, head/tools/tools/qrndtest/ user/dchagin/lemul/usr.sbin/devctl/ - copied from r278744, head/usr.sbin/devctl/ user/dchagin/lemul/usr.sbin/pw/tests/pw_usernext.sh - copied unchanged from r278744, head/usr.sbin/pw/tests/pw_usernext.sh Deleted: user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/lzma.h user/dchagin/lemul/contrib/xz/src/liblzma/common/stream_encoder.h user/dchagin/lemul/lib/libiconv/ user/dchagin/lemul/share/info/ user/dchagin/lemul/sys/powerpc/conf/WII user/dchagin/lemul/sys/powerpc/wii/ Modified: user/dchagin/lemul/Makefile.inc1 user/dchagin/lemul/ObsoleteFiles.inc user/dchagin/lemul/UPDATING user/dchagin/lemul/bin/pkill/tests/pgrep-j_test.sh user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.c user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.d user/dchagin/lemul/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c user/dchagin/lemul/cddl/lib/Makefile user/dchagin/lemul/cddl/lib/libdtrace/Makefile user/dchagin/lemul/cddl/usr.sbin/Makefile user/dchagin/lemul/contrib/binutils/ld/scripttempl/elf.sc user/dchagin/lemul/contrib/elftoolchain/libdwarf/_libdwarf.h user/dchagin/lemul/contrib/elftoolchain/libdwarf/dwarf_reloc.c user/dchagin/lemul/contrib/elftoolchain/libdwarf/dwarf_set_reloc_application.3 user/dchagin/lemul/contrib/elftoolchain/libdwarf/libdwarf.c user/dchagin/lemul/contrib/elftoolchain/libdwarf/libdwarf.h user/dchagin/lemul/contrib/elftoolchain/libdwarf/libdwarf_elf_init.c user/dchagin/lemul/contrib/elftoolchain/libdwarf/libdwarf_reloc.c user/dchagin/lemul/contrib/mdocml/lib.in user/dchagin/lemul/contrib/netbsd-tests/games/t_factor.sh user/dchagin/lemul/contrib/top/utils.c user/dchagin/lemul/contrib/xz/ChangeLog user/dchagin/lemul/contrib/xz/FREEBSD-upgrade user/dchagin/lemul/contrib/xz/THANKS user/dchagin/lemul/contrib/xz/TODO user/dchagin/lemul/contrib/xz/src/common/mythread.h user/dchagin/lemul/contrib/xz/src/common/sysdefs.h user/dchagin/lemul/contrib/xz/src/common/tuklib_cpucores.c user/dchagin/lemul/contrib/xz/src/common/tuklib_physmem.c user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma.h user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/base.h user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/block.h user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/container.h user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/filter.h user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/hardware.h user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/index.h user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/index_hash.h user/dchagin/lemul/contrib/xz/src/liblzma/api/lzma/version.h user/dchagin/lemul/contrib/xz/src/liblzma/check/check.h user/dchagin/lemul/contrib/xz/src/liblzma/check/sha256.c user/dchagin/lemul/contrib/xz/src/liblzma/common/alone_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/alone_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/common/alone_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/auto_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/block_buffer_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/block_buffer_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/block_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/block_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/common/block_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/block_encoder.h user/dchagin/lemul/contrib/xz/src/liblzma/common/block_header_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/block_header_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/block_util.c user/dchagin/lemul/contrib/xz/src/liblzma/common/common.c user/dchagin/lemul/contrib/xz/src/liblzma/common/common.h user/dchagin/lemul/contrib/xz/src/liblzma/common/easy_buffer_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/easy_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/filter_buffer_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/filter_buffer_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/filter_common.c user/dchagin/lemul/contrib/xz/src/liblzma/common/filter_common.h user/dchagin/lemul/contrib/xz/src/liblzma/common/filter_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/filter_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/common/filter_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/filter_encoder.h user/dchagin/lemul/contrib/xz/src/liblzma/common/filter_flags_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/index.c user/dchagin/lemul/contrib/xz/src/liblzma/common/index_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/index_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/index_encoder.h user/dchagin/lemul/contrib/xz/src/liblzma/common/index_hash.c user/dchagin/lemul/contrib/xz/src/liblzma/common/stream_buffer_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/stream_buffer_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/stream_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/common/stream_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/common/stream_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/delta/delta_common.c user/dchagin/lemul/contrib/xz/src/liblzma/delta/delta_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/delta/delta_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/delta/delta_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/delta/delta_encoder.h user/dchagin/lemul/contrib/xz/src/liblzma/delta/delta_private.h user/dchagin/lemul/contrib/xz/src/liblzma/liblzma.pc.in user/dchagin/lemul/contrib/xz/src/liblzma/lz/lz_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/lz/lz_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/lz/lz_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/lz/lz_encoder.h user/dchagin/lemul/contrib/xz/src/liblzma/lz/lz_encoder_mf.c user/dchagin/lemul/contrib/xz/src/liblzma/lzma/fastpos.h user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma2_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma2_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma2_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma2_encoder.h user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma_common.h user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma_encoder.c user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma_encoder.h user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma_encoder_optimum_fast.c user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma_encoder_optimum_normal.c user/dchagin/lemul/contrib/xz/src/liblzma/lzma/lzma_encoder_private.h user/dchagin/lemul/contrib/xz/src/liblzma/rangecoder/range_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/simple/arm.c user/dchagin/lemul/contrib/xz/src/liblzma/simple/armthumb.c user/dchagin/lemul/contrib/xz/src/liblzma/simple/ia64.c user/dchagin/lemul/contrib/xz/src/liblzma/simple/powerpc.c user/dchagin/lemul/contrib/xz/src/liblzma/simple/simple_coder.c user/dchagin/lemul/contrib/xz/src/liblzma/simple/simple_coder.h user/dchagin/lemul/contrib/xz/src/liblzma/simple/simple_decoder.c user/dchagin/lemul/contrib/xz/src/liblzma/simple/simple_decoder.h user/dchagin/lemul/contrib/xz/src/liblzma/simple/simple_private.h user/dchagin/lemul/contrib/xz/src/liblzma/simple/sparc.c user/dchagin/lemul/contrib/xz/src/liblzma/simple/x86.c user/dchagin/lemul/contrib/xz/src/xz/args.c user/dchagin/lemul/contrib/xz/src/xz/args.h user/dchagin/lemul/contrib/xz/src/xz/coder.c user/dchagin/lemul/contrib/xz/src/xz/coder.h user/dchagin/lemul/contrib/xz/src/xz/file_io.c user/dchagin/lemul/contrib/xz/src/xz/file_io.h user/dchagin/lemul/contrib/xz/src/xz/hardware.c user/dchagin/lemul/contrib/xz/src/xz/hardware.h user/dchagin/lemul/contrib/xz/src/xz/list.c user/dchagin/lemul/contrib/xz/src/xz/main.c user/dchagin/lemul/contrib/xz/src/xz/message.c user/dchagin/lemul/contrib/xz/src/xz/options.c user/dchagin/lemul/contrib/xz/src/xz/private.h user/dchagin/lemul/contrib/xz/src/xz/signals.c user/dchagin/lemul/contrib/xz/src/xz/suffix.c user/dchagin/lemul/contrib/xz/src/xz/xz.1 user/dchagin/lemul/etc/Makefile user/dchagin/lemul/etc/devd.conf user/dchagin/lemul/etc/login.conf user/dchagin/lemul/etc/master.passwd user/dchagin/lemul/etc/mtree/BSD.debug.dist user/dchagin/lemul/etc/mtree/BSD.usr.dist user/dchagin/lemul/etc/rc.d/LOGIN user/dchagin/lemul/etc/rc.d/Makefile user/dchagin/lemul/etc/rc.d/NETWORKING user/dchagin/lemul/etc/rc.d/jail user/dchagin/lemul/etc/rc.d/local_unbound user/dchagin/lemul/etc/rc.d/netif user/dchagin/lemul/etc/rc.d/routing user/dchagin/lemul/etc/rc.d/utx user/dchagin/lemul/etc/root/dot.cshrc user/dchagin/lemul/etc/root/dot.login user/dchagin/lemul/etc/root/dot.profile user/dchagin/lemul/games/Makefile.inc user/dchagin/lemul/games/caesar/rot13.sh user/dchagin/lemul/games/fortune/datfiles/Makefile user/dchagin/lemul/games/fortune/datfiles/freebsd-tips user/dchagin/lemul/include/stdio.h user/dchagin/lemul/lib/Makefile user/dchagin/lemul/lib/csu/powerpc64/Makefile user/dchagin/lemul/lib/libc/gen/disklabel.c user/dchagin/lemul/lib/libc/gen/getgrent.c user/dchagin/lemul/lib/libc/gen/getpwent.c user/dchagin/lemul/lib/libc/nls/msgcat.c user/dchagin/lemul/lib/libc/regex/regcomp.c user/dchagin/lemul/lib/libc/stdlib/tdelete.c user/dchagin/lemul/lib/libc/sys/setresuid.2 user/dchagin/lemul/lib/libdevinfo/devinfo.h user/dchagin/lemul/lib/liblzma/Makefile user/dchagin/lemul/lib/liblzma/Symbol.map user/dchagin/lemul/lib/liblzma/Versions.def user/dchagin/lemul/lib/liblzma/config.h user/dchagin/lemul/lib/libnetgraph/debug.c user/dchagin/lemul/lib/libproc/proc_bkpt.c user/dchagin/lemul/lib/libproc/proc_regs.c user/dchagin/lemul/lib/libproc/proc_sym.c user/dchagin/lemul/lib/libthr/libthr.3 user/dchagin/lemul/lib/libthr/thread/thr_barrier.c user/dchagin/lemul/lib/msun/src/s_scalbln.c user/dchagin/lemul/release/Makefile user/dchagin/lemul/release/Makefile.vm user/dchagin/lemul/release/doc/en_US.ISO8859-1/errata/article.xml user/dchagin/lemul/release/doc/en_US.ISO8859-1/relnotes/article.xml user/dchagin/lemul/release/doc/share/xml/release.ent user/dchagin/lemul/release/scripts/make-manifest.sh user/dchagin/lemul/release/scripts/mk-vmimage.sh user/dchagin/lemul/rescue/rescue/Makefile user/dchagin/lemul/sbin/ipfw/ipfw2.c user/dchagin/lemul/sbin/sysctl/sysctl.8 user/dchagin/lemul/sbin/sysctl/sysctl.c user/dchagin/lemul/share/man/man4/led.4 user/dchagin/lemul/share/man/man4/ral.4 user/dchagin/lemul/share/man/man4/witness.4 user/dchagin/lemul/share/man/man5/nullfs.5 user/dchagin/lemul/share/man/man6/intro.6 user/dchagin/lemul/share/man/man7/hier.7 user/dchagin/lemul/share/mk/bsd.lib.mk user/dchagin/lemul/share/mk/bsd.libnames.mk user/dchagin/lemul/share/mk/bsd.mkopt.mk user/dchagin/lemul/share/mk/bsd.own.mk user/dchagin/lemul/share/mk/bsd.prog.mk user/dchagin/lemul/share/mk/src.libnames.mk user/dchagin/lemul/share/skel/dot.cshrc user/dchagin/lemul/share/skel/dot.login user/dchagin/lemul/share/skel/dot.profile user/dchagin/lemul/sys/amd64/amd64/apic_vector.S user/dchagin/lemul/sys/amd64/amd64/db_disasm.c user/dchagin/lemul/sys/amd64/amd64/genassym.c user/dchagin/lemul/sys/amd64/amd64/mp_machdep.c user/dchagin/lemul/sys/amd64/include/cpufunc.h user/dchagin/lemul/sys/amd64/vmm/vmm_support.S user/dchagin/lemul/sys/arm/arm/cpufunc.c user/dchagin/lemul/sys/arm/arm/cpufunc_asm_armv7.S user/dchagin/lemul/sys/arm/arm/db_trace.c user/dchagin/lemul/sys/arm/arm/elf_trampoline.c user/dchagin/lemul/sys/arm/arm/exception.S user/dchagin/lemul/sys/arm/arm/identcpu.c user/dchagin/lemul/sys/arm/arm/trap.c user/dchagin/lemul/sys/arm/broadcom/bcm2835/files.bcm2835 user/dchagin/lemul/sys/arm/conf/BEAGLEBONE user/dchagin/lemul/sys/arm/conf/RPI-B user/dchagin/lemul/sys/arm/include/armreg.h user/dchagin/lemul/sys/arm/include/cpufunc.h user/dchagin/lemul/sys/arm/xscale/ixp425/if_npe.c user/dchagin/lemul/sys/boot/amd64/boot1.efi/fat.tmpl.bz2.uu user/dchagin/lemul/sys/boot/amd64/boot1.efi/generate-fat.sh user/dchagin/lemul/sys/boot/arm/ixp425/boot2/ixp425_board.c user/dchagin/lemul/sys/boot/forth/beastie.4th user/dchagin/lemul/sys/boot/forth/brand.4th user/dchagin/lemul/sys/boot/pc98/boot2/Makefile user/dchagin/lemul/sys/cam/ctl/ctl.c user/dchagin/lemul/sys/cam/ctl/ctl.h user/dchagin/lemul/sys/cam/ctl/ctl_backend_block.c user/dchagin/lemul/sys/cam/ctl/ctl_backend_ramdisk.c user/dchagin/lemul/sys/cam/ctl/ctl_frontend_iscsi.c user/dchagin/lemul/sys/cam/ctl/ctl_frontend_iscsi.h user/dchagin/lemul/sys/cam/ctl/ctl_ioctl.h user/dchagin/lemul/sys/cam/ctl/ctl_private.h user/dchagin/lemul/sys/cam/ctl/ctl_tpc.c user/dchagin/lemul/sys/cam/ctl/ctl_tpc.h user/dchagin/lemul/sys/cam/ctl/ctl_tpc_local.c user/dchagin/lemul/sys/cam/scsi/scsi_all.h user/dchagin/lemul/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c user/dchagin/lemul/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h user/dchagin/lemul/sys/cddl/dev/lockstat/lockstat.c user/dchagin/lemul/sys/cddl/dev/profile/profile.c user/dchagin/lemul/sys/conf/dtb.mk user/dchagin/lemul/sys/conf/files user/dchagin/lemul/sys/conf/files.powerpc user/dchagin/lemul/sys/conf/kern.opts.mk user/dchagin/lemul/sys/conf/kern.pre.mk user/dchagin/lemul/sys/conf/options user/dchagin/lemul/sys/conf/options.powerpc user/dchagin/lemul/sys/contrib/dev/acpica/include/actbl2.h user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300.h user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_beacon.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_keycache.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_osprey22.ini user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_power.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_recv_ds.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9340.ini user/dchagin/lemul/sys/contrib/dev/ath/ath_hal/ar9300/ar9580.ini user/dchagin/lemul/sys/contrib/dev/ral/microcode.h user/dchagin/lemul/sys/contrib/dev/ral/rt2860.fw.uu user/dchagin/lemul/sys/dev/acpica/acpi.c user/dchagin/lemul/sys/dev/cxgb/cxgb_osdep.h user/dchagin/lemul/sys/dev/cxgbe/adapter.h user/dchagin/lemul/sys/dev/cxgbe/common/t4_hw.c user/dchagin/lemul/sys/dev/cxgbe/iw_cxgbe/device.c user/dchagin/lemul/sys/dev/cxgbe/offload.h user/dchagin/lemul/sys/dev/cxgbe/t4_main.c user/dchagin/lemul/sys/dev/cxgbe/tom/t4_listen.c user/dchagin/lemul/sys/dev/cxgbe/tom/t4_tom.c user/dchagin/lemul/sys/dev/drm2/radeon/ni.c user/dchagin/lemul/sys/dev/drm2/radeon/si.c user/dchagin/lemul/sys/dev/dwc/if_dwc.c user/dchagin/lemul/sys/dev/hwpmc/hwpmc_armv7.c user/dchagin/lemul/sys/dev/ipmi/ipmi.c user/dchagin/lemul/sys/dev/ipmi/ipmi_kcs.c user/dchagin/lemul/sys/dev/ipmi/ipmi_smic.c user/dchagin/lemul/sys/dev/ipmi/ipmi_ssif.c user/dchagin/lemul/sys/dev/ipmi/ipmivars.h user/dchagin/lemul/sys/dev/iscsi/icl.c user/dchagin/lemul/sys/dev/iscsi/icl_conn_if.m user/dchagin/lemul/sys/dev/iscsi/icl_soft.c user/dchagin/lemul/sys/dev/iscsi/icl_wrappers.h user/dchagin/lemul/sys/dev/iscsi/iscsi.c user/dchagin/lemul/sys/dev/iscsi/iscsi.h user/dchagin/lemul/sys/dev/malo/if_malo.c user/dchagin/lemul/sys/dev/mwl/if_mwl.c user/dchagin/lemul/sys/dev/oce/oce_mbox.c user/dchagin/lemul/sys/dev/pci/pci.c user/dchagin/lemul/sys/dev/ral/if_ral_pci.c user/dchagin/lemul/sys/dev/ral/rt2860.c user/dchagin/lemul/sys/dev/ral/rt2860reg.h user/dchagin/lemul/sys/dev/sfxge/common/efsys.h user/dchagin/lemul/sys/dev/sfxge/sfxge.c user/dchagin/lemul/sys/dev/sfxge/sfxge.h user/dchagin/lemul/sys/dev/sfxge/sfxge_ev.c user/dchagin/lemul/sys/dev/sfxge/sfxge_mcdi.c user/dchagin/lemul/sys/dev/sfxge/sfxge_port.c user/dchagin/lemul/sys/dev/sfxge/sfxge_tx.c user/dchagin/lemul/sys/dev/sfxge/sfxge_tx.h user/dchagin/lemul/sys/dev/smc/if_smc.c user/dchagin/lemul/sys/dev/sound/usb/uaudio.c user/dchagin/lemul/sys/dev/uart/uart_bus_pci.c user/dchagin/lemul/sys/dev/usb/controller/xhci.c user/dchagin/lemul/sys/dev/usb/serial/u3g.c user/dchagin/lemul/sys/dev/usb/usbdevs user/dchagin/lemul/sys/dev/vt/font/vt_mouse_cursor.c user/dchagin/lemul/sys/dev/vt/hw/vga/vt_vga.c user/dchagin/lemul/sys/dev/wpi/if_wpi.c user/dchagin/lemul/sys/dev/wpi/if_wpireg.h user/dchagin/lemul/sys/dev/wpi/if_wpivar.h user/dchagin/lemul/sys/fs/autofs/autofs.c user/dchagin/lemul/sys/fs/autofs/autofs_ioctl.h user/dchagin/lemul/sys/i386/i386/apic_vector.s user/dchagin/lemul/sys/i386/i386/db_disasm.c user/dchagin/lemul/sys/i386/i386/genassym.c user/dchagin/lemul/sys/i386/i386/mp_machdep.c user/dchagin/lemul/sys/i386/include/cpufunc.h user/dchagin/lemul/sys/kern/init_main.c user/dchagin/lemul/sys/kern/kern_sig.c user/dchagin/lemul/sys/kern/kern_timeout.c user/dchagin/lemul/sys/kern/subr_bus.c user/dchagin/lemul/sys/kern/subr_hints.c user/dchagin/lemul/sys/kern/sysv_shm.c user/dchagin/lemul/sys/kern/uipc_shm.c user/dchagin/lemul/sys/kern/vfs_mount.c user/dchagin/lemul/sys/modules/Makefile user/dchagin/lemul/sys/modules/cxgbe/Makefile user/dchagin/lemul/sys/modules/dtrace/Makefile user/dchagin/lemul/sys/modules/dtrace/dtrace/Makefile user/dchagin/lemul/sys/modules/wpi/Makefile user/dchagin/lemul/sys/netgraph/ng_base.c user/dchagin/lemul/sys/netinet/if_ether.c user/dchagin/lemul/sys/netinet/in.c user/dchagin/lemul/sys/netinet6/in6.c user/dchagin/lemul/sys/netinet6/nd6.c user/dchagin/lemul/sys/netpfil/ipfw/ip_fw_iface.c (contents, props changed) user/dchagin/lemul/sys/netpfil/ipfw/ip_fw_nat.c user/dchagin/lemul/sys/netpfil/ipfw/ip_fw_private.h user/dchagin/lemul/sys/netpfil/ipfw/ip_fw_table.c user/dchagin/lemul/sys/netpfil/ipfw/ip_fw_table_algo.c user/dchagin/lemul/sys/ofed/include/linux/gfp.h user/dchagin/lemul/sys/ofed/include/linux/kernel.h user/dchagin/lemul/sys/ofed/include/linux/kref.h user/dchagin/lemul/sys/ofed/include/linux/pci.h user/dchagin/lemul/sys/powerpc/aim/locore32.S user/dchagin/lemul/sys/powerpc/aim/machdep.c user/dchagin/lemul/sys/powerpc/aim/mmu_oea.c user/dchagin/lemul/sys/powerpc/conf/NOTES user/dchagin/lemul/sys/powerpc/include/cpu.h user/dchagin/lemul/sys/powerpc/ofw/ofw_syscons.c user/dchagin/lemul/sys/powerpc/powerpc/swtch64.S user/dchagin/lemul/sys/powerpc/pseries/mmu_phyp.c user/dchagin/lemul/sys/powerpc/pseries/platform_chrp.c user/dchagin/lemul/sys/powerpc/pseries/xics.c user/dchagin/lemul/sys/sys/bitset.h user/dchagin/lemul/sys/sys/bus.h user/dchagin/lemul/sys/sys/callout.h user/dchagin/lemul/sys/sys/copyright.h user/dchagin/lemul/sys/sys/cpuset.h user/dchagin/lemul/sys/sys/disk.h user/dchagin/lemul/sys/sys/param.h user/dchagin/lemul/sys/sys/sockbuf.h user/dchagin/lemul/sys/sys/systm.h user/dchagin/lemul/sys/ufs/ffs/ffs_softdep.c user/dchagin/lemul/sys/x86/acpica/madt.c user/dchagin/lemul/sys/x86/include/apicreg.h user/dchagin/lemul/sys/x86/include/apicvar.h user/dchagin/lemul/sys/x86/include/specialreg.h user/dchagin/lemul/sys/x86/iommu/intel_drv.c user/dchagin/lemul/sys/x86/iommu/intel_reg.h user/dchagin/lemul/sys/x86/iommu/intel_utils.c user/dchagin/lemul/sys/x86/x86/io_apic.c user/dchagin/lemul/sys/x86/x86/local_apic.c user/dchagin/lemul/sys/x86/xen/xen_apic.c user/dchagin/lemul/tools/build/mk/OptionalObsoleteFiles.inc user/dchagin/lemul/tools/tools/makeroot/makeroot.8 user/dchagin/lemul/tools/tools/makeroot/makeroot.sh user/dchagin/lemul/tools/tools/nanobsd/gateworks/Files/root/.profile user/dchagin/lemul/tools/tools/nanobsd/pcengines/Files/root/.cshrc user/dchagin/lemul/tools/tools/nanobsd/pcengines/Files/root/.login user/dchagin/lemul/tools/tools/nanobsd/rescue/Files/root/.cshrc user/dchagin/lemul/tools/tools/netmap/pkt-gen.c user/dchagin/lemul/usr.bin/ctlstat/ctlstat.c user/dchagin/lemul/usr.bin/ktrdump/ktrdump.8 user/dchagin/lemul/usr.bin/ktrdump/ktrdump.c user/dchagin/lemul/usr.bin/svn/svn/Makefile user/dchagin/lemul/usr.bin/w/w.c user/dchagin/lemul/usr.bin/wc/wc.c user/dchagin/lemul/usr.bin/whereis/pathnames.h user/dchagin/lemul/usr.bin/whereis/whereis.1 user/dchagin/lemul/usr.bin/whereis/whereis.c user/dchagin/lemul/usr.bin/xz/Makefile user/dchagin/lemul/usr.sbin/Makefile user/dchagin/lemul/usr.sbin/bluetooth/hccontrol/hccontrol.8 user/dchagin/lemul/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.8 user/dchagin/lemul/usr.sbin/bsdconfig/console/INDEX user/dchagin/lemul/usr.sbin/bsdconfig/include/messages.subr user/dchagin/lemul/usr.sbin/bsdconfig/includes/INDEX user/dchagin/lemul/usr.sbin/bsdconfig/networking/share/device.subr user/dchagin/lemul/usr.sbin/bsdconfig/share/dialog.subr user/dchagin/lemul/usr.sbin/bsdconfig/share/keymap.subr user/dchagin/lemul/usr.sbin/bsdconfig/timezone/share/continents.subr user/dchagin/lemul/usr.sbin/bsdconfig/timezone/share/countries.subr user/dchagin/lemul/usr.sbin/bsdconfig/timezone/timezone user/dchagin/lemul/usr.sbin/bsdconfig/usermgmt/share/user.subr user/dchagin/lemul/usr.sbin/ctladm/ctladm.8 user/dchagin/lemul/usr.sbin/ctladm/ctladm.c user/dchagin/lemul/usr.sbin/ctld/ctl.conf.5 user/dchagin/lemul/usr.sbin/ctld/ctld.c user/dchagin/lemul/usr.sbin/ctld/ctld.h user/dchagin/lemul/usr.sbin/ctld/discovery.c user/dchagin/lemul/usr.sbin/ctld/kernel.c user/dchagin/lemul/usr.sbin/ctld/keys.c user/dchagin/lemul/usr.sbin/ctld/login.c user/dchagin/lemul/usr.sbin/ctld/parse.y user/dchagin/lemul/usr.sbin/ctld/token.l user/dchagin/lemul/usr.sbin/devinfo/devinfo.c user/dchagin/lemul/usr.sbin/flowctl/flowctl.c user/dchagin/lemul/usr.sbin/freebsd-update/freebsd-update.sh user/dchagin/lemul/usr.sbin/gssd/Makefile user/dchagin/lemul/usr.sbin/gssd/gssd.c user/dchagin/lemul/usr.sbin/iscsid/iscsid.c user/dchagin/lemul/usr.sbin/iscsid/iscsid.h user/dchagin/lemul/usr.sbin/iscsid/keys.c user/dchagin/lemul/usr.sbin/jail/command.c user/dchagin/lemul/usr.sbin/jail/config.c user/dchagin/lemul/usr.sbin/jail/jail.8 user/dchagin/lemul/usr.sbin/jail/jail.c user/dchagin/lemul/usr.sbin/jail/jailp.h user/dchagin/lemul/usr.sbin/mountd/mountd.c user/dchagin/lemul/usr.sbin/pc-sysinstall/backend/functions-extractimage.sh user/dchagin/lemul/usr.sbin/pw/tests/Makefile user/dchagin/lemul/usr.sbin/syslogd/syslogd.c Directory Properties: user/dchagin/lemul/ (props changed) user/dchagin/lemul/cddl/ (props changed) user/dchagin/lemul/cddl/contrib/opensolaris/ (props changed) user/dchagin/lemul/contrib/binutils/ (props changed) user/dchagin/lemul/contrib/elftoolchain/ (props changed) user/dchagin/lemul/contrib/mdocml/ (props changed) user/dchagin/lemul/contrib/top/ (props changed) user/dchagin/lemul/contrib/xz/ (props changed) user/dchagin/lemul/etc/ (props changed) user/dchagin/lemul/include/ (props changed) user/dchagin/lemul/lib/libc/ (props changed) user/dchagin/lemul/sbin/ (props changed) user/dchagin/lemul/sbin/ipfw/ (props changed) user/dchagin/lemul/share/ (props changed) user/dchagin/lemul/share/man/man4/ (props changed) user/dchagin/lemul/sys/ (props changed) user/dchagin/lemul/sys/amd64/vmm/ (props changed) user/dchagin/lemul/sys/boot/ (props changed) user/dchagin/lemul/sys/cddl/contrib/opensolaris/ (props changed) user/dchagin/lemul/sys/conf/ (props changed) user/dchagin/lemul/sys/contrib/dev/acpica/ (props changed) user/dchagin/lemul/sys/contrib/dev/acpica/include/ (props changed) user/dchagin/lemul/usr.sbin/jail/ (props changed) Modified: user/dchagin/lemul/Makefile.inc1 ============================================================================== --- user/dchagin/lemul/Makefile.inc1 Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/Makefile.inc1 Sat Feb 14 08:20:31 2015 (r278745) @@ -50,10 +50,6 @@ .include .include -# We must do share/info early so that installation of info `dir' -# entries works correctly. Do it first since it is less likely to -# grow dependencies on include and lib than vice versa. -# # We must do lib/ and libexec/ before bin/, because if installworld # installs a new /bin/sh, the 'make' command will *immediately* # use that new version. And the new (dynamically-linked) /bin/sh @@ -63,7 +59,7 @@ SRCDIR?= ${.CURDIR} .if defined(SUBDIR_OVERRIDE) SUBDIR= ${SUBDIR_OVERRIDE} .else -SUBDIR= share/info lib libexec +SUBDIR= lib libexec SUBDIR+=bin .if ${MK_GAMES} != "no" SUBDIR+=games @@ -193,9 +189,8 @@ OBJTREE= ${MAKEOBJDIRPREFIX} OBJTREE= ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH} .endif WORLDTMP= ${OBJTREE}${.CURDIR}/tmp -# /usr/games added for fortune which depend on strfile -BPATH= ${WORLDTMP}/legacy/usr/sbin:${WORLDTMP}/legacy/usr/bin:${WORLDTMP}/legacy/usr/games:${WORLDTMP}/legacy/bin -XPATH= ${WORLDTMP}/usr/sbin:${WORLDTMP}/usr/bin:${WORLDTMP}/usr/games +BPATH= ${WORLDTMP}/legacy/usr/sbin:${WORLDTMP}/legacy/usr/bin:${WORLDTMP}/legacy/bin +XPATH= ${WORLDTMP}/usr/sbin:${WORLDTMP}/usr/bin STRICTTMPPATH= ${BPATH}:${XPATH} TMPPATH= ${STRICTTMPPATH}:${PATH} @@ -811,9 +806,6 @@ ITOOLS+=makewhatis # Non-base distributions produced by the base system EXTRA_DISTRIBUTIONS= doc -.if ${MK_GAMES} != "no" -EXTRA_DISTRIBUTIONS+= games -.endif .if defined(LIB32TMP) && ${MK_LIB32} != "no" EXTRA_DISTRIBUTIONS+= lib32 .endif @@ -823,7 +815,7 @@ EXTRA_DISTRIBUTIONS+= tests DEBUG_DISTRIBUTIONS= .if ${MK_DEBUG_FILES} != "no" -DEBUG_DISTRIBUTIONS+= base ${EXTRA_DISTRIBUTIONS:S,doc,,} +DEBUG_DISTRIBUTIONS+= base ${EXTRA_DISTRIBUTIONS:S,doc,,:S,tests,,} .endif MTREE_MAGIC?= mtree 2.0 @@ -1671,6 +1663,7 @@ _lib_libcapsicum=lib/libcapsicum lib/libcapsicum__L: lib/libnv__L lib/libpjdlog__L: lib/libutil__L +lib/liblzma__L: lib/libthr__L _generic_libs= ${_cddl_lib} gnu/lib ${_kerberos5_lib} lib ${_secure_lib} usr.bin/lex/lib ${_ofed_lib} .for _DIR in ${LOCAL_LIB_DIRS} Modified: user/dchagin/lemul/ObsoleteFiles.inc ============================================================================== --- user/dchagin/lemul/ObsoleteFiles.inc Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/ObsoleteFiles.inc Sat Feb 14 08:20:31 2015 (r278745) @@ -38,6 +38,24 @@ # xargs -n1 | sort | uniq -d; # done +# 20150212: /usr/games moving into /usr/bin +OLD_FILES+=usr/games/bcd +OLD_FILES+=usr/games/caesar +OLD_FILES+=usr/games/factor +OLD_FILES+=usr/games/fortune +OLD_FILES+=usr/games/grdc +OLD_FILES+=usr/games/morse +OLD_FILES+=usr/games/number +OLD_FILES+=usr/games/pom +OLD_FILES+=usr/games/ppt +OLD_FILES+=usr/games/primes +OLD_FILES+=usr/games/random +OLD_FILES+=usr/games/rot13 +OLD_FILES+=usr/games/strfile +OLD_FILES+=usr/games/unstr +OLD_DIRS+=usr/games +# 20150209: liblzma header +OLD_FILES+=usr/include/lzma/lzma.h # 20150124: spl.9 and friends OLD_FILES+=usr/share/man/man9/spl.9 OLD_FILES+=usr/share/man/man9/spl0.9 Modified: user/dchagin/lemul/UPDATING ============================================================================== --- user/dchagin/lemul/UPDATING Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/UPDATING Sat Feb 14 08:20:31 2015 (r278745) @@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20150210: + The autofs(4) ABI was changed in order to restore binary compatibility + with 10.1-RELEASE. The automountd(8) daemon needs to be rebuilt to work + with the new kernel. + 20150131: The powerpc64 kernel has been changed to a position-independent executable. This can only be booted with a new version of loader(8), @@ -287,6 +292,16 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 The lindev device has been removed since /dev/full has been made a standard device. __FreeBSD_version has been bumped. +20140424: + The knob WITHOUT_VI was added to the base system, which controls + building ex(1), vi(1), etc. Older releases of FreeBSD required ex(1) + in order to reorder files share/termcap and didn't build ex(1) as a + build tool, so building/installing with WITH_VI is highly advised for + build hosts for older releases. + + This issue has been fixed in stable/9 and stable/10 in r277022 and + r276991, respectively. + 20140418: The YES_HESIOD knob has been removed. It has been obsolete for a decade. Please move to using WITH_HESIOD instead or your builds Modified: user/dchagin/lemul/bin/pkill/tests/pgrep-j_test.sh ============================================================================== --- user/dchagin/lemul/bin/pkill/tests/pgrep-j_test.sh Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/bin/pkill/tests/pgrep-j_test.sh Sat Feb 14 08:20:31 2015 (r278745) @@ -4,94 +4,87 @@ jail_name_to_jid() { local check_name="$1" - ( - line="$(jls -n 2> /dev/null | grep name=$check_name )" - for nv in $line; do - local name="${nv%=*}" - if [ "${name}" = "jid" ]; then - eval $nv - echo $jid - break - fi - done - ) + jls -j "$check_name" -s 2>/dev/null | tr ' ' '\n' | grep jid= | sed -e 's/.*=//g' } base=pgrep_j_test +if [ `id -u` -ne 0 ]; then + echo "1..0 # skip Test needs uid 0." + exit 0 +fi + echo "1..3" +sleep=$(pwd)/sleep.txt +ln -sf /bin/sleep $sleep + name="pgrep -j " -if [ `id -u` -eq 0 ]; then - sleep=$(pwd)/sleep.txt - ln -sf /bin/sleep $sleep - jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \ - command=daemon -p ${PWD}/${base}_1_1.pid $sleep 5 & +sleep_amount=5 +jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \ + command=daemon -p ${PWD}/${base}_1_1.pid $sleep $sleep_amount & - jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \ - command=daemon -p ${PWD}/${base}_1_2.pid $sleep 5 & +jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \ + command=daemon -p ${PWD}/${base}_1_2.pid $sleep $sleep_amount & +for i in `seq 1 10`; do jid1=$(jail_name_to_jid ${base}_1_1) jid2=$(jail_name_to_jid ${base}_1_2) jid="${jid1},${jid2}" - pid1="$(pgrep -f -x -j $jid "$sleep 5" | sort)" - pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \ - $(cat ${PWD}/${base}_1_2.pid) | sort) - if [ "$pid1" = "$pid2" ]; then - echo "ok 1 - $name" - else - echo "not ok 1 - $name" - fi - [ -f ${PWD}/${base}_1_1.pid ] && kill $(cat ${PWD}/${base}_1_1.pid) - [ -f ${PWD}/${base}_1_2.pid ] && kill $(cat ${PWD}/${base}_1_2.pid) - rm -f $sleep + case "$jid" in + [0-9]+,[0-9]+) + break + ;; + esac + sleep 0.1 +done + +pid1="$(pgrep -f -x -j "$jid" "$sleep $sleep_amount" | sort)" +pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \ + $(cat ${PWD}/${base}_1_2.pid) | sort) +if [ "$pid1" = "$pid2" ]; then + echo "ok 1 - $name" else - echo "ok 1 - $name # skip Test needs uid 0." + echo "not ok 1 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" fi +[ -f ${PWD}/${base}_1_1.pid ] && kill $(cat ${PWD}/${base}_1_1.pid) +[ -f ${PWD}/${base}_1_2.pid ] && kill $(cat ${PWD}/${base}_1_2.pid) +wait name="pgrep -j any" -if [ `id -u` -eq 0 ]; then - sleep=$(pwd)/sleep.txt - ln -sf /bin/sleep $sleep - jail -c path=/ name=${base}_2_1 ip4.addr=127.0.0.1 \ - command=daemon -p ${PWD}/${base}_2_1.pid $sleep 5 & - - jail -c path=/ name=${base}_2_2 ip4.addr=127.0.0.1 \ - command=daemon -p ${PWD}/${base}_2_2.pid $sleep 5 & - - sleep 2 - pid1="$(pgrep -f -x -j any "$sleep 5" | sort)" - pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_2_1.pid)" \ - $(cat ${PWD}/${base}_2_2.pid) | sort) - if [ "$pid1" = "$pid2" ]; then - echo "ok 2 - $name" - else - echo "not ok 2 - $name" - fi - [ -f ${PWD}/${base}_2_1.pid ] && kill $(cat ${PWD}/${base}_2_1.pid) - [ -f ${PWD}/${base}_2_2.pid ] && kill $(cat ${PWD}/${base}_2_2.pid) - rm -f $sleep +sleep_amount=6 +jail -c path=/ name=${base}_2_1 ip4.addr=127.0.0.1 \ + command=daemon -p ${PWD}/${base}_2_1.pid $sleep $sleep_amount & + +jail -c path=/ name=${base}_2_2 ip4.addr=127.0.0.1 \ + command=daemon -p ${PWD}/${base}_2_2.pid $sleep $sleep_amount & + +sleep 2 +pid1="$(pgrep -f -x -j any "$sleep $sleep_amount" | sort)" +pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_2_1.pid)" \ + $(cat ${PWD}/${base}_2_2.pid) | sort) +if [ "$pid1" = "$pid2" ]; then + echo "ok 2 - $name" else - echo "ok 2 - $name # skip Test needs uid 0." + echo "not ok 2 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" fi +[ -f ${PWD}/${base}_2_1.pid ] && kill $(cat ${PWD}/${base}_2_1.pid) +[ -f ${PWD}/${base}_2_2.pid ] && kill $(cat ${PWD}/${base}_2_2.pid) +wait name="pgrep -j none" -if [ `id -u` -eq 0 ]; then - sleep=$(pwd)/sleep.txt - ln -sf /bin/sleep $sleep - daemon -p ${PWD}/${base}_3_1.pid $sleep 5 & - jail -c path=/ name=${base}_3_2 ip4.addr=127.0.0.1 \ - command=daemon -p ${PWD}/${base}_3_2.pid $sleep 5 & - sleep 2 - pid="$(pgrep -f -x -j none "$sleep 5")" - if [ "$pid" = "$(cat ${PWD}/${base}_3_1.pid)" ]; then - echo "ok 3 - $name" - else - echo "not ok 3 - $name" - fi - rm -f $sleep - [ -f ${PWD}/${base}_3_1.pid ] && kill $(cat $PWD/${base}_3_1.pid) - [ -f ${PWD}/${base}_3_2.pid ] && kill $(cat $PWD/${base}_3_2.pid) +sleep_amount=7 +daemon -p ${PWD}/${base}_3_1.pid $sleep $sleep_amount & +jail -c path=/ name=${base}_3_2 ip4.addr=127.0.0.1 \ + command=daemon -p ${PWD}/${base}_3_2.pid $sleep $sleep_amount & +sleep 2 +pid="$(pgrep -f -x -j none "$sleep $sleep_amount")" +if [ "$pid" = "$(cat ${PWD}/${base}_3_1.pid)" ]; then + echo "ok 3 - $name" else - echo "ok 3 - $name # skip Test needs uid 0." + echo "not ok 3 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" fi +[ -f ${PWD}/${base}_3_1.pid ] && kill $(cat $PWD/${base}_3_1.pid) +[ -f ${PWD}/${base}_3_2.pid ] && kill $(cat $PWD/${base}_3_2.pid) + +rm -f $sleep Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.c ============================================================================== --- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.c Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.c Sat Feb 14 08:20:31 2015 (r278745) @@ -26,6 +26,8 @@ #pragma ident "%Z%%M% %I% %E% SMI" +#include + #include #include #include @@ -69,7 +71,7 @@ main(int argc, char *argv[]) */ if (sigsetjmp(env, 1) == 0) { for (;;) - (void) ioctl(-1, -1, NULL); + (void) ioctl(-1, 0, NULL); } /* @@ -80,20 +82,19 @@ main(int argc, char *argv[]) fds[n++] = open(file, O_WRONLY); fds[n++] = open(file, O_RDWR); - fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | O_DSYNC | - O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC | - O_SYNC | O_TRUNC | O_XATTR, 0666); + fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | + O_NOCTTY | O_NONBLOCK | O_NDELAY | O_SYNC | O_TRUNC | 0666); fds[n++] = open(file, O_RDWR); (void) lseek(fds[n - 1], 123, SEEK_SET); /* * Once we have all the file descriptors in the state we want to test, - * issue a bogus ioctl() on each fd with cmd -1 and arg NULL to whack + * issue a bogus ioctl() on each fd with cmd 0 and arg NULL to whack * our DTrace script into recording the content of the fds[] array. */ for (i = 0; i < n; i++) - (void) ioctl(fds[i], -1, NULL); + (void) ioctl(fds[i], 0, NULL); assert(n <= sizeof (fds) / sizeof (fds[0])); exit(0); Modified: user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.d ============================================================================== --- user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.d Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/tst.fds.d Sat Feb 14 08:20:31 2015 (r278745) @@ -36,7 +36,7 @@ syscall::ioctl:entry } syscall::ioctl:entry -/pid == $1 && arg0 != -1u && arg1 == -1u && arg2 == NULL/ +/pid == $1 && arg0 != -1u && arg1 == 0 && arg2 == NULL/ { printf("fds[%d] fi_name = %s\n", arg0, fds[arg0].fi_name); printf("fds[%d] fi_dirname = %s\n", arg0, fds[arg0].fi_dirname); Modified: user/dchagin/lemul/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c ============================================================================== --- user/dchagin/lemul/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c Sat Feb 14 08:20:31 2015 (r278745) @@ -169,12 +169,12 @@ write_objects(iidesc_t *idp, ctf_buf_t * { ushort_t id = (idp ? idp->ii_dtype->t_id : 0); - ctf_buf_write(b, &id, sizeof (id)); - if (target_requires_swap) { SWAP_16(id); } + ctf_buf_write(b, &id, sizeof (id)); + debug(3, "Wrote object %s (%d)\n", (idp ? idp->ii_name : "(null)"), id); } Modified: user/dchagin/lemul/cddl/lib/Makefile ============================================================================== --- user/dchagin/lemul/cddl/lib/Makefile Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/cddl/lib/Makefile Sat Feb 14 08:20:31 2015 (r278745) @@ -27,7 +27,8 @@ _libzpool= libzpool .endif .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \ - ${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc" + ${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc" || \ + ${MACHINE_CPUARCH} == "arm" _drti= drti _libdtrace= libdtrace .endif Modified: user/dchagin/lemul/cddl/lib/libdtrace/Makefile ============================================================================== --- user/dchagin/lemul/cddl/lib/libdtrace/Makefile Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/cddl/lib/libdtrace/Makefile Sat Feb 14 08:20:31 2015 (r278745) @@ -81,6 +81,10 @@ CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/ut CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/mips .PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/mips .PATH: ${.CURDIR}/../../../sys/cddl/dev/dtrace/mips +.elif ${MACHINE_CPUARCH} == "arm" +CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/arm +.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/arm +.PATH: ${.CURDIR}/../../../sys/cddl/dev/dtrace/arm .elif ${MACHINE_CPUARCH} == "powerpc" CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/powerpc .PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/powerpc Modified: user/dchagin/lemul/cddl/usr.sbin/Makefile ============================================================================== --- user/dchagin/lemul/cddl/usr.sbin/Makefile Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/cddl/usr.sbin/Makefile Sat Feb 14 08:20:31 2015 (r278745) @@ -30,6 +30,12 @@ _plockstat= plockstat .endif .endif +.if ${MACHINE_CPUARCH} == "arm" +_dtrace= dtrace +_dtruss= dtruss +_lockstat= lockstat +.endif + .if ${MACHINE_CPUARCH} == "mips" _dtrace= dtrace .endif Modified: user/dchagin/lemul/contrib/binutils/ld/scripttempl/elf.sc ============================================================================== --- user/dchagin/lemul/contrib/binutils/ld/scripttempl/elf.sc Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/contrib/binutils/ld/scripttempl/elf.sc Sat Feb 14 08:20:31 2015 (r278745) @@ -402,8 +402,8 @@ cat <ed_alloc, ed->ed_data->d_buf, ed->ed_data->d_size); - _dwarf_elf_apply_reloc(dbg, ed->ed_alloc, rel, - symtab_data, eh.e_ident[EI_DATA]); + if (sh.sh_type == SHT_REL) + _dwarf_elf_apply_rel_reloc(dbg, ed->ed_alloc, + rel, symtab_data, eh.e_ident[EI_DATA]); + else + _dwarf_elf_apply_rela_reloc(dbg, ed->ed_alloc, + rel, symtab_data, eh.e_ident[EI_DATA]); return (DW_DLE_NONE); } @@ -282,7 +301,7 @@ _dwarf_elf_init(Dwarf_Debug dbg, Elf *el } } - if (_libdwarf.applyrela) { + if (_libdwarf.applyreloc) { if (_dwarf_elf_relocate(dbg, elf, &e->eo_data[j], elf_ndxscn(scn), symtab_ndx, symtab_data, error) != DW_DLE_NONE) Modified: user/dchagin/lemul/contrib/elftoolchain/libdwarf/libdwarf_reloc.c ============================================================================== --- user/dchagin/lemul/contrib/elftoolchain/libdwarf/libdwarf_reloc.c Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/contrib/elftoolchain/libdwarf/libdwarf_reloc.c Sat Feb 14 08:20:31 2015 (r278745) @@ -35,6 +35,8 @@ _dwarf_get_reloc_type(Dwarf_P_Debug dbg, assert(dbg != NULL); switch (dbg->dbgp_isa) { + case DW_ISA_AARCH64: + return (is64 ? R_AARCH64_ABS64 : R_AARCH64_ABS32); case DW_ISA_X86: return (R_386_32); case DW_ISA_X86_64: @@ -62,6 +64,12 @@ _dwarf_get_reloc_size(Dwarf_Debug dbg, D switch (dbg->dbg_machine) { case EM_NONE: break; + case EM_AARCH64: + if (rel_type == R_AARCH64_ABS32) + return (4); + else if (rel_type == R_AARCH64_ABS64) + return (8); + break; case EM_ARM: if (rel_type == R_ARM_ABS32) return (4); Modified: user/dchagin/lemul/contrib/mdocml/lib.in ============================================================================== --- user/dchagin/lemul/contrib/mdocml/lib.in Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/contrib/mdocml/lib.in Sat Feb 14 08:20:31 2015 (r278745) @@ -41,6 +41,7 @@ LINE("libcrypt", "Crypt Library (libcryp LINE("libcurses", "Curses Library (libcurses, \\-lcurses)") LINE("libcuse", "Userland Character Device Library (libcuse, \\-lcuse)") LINE("libdevattr", "Device attribute and event library (libdevattr, \\-ldevattr)") +LINE("libdevctl", "Device Control Library (libdevctl, \\-ldevctl)") LINE("libdevinfo", "Device and Resource Information Utility Library (libdevinfo, \\-ldevinfo)") LINE("libdevstat", "Device Statistics Library (libdevstat, \\-ldevstat)") LINE("libdisk", "Interface to Slice and Partition Labels Library (libdisk, \\-ldisk)") Modified: user/dchagin/lemul/contrib/netbsd-tests/games/t_factor.sh ============================================================================== --- user/dchagin/lemul/contrib/netbsd-tests/games/t_factor.sh Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/contrib/netbsd-tests/games/t_factor.sh Sat Feb 14 08:20:31 2015 (r278745) @@ -27,13 +27,13 @@ expect() { echo "${2}" >expout - atf_check -s eq:0 -o file:expout -e empty /usr/games/factor ${1} + atf_check -s eq:0 -o file:expout -e empty /usr/bin/factor ${1} } atf_test_case overflow overflow_head() { atf_set "descr" "Tests for overflow conditions" - atf_set "require.progs" "/usr/games/factor" + atf_set "require.progs" "/usr/bin/factor" } overflow_body() { expect '8675309' '8675309: 8675309' @@ -44,7 +44,7 @@ atf_test_case loop loop_head() { atf_set "descr" "Tests some cases that once locked the program" \ "in an infinite loop" - atf_set "require.progs" "/usr/games/factor" + atf_set "require.progs" "/usr/bin/factor" } loop_body() { expect '99999999999991' '99999999999991: 7 13 769231 1428571' Modified: user/dchagin/lemul/contrib/top/utils.c ============================================================================== --- user/dchagin/lemul/contrib/top/utils.c Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/contrib/top/utils.c Sat Feb 14 08:20:31 2015 (r278745) @@ -58,6 +58,7 @@ char *str; * ever convert will be 2^32-1, which is 10 * digits. */ +_Static_assert(sizeof(int) <= 4, "buffer too small for this sized int"); char *itoa(val) Modified: user/dchagin/lemul/contrib/xz/ChangeLog ============================================================================== --- user/dchagin/lemul/contrib/xz/ChangeLog Sat Feb 14 06:58:32 2015 (r278744) +++ user/dchagin/lemul/contrib/xz/ChangeLog Sat Feb 14 08:20:31 2015 (r278745) @@ -1,66 +1,923 @@ -commit 495aaf3a5b7200a5d2bf449bbbcc0e18834607af +commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a Author: Lasse Collin -Date: 2014-09-20 20:44:32 +0300 +Date: 2014-12-21 20:48:37 +0200 - Bump version and soname for 5.0.7. + DOS: Update Makefile. + + dos/Makefile | 1 + + 1 file changed, 1 insertion(+) + +commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e +Author: Lasse Collin +Date: 2014-12-21 19:50:38 +0200 + + Windows: Fix bin_i486 to bin_i686 in build.bash. + + windows/build.bash | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cbafa710918195dbba3db02c3fab4f0538235206 +Author: Lasse Collin +Date: 2014-12-21 18:58:44 +0200 + + Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c. + + doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++---- + 1 file changed, 26 insertions(+), 4 deletions(-) + +commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a +Author: Lasse Collin +Date: 2014-12-21 18:56:44 +0200 + + Docs: Update docs/examples/00_README.txt. + + doc/examples/00_README.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6 +Author: Lasse Collin +Date: 2014-12-21 18:11:17 +0200 + + Bump version and soname for 5.2.0. + + I know that soname != app version, but I skip AGE=1 + in -version-info to make the soname match the liblzma + version anyway. It doesn't hurt anything as long as + it doesn't conflict with library versioning rules. src/liblzma/Makefile.am | 2 +- - src/liblzma/api/lzma/version.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) + src/liblzma/api/lzma/version.h | 6 +++--- + src/liblzma/liblzma.map | 2 +- + 3 files changed, 5 insertions(+), 5 deletions(-) + +commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da +Author: Lasse Collin +Date: 2014-12-21 18:05:03 +0200 + + Avoid variable-length arrays in the debug programs. + + debug/full_flush.c | 3 ++- + debug/sync_flush.c | 3 ++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +commit 72f7307cfdceb941aeb2bf30d424cc0d13621786 +Author: Lasse Collin +Date: 2014-12-21 18:01:45 +0200 + + Build: Include 04_compress_easy_mt.c in the tarball. + + Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0 +Author: Lasse Collin +Date: 2014-12-21 18:00:38 +0200 + + Fix build when --disable-threads is used. + + src/common/mythread.h | 2 ++ + 1 file changed, 2 insertions(+) + +commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17 +Author: Adrien Nader +Date: 2014-12-21 15:56:15 +0100 + + po/fr: improve wording for help for --lzma1/--lzma2. + + po/fr.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a8b6b569e7fadbf5b5b9139d53bc764015c15027 +Author: Adrien Nader +Date: 2014-12-21 15:55:48 +0100 + + po/fr: missing line in translation of --extreme. + + po/fr.po | 1 + + 1 file changed, 1 insertion(+) + +commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9 +Author: Lasse Collin +Date: 2014-12-21 14:32:33 +0200 + + Update NEWS for 5.2.0. + + NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 65 insertions(+) + +commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429 +Author: Lasse Collin +Date: 2014-12-21 14:32:22 +0200 + + Update NEWS for 5.0.8. + + NEWS | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit 42e97a32649bf53ce43be2258b902a417c6e7fa1 +Author: Lasse Collin +Date: 2014-12-21 14:07:54 +0200 + + xz: Fix a comment. + + src/xz/options.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 29b95d5d6665cedffa6a9d6d3d914f981e852182 +Author: Lasse Collin +Date: 2014-12-20 20:43:14 +0200 + + Update INSTALL about the dependencies of the scripts. + + INSTALL | 15 ++++++++++----- + 1 file changed, 10 insertions(+), 5 deletions(-) + +commit 3af91040bb42c21afbb81f5568c3313125e61192 +Author: Lasse Collin +Date: 2014-12-20 20:42:33 +0200 + + Windows: Update build instructions. + + INSTALL | 15 +++++++++------ + windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++----------------------- + 2 files changed, 30 insertions(+), 29 deletions(-) + +commit 0152f72bf6289d744823dc6c849538f3a139ad70 +Author: Lasse Collin +Date: 2014-12-20 20:41:48 +0200 + + Windows: Update the build script and README-Windows.txt. + + The 32-bit build is now for i686 or newer because the + prebuilt MinGW-w64 toolchains include i686 code in the + executables even if one uses -march=i486. + + The build script builds 32-bit SSE2 enabled version too. + Run-time detection of SSE2 support would be nice (on any OS) + but it's not implemented in XZ Utils yet. + + windows/README-Windows.txt | 30 ++++++++++++++++-------------- + windows/build.bash | 23 ++++++++++++++--------- + 2 files changed, 30 insertions(+), 23 deletions(-) + +commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a +Author: Lasse Collin +Date: 2014-12-19 15:51:50 +0200 + + Windows: Define TUKLIB_SYMBOL_PREFIX in config.h. + + It is to keep all symbols in the lzma_ namespace. + + windows/config.h | 3 +++ + 1 file changed, 3 insertions(+) + +commit 7f7d093de79eee0c7dbfd7433647e46302f19f82 +Author: Lasse Collin +Date: 2014-12-16 21:00:09 +0200 + + xz: Update the man page about --threads. + + src/xz/xz.1 | 5 ----- + 1 file changed, 5 deletions(-) + +commit 009823448b82aa5f465668878a544c5842885407 +Author: Lasse Collin +Date: 2014-12-16 20:57:43 +0200 + + xz: Update the man page about --block-size. + + src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++-------- + 1 file changed, 33 insertions(+), 8 deletions(-) + +commit 7dddfbeb499e528940bc12047355c184644aafe9 +Author: Adrien Nader +Date: 2014-12-10 22:26:57 +0100 + + po/fr: several more translation updates: reword and handle --ignore-check. + + po/fr.po | 50 ++++++++++++++++++++++++++------------------------ + 1 file changed, 26 insertions(+), 24 deletions(-) + +commit 6eca5be40e04ddc4b738d493e4e56835956d8b69 +Author: Adrien Nader +Date: 2014-12-10 22:23:01 +0100 + + po/fr: yet another place where my email address had to be updated. + + po/fr.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7 +Author: Adrien Nader +Date: 2014-12-10 22:22:20 +0100 + + po/fr: fix several typos that have been around since the beginning. + + po/fr.po | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +commit 4c5aa911a0df027e46171e368debc543d2fa72b2 +Author: Adrien Nader +Date: 2014-12-03 20:02:31 +0100 + + po/fr: last batch of new translations for now. + + Four new error messages. + + po/fr.po | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 3e3099e36d27059499e7996fb38a62e8ab01d356 +Author: Adrien Nader +Date: 2014-12-03 20:01:32 +0100 + + po/fr: translations for --threads, --block-size and --block-list. + + po/fr.po | 12 ++++++++---- + 1 file changed, 8 insertions(+), 4 deletions(-) + +commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53 +Author: Adrien Nader +Date: 2014-12-03 20:00:53 +0100 + + po/fr: remove fuzzy marker for error messages that will be kept in English. + + The following is a copy of a comment inside fr.po: + + Note from translator on "file status flags". + The following entry is kept un-translated on purpose. It is difficult to + translate and should only happen in exceptional circumstances which means + that translating would: + - lose some of the meaning + - make it more difficult to look up in search engines; it might happen one + in + a million times, if we dilute the error message in 20 languages, it will be + almost impossible to find an explanation and support for the error. + + po/fr.po | 22 ++++++++++++++++------ + 1 file changed, 16 insertions(+), 6 deletions(-) + +commit 46cbb9033af8a21fafe543302d6919746e0d72af +Author: Adrien Nader +Date: 2014-12-03 19:58:25 +0100 + + po/fr: several minor updates and better wording. + + Meaning doesn't change at all: it's only for better wording and/or + formatting of a few strings. + + po/fr.po | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit 7ce49d444f04e73145f79c832eb4d510594b074a +Author: Adrien Nader +Date: 2014-12-03 19:56:12 +0100 + + po/fr: update my email address and copyright years. + + po/fr.po | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c +Author: Adrien Nader +Date: 2014-11-26 10:08:26 +0100 + + fr.po: commit file after only "update-po" so actual is readable. + + po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++----------------------- + 1 file changed, 199 insertions(+), 112 deletions(-) + +commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b +Author: Lasse Collin +Date: 2014-12-02 20:04:07 +0200 + + liblzma: Document how lzma_mt.block_size affects memory usage. + + src/liblzma/api/lzma/container.h | 4 ++++ + 1 file changed, 4 insertions(+) + +commit e4fc1d2f9571fba79ce383595be2ea2a9257def0 +Author: Lasse Collin +Date: 2014-11-28 20:07:18 +0200 + + Update INSTALL about a "make check" failure in test_scripts.sh. + + INSTALL | 24 +++++++++++++++++------- + 1 file changed, 17 insertions(+), 7 deletions(-) + +commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe +Author: Lasse Collin +Date: 2014-11-26 20:12:27 +0200 + + Remove LZMA_UNSTABLE macro. + + src/liblzma/api/lzma/container.h | 4 ---- + src/liblzma/common/common.h | 2 -- + src/xz/private.h | 1 - + 3 files changed, 7 deletions(-) + +commit 6d9c0ce9f2677b159e32b224aba5b535b304a705 +Author: Lasse Collin +Date: 2014-11-26 20:10:33 +0200 + + liblzma: Update lzma_stream_encoder_mt() API docs. + + src/liblzma/api/lzma/container.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3 +Author: Lasse Collin +Date: 2014-11-25 12:32:05 +0200 + + liblzma: Verify the filter chain in threaded encoder initialization. + + This way an invalid filter chain is detected at the Stream + encoder initialization instead of delaying it to the first + call to lzma_code() which triggers the initialization of + the actual filter encoder(s). + + src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 107a263d5bb63cd3593fd6a5c938706539f84523 +Author: Lasse Collin +Date: 2014-11-17 19:11:49 +0200 + + Build: Update m4/ax_pthread.m4 from Autoconf Archive. + + m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++------------------- + 1 file changed, 47 insertions(+), 24 deletions(-) + +commit b13a781833399ff5726cfc997f3cb2f0acbdbf31 +Author: Lasse Collin *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-user@FreeBSD.ORG Sat Feb 14 10:56:04 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEDE0292; Sat, 14 Feb 2015 10:56:04 +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 BB117C5; Sat, 14 Feb 2015 10:56:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1EAu4pB085427; Sat, 14 Feb 2015 10:56:04 GMT (envelope-from dchagin@FreeBSD.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1EAu4Rb085426; Sat, 14 Feb 2015 10:56:04 GMT (envelope-from dchagin@FreeBSD.org) Message-Id: <201502141056.t1EAu4Rb085426@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dchagin set sender to dchagin@FreeBSD.org using -f From: Dmitry Chagin Date: Sat, 14 Feb 2015 10:56:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278750 - user/dchagin/lemul/sys/compat/linux 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, 14 Feb 2015 10:56:04 -0000 Author: dchagin Date: Sat Feb 14 10:56:03 2015 New Revision: 278750 URL: https://svnweb.freebsd.org/changeset/base/278750 Log: As fo_fill_kinfo() does not check fo_fill_kinfo to NULL add a fo_fill_kinfo op to eventfdops. Reported by: trinity Modified: user/dchagin/lemul/sys/compat/linux/linux_event.c Modified: user/dchagin/lemul/sys/compat/linux/linux_event.c ============================================================================== --- user/dchagin/lemul/sys/compat/linux/linux_event.c Sat Feb 14 09:00:12 2015 (r278749) +++ user/dchagin/lemul/sys/compat/linux/linux_event.c Sat Feb 14 10:56:03 2015 (r278750) @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -127,6 +128,7 @@ static fo_poll_t eventfd_poll; static fo_kqfilter_t eventfd_kqfilter; static fo_stat_t eventfd_stat; static fo_close_t eventfd_close; +static fo_fill_kinfo_t eventfd_fill_kinfo; static struct fileops eventfdops = { .fo_read = eventfd_read, @@ -140,6 +142,7 @@ static struct fileops eventfdops = { .fo_chmod = invfo_chmod, .fo_chown = invfo_chown, .fo_sendfile = invfo_sendfile, + .fo_fill_kinfo = eventfd_fill_kinfo, .fo_flags = DFLAG_PASSABLE }; @@ -832,3 +835,12 @@ eventfd_stat(struct file *fp, struct sta return (ENXIO); } + +/*ARGSUSED*/ +static int +eventfd_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp) +{ + + kif->kf_type = KF_TYPE_UNKNOWN; + return (0); +}