Creation a new selinux policy label with [astd].

Merge sc-d1-dev into master for [astd], add the necessary SELinux context to use astd.
Apply new label to execution files, astc and astd.
Add a new SELinux policy for the new domain, astd.

Bug: 170186082
Bug: 173433661
Change-Id: If71d9ba64465018c964c82e5acfaa2e3f748c95a
diff --git a/astd/astd.te b/astd/astd.te
new file mode 100644
index 0000000..9f29caa
--- /dev/null
+++ b/astd/astd.te
@@ -0,0 +1,17 @@
+# astd service
+type astd, domain;
+
+# /vendor/bin/astc        u:object_r:vendor_shell_exec:s0
+# system/sepolicy/public/vendor_shell.te
+# type vendor_shell_exec, exec_type, vendor_file_type, file_type;
+
+# /vendor/bin/astd        u:object_r:vendor_toolbox_exec:s0
+# system/sepolicy/public/vendor_toolbox.te
+# type vendor_toolbox_exec, exec_type, vendor_file_type, file_type;
+
+type astd_exec, exec_type, vendor_file_type, file_type;
+
+userdebug_or_eng(`
+  init_daemon_domain(astd)
+')
+