diff options
author | Cyan_Hsieh <cyanhsieh@google.com> | 2021-11-25 16:18:00 +0800 |
---|---|---|
committer | Cyan_Hsieh <cyanhsieh@google.com> | 2021-11-25 19:50:49 +0800 |
commit | 6247d6dc1277166dbd96b357dfb697e7007870ac (patch) | |
tree | 1ac05b3d85b35390248937e49e40f9e85e2db915 | |
parent | 7aac69af6562827ec0b6fa4cccce781bf1cf5457 (diff) | |
download | pantah-sepolicy-6247d6dc1277166dbd96b357dfb697e7007870ac.tar.gz |
Initialize device folder
from: cd524bc73a1b90489bfe4206343306739ff6ff74
with updated device path
Bug: 198128551
Change-Id: I9ad28786439cfef5b592e3b9614e00ec416abde0
-rw-r--r-- | OWNERS | 13 | ||||
-rw-r--r-- | cheetah-sepolicy.mk | 3 | ||||
-rw-r--r-- | cheetah/README.txt | 2 | ||||
-rw-r--r-- | cloudripper-sepolicy.mk | 3 | ||||
-rw-r--r-- | cloudripper/README.txt | 2 | ||||
-rw-r--r-- | cloudripper/file_contexts | 3 | ||||
-rw-r--r-- | cloudripper/hal_vibrator_default.te | 7 | ||||
-rw-r--r-- | panther-sepolicy.mk | 2 | ||||
-rw-r--r-- | panther/README.txt | 2 | ||||
-rw-r--r-- | ravenclaw-sepolicy.mk | 2 | ||||
-rw-r--r-- | ravenclaw/README.txt | 2 |
11 files changed, 39 insertions, 2 deletions
@@ -1,2 +1,11 @@ -cyanhsieh@google.com -aaronding@google.com +adamshih@google.com +alanstokes@google.com +bowgotsai@google.com +jbires@google.com +jeffv@google.com +jgalenson@google.com +jiyong@google.com +rurumihong@google.com +sspatil@google.com +smoreland@google.com +trong@google.com diff --git a/cheetah-sepolicy.mk b/cheetah-sepolicy.mk new file mode 100644 index 0000000..650b3af --- /dev/null +++ b/cheetah-sepolicy.mk @@ -0,0 +1,3 @@ +# sepolicy that are shared among devices using whitechapel +BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/cheetah + diff --git a/cheetah/README.txt b/cheetah/README.txt new file mode 100644 index 0000000..67a320f --- /dev/null +++ b/cheetah/README.txt @@ -0,0 +1,2 @@ +This folder holds sepolicy exclusively for one device. For example, genfs_contexts +paths that are affected by device tree. diff --git a/cloudripper-sepolicy.mk b/cloudripper-sepolicy.mk new file mode 100644 index 0000000..98a403c --- /dev/null +++ b/cloudripper-sepolicy.mk @@ -0,0 +1,3 @@ +# sepolicy that are shared among devices using whitechapel +BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/cloudripper + diff --git a/cloudripper/README.txt b/cloudripper/README.txt new file mode 100644 index 0000000..67a320f --- /dev/null +++ b/cloudripper/README.txt @@ -0,0 +1,2 @@ +This folder holds sepolicy exclusively for one device. For example, genfs_contexts +paths that are affected by device tree. diff --git a/cloudripper/file_contexts b/cloudripper/file_contexts new file mode 100644 index 0000000..751c7d2 --- /dev/null +++ b/cloudripper/file_contexts @@ -0,0 +1,3 @@ +# Haptics +/dev/snd/pcmC0D24p u:object_r:vibrator_snd_device:s0 +/dev/snd/pcmC1D24p u:object_r:vibrator_snd_device:s0 diff --git a/cloudripper/hal_vibrator_default.te b/cloudripper/hal_vibrator_default.te new file mode 100644 index 0000000..b5db3f2 --- /dev/null +++ b/cloudripper/hal_vibrator_default.te @@ -0,0 +1,7 @@ +# Haptics +allow hal_vibrator_default input_device:dir r_dir_perms; +allow hal_vibrator_default vibrator_snd_device:chr_file rw_file_perms; +allow hal_vibrator_default vibrator_snd_device:dir search; +allow hal_vibrator_default audio_device:dir search; +allow hal_vibrator_default proc_asound:dir search; +allow hal_vibrator_default proc_asound:file r_file_perms; diff --git a/panther-sepolicy.mk b/panther-sepolicy.mk new file mode 100644 index 0000000..bdfe7db --- /dev/null +++ b/panther-sepolicy.mk @@ -0,0 +1,2 @@ +# sepolicy that are shared among devices using whitechapel +BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/panther diff --git a/panther/README.txt b/panther/README.txt new file mode 100644 index 0000000..67a320f --- /dev/null +++ b/panther/README.txt @@ -0,0 +1,2 @@ +This folder holds sepolicy exclusively for one device. For example, genfs_contexts +paths that are affected by device tree. diff --git a/ravenclaw-sepolicy.mk b/ravenclaw-sepolicy.mk new file mode 100644 index 0000000..d41bbae --- /dev/null +++ b/ravenclaw-sepolicy.mk @@ -0,0 +1,2 @@ +# sepolicy that are shared among devices using whitechapel +BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/ravenclaw diff --git a/ravenclaw/README.txt b/ravenclaw/README.txt new file mode 100644 index 0000000..67a320f --- /dev/null +++ b/ravenclaw/README.txt @@ -0,0 +1,2 @@ +This folder holds sepolicy exclusively for one device. For example, genfs_contexts +paths that are affected by device tree. |