summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2016-08-26 13:43:19 -0700
committerJohn Reck <jreck@google.com>2016-08-26 14:05:03 -0700
commit2e336b1da1ed66e943089c812f7697f5de450936 (patch)
tree8f4a4e15a7e102299a65a12d9b24bdd139a4b3e5 /libutils/ProcessCallStack.cpp
parent091b631915c68c801bbded01ac8bb3a7af18436e (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
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions