Skip to content
Snippets Groups Projects
Commit 6f700ae5 authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

Disallow HAL access to Bluetooth data files

am: 02d9d21d

Change-Id: I29861f9cc52001f2968c2313f48031dd01afe8c7
parents eaa5e298 02d9d21d
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,6 @@ r_dir_file(hal_bluetooth, bluetooth_efs_file)
allow hal_bluetooth { uhid_device hci_attach_dev }:chr_file rw_file_perms;
# Access to config files to look for a Bluetooth address
r_dir_file(hal_bluetooth, bluetooth_data_file)
# sysfs access.
r_dir_file(hal_bluetooth, sysfs_type)
allow hal_bluetooth sysfs_bluetooth_writable:file rw_file_perms;
......
......@@ -3,7 +3,3 @@ hal_server_domain(hal_bluetooth_default, hal_bluetooth)
type hal_bluetooth_default_exec, exec_type, file_type;
init_daemon_domain(hal_bluetooth_default)
# Logging for backward compatibility
allow hal_bluetooth_default bluetooth_data_file:dir ra_dir_perms;
allow hal_bluetooth_default bluetooth_data_file:file create_file_perms;
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