Fix overlayfs avc denied am: d328008234 am: decd3637ef am: 86a1fff3a1

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

Change-Id: I5c0085680d4d5149e30ace21231f44d6a0d64c98
This commit is contained in:
Randall Huang 2021-07-07 02:37:54 +00:00 committed by Automerger Merge Worker
commit e7313f6a03
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 };
')