[automerger skipped] Move turbo_adapter sepolicy to system_ext am: 1afa122215 am: 8d3fb6f7e0 -s ours am: c1dfa03dbd -s ours am: ed653c47e6 -s ours am: 401b139b5d -s ours

am skip reason: Merged-In Id4c114ec3039dcfe2ceb29930d500a4d8f67778b with SHA-1 9f4865ff57 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel-sepolicy/+/2702373

Change-Id: I905c565a778cc29eccac0b876cf15217ab5afd61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/citadel/citadeld.te b/citadel/citadeld.te
index 9490258..959704b 100644
--- a/citadel/citadeld.te
+++ b/citadel/citadeld.te
@@ -18,3 +18,6 @@
 binder_call(citadeld, stats_service_server)
 allow citadeld fwk_stats_service:service_manager find;
 binder_use(citadeld)
+
+# Let citadeld set property
+set_prop(citadeld, vendor_nos_citadel_version);
diff --git a/citadel/property.te b/citadel/property.te
new file mode 100644
index 0000000..2e1c4ec
--- /dev/null
+++ b/citadel/property.te
@@ -0,0 +1 @@
+vendor_internal_prop(vendor_nos_citadel_version)
diff --git a/citadel/property_contexts b/citadel/property_contexts
new file mode 100644
index 0000000..835de17
--- /dev/null
+++ b/citadel/property_contexts
@@ -0,0 +1 @@
+vendor.nos.citadel.version     u:object_r:vendor_nos_citadel_version:s0
diff --git a/common/vendor/te_macros b/common/vendor/te_macros
index c9a9c04..99873fe 100644
--- a/common/vendor/te_macros
+++ b/common/vendor/te_macros
@@ -12,6 +12,7 @@
 allow $1 dumpstate:fd use;
 allow $1 dumpstate:fifo_file { write getattr };
 allow $1 hal_dumpstate_default:fd use;
+allow hal_dumpstate_default $1:process { sigkill signal };
 allow $1 shell_data_file:file { write getattr };
 ')