sepolicy: Escape '.' character
Change-Id: I35a726170f77e3f144ab7b79eac054d7fec9dc97
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index a11bd70..b856ecc 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -5,8 +5,8 @@
/system/bin/sysinit u:object_r:sysinit_exec:s0
-/system/etc/init.d/90userinit u:object_r:userinit_exec:s0
-/data/local/userinit.sh u:object_r:userinit_data_exec:s0
+/system/etc/init\.d/90userinit u:object_r:userinit_exec:s0
+/data/local/userinit\.sh u:object_r:userinit_data_exec:s0
# For EXFAT/F2FS/NTFS partitions marked "formattable"
/system/bin/mkfs\.exfat u:object_r:mkfs_exec:s0
@@ -28,7 +28,7 @@
/dev/socket/su-daemon(/.*)? u:object_r:superuser_device:s0
# Expansion of these hooks is a bit unconventional
-/cache/com.cyanogenmod.keyhandler.dex u:object_r:dalvikcache_data_file:s0
+/cache/com\.cyanogenmod\.keyhandler\.dex u:object_r:dalvikcache_data_file:s0
# Lockscreen wallpaper
/data/system/users/[0-9]+/keyguard_wallpaper u:object_r:wallpaper_file:s0