exynos9610: sepolicy: Don't audit useless dir searches
authorNolen Johnson <johnsonnolen@gmail.com>
Thu, 25 Apr 2024 01:48:11 +0000 (21:48 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Thu, 25 Apr 2024 01:54:45 +0000 (21:54 -0400)
Change-Id: I6cf989e37ff220bd6904ac22372d403b11ad0c7b

sepolicy/vendor/gpsd.te
sepolicy/vendor/hal_gnss_default.te
sepolicy/vendor/vendor_ims_app.te

index c92c0ee56bcf74775432cb8f2c13bd764a1eee99..5be0be8d37f9f92147a9f58ccc6ce7abf11dd7bc 100644 (file)
@@ -1,6 +1,6 @@
 allow gpsd gnss_device:chr_file rw_file_perms;
 
-allow gpsd system_data_file:dir search;
+dontaudit gpsd system_data_file:dir search;
 
 allow gpsd gps_vendor_data_file:dir create_dir_perms;
 allow gpsd gps_vendor_data_file:file create_file_perms;
index 6106c890f867ee596285ae54b456b30e0a0509e6..8e31e09bdd438db97375b626eabf33cee38aaade 100644 (file)
@@ -1 +1,3 @@
+dontaudit hal_gnss_default system_data_file:dir search;
+
 allow hal_gnss_default gpsd:unix_stream_socket connectto;
index 5978752e59ec1f530f7099dfa8c1d205980856d0..40d8b29d82d9ca0fe364ecb0c931424a028a7013 100644 (file)
@@ -13,8 +13,8 @@ allow vendor_ims_app audioserver_service:service_manager find;
 allow vendor_ims_app radio_data_file:dir rw_dir_perms;
 allow vendor_ims_app radio_data_file:file create_file_perms;
 
-allow vendor_ims_app system_data_file:dir search;
-allow vendor_ims_app user_profile_root_file:dir search;
+dontaudit vendor_ims_app system_data_file:dir search;
+dontaudit vendor_ims_app user_profile_root_file:dir r_dir_perms;;
 
 allow vendor_ims_app misc_vendor_data_file:dir create_dir_perms;
 allow vendor_ims_app misc_vendor_data_file:file create_file_perms;