diff options
| author | Ethan Chen <intervigil@gmail.com> | 2015-03-10 11:11:28 -0700 |
|---|---|---|
| committer | Ethan Chen <intervigil@gmail.com> | 2015-03-10 11:12:01 -0700 |
| commit | 9e99bb0467848d84362cc8bcce284be34a4c436f (patch) | |
| tree | dba547a5db72c7bac7ccf4cc19f9dfebdc3a1239 /sepolicy | |
| parent | 69a0990fe9665da7f6eb43c262111c402d624e22 (diff) | |
Revert "lettuce: Update permissions for prebundled-apps"
* This has been made common across all devices.
This reverts commit 65d04ed8f23586232c809252449feefb1e221ee8.
Change-Id: I9d06a370d2bcc5fcbaf368554a9765409076bcfb
Diffstat (limited to 'sepolicy')
| -rw-r--r-- | sepolicy/file_contexts | 3 | ||||
| -rw-r--r-- | sepolicy/prebundle_installer.te | 14 | ||||
| -rw-r--r-- | sepolicy/property.te | 1 | ||||
| -rw-r--r-- | sepolicy/property_contexts | 1 |
4 files changed, 0 insertions, 19 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index cf39b6f..e1ec53b 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -5,6 +5,3 @@ /system/etc/init\.qcom\.bt\.sh u:object_r:bluetooth_loader_exec:s0 /dev/smd3 u:object_r:hci_attach_dev:s0 - -# Prebundled app installer -/system/vendor/bin/install-apps u:object_r:prebundle_installer_exec:s0 diff --git a/sepolicy/prebundle_installer.te b/sepolicy/prebundle_installer.te deleted file mode 100644 index d554879..0000000 --- a/sepolicy/prebundle_installer.te +++ /dev/null @@ -1,14 +0,0 @@ -type prebundle_installer, domain; -type prebundle_installer_exec, exec_type, file_type; -init_daemon_domain(prebundle_installer) - -unix_socket_connect(prebundle_installer, property, init) -allow prebundle_installer prebundle_prop:property_service set; - -# transition to shell when running script -domain_auto_trans(prebundle_installer, shell_exec, shell); -allow prebundle_installer shell_exec:file entrypoint; -allow shell prebundle_installer:fd use; - -# Needed for toolbox, pm -allow prebundle_installer system_file:file execute_no_trans; diff --git a/sepolicy/property.te b/sepolicy/property.te deleted file mode 100644 index e1a87a4..0000000 --- a/sepolicy/property.te +++ /dev/null @@ -1 +0,0 @@ -type prebundle_prop, property_type; diff --git a/sepolicy/property_contexts b/sepolicy/property_contexts index 3e19b5c..bb6cb2e 100644 --- a/sepolicy/property_contexts +++ b/sepolicy/property_contexts @@ -1,3 +1,2 @@ -persist.sys.prebundle. u:object_r:prebundle_prop:s0 qualcomm.bluetooth. u:object_r:bluetooth_prop:s0 qualcomm.bt. u:object_r:bluetooth_prop:s0 |
