How to take down a system to the point of requiring a newfs with one line of C (userland)

Peter Sanchez petersanchez at gmail.com
Mon Feb 18 09:52:01 PST 2008


On Feb 18, 2008, at 7:07 AM, Wesley Shields wrote:
>>
>
> I tried this using /tmp/ as argv[1] and it didn't crash a 6.2  
> machine or
> a -current from a few weeks ago.  Maybe the number of files has to be
> increased?  I bumped it up to 100000 and tried on a 6.2 machine, but I
> ran out of inodes before I could induce a crash.  :)
>
> Maybe I'm doing something wrong?

I believe the panic doesn't occur until boot. Did you reboot the box  
after writing the files to /tmp?

Peter

>
>
> -- WXS
> _______________________________________________
> freebsd-security at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to "freebsd-security-unsubscribe at freebsd.org 
> "



More information about the freebsd-security mailing list