sm8150-common: sepolicy: Pull bunch of sysfs_oem labels
Change-Id: Id5b7bbe193fdf4a33fa3761a38a076f559e23495
This commit is contained in:
parent
dece939a53
commit
e926e32acb
|
@ -1,2 +1,8 @@
|
|||
# rootfs
|
||||
type op1_file, file_type;
|
||||
type op2_file, file_type;
|
||||
|
||||
# sysfs
|
||||
type sysfs_fpc, sysfs_type, fs_type;
|
||||
type sysfs_motor, sysfs_type, fs_type;
|
||||
type sysfs_project_info, sysfs_type, fs_type;
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
/op1(/.*)? u:object_r:op1_file:s0
|
||||
/op2(/.*)? u:object_r:op2_file:s0
|
||||
|
||||
# Files in sysfs
|
||||
/sys/devices/platform/soc/soc:fingerprint_detect/sensor_version u:object_r:sysfs_fpc:s0
|
||||
/sys/devices/platform/vendor/vendor:motor_pl(/.*)? u:object_r:sysfs_motor:s0
|
||||
/sys/elliptic/engine/calibration_v2 u:object_r:sysfs_audio:s0
|
||||
/sys/project_info(/.*)? u:object_r:sysfs_project_info:s0
|
||||
|
||||
# Binaries
|
||||
/(vendor|system/vendor)/bin/bt-mac-generator u:object_r:bt_mac_generator_exec:s0
|
||||
/(vendor|system/vendor)/bin/vl53l1_daemon_main u:object_r:vl53l1_daemon_main_exec:s0
|
||||
|
|
Loading…
Reference in New Issue