37eea61587
Change-Id: Ia21793576649e8518e79e4680e0b79b6a9331720
35 lines
1.8 KiB
Text
35 lines
1.8 KiB
Text
allow batterysecret rootfs:dir write;
|
|
allow batterysecret self:capability sys_tty_config;
|
|
allow batterysecret self:capability sys_boot;
|
|
allow batterysecret self:capability { chown fsetid };
|
|
allow batterysecret self:netlink_kobject_uevent_socket { bind create read setopt };
|
|
allow batterysecret self:capability2 block_suspend;
|
|
allow batterysecret self:cap2_userns block_suspend;
|
|
allow batterysecret sysfs_wake_lock:file rw_file_perms;
|
|
allow batterysecret vendor_sysfs_battery_supply:file rw_file_perms;
|
|
allow batterysecret vendor_sysfs_battery_supply:dir r_dir_perms;
|
|
allow batterysecret vendor_sysfs_qcom_battery:file rw_file_perms;
|
|
allow batterysecret vendor_sysfs_qcom_battery:file write;
|
|
allow batterysecret vendor_sysfs_qcom_battery:file { open read write };
|
|
allow batterysecret vendor_sysfs_qcom_battery:dir r_dir_perms;
|
|
allow batterysecret system_suspend_server:binder { call transfer };
|
|
allow batterysecret system_suspend_server:fd *;
|
|
allow batterysecret system_suspend_hwservice:hwservice_manager find;
|
|
allow batterysecret hidl_manager_hwservice:hwservice_manager find;
|
|
allow batterysecret sysfs:file write;
|
|
allow batterysecret sysfs_usb:file w_file_perms;
|
|
allow batterysecret vendor_sysfs_usb_supply:file write;
|
|
allow batterysecret sysfs_batteryinfo:file r_file_perms;
|
|
allow batterysecret kmsg_device:chr_file rw_file_perms;
|
|
allow batterysecret mnt_vendor_file:dir rw_dir_perms;
|
|
init_daemon_domain(batterysecret)
|
|
r_dir_file(batterysecret, sysfs_type)
|
|
r_dir_file(batterysecret, rootfs)
|
|
r_dir_file(batterysecret, cgroup)
|
|
r_dir_file(batterysecret, vendor_sysfs_usb_supply)
|
|
get_prop(batterysecret, hwservicemanager_prop)
|
|
get_prop(batterysecret, vendor_default_prop)
|
|
set_prop(batterysecret, vendor_system_prop)
|
|
hwbinder_use(batterysecret)
|
|
type batterysecret, domain;
|
|
type batterysecret_exec, exec_type, vendor_file_type, file_type;
|