3 ms·
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
by jcalvinowens 2y ago
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.
- malkia 2y agoECC errors of a magnitudes lower chance to happen than broken file system
- jcalvinowens 2y agoDepends 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.