mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
modularize scd
Bug: 197914244 Test: boot with scd started Change-Id: If2c033e9aaf33b47f2fe5db3507fac052dcaef1a
This commit is contained in:
5
gps/file.te
Normal file
5
gps/file.te
Normal file
@@ -0,0 +1,5 @@
|
||||
type vendor_gps_file, file_type, data_file_type;
|
||||
userdebug_or_eng(`
|
||||
typeattribute vendor_gps_file mlstrustedobject;
|
||||
')
|
||||
|
||||
4
gps/file_contexts
Normal file
4
gps/file_contexts
Normal file
@@ -0,0 +1,4 @@
|
||||
# gnss/gps data/log files
|
||||
/data/vendor/gps(/.*)? u:object_r:vendor_gps_file:s0
|
||||
# vendor binaries
|
||||
/vendor/bin/hw/scd u:object_r:scd_exec:s0
|
||||
@@ -105,10 +105,6 @@ type vendor_camera_tuning_file, vendor_file_type, file_type;
|
||||
type vendor_camera_data_file, file_type, data_file_type;
|
||||
|
||||
# GPS
|
||||
type vendor_gps_file, file_type, data_file_type;
|
||||
userdebug_or_eng(`
|
||||
typeattribute vendor_gps_file mlstrustedobject;
|
||||
')
|
||||
type sysfs_gps, sysfs_type, fs_type;
|
||||
|
||||
# Display
|
||||
|
||||
@@ -114,19 +114,12 @@
|
||||
# Exynos Daemon Exec
|
||||
#
|
||||
/(vendor|system/vendor)/bin/cbd u:object_r:cbd_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/scd u:object_r:scd_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/gpsd u:object_r:gpsd_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/lhd u:object_r:lhd_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/rild_exynos u:object_r:rild_exec:s0
|
||||
/(vendor|system/vendor)/bin/rfsd u:object_r:rfsd_exec:s0
|
||||
/(vendor|system/vendor)/bin/bipchmgr u:object_r:bipchmgr_exec:s0
|
||||
|
||||
#
|
||||
# Exynos Data Files
|
||||
#
|
||||
# gnss/gps data/log files
|
||||
/data/vendor/gps(/.*)? u:object_r:vendor_gps_file:s0
|
||||
|
||||
#
|
||||
# Exynos Log Files
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user