commit | e184423526888dade9c672ea2584127ae1d9d949 | [log] [tgz] |
---|---|---|
author | Paul Crowley <paulcrowley@google.com> | Mon Jan 29 15:47:14 2018 -0800 |
committer | Paul Crowley <paulcrowley@google.com> | Tue Jan 30 08:18:24 2018 -0800 |
tree | 69953a95622f7ac6e09d8a05978387109fa15958 | |
parent | 01ba1157325a5e6572122f5d46cfd0376b75aa98 [diff] |
Don't initialize atrace if it's already disabled. For processes that start very early, atrace initialization can cause an selinux denial, so make sure it's possible to disable it and avoid the call to open "trace_marker". Bug: 63927601 Test: disable atrace early in vold, ensure that selinux denial is avoided. Change-Id: I2422e6d0db323bc13c6d6ed1896435151fca21f7