mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-02-01 05:34:34 +00:00
Initial redfin sepolicy
Bug: 139478768 Change-Id: I77fa87b91d0c6890b03f4225f366b86ef32d4798
This commit is contained in:
8
redfin-sepolicy.mk
Normal file
8
redfin-sepolicy.mk
Normal file
@@ -0,0 +1,8 @@
|
||||
ARD_PLAT_PUBLIC_SEPOLICY_DIR := device/google/redfin-sepolicy/public
|
||||
BOARD_PLAT_PRIVATE_SEPOLICY_DIR := device/google/redfin-sepolicy/private
|
||||
|
||||
# vendors
|
||||
BOARD_SEPOLICY_DIRS += device/google/redfin-sepolicy/vendor/google
|
||||
BOARD_SEPOLICY_DIRS += device/google/redfin-sepolicy/vendor/qcom/common
|
||||
BOARD_SEPOLICY_DIRS += device/google/redfin-sepolicy/vendor/qcom/sm7250
|
||||
|
||||
2
vendor/google/file.te
vendored
Normal file
2
vendor/google/file.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
type persist_default_file, file_type, vendor_persist_type;
|
||||
|
||||
1
vendor/qcom/common/attributes
vendored
Normal file
1
vendor/qcom/common/attributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
attribute vendor_persist_type;
|
||||
3
vendor/qcom/common/file.te
vendored
Normal file
3
vendor/qcom/common/file.te
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# used for /dsp files
|
||||
type adsprpcd_file, file_type, mlstrustedobject, vendor_file_type;
|
||||
|
||||
10
vendor/qcom/common/file_contexts
vendored
Normal file
10
vendor/qcom/common/file_contexts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
###################################
|
||||
# adsp files
|
||||
#
|
||||
/dsp(/.*)? u:object_r:adsprpcd_file:s0
|
||||
|
||||
###################################
|
||||
# persist files
|
||||
#
|
||||
/persist u:object_r:persist_default_file:s0
|
||||
|
||||
Reference in New Issue
Block a user