summaryrefslogtreecommitdiff
path: root/vendor/google/hal_wlc.te
blob: 0339bbe8b92594fcc4586d7d256497fa60988d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
type hal_wlc, domain;
type hal_wlc_exec, exec_type, vendor_file_type, file_type;

init_daemon_domain(hal_wlc)

hwbinder_use(hal_wlc)
add_hwservice(hal_wlc, hal_wlc_hwservice)
get_prop(hal_wlc, hwservicemanager_prop)

# Allow access to /sys/class/power_supply/wireless
r_dir_file(hal_wlc, sysfs_batteryinfo)

allow hal_wlc self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;