--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
since the check is at build time, we effectively crash -- we display an error message and exit (1). thus it's now the user's problem to fix their kernel. Gentoo has this liberty though as a from source distro.
if there's fallback logic to handle unavailable TSYNC already, then also running that path when syscall is broken sounds reasonable. not sure if it's possible to throw up a butter bar somewhere without completely spamming things. maybe do it when chrome first starts up independent of the sandbox? have it say something like your kernel is broken and link to a page on dev.chromium.org to explain in more detail?
I agree that in general we don't want to get into the business of trying to recover from a broken kernel. each case would be a judgement call and weigh the pros/cons. but if it's easy to detect & warn, I'd lean that direction.
-mike