commit | 2e336b1da1ed66e943089c812f7697f5de450936 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Fri Aug 26 13:43:19 2016 -0700 |
committer | John Reck <jreck@google.com> | Fri Aug 26 14:05:03 2016 -0700 |
tree | 8f4a4e15a7e102299a65a12d9b24bdd139a4b3e5 | |
parent | 091b631915c68c801bbded01ac8bb3a7af18436e [diff] |
Fix access check Fixes a bug where USE_CPUSET used access(F_OK) as a sign that it should try writing to the cpuset path. It needs to instead use access(W_OK) to ensure that it has write access as that's what it would try to open() with. And stop trying to repeatedly open a file that doesn't exist. Change-Id: Ib391ee6f08345051c48a986a732eda30143cb614