+++ /dev/null
-get_prop(audioserver, vendor_default_prop)
type tee_firmload_exec, exec_type, vendor_file_type, file_type;
-type vendor_kernel_modules, vendor_file_type, file_type;
type vendor_mediadrm_vendor_data_file, file_type, data_file_type;
allow hal_bluetooth_default hci_attach_dev:file rw_file_perms;
allow hal_bluetooth_default sysfs_bluetooth_writable:file rw_file_perms;
-get_prop(hal_bluetooth_default, vendor_bluetooth_prop)
-
# This is a neverallow (somehow), but Bluetooth functions all work without it
dontaudit hal_bluetooth_default self:udp_socket create;
-type hal_oemlock_default, domain;
-type hal_oemlock_default_exec, exec_type, vendor_file_type, file_type;
-
-hal_server_domain(hal_oemlock_default, hal_oemlock)
-
-init_daemon_domain(hal_oemlock_default)
-
allow hal_oemlock_default systemcontrol_hwservice:hwservice_manager find;
-
allow hal_oemlock_default system_control:binder call;
+++ /dev/null
-allow priv_app cgroup_bpf:dir search;
-type tee_prop, property_type;
+vendor_internal_prop(vendor_bluetooth_prop);
+vendor_internal_prop(vendor_dolby_prop);
+vendor_internal_prop(vendor_boot_prop);
+vendor_internal_prop(vendor_display_prop);
+vendor_internal_prop(vendor_wifi_prop);
-type vendor_bluetooth_prop, property_type;
-type vendor_dolby_prop, property_type;
-type vendor_boot_prop, property_type;
-type vendor_display_prop, property_type;
-type vendor_hdmi_prop, property_type;
-type vendor_vold_prop, property_type;
-type vendor_wifi_prop, property_type;
+vendor_public_prop(vendor_hdmi_prop);
-init.svc.tee_supplicant u:object_r:tee_prop:s0
-
ro.boot.oem.locales u:object_r:vendor_boot_prop:s0
-ro.crypto.fuse_sdcard u:object_r:vendor_vold_prop:s0
-ro.rfkilldisabled u:object_r:vendor_bluetooth_prop:s0
-
-ro.vendor.hdmi.auto_otp u:object_r:exported3_default_prop:s0
persist.vendor.sys.cec.logicaladdress u:object_r:vendor_hdmi_prop:s0
persist.vendor.sys.hdr.state u:object_r:vendor_hdmi_prop:s0
allow system_control system_control:netlink_kobject_uevent_socket { bind create read setopt };
get_prop(system_control, hwservicemanager_prop)
-get_prop(system_control, vendor_bluetooth_prop)
set_prop(system_control, ctl_stop_prop)
set_prop(system_control, vendor_boot_prop)
set_prop(system_control, vendor_display_prop)
-allow vendor_init display_device:file setattr;
allow vendor_init graphics_device:file setattr;
allow vendor_init proc_vm_writable:file rw_file_perms;
allow vendor_init sysfs_graphics_device:file setattr;
allow vendor_init self:capability sys_module;
allow vendor_init vendor_file:system module_load;
-get_prop(vendor_init, tee_prop)
-set_prop(vendor_init, tee_prop)
-set_prop(vendor_init, vendor_boot_prop)
-set_prop(vendor_init, vendor_vold_prop)
+set_prop(vendor_init, vendor_boot_prop)