[OLPC Security] Securing the laptop: DoS
John Moser
john.r.moser at gmail.com
Fri Sep 22 18:13:02 EDT 2006
! The onboard NAND flash has a limited number of writes per sector
before it will start to wear out. JFFS2 tries its best to mitigate
repeated writes to a file by distributing the writes evenly over the
whole flash chip.
* Opening a file and running a {modify, fsync} endless loop on it
should be able to kill the flash chip in minutes
^^^ This is probably the easiest to handle. Just buffer and delay
writes for a good 30-45 seconds, merging the changes in memory and then
snapshotting and writing back to disk. This will take some amount of
code to get done, but doesn't such code already exist anyway?
(laptop mode...)
--
John Moser <john.r.moser at gmail.com>
More information about the Security
mailing list