LG8n: sepolicy: Fix definition for storage_dbg_data_file

This commit is contained in:
neroices 2024-04-23 20:55:31 +07:00 committed by xoo2001
parent 2bf82df18d
commit e3c051f79e
2 changed files with 1 additions and 2 deletions

View file

@ -6,7 +6,7 @@ type vendor_arcsoft_data_file, file_type, data_file_type, mlstrustedobject;
type vendor_megvii_data_file, file_type, data_file_type, mlstrustedobject; type vendor_megvii_data_file, file_type, data_file_type, mlstrustedobject;
# Data # Data
type storage_dbg_data_file, file_type, data_file_type; type storage_dbg_data_file, file_type, core_data_file_type, data_file_type;
# Fingerprint # Fingerprint
type sysfs_fp_name_path, fs_type, sysfs_type; type sysfs_fp_name_path, fs_type, sysfs_type;

View file

@ -1,6 +1,5 @@
allow vendor_init cgroup:file rw_file_perms; allow vendor_init cgroup:file rw_file_perms;
allow vendor_init proc:file write; allow vendor_init proc:file write;
allow vendor_init storage_dbg_data_file:dir create_dir_perms;
set_prop(vendor_init, vendor_mtk_camera_prop) set_prop(vendor_init, vendor_mtk_camera_prop)
get_prop(vendor_init, vts_status_prop) get_prop(vendor_init, vts_status_prop)