From 7e60d3a032421dd4a82ae23a8a11256558a73de2 Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Tue, 13 Apr 2021 11:17:31 +0800 Subject: [PATCH] allow init to set readahead_size Bug: 185186743 Test: boot with no error found during boot Change-Id: I7c06977023a1125d0187b96103e94c355a9d17a2 --- tracking_denials/init.te | 8 -------- whitechapel/vendor/google/init.te | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/tracking_denials/init.te b/tracking_denials/init.te index e34f3ae6..27d6f882 100644 --- a/tracking_denials/init.te +++ b/tracking_denials/init.te @@ -1,11 +1,3 @@ # b/180963348 dontaudit init overlayfs_file:chr_file { unlink }; dontaudit init overlayfs_file:file { rename }; -# b/182954138 -dontaudit init vendor_file:file { execute }; -dontaudit init vendor_file:file { execute }; -dontaudit init sysfs:file { setattr }; -dontaudit init sysfs:file { setattr }; -# b/185186743 -dontaudit init sysfs_scsi_devices_0000:file { write }; -dontaudit init sysfs_scsi_devices_0000:file { write }; diff --git a/whitechapel/vendor/google/init.te b/whitechapel/vendor/google/init.te index 9cf7d73f..5d6a6810 100644 --- a/whitechapel/vendor/google/init.te +++ b/whitechapel/vendor/google/init.te @@ -17,3 +17,4 @@ allow init modem_userdata_file:dir mounton; 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;