summaryrefslogtreecommitdiff
path: root/plat_public
diff options
context:
space:
mode:
authorChunyan Zhang <chunyan.zhang@mediatek.com>2019-01-31 13:20:26 +0800
committerChunyan Zhang <chunyan.zhang@mediatek.com>2019-01-31 13:20:26 +0800
commit88b021e95020b7d056c8de6580b4a1c0ebe53d8a (patch)
treee886911db7c35d4d1564b1b4c929d4a2afedcb41 /plat_public
parent04ea628303e81efba0868635388eb4e1396da624 (diff)
downloadwembley-sepolicy-88b021e95020b7d056c8de6580b4a1c0ebe53d8a.tar.gz
import from mediatek/master to mediatek/alps-mp-o1.mp1
Change-Id: I0b4db8ab8b80f4fbeb76e686d523a740efe142b1 MTK-Commit-Id: 848bf57127be9d01fd1df4aab95737855456afee
Diffstat (limited to 'plat_public')
-rw-r--r--plat_public/README3
-rw-r--r--plat_public/aee_aed.te7
-rw-r--r--plat_public/aee_aedv.te4
-rw-r--r--plat_public/audiocmdservice_atci.te8
-rw-r--r--plat_public/boot_logo_updater.te9
-rw-r--r--plat_public/cmddumper.te7
-rw-r--r--plat_public/device.te6
-rw-r--r--plat_public/em_svr.te11
-rwxr-xr-xplat_public/emdlogger.te7
-rw-r--r--plat_public/factory.te7
-rw-r--r--plat_public/file.te7
-rw-r--r--plat_public/fuelgauged_static.te7
-rw-r--r--plat_public/kisd.te9
-rwxr-xr-xplat_public/mdlogger.te7
-rw-r--r--plat_public/meta_tst.te11
-rw-r--r--plat_public/mobile_log_d.te7
-rw-r--r--plat_public/mtkbootanimation.te5
-rwxr-xr-xplat_public/netdiag.te7
-rw-r--r--plat_public/pre_meta.te5
-rw-r--r--plat_public/service.te8
-rw-r--r--plat_public/thermalindicator.te7
21 files changed, 149 insertions, 0 deletions
diff --git a/plat_public/README b/plat_public/README
new file mode 100644
index 0000000..24a972f
--- /dev/null
+++ b/plat_public/README
@@ -0,0 +1,3 @@
+This directory contains the MTK SELinux policy configuration for platform public.
+
+It define the domains and types for MTK services running in /system all devices. \ No newline at end of file
diff --git a/plat_public/aee_aed.te b/plat_public/aee_aed.te
new file mode 100644
index 0000000..f95f4b8
--- /dev/null
+++ b/plat_public/aee_aed.te
@@ -0,0 +1,7 @@
+# ==============================================
+# Policy File of /system/bin/aee_aed Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type aee_aed, domain;
diff --git a/plat_public/aee_aedv.te b/plat_public/aee_aedv.te
new file mode 100644
index 0000000..fe413f8
--- /dev/null
+++ b/plat_public/aee_aedv.te
@@ -0,0 +1,4 @@
+# ==============================================
+# Type Declaration
+# ==============================================
+type aee_aedv, domain;
diff --git a/plat_public/audiocmdservice_atci.te b/plat_public/audiocmdservice_atci.te
new file mode 100644
index 0000000..323134f
--- /dev/null
+++ b/plat_public/audiocmdservice_atci.te
@@ -0,0 +1,8 @@
+# ==============================================
+# Policy File of /system/bin/audiocmdservice_atci Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type audiocmdservice_atci ,domain;
diff --git a/plat_public/boot_logo_updater.te b/plat_public/boot_logo_updater.te
new file mode 100644
index 0000000..9ed27ca
--- /dev/null
+++ b/plat_public/boot_logo_updater.te
@@ -0,0 +1,9 @@
+# ==============================================
+# Policy File of /system/binboot_logo_updater Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+# New added for move to /system
+type boot_logo_updater ,domain;
diff --git a/plat_public/cmddumper.te b/plat_public/cmddumper.te
new file mode 100644
index 0000000..332858a
--- /dev/null
+++ b/plat_public/cmddumper.te
@@ -0,0 +1,7 @@
+# ==============================================
+# Policy File of /system/bin/cmddumper Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type cmddumper, domain;
diff --git a/plat_public/device.te b/plat_public/device.te
new file mode 100644
index 0000000..c034b64
--- /dev/null
+++ b/plat_public/device.te
@@ -0,0 +1,6 @@
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+type kb_block_device,dev_type;
+type dkb_block_device,dev_type; \ No newline at end of file
diff --git a/plat_public/em_svr.te b/plat_public/em_svr.te
new file mode 100644
index 0000000..c626a14
--- /dev/null
+++ b/plat_public/em_svr.te
@@ -0,0 +1,11 @@
+# ==============================================
+# Policy File of /system/bin/em_svr Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type em_svr ,domain;
+
+
+
diff --git a/plat_public/emdlogger.te b/plat_public/emdlogger.te
new file mode 100755
index 0000000..f116ac0
--- /dev/null
+++ b/plat_public/emdlogger.te
@@ -0,0 +1,7 @@
+# ==============================================
+# Policy File of /system/bin/emdlogger[x] Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type emdlogger, domain;
diff --git a/plat_public/factory.te b/plat_public/factory.te
new file mode 100644
index 0000000..92ee9ac
--- /dev/null
+++ b/plat_public/factory.te
@@ -0,0 +1,7 @@
+# ==============================================
+# Policy File of /system/bin/factory Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type factory ,domain;
diff --git a/plat_public/file.te b/plat_public/file.te
new file mode 100644
index 0000000..3a116c6
--- /dev/null
+++ b/plat_public/file.te
@@ -0,0 +1,7 @@
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+#for drm key install
+type provision_file, file_type, data_file_type;
+type key_install_data_file, file_type, data_file_type; \ No newline at end of file
diff --git a/plat_public/fuelgauged_static.te b/plat_public/fuelgauged_static.te
new file mode 100644
index 0000000..3e65ecd
--- /dev/null
+++ b/plat_public/fuelgauged_static.te
@@ -0,0 +1,7 @@
+# ==============================================
+# Policy File of /system/bin/fuelgauged_static Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type fuelgauged_static ,domain;
diff --git a/plat_public/kisd.te b/plat_public/kisd.te
new file mode 100644
index 0000000..cc7bd44
--- /dev/null
+++ b/plat_public/kisd.te
@@ -0,0 +1,9 @@
+# ==============================================
+# Policy File of /system/bin/kisd Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type kisd ,domain;
diff --git a/plat_public/mdlogger.te b/plat_public/mdlogger.te
new file mode 100755
index 0000000..e4ca402
--- /dev/null
+++ b/plat_public/mdlogger.te
@@ -0,0 +1,7 @@
+# ==============================================
+# Policy File of /system/bin/mdlogger Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type mdlogger ,domain;
diff --git a/plat_public/meta_tst.te b/plat_public/meta_tst.te
new file mode 100644
index 0000000..b5b9a43
--- /dev/null
+++ b/plat_public/meta_tst.te
@@ -0,0 +1,11 @@
+# ==============================================
+# Policy File of /system/bin/meta_tst Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type meta_tst ,domain;
+
+
diff --git a/plat_public/mobile_log_d.te b/plat_public/mobile_log_d.te
new file mode 100644
index 0000000..2eccc21
--- /dev/null
+++ b/plat_public/mobile_log_d.te
@@ -0,0 +1,7 @@
+# ==============================================
+# Policy File of /system/bin/mobile_log_d Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type mobile_log_d ,domain;
diff --git a/plat_public/mtkbootanimation.te b/plat_public/mtkbootanimation.te
new file mode 100644
index 0000000..8eed071
--- /dev/null
+++ b/plat_public/mtkbootanimation.te
@@ -0,0 +1,5 @@
+# ==============================================
+# MTK Policy Rule
+# ============
+#bootanimation oneshot service
+type mtkbootanimation, domain;
diff --git a/plat_public/netdiag.te b/plat_public/netdiag.te
new file mode 100755
index 0000000..19a04b5
--- /dev/null
+++ b/plat_public/netdiag.te
@@ -0,0 +1,7 @@
+# ==============================================
+# Policy File of /system/bin/netdiag Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type netdiag ,domain;
diff --git a/plat_public/pre_meta.te b/plat_public/pre_meta.te
new file mode 100644
index 0000000..f179869
--- /dev/null
+++ b/plat_public/pre_meta.te
@@ -0,0 +1,5 @@
+# ==============================================
+# Policy File of /system/bin/pre_meta Executable File
+
+type pre_meta ,domain;
+
diff --git a/plat_public/service.te b/plat_public/service.te
new file mode 100644
index 0000000..c916a8c
--- /dev/null
+++ b/plat_public/service.te
@@ -0,0 +1,8 @@
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+# System Server Services
+
+# Other Services
+type nvram_agent_service, service_manager_type; \ No newline at end of file
diff --git a/plat_public/thermalindicator.te b/plat_public/thermalindicator.te
new file mode 100644
index 0000000..5427a7a
--- /dev/null
+++ b/plat_public/thermalindicator.te
@@ -0,0 +1,7 @@
+# =============================================================================
+# Policy File of /system/bin/thermalindicator Executable File
+
+# =============================================================================
+# Type Declaration
+# =============================================================================
+type thermalindicator, domain; \ No newline at end of file