diff options
author | Rick Yiu <rickyiu@google.com> | 2019-12-30 11:49:48 +0800 |
---|---|---|
committer | Rick Yiu <rickyiu@google.com> | 2020-01-28 13:21:28 +0000 |
commit | a66ea9cf880f996ab7e01de538e99a73ec5b0528 (patch) | |
tree | a522a9474f2a8d922a726267757300f6a3e03915 /core/jni/fd_utils.cpp | |
parent | f7f94e34bfacb84e3cd0d61208248a8588c5117b (diff) |
Add more nodes to whitelist
Add below nodes so that device could boot to home.
/dev/stune/foreground/tasks
/dev/blkio/tasks
Bug: 139521784
Test: device boot to home
Change-Id: I6b52aced0ac5daaabb3b5c8d482f200bd7566ea1
Diffstat (limited to 'core/jni/fd_utils.cpp')
-rw-r--r-- | core/jni/fd_utils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/jni/fd_utils.cpp b/core/jni/fd_utils.cpp index 082a2892e34b..83e128ecb443 100644 --- a/core/jni/fd_utils.cpp +++ b/core/jni/fd_utils.cpp @@ -54,6 +54,8 @@ static const char* kPathWhitelist[] = { "/dev/urandom", "/dev/ion", "/dev/dri/renderD129", // Fixes b/31172436 + "/dev/stune/foreground/tasks", + "/dev/blkio/tasks", }; static const char kFdPath[] = "/proc/self/fd"; |