Re: [9fans] bad juju in devproc.c

2011-01-18 Thread erik quanstrom
i forgot to attach the recipie for disaster. sleep 100 & 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(;;)

[9fans] bad juju in devproc.c

2011-01-17 Thread erik quanstrom
subtitle: hard linking, chan style. if you do the chan switcheroo, you must close the orphan, too. ; diffy -c devproc.c /n/dump/2011/0117/sys/src/9/port/devproc.c:387,392 - devproc.c:387,393 tc->offset = 0; qunlock(&p->debug); poperror(); +