summaryrefslogtreecommitdiff
path: root/sepolicy/whitechapel/vendor/google/hal_wlc.te
blob: 891853c9e929c10931e46a3761240926d07cbc89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)

r_dir_file(hal_wlc, sysfs_batteryinfo)
allow hal_wlc sysfs_wlc:dir r_dir_perms;
allow hal_wlc sysfs_wlc:file rw_file_perms;

allow hal_wlc self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;

binder_call(hal_wlc, platform_app)
binder_call(hal_wlc, system_app)