summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2015-06-03 13:05:28 -0700
committerNick Kralevich <nnk@google.com>2015-06-03 13:08:49 -0700
commit221fca7ddd2ba1778ec89013c96434a9d36b529e (patch)
tree7cb2e425549aea8ffeabd85e415bebec23888b35
parentd3d32a1b13353002cd0ad121b4cb8d3b2a8cddca (diff)
downloadcore-221fca7ddd2ba1778ec89013c96434a9d36b529e.tar.gz
core-221fca7ddd2ba1778ec89013c96434a9d36b529e.tar.bz2
core-221fca7ddd2ba1778ec89013c96434a9d36b529e.zip
tzdatacheck: don't hard code SELinux domain name
An automatic domain transition is already defined by SELinux policy. Avoid having redundant information on the exec line. This commit depends on commit 17fff893c04971b519d25d52b07f51111353cba5 which made the SELinux process label optional. Change-Id: I89464f2bd218c7d6e8db08aa6bed2b62ec6dad2a
-rw-r--r--rootdir/init.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 1f421c5b7..b5b74eafa 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -321,7 +321,7 @@ on post-fs-data
restorecon_recursive /data
# Check any timezone data in /data is newer than the copy in /system, delete if not.
- exec u:r:tzdatacheck:s0 system system -- /system/bin/tzdatacheck /system/usr/share/zoneinfo /data/misc/zoneinfo
+ exec - system system -- /system/bin/tzdatacheck /system/usr/share/zoneinfo /data/misc/zoneinfo
# If there is no fs-post-data action in the init.<device>.rc file, you
# must uncomment this line, otherwise encrypted filesystems