From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 19:14:24 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C09FE106566B for ; Mon, 27 Sep 2010 19:14:24 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from ftp.translate.ru (ftp.translate.ru [80.249.188.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7D9E28FC13 for ; Mon, 27 Sep 2010 19:14:24 +0000 (UTC) Received: from desktop.home.serebryakov.spb.ru (89.112.15.178.pppoe.eltel.net [89.112.15.178]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id B69C613DF42; Mon, 27 Sep 2010 22:58:09 +0400 (MSD) Date: Mon, 27 Sep 2010 22:58:07 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1876849853.20100927225807@serebryakov.spb.ru> To: Buganini In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Current Subject: Re: Parallelized scripting X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 19:14:24 -0000 Hello, Buganini. You wrote 27 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2010 =D0=B3.,= 05:51:11: > Hi, I just wrote a rough C program that may help to do parallelized > scripting, for example, parallelized rc.d scripts. > http://github.com/buganini/brackets > in this way it is easy to use, no need to escape argv for multiple times. > any comments are welcomed. Idea is interesting, but code... My, oh my, why do you use fixed-length arrays of arrays of pointers, on stack in 2010?! 4096 looks like very big number, but it is still finite, and could be exploitable. --=20 // Black Lion AKA Lev Serebryakov