su and perfprofd are coredomain too
This is a follow-up to f5446eb1486816c00136b2b5f0a3cc4a01706000 where
I forgot to associate su and perfprofd domains with coredomain.
Test: mmm system/sepolicy
sepolicy-analyze $OUT/root/sepolicy attribute coredomain
Bug: 35870313
Change-Id: I13f90693843f7c6fe9fea8e5332aa6dd9558478a
diff --git a/private/su.te b/private/su.te
index 466bc0b..d42bf61 100644
--- a/private/su.te
+++ b/private/su.te
@@ -1,4 +1,6 @@
userdebug_or_eng(`
+ typeattribute su coredomain;
+
domain_auto_trans(shell, su_exec, su)
# Allow dumpstate to call su on userdebug / eng builds to collect
# additional information.