Merge "sepolicy: fix fingerprint sepolicy" into sc-dev am: 96ed3bb51c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14207375 Change-Id: Id443be6287e001621a2d801aebbc75bf3122c7b4
This commit is contained in:
commit
24cbff3fd4
3 changed files with 8 additions and 0 deletions
3
whitechapel/vendor/google/file.te
vendored
3
whitechapel/vendor/google/file.te
vendored
|
@ -58,6 +58,9 @@ type sensor_vendor_data_file, file_type, data_file_type, mlstrustedobject;
|
||||||
type sensors_cal_file, file_type;
|
type sensors_cal_file, file_type;
|
||||||
type sysfs_nanoapp_cmd, sysfs_type, fs_type;
|
type sysfs_nanoapp_cmd, sysfs_type, fs_type;
|
||||||
|
|
||||||
|
# Fingerprint
|
||||||
|
type sysfs_fingerprint, sysfs_type, fs_type;
|
||||||
|
|
||||||
# CHRE
|
# CHRE
|
||||||
type chre_socket, file_type;
|
type chre_socket, file_type;
|
||||||
|
|
||||||
|
|
3
whitechapel/vendor/google/genfs_contexts
vendored
3
whitechapel/vendor/google/genfs_contexts
vendored
|
@ -66,6 +66,9 @@ genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/4-0043 u:object
|
||||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/5-0042 u:object_r:sysfs_vibrator:s0
|
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/5-0042 u:object_r:sysfs_vibrator:s0
|
||||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/5-0043 u:object_r:sysfs_vibrator:s0
|
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/5-0043 u:object_r:sysfs_vibrator:s0
|
||||||
|
|
||||||
|
# Fingerprint
|
||||||
|
genfscon sysfs /devices/platform/odm/odm:fp_fpc1020 u:object_r:sysfs_fingerprint:s0
|
||||||
|
|
||||||
# System_suspend
|
# System_suspend
|
||||||
genfscon sysfs /devices/platform/10d50000.hsi2c/i2c-5/5-0069/power_supply/main-charger/wakeup u:object_r:sysfs_wakeup:s0
|
genfscon sysfs /devices/platform/10d50000.hsi2c/i2c-5/5-0069/power_supply/main-charger/wakeup u:object_r:sysfs_wakeup:s0
|
||||||
genfscon sysfs /devices/platform/cpif/wakeup/wakeup u:object_r:sysfs_wakeup:s0
|
genfscon sysfs /devices/platform/cpif/wakeup/wakeup u:object_r:sysfs_wakeup:s0
|
||||||
|
|
|
@ -4,5 +4,7 @@ allow hal_fingerprint_default sysfs_batteryinfo:file r_file_perms;
|
||||||
allow hal_fingerprint_default sysfs_batteryinfo:dir search;
|
allow hal_fingerprint_default sysfs_batteryinfo:dir search;
|
||||||
allow hal_fingerprint_default self:netlink_socket create_socket_perms_no_ioctl;
|
allow hal_fingerprint_default self:netlink_socket create_socket_perms_no_ioctl;
|
||||||
allow hal_fingerprint_default dmabuf_system_heap_device:chr_file r_file_perms;
|
allow hal_fingerprint_default dmabuf_system_heap_device:chr_file r_file_perms;
|
||||||
|
allow hal_fingerprint_default sysfs_fingerprint:dir r_dir_perms;
|
||||||
|
allow hal_fingerprint_default sysfs_fingerprint:file rw_file_perms;
|
||||||
get_prop(hal_fingerprint_default, fingerprint_ghbm_prop)
|
get_prop(hal_fingerprint_default, fingerprint_ghbm_prop)
|
||||||
add_hwservice(hal_fingerprint_default, hal_fingerprint_ext_hwservice)
|
add_hwservice(hal_fingerprint_default, hal_fingerprint_ext_hwservice)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue