Fix overlayfs avc denied am: d328008234

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

Change-Id: Iebb750cacabf23753ce15d8d075d1e11867cb34b
This commit is contained in:
Randall Huang 2021-07-07 02:07:58 +00:00 committed by Automerger Merge Worker
commit decd3637ef
2 changed files with 5 additions and 2 deletions

View file

@ -1,2 +0,0 @@
# b/192617244
dontaudit init overlayfs_file:file rename;

View file

@ -18,3 +18,8 @@ allow init ram_device:blk_file w_file_perms;
allow init per_boot_file:file ioctl;
allowxperm init per_boot_file:file ioctl { F2FS_IOC_SET_PIN_FILE };
allow init sysfs_scsi_devices_0000:file w_file_perms;
userdebug_or_eng(`
allow init overlayfs_file:file { rename };
allow init overlayfs_file:chr_file { unlink };
')