Merge "allow init to mount modem_img" into sc-dev am: 3b10aeadae

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13839800

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icd3cac3c5d48ea9e1c438cad2a8c8564ab20a378
This commit is contained in:
TreeHugger Robot 2021-03-12 06:49:17 +00:00 committed by Automerger Merge Worker
commit 0e272c63ed
4 changed files with 2 additions and 8 deletions

View file

@ -7,15 +7,11 @@ dontaudit init sysfs:file { setattr };
dontaudit init sysfs:file { write }; dontaudit init sysfs:file { write };
# b/178979985 # b/178979985
dontaudit init device:chr_file { ioctl }; dontaudit init device:chr_file { ioctl };
dontaudit init modem_img_file:dir { mounton };
dontaudit init device:chr_file { open }; dontaudit init device:chr_file { open };
dontaudit init device:chr_file { read write }; dontaudit init device:chr_file { read write };
dontaudit init modem_img_file:dir { mounton };
dontaudit init device:chr_file { ioctl }; dontaudit init device:chr_file { ioctl };
dontaudit init device:chr_file { open }; dontaudit init device:chr_file { open };
dontaudit init device:chr_file { read write }; dontaudit init device:chr_file { read write };
# b/180963348 # b/180963348
dontaudit init overlayfs_file:chr_file { unlink }; dontaudit init overlayfs_file:chr_file { unlink };
dontaudit init overlayfs_file:file { rename }; dontaudit init overlayfs_file:file { rename };
# b/182524202
dontaudit init mnt_vendor_file:dir { mounton };

View file

@ -1,4 +0,0 @@
# b/182524203
dontaudit installd modem_img_file:filesystem { quotaget };
dontaudit installd modem_img_file:filesystem { quotaget };
dontaudit installd modem_img_file:filesystem { quotaget };

View file

@ -8,6 +8,7 @@ allow init custom_ab_block_device:lnk_file relabelto;
allow init boot_block_device:lnk_file relabelto; allow init boot_block_device:lnk_file relabelto;
allow init modem_img_file:dir mounton; allow init modem_img_file:dir mounton;
allow init mnt_vendor_file:dir mounton;
allow init modem_img_file:filesystem { getattr mount relabelfrom }; allow init modem_img_file:filesystem { getattr mount relabelfrom };
allow init persist_file:dir mounton; allow init persist_file:dir mounton;

1
whitechapel/vendor/google/installd.te vendored Normal file
View file

@ -0,0 +1 @@
dontaudit installd modem_img_file:filesystem quotaget;