diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2017-11-22 23:09:23 -0800 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2017-11-23 06:55:51 -0800 |
commit | 6bdc3a28e75bdb936e7c172bc8d305b2c30c9f06 (patch) | |
tree | 683be9ab288c65556473480f29e798f2d8008b15 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 7430d8d89667a39c5f993dc46c00c98814382f72 (diff) |
Check for /dev/memcg/system/tasks before writing to it
Fixes the following errors in the logs on devices without /dev/memcg
mounted:
09-08 10:07:22.991 732 732 E Zygote : couldn't write 1124 to
/dev/memcg/system/tasks
09-08 10:07:22.986 732 732 W main : type=1400 audit(0.0:8):
avc: denied { create } for name="tasks" scontext=u:r:zygote:s0
tcontext=u:object_r:cgroup:s0 tclass=file permissive=0
Bug: 67860826
Test: boot Taimen, no more error/denial in the logs.
Change-Id: I37f481fa4e9e9116688cca4f090aa26f96f602c9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions