Skip to content
Snippets Groups Projects
Commit b83bb3f0 authored by Kenny Root's avatar Kenny Root
Browse files

Revert "ISSUE 6849488 Bluedroid stack, remove system/bluetooth."

This reverts commit b620dc60.

(cherry picked from commit 128db962)

Change-Id: I21227e6232c925a42597e5c8fc0fcc0585d7a876
parent 44374bc5
No related branches found
No related tags found
No related merge requests found
# bluetoothd - bluetooth daemon
type bluetoothd, domain;
type bluetoothd_exec, exec_type, file_type;
init_daemon_domain(bluetoothd)
allow bluetoothd self:capability { setuid net_raw net_bind_service net_admin };
allow bluetoothd self:socket *;
allow bluetoothd bluetoothd_data_file:dir create_dir_perms;
allow bluetoothd bluetoothd_data_file:file create_file_perms;
unix_socket_connect(bluetoothd, dbus, dbusd)
...@@ -41,6 +41,7 @@ type shell_data_file, file_type, data_file_type; ...@@ -41,6 +41,7 @@ type shell_data_file, file_type, data_file_type;
# /data/gps # /data/gps
type gps_data_file, file_type, data_file_type; type gps_data_file, file_type, data_file_type;
# /data/misc subdirectories # /data/misc subdirectories
type bluetoothd_data_file, file_type, data_file_type;
type bluetooth_data_file, file_type, data_file_type; type bluetooth_data_file, file_type, data_file_type;
type keystore_data_file, file_type, data_file_type; type keystore_data_file, file_type, data_file_type;
type vpn_data_file, file_type, data_file_type; type vpn_data_file, file_type, data_file_type;
......
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
/system/bin/installd u:object_r:installd_exec:s0 /system/bin/installd u:object_r:installd_exec:s0
/system/bin/keystore u:object_r:keystore_exec:s0 /system/bin/keystore u:object_r:keystore_exec:s0
/system/bin/debuggerd u:object_r:debuggerd_exec:s0 /system/bin/debuggerd u:object_r:debuggerd_exec:s0
/system/bin/bluetoothd u:object_r:bluetoothd_exec:s0
/system/bin/wpa_supplicant u:object_r:wpa_exec:s0 /system/bin/wpa_supplicant u:object_r:wpa_exec:s0
/system/bin/qemud u:object_r:qemud_exec:s0 /system/bin/qemud u:object_r:qemud_exec:s0
/system/bin/sdcard u:object_r:sdcardd_exec:s0 /system/bin/sdcard u:object_r:sdcardd_exec:s0
...@@ -124,6 +125,7 @@ ...@@ -124,6 +125,7 @@
/data/tombstones(/.*)? u:object_r:tombstone_data_file:s0 /data/tombstones(/.*)? u:object_r:tombstone_data_file:s0
/data/local(/.*)? u:object_r:shell_data_file:s0 /data/local(/.*)? u:object_r:shell_data_file:s0
# Misc data # Misc data
/data/misc/bluetoothd(/.*)? u:object_r:bluetoothd_data_file:s0
/data/misc/bluetooth(/.*)? u:object_r:bluetooth_data_file:s0 /data/misc/bluetooth(/.*)? u:object_r:bluetooth_data_file:s0
/data/misc/keystore(/.*)? u:object_r:keystore_data_file:s0 /data/misc/keystore(/.*)? u:object_r:keystore_data_file:s0
/data/misc/vpn(/.*)? u:object_r:vpn_data_file:s0 /data/misc/vpn(/.*)? u:object_r:vpn_data_file:s0
......
...@@ -106,6 +106,7 @@ unix_socket_connect(system, zygote, zygote) ...@@ -106,6 +106,7 @@ unix_socket_connect(system, zygote, zygote)
unix_socket_connect(system, keystore, keystore) unix_socket_connect(system, keystore, keystore)
unix_socket_connect(system, dbus, dbusd) unix_socket_connect(system, dbus, dbusd)
unix_socket_connect(system, gps, gpsd) unix_socket_connect(system, gps, gpsd)
unix_socket_connect(system, bluetooth, bluetoothd)
unix_socket_send(system, wpa, wpa) unix_socket_send(system, wpa, wpa)
# Communicate over a socket created by surfaceflinger. # Communicate over a socket created by surfaceflinger.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment