diff --git a/public/dex2oat.te b/public/dex2oat.te
index 72b04a10748d2b131ce14aeaafc16781eae87dd4..6421d930ca317378575ed4d303337aa5dda8a3c4 100644
--- a/public/dex2oat.te
+++ b/public/dex2oat.te
@@ -34,6 +34,7 @@ allow dex2oat app_data_file:file { getattr read write lock };
 allow dex2oat postinstall_dexopt:fd use;
 
 allow dex2oat postinstall_file:dir { getattr search };
+allow dex2oat postinstall_file:lnk_file read;
 
 # Allow dex2oat access to files in /data/ota.
 allow dex2oat ota_data_file:dir ra_dir_perms;
diff --git a/public/postinstall_dexopt.te b/public/postinstall_dexopt.te
index 5fdc51031edc8cb5e20bd3afa984517d2077b626..76001f7bbd0b5e2578113dcc60d9abbc8adc0d76 100644
--- a/public/postinstall_dexopt.te
+++ b/public/postinstall_dexopt.te
@@ -8,6 +8,7 @@ type postinstall_dexopt, domain;
 allow postinstall_dexopt self:capability { chown dac_override fowner setgid setuid };
 
 allow postinstall_dexopt postinstall_file:dir { getattr search };
+allow postinstall_dexopt postinstall_file:lnk_file read;
 allow postinstall_dexopt proc:file { getattr open read };
 allow postinstall_dexopt tmpfs:file read;