commit | 51fae66027e02509666a2873f90b05232a1e7b5a | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu May 23 13:44:22 2019 -0700 |
committer | David Anderson <dvander@google.com> | Tue May 28 13:42:42 2019 -0700 |
tree | e64615e9db9d85bce3cf1c2d7d5952588afc65b3 | |
parent | 4cd2db897d73bb6058fcad7280fe1c16be5a7d95 [diff] |
Allow init to mkdir inside /data/gsi. Bug: 133435561 Test: adb shell gsi_tool install Change-Id: Iaa610c72d8098e157bb89e321624369f86f4ea19 Merged-In: Iaa610c72d8098e157bb89e321624369f86f4ea19
diff --git a/prebuilts/api/29.0/private/gsid.te b/prebuilts/api/29.0/private/gsid.te index 5dcf746..1a35a4b 100644 --- a/prebuilts/api/29.0/private/gsid.te +++ b/prebuilts/api/29.0/private/gsid.te
@@ -118,6 +118,7 @@ neverallow { domain -gsid + -init } gsi_data_file:dir ~{ open create read getattr setattr search relabelto ioctl }; neverallow {
diff --git a/prebuilts/api/29.0/public/init.te b/prebuilts/api/29.0/public/init.te index c5fc9b4..6857ff9 100644 --- a/prebuilts/api/29.0/public/init.te +++ b/prebuilts/api/29.0/public/init.te
@@ -167,7 +167,6 @@ file_type -app_data_file -exec_type - -gsi_data_file -iorapd_data_file -keystore_data_file -misc_logd_file
diff --git a/private/gsid.te b/private/gsid.te index 5dcf746..1a35a4b 100644 --- a/private/gsid.te +++ b/private/gsid.te
@@ -118,6 +118,7 @@ neverallow { domain -gsid + -init } gsi_data_file:dir ~{ open create read getattr setattr search relabelto ioctl }; neverallow {
diff --git a/public/init.te b/public/init.te index c5fc9b4..6857ff9 100644 --- a/public/init.te +++ b/public/init.te
@@ -167,7 +167,6 @@ file_type -app_data_file -exec_type - -gsi_data_file -iorapd_data_file -keystore_data_file -misc_logd_file