-allow crash_dump hwservicemanager_prop:file { getattr open };
-allow crash_dump exported_camera_prop:file { getattr open };
+get_prop(crash_dump, hwservicemanager_prop)
+get_prop(crash_dump, exported_camera_prop)
+
allow crash_dump app_data_file:file read;
allow hal_audio_default imei_efs_file:dir search;
allow hal_audio_default imei_efs_file:file r_file_perms;
-allow hal_audio_default vendor_radio_prop:file { getattr open read };
+
+get_prop(hal_audio_default, vendor_radio_prop)
allow hal_audio_default init:unix_stream_socket connectto;
allow hal_camera_default sysfs_virtual:file rw_file_perms;
allow hal_camera_default sysfs_camera:dir search;
allow hal_camera_default sysfs_camera:file rw_file_perms;
-allow hal_camera_default exported_camera_prop:file { getattr open read };
allow hal_camera_default camera_data_file:dir search;
+get_prop(hal_camera_default, exported_camera_prop)
+
binder_call(hal_camera_default, system_server)
binder_call(system_server, hal_camera_default)
-allow hal_keymaster_default tee_prop:file { getattr open read };
+get_prop(hal_keymaster_default, tee_prop)
allow hal_vibrator_default sysfs_virtual:dir search;
-allow hal_vibrator_default sysfs_virtual:file { open write getattr };
+allow hal_vibrator_default sysfs_virtual:file rw_file_perms;
allow hal_wifi_hostapd_default sysfs_virtual:dir search;
-allow hal_wifi_hostapd_default sysfs_virtual:lnk_file { read getattr };
+allow hal_wifi_hostapd_default sysfs_virtual:lnk_file r_file_perms;
type vendor_camera_prop, property_type;
type vendor_factory_prop, property_type;
type vendor_gps_prop, property_type;
-type vendor_nfc_prop, property_type;
\ No newline at end of file
+type vendor_nfc_prop, property_type;
allow system_server debugfs_mali_mem:file r_file_perms;
allow system_server frp_block_device:blk_file rw_file_perms;
-allow system_server vendor_radio_prop:file { getattr open read };
+
+get_prop(system_server, vendor_radio_prop)