Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy git-subtree-mainline:70dec708d5git-subtree-split:51a835795fChange-Id: Ia74f63cba3abf532d2dd8b9425d9bc19157f9ac3
This commit is contained in:
4
sepolicy/OWNERS
Normal file
4
sepolicy/OWNERS
Normal file
@@ -0,0 +1,4 @@
|
||||
include device/google/gs-common:/sepolicy/OWNERS
|
||||
|
||||
adamshih@google.com
|
||||
|
||||
3
sepolicy/cheetah-sepolicy.mk
Normal file
3
sepolicy/cheetah-sepolicy.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
# sepolicy that are shared among devices using whitechapel
|
||||
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/cheetah
|
||||
|
||||
2
sepolicy/cheetah/README.txt
Normal file
2
sepolicy/cheetah/README.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
This folder holds sepolicy exclusively for one device. For example, genfs_contexts
|
||||
paths that are affected by device tree.
|
||||
1
sepolicy/cheetah/cccdk_timesync_app.te
Normal file
1
sepolicy/cheetah/cccdk_timesync_app.te
Normal file
@@ -0,0 +1 @@
|
||||
allow vendor_cccdktimesync_app hal_bluetooth_coexistence_service:service_manager find;
|
||||
3
sepolicy/cheetah/file.te
Normal file
3
sepolicy/cheetah/file.te
Normal file
@@ -0,0 +1,3 @@
|
||||
# BT
|
||||
type vendor_bt_data_file, file_type, data_file_type;
|
||||
|
||||
6
sepolicy/cheetah/file_contexts
Normal file
6
sepolicy/cheetah/file_contexts
Normal file
@@ -0,0 +1,6 @@
|
||||
# Bluetooth
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||
|
||||
/data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0
|
||||
1
sepolicy/cheetah/grilservice_app.te
Normal file
1
sepolicy/cheetah/grilservice_app.te
Normal file
@@ -0,0 +1 @@
|
||||
allow grilservice_app hal_bluetooth_coexistence_service:service_manager find;
|
||||
3
sepolicy/cheetah/hal_bluetooth_btlinux.te
Normal file
3
sepolicy/cheetah/hal_bluetooth_btlinux.te
Normal file
@@ -0,0 +1,3 @@
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;
|
||||
|
||||
3
sepolicy/cloudripper-sepolicy.mk
Normal file
3
sepolicy/cloudripper-sepolicy.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
# sepolicy that are shared among devices using whitechapel
|
||||
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/cloudripper
|
||||
|
||||
2
sepolicy/cloudripper/README.txt
Normal file
2
sepolicy/cloudripper/README.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
This folder holds sepolicy exclusively for one device. For example, genfs_contexts
|
||||
paths that are affected by device tree.
|
||||
4
sepolicy/cloudripper/file_contexts
Normal file
4
sepolicy/cloudripper/file_contexts
Normal file
@@ -0,0 +1,4 @@
|
||||
# Bluetooth
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||
2
sepolicy/cloudripper/genfs_contexts
Normal file
2
sepolicy/cloudripper/genfs_contexts
Normal file
@@ -0,0 +1,2 @@
|
||||
# Haptics
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-8/8-0042 u:object_r:sysfs_vibrator:s0
|
||||
2
sepolicy/panther-sepolicy.mk
Normal file
2
sepolicy/panther-sepolicy.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
# sepolicy that are shared among devices using whitechapel
|
||||
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/panther
|
||||
2
sepolicy/panther/README.txt
Normal file
2
sepolicy/panther/README.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
This folder holds sepolicy exclusively for one device. For example, genfs_contexts
|
||||
paths that are affected by device tree.
|
||||
3
sepolicy/panther/file.te
Normal file
3
sepolicy/panther/file.te
Normal file
@@ -0,0 +1,3 @@
|
||||
# BT
|
||||
type vendor_bt_data_file, file_type, data_file_type;
|
||||
|
||||
6
sepolicy/panther/file_contexts
Normal file
6
sepolicy/panther/file_contexts
Normal file
@@ -0,0 +1,6 @@
|
||||
# Bluetooth
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||
|
||||
/data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0
|
||||
1
sepolicy/panther/grilservice_app.te
Normal file
1
sepolicy/panther/grilservice_app.te
Normal file
@@ -0,0 +1 @@
|
||||
allow grilservice_app hal_bluetooth_coexistence_service:service_manager find;
|
||||
3
sepolicy/panther/hal_bluetooth_btlinux.te
Normal file
3
sepolicy/panther/hal_bluetooth_btlinux.te
Normal file
@@ -0,0 +1,3 @@
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;
|
||||
|
||||
2
sepolicy/ravenclaw-sepolicy.mk
Normal file
2
sepolicy/ravenclaw-sepolicy.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
# sepolicy that are shared among devices using whitechapel
|
||||
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/ravenclaw
|
||||
2
sepolicy/ravenclaw/README.txt
Normal file
2
sepolicy/ravenclaw/README.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
This folder holds sepolicy exclusively for one device. For example, genfs_contexts
|
||||
paths that are affected by device tree.
|
||||
4
sepolicy/ravenclaw/file_contexts
Normal file
4
sepolicy/ravenclaw/file_contexts
Normal file
@@ -0,0 +1,4 @@
|
||||
# Bluetooth
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||
Reference in New Issue
Block a user