diff options
author | Gilad Arnold <garnold@google.com> | 2015-08-27 10:52:10 -0700 |
---|---|---|
committer | Gilad Arnold <garnold@google.com> | 2015-08-27 17:55:31 -0700 |
commit | 793a81172b131dda5b85e009496344e24cfeab9f (patch) | |
tree | 4c4dd9041af7e78c2b1edcacb4e77593fc5dc1e2 | |
parent | c31964b2951090a14d1135e4738fe724e6136403 (diff) | |
download | tlsdate-793a81172b131dda5b85e009496344e24cfeab9f.tar.gz |
Add init.tlsdated.rc.
Bug: 22373707
Change-Id: I6431bc535cbf19738c5b109f3ab56bcef1ad8fdd
-rw-r--r-- | Android.mk | 1 | ||||
-rw-r--r-- | init/init.tlsdated.rc | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -74,6 +74,7 @@ include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) LOCAL_MODULE := tlsdated_unittest +LOCAL_INIT_RC := init/init.tlsdated.rc LOCAL_SRC_FILES := \ src/tlsdated-unittest.c \ $(tlsdate_tlsdated_sources) diff --git a/init/init.tlsdated.rc b/init/init.tlsdated.rc new file mode 100644 index 0000000..62e7861 --- /dev/null +++ b/init/init.tlsdated.rc @@ -0,0 +1,6 @@ +service tlsdated /system/bin/tlsdated -v -l -s -- /system/bin/tlsdate -v -C /system/etc/security/cacerts -l + class main + # TODO(b/23601841) Use a lesser uid once CAP_SYS_TIME is enabled. + user root + group system dbus inet + seclabel u:r:brillo:s0 |