Remove rules for binary that is not on the device.

am: b67dd879d4

Change-Id: I807306965c316369775c1fe617dfd68903c3803b
This commit is contained in:
Joel Galenson
2018-10-08 17:55:36 -07:00
committed by android-build-merger
5 changed files with 0 additions and 35 deletions

View File

@@ -37,7 +37,6 @@ static const struct fs_path_config android_device_files[] = {
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE)
| (1ULL << CAP_BLOCK_SUSPEND), "vendor/bin/cnd" },
{ 00755, AID_SYSTEM, AID_RADIO, (1ULL << CAP_NET_BIND_SERVICE), "vendor/bin/ims_rtp_daemon" },
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_SYS_NICE) | (1ULL << CAP_BLOCK_SUSPEND), "vendor/bin/wcnss_filter" },
#ifdef NO_ANDROID_FILESYSTEM_CONFIG_DEVICE_DIRS
{ 00000, AID_ROOT, AID_ROOT, 0, "system/etc/fs_config_dirs" },
#endif

View File

@@ -771,12 +771,6 @@ on property:wc_transport.start_hci=true
on property:wc_transport.start_hci=false
stop vendor.hci_filter
service vendor.hci_filter /vendor/bin/wcnss_filter
class late_start
user bluetooth
group bluetooth diag system wakelock
disabled
service vendor.loc_launcher /vendor/bin/loc_launcher
class late_start
group gps inet diag wifi

View File

@@ -145,7 +145,6 @@
/vendor/bin/qti u:object_r:qti_exec:s0
/vendor/bin/ramdump u:object_r:ramdump_exec:s0
/vendor/bin/smlog_dump u:object_r:smlog_dump_exec:s0
/vendor/bin/wcnss_filter u:object_r:wcnss_filter_exec:s0
/vendor/bin/loc_launcher u:object_r:location_exec:s0
/vendor/bin/lowi-server u:object_r:location_exec:s0
/vendor/bin/xtra-daemon u:object_r:location_exec:s0

View File

@@ -1,7 +1,5 @@
allow hal_bluetooth_default bt_device:chr_file rw_file_perms;
allow hal_bluetooth_default wcnss_filter:unix_stream_socket connectto;
# talk to system_server to set priority
allow hal_bluetooth fwk_scheduler_hwservice:hwservice_manager find;
allow hal_bluetooth system_server:binder call;

View File

@@ -1,25 +0,0 @@
type wcnss_filter, domain;
type wcnss_filter_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(wcnss_filter)
set_prop(wcnss_filter, wc_prop)
set_prop(wcnss_filter, vendor_bluetooth_prop)
allow wcnss_filter hci_attach_dev:chr_file rw_file_perms;
userdebug_or_eng(`
allow wcnss_filter diag_device:chr_file rw_file_perms;
allow wcnss_filter ramdump_vendor_data_file:dir w_dir_perms;
allow wcnss_filter ramdump_vendor_data_file:file { create w_file_perms };
allow wcnss_filter sysfs_timestamp_switch:file r_file_perms;
r_dir_file(wcnss_filter, debugfs_ipc)
r_dir_file(wcnss_filter, sysfs_diag)
set_prop(wcnss_filter, vendor_ssr_prop)
')
#allow wakelock
wakelock_use(wcnss_filter)
# allow wcnss to set threads to RT priority
allow wcnss_filter self:capability sys_nice;