Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Absolutely: if the user page you read into experiences an uncorrectable ECC error in strlen(), you get SIGBUS.

Friends don't let friends write code to attempt recovery from hardware failures.



ECC errors of a magnitudes lower chance to happen than broken file system


Depends on who you buy hardware from :)

How about swap then: the user page you read() into might get swapped out, and an I/O error might occur when strlen() faults it back in. I can't remember if you get SEGV or BUS in that case... but it's certainly fatal.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: