From owner-cvs-src-old@FreeBSD.ORG Fri Aug 21 11:17:42 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DCF21065693 for ; Fri, 21 Aug 2009 11:17:42 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5DD6D8FC3F for ; Fri, 21 Aug 2009 11:17:42 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n7LBHgh7011977 for ; Fri, 21 Aug 2009 11:17:42 GMT (envelope-from zec@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7LBHg7O011976 for cvs-src-old@freebsd.org; Fri, 21 Aug 2009 11:17:42 GMT (envelope-from zec@repoman.freebsd.org) Message-Id: <200908211117.n7LBHg7O011976@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to zec@repoman.freebsd.org using -f From: Marko Zec Date: Fri, 21 Aug 2009 11:17:25 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/tools/tools/vimage vimage.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 11:17:42 -0000 zec 2009-08-21 11:17:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) tools/tools/vimage vimage.c Log: SVN rev 196422 on 2009-08-21 11:17:25Z by zec MFC r196421: Bugfix: all requests for creating vnets via vimage -c were always reported as failures, even if the actual library / system call would succeed, because error message would be reported if the return value from jail_setv() call was >= 0, and if not, then if that same value was < 0, i.e. always. The correct behavior is to abort (only) if jail_setv() returns < 0. Approved by: re (rwatson), julian (mentor) Approved by: re (rwatson) Revision Changes Path 1.2.2.3 +2 -4 src/tools/tools/vimage/vimage.c