Alex Hong 3cc69f3a92
sm6250-common: sepolicy: Solve the naming problem for vendor property
Bug: 158720266
Test: Build selinux modules successfully
Change-Id: I01a83a7828d34db982db60bbf307c81fc12c7939
2022-01-02 05:35:31 +00:00

18 lines
519 B
Plaintext

set_prop(vendor_init, vendor_power_prop)
set_prop(vendor_init, vendor_alarm_boot_prop)
set_prop(vendor_init, vendor_video_prop)
allow vendor_init {
vendor_debugfs_clk
proc_dirty
proc
}:file w_file_perms;
allow vendor_init block_device:lnk_file setattr;
allow vendor_init vendor_camera_prop:property_service set;
allow vendor_init input_device:chr_file { create setattr unlink rw_file_perms };
allow vendor_init thermal_link_device:dir r_dir_perms;
allow vendor_init thermal_link_device:lnk_file r_file_perms;