sepolicy: Introduce App Lock [3/4]
Change-Id: Id13db7bbd2d0ee1bd544e1670990c3caf46768ab
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
diff --git a/common/private/service.te b/common/private/service.te
new file mode 100644
index 0000000..5715fbf
--- /dev/null
+++ b/common/private/service.te
@@ -0,0 +1,2 @@
+# App Lock
+type app_lock_service, system_api_service, system_server_service, service_manager_type;
diff --git a/common/private/service_contexts b/common/private/service_contexts
new file mode 100644
index 0000000..1cf274e
--- /dev/null
+++ b/common/private/service_contexts
@@ -0,0 +1,2 @@
+# App Lock
+app_lock u:object_r:app_lock_service:s0
diff --git a/common/private/system_server.te b/common/private/system_server.te
new file mode 100644
index 0000000..caa158f
--- /dev/null
+++ b/common/private/system_server.te
@@ -0,0 +1,2 @@
+# App Lock
+add_service(system_server, app_lock_service);