summaryrefslogtreecommitdiffstats
path: root/libcutils
diff options
context:
space:
mode:
authorRobert Sesek <rsesek@google.com>2016-11-03 15:32:23 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-11-03 15:32:23 +0000
commit0dad6acaba0f4671d045669d3f9dba63df95b2f6 (patch)
treeb82dd9e256943ae07f2146d4411c524a3ed7a57a /libcutils
parent82c67f566203bf4812774e3154a40518a2197d62 (diff)
parent2260c09983156b13b2ab549a9b90aad55b17f4c7 (diff)
downloadcore-0dad6acaba0f4671d045669d3f9dba63df95b2f6.tar.gz
core-0dad6acaba0f4671d045669d3f9dba63df95b2f6.tar.bz2
core-0dad6acaba0f4671d045669d3f9dba63df95b2f6.zip
Merge "Add fs_config entries for the webview_zygote."
am: 2260c09983 Change-Id: I4c4ae12dc5a0625a4e73905ff11e2d5461aec237
Diffstat (limited to 'libcutils')
-rw-r--r--libcutils/fs_config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcutils/fs_config.c b/libcutils/fs_config.c
index 293e78a39..966eafc7f 100644
--- a/libcutils/fs_config.c
+++ b/libcutils/fs_config.c
@@ -153,6 +153,14 @@ static const struct fs_path_config android_files[] = {
/* Support wifi_hal_legacy administering a network interface. */
{ 00755, AID_WIFI, AID_WIFI, CAP_MASK_LONG(CAP_NET_ADMIN) | CAP_MASK_LONG(CAP_NET_RAW), "system/bin/hw/android.hardware.wifi@1.0-service" },
+ /* A non-privileged zygote that spawns isolated processes for web rendering. */
+ { 0750, AID_ROOT, AID_ROOT, CAP_MASK_LONG(CAP_SETUID) |
+ CAP_MASK_LONG(CAP_SETGID) |
+ CAP_MASK_LONG(CAP_SETPCAP), "system/bin/webview_zygote32" },
+ { 0750, AID_ROOT, AID_ROOT, CAP_MASK_LONG(CAP_SETUID) |
+ CAP_MASK_LONG(CAP_SETGID) |
+ CAP_MASK_LONG(CAP_SETPCAP), "system/bin/webview_zygote64" },
+
{ 00750, AID_ROOT, AID_ROOT, 0, "system/bin/uncrypt" },
{ 00750, AID_ROOT, AID_ROOT, 0, "system/bin/install-recovery.sh" },
{ 00755, AID_ROOT, AID_SHELL, 0, "system/bin/*" },