Comment 4 for bug 1518440

Revision history for this message
Stéphane Graber (stgraber) wrote :

So the right thing to do when writing to oom_score is:
 - Try oom_score_adj first if it doesn't exist, silently fallback to oom_adj
 - Don't fail if the file doesn't exist
 - Don't fail if write gets you EACCESS
 - Fail for all other return values