Remove unused bufferhub sepolicy

These selinux policy rules were added for bufferhub to run a binder
service. But later we decided to use a hwbinder service instead, and the
original binder service was removed in git/master. Now we can safely
remove these rules.

Test: Build passed. Device boot successfully without selinux denial.
Bug: 118891412
Change-Id: I349b5f0f2fa8fb6a7cfe7869d936791355c20753
This commit is contained in:
Fan Xu 2018-12-10 13:36:11 -08:00
parent 130fee6e95
commit ffffed28fa
4 changed files with 0 additions and 9 deletions

View file

@ -1,7 +1,3 @@
typeattribute bufferhubd coredomain;
init_daemon_domain(bufferhubd)
# Permission for create binder service "bufferhubd"
binder_use(bufferhubd);
add_service(bufferhubd, buffer_hub_service);

View file

@ -1,3 +1,2 @@
type buffer_hub_service, service_manager_type;
type stats_service, service_manager_type;
type statscompanion_service, system_server_service, service_manager_type;

View file

@ -23,7 +23,6 @@ biometric u:object_r:biometric_service:s0
bluetooth_manager u:object_r:bluetooth_manager_service:s0
bluetooth u:object_r:bluetooth_service:s0
broadcastradio u:object_r:broadcastradio_service:s0
bufferhubd u:object_r:buffer_hub_service:s0
carrier_config u:object_r:radio_service:s0
clipboard u:object_r:clipboard_service:s0
com.android.net.IProxyService u:object_r:IProxyService_service:s0

View file

@ -52,9 +52,6 @@ binder_call(shell, statsd);
allow shell perfetto_traces_data_file:dir rw_dir_perms;
allow shell perfetto_traces_data_file:file r_file_perms;
# Allow shell-based "dumpsys" to call into bufferhubd.
binder_call(shell, bufferhubd);
# Allow shell to run adb shell cmd gpu commands.
binder_call(shell, gpuservice);