From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 18 Jan 2011 08:57:30 -0500 To: 9fans@9fans.net Message-ID: <852add9c2cb67e6d653108f813772f55@chula.quanstro.net> In-Reply-To: <8bbc5989dbab94e0b47d3192d4f2048f@chula.quanstro.net> References: <8bbc5989dbab94e0b47d3192d4f2048f@chula.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] bad juju in devproc.c Topicbox-Message-UUID: 9ed86936-ead6-11e9-9d60-3106f5b1d025 i forgot to attach the recipie for disaster. sleep 1000000 & cd /proc/$apid while()cat text>/dev/null that's about 1000x slower than necessary. you can speed up the crash by using the following program. - erik ---- #include #include void main(void) { for(;;) close(open("text", OREAD)); exits(""); }