diff --git a/OWNERS b/OWNERS index e174eda..a24d5fb 100644 --- a/OWNERS +++ b/OWNERS @@ -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.