commit | a8357b624a16b48288322e37fab6d8747477e775 | [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 | 01aa2b61aa9004592e4ce551063c1f21026a8843 [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