Anonymous committed 34a8e12

Permit installd to unlink all types of data_file_type.

This enables installd to uninstall or clear data of installed apps
whose data directory contains unusual file types, such as FIFO.

Bug: 10680357

(cherry picked from commit 839af9edb5f410727c15b8f3dd377dfb3a9d6e22)

Change-Id: I5715f7d6d3214896ad0456d614b052cf5fb79eef

  • Participants
  • Parent commits 9af6f1b

Comments (0)

Files changed (1)

 allow installd dalvikcache_data_file:file create_file_perms;
 allow installd data_file_type:dir create_dir_perms;
 allow installd data_file_type:dir { relabelfrom relabelto };
-allow installd data_file_type:{ file lnk_file sock_file } { getattr unlink };
+allow installd data_file_type:{ file_class_set } { getattr unlink };
 allow installd apk_data_file:file r_file_perms;
 allow installd apk_tmp_file:file r_file_perms;
 allow installd system_file:file x_file_perms;