File tree 2 files changed +12
-4
lines changed
prebuilts/api/30.0/public
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ allow uncrypt cache_file:dir search;
15
15
allow uncrypt cache_recovery_file:dir rw_dir_perms;
16
16
allow uncrypt cache_recovery_file:file create_file_perms;
17
17
18
- # Read OTA zip file at /data/ota_package/.
18
+ # Read and write(for f2fs_pin_file) on OTA zip file at /data/ota_package/.
19
19
allow uncrypt ota_package_file:dir r_dir_perms;
20
- allow uncrypt ota_package_file:file r_file_perms ;
20
+ allow uncrypt ota_package_file:file rw_file_perms ;
21
21
22
22
# Write to /dev/socket/uncrypt
23
23
unix_socket_connect(uncrypt, uncrypt, uncrypt)
@@ -40,3 +40,7 @@ allow uncrypt proc_cmdline:file r_file_perms;
40
40
41
41
# Read files in /sys
42
42
r_dir_file(uncrypt, sysfs_dt_firmware_android)
43
+
44
+ # Suppress the denials coming from ReadDefaultFstab call.
45
+ dontaudit uncrypt gsi_metadata_file:dir search;
46
+ dontaudit uncrypt metadata_file:dir search;
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ allow uncrypt cache_file:dir search;
15
15
allow uncrypt cache_recovery_file:dir rw_dir_perms;
16
16
allow uncrypt cache_recovery_file:file create_file_perms;
17
17
18
- # Read OTA zip file at /data/ota_package/.
18
+ # Read and write(for f2fs_pin_file) on OTA zip file at /data/ota_package/.
19
19
allow uncrypt ota_package_file:dir r_dir_perms;
20
- allow uncrypt ota_package_file:file r_file_perms ;
20
+ allow uncrypt ota_package_file:file rw_file_perms ;
21
21
22
22
# Write to /dev/socket/uncrypt
23
23
unix_socket_connect(uncrypt, uncrypt, uncrypt)
@@ -40,3 +40,7 @@ allow uncrypt proc_cmdline:file r_file_perms;
40
40
41
41
# Read files in /sys
42
42
r_dir_file(uncrypt, sysfs_dt_firmware_android)
43
+
44
+ # Suppress the denials coming from ReadDefaultFstab call.
45
+ dontaudit uncrypt gsi_metadata_file:dir search;
46
+ dontaudit uncrypt metadata_file:dir search;
You can’t perform that action at this time.
0 commit comments