Adam Shih
54a353165c
introduce a new sepolicy owner
...
Bug: 281631102
Test: N/A
Change-Id: Iee0db5d439442fe7c689aaecfa214ea90dbe76b4
2023-05-12 02:07:52 +00:00
Xin Li
0d7095c52c
Merge Android 13 QPR2
...
Bug: 273316506
Merged-In: I64fa53bef8a88b219ddb154dc919a1313f4e9db7
Change-Id: I624327421abda5f85d2691cd4add0a482dedfa5d
2023-03-13 23:09:31 -07:00
Tai Kuo
bfd77dc818
Revert "[DO NOT MERGE] device/sepolicy: Add sepolicy for vibrator hal"
...
This reverts commit 5e8ab96efb
.
Bug: 198239103
Test: build pass on git_tm-qpr-dev-plus-aosp
Test: build pass on git_stage-aosp-master
Change-Id: I64fa53bef8a88b219ddb154dc919a1313f4e9db7
2023-02-16 15:51:16 +00:00
Xin Li
b10fc8c2e3
Merge tm-qpr-dev-plus-aosp-without-vendor@9467136
...
Bug: 264720040
Merged-In: I1f38a069c06c5cc142236aed9cb34eede77c0315
Change-Id: I0aefd4642b09a693aae95954c85b449600c6d2b8
2023-01-11 22:46:17 -08:00
Adam Shih
107ffabd93
[automerger skipped] update error on ROM am: a04a8b591a
am: f833e992b0
-s ours
...
am skip reason: skipped by user adamshih
Original change: https://android-review.googlesource.com/c/device/google/bluejay-sepolicy/+/2375570
Change-Id: I5f8708f1df804b7fffdfa77d12017d3f94a0ceae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 06:14:16 +00:00
Adam Shih
f833e992b0
update error on ROM am: a04a8b591a
...
Original change: https://android-review.googlesource.com/c/device/google/bluejay-sepolicy/+/2375570
Change-Id: Ica155a7b656bc581c1679e97419d78d23ee77e4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 04:52:12 +00:00
Adam Shih
a04a8b591a
update error on ROM
...
Bug: 242203678
Test: pass boot test
Change-Id: If456b357feb84ca5f57a38d4768f1340929306d4
Merged-In: I3352cebe4fcfdf537e64fbcb78f146afd8bc3b80
2023-01-06 02:45:14 +00:00
Chris Paulo
c167a8851f
[DO NOT MERGE] device/sepolicy: Add sepolicy for vibrator hal am: 5e8ab96efb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay-sepolicy/+/19778819
Change-Id: I0f7d36ae379aa3236c00cbdc2b71929f14bc46d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 09:15:10 +00:00
Chris Paulo
5e8ab96efb
[DO NOT MERGE] device/sepolicy: Add sepolicy for vibrator hal
...
Added sepolicy for vibrator hal specific to device
uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { read } for property=vibrator.adaptive_haptics.enabled pid=0 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1'
avc: denied { open } for comm="odrefresh" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:odrefresh:s0 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1
avc: denied { getattr } for comm="odrefresh" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:odrefresh:s0 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1
avc: denied { map } for comm="odrefresh" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:odrefresh:s0 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1
avc: denied { write } for comm="android.hardwar" name="chre" dev="tmpfs" ino=1094 scontext=u:r:hal_vibrator_default:s0 tcontext=u:object_r:chre_socket:s0 tclass=sock_file permissive=1
avc: denied { connectto } for comm="android.hardwar" path="/dev/socket/chre" scontext=u:r:hal_vibrator_default:s0 tcontext=u:r:chre:s0 tclass=unix_stream_socket permissive=1
avc: denied { open } for comm="binder:8084_3" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1 app=com.google.android.gms
avc: denied { getattr } for comm="binder:8084_3" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1 app=com.google.android.gms
Bug: 198239103
Test: Verified functionality
Signed-off-by: Chris Paulo <chrispaulo@google.com>
Change-Id: I1f38a069c06c5cc142236aed9cb34eede77c0315
2022-11-17 00:12:25 +00:00
chungkai
4a24496e12
genfs_contexts: fix path for i2c peripheral device am: 97bad77bfa
am: 6f9019ea18
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay-sepolicy/+/17750773
Change-Id: I099b490471488923f2f5504b92157da3172381c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 06:48:30 +00:00
chungkai
6f9019ea18
genfs_contexts: fix path for i2c peripheral device am: 97bad77bfa
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay-sepolicy/+/17750773
Change-Id: I8cba65caf81d7423b0af63ad2ce9c4a9e40c5c46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 06:25:14 +00:00
chungkai
97bad77bfa
genfs_contexts: fix path for i2c peripheral device
...
paths are changed when we enable parallel module loading and
reorder the initializtaion of devices.
Test: without avc denial on B3 when booting
Bug: 22754176
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I5153ec42d996390ae8167c67f35402afe65105cd
2022-04-14 04:00:32 +00:00
chungkai
0ac0af713c
genfs_contexts: fix path for i2c peripheral device am: 97b7cebd49
am: 200a0d6898
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay-sepolicy/+/17517664
Change-Id: I007112a35f69c82dc2ae0cd1dbdab0b51f2814d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:52:22 +00:00
chungkai
200a0d6898
genfs_contexts: fix path for i2c peripheral device am: 97b7cebd49
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay-sepolicy/+/17517664
Change-Id: I2e79645c6a70b76be20cbab02bdd07afc9cc7c8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:30:59 +00:00
chungkai
97b7cebd49
genfs_contexts: fix path for i2c peripheral device
...
paths are changed when we enable parallel module loading and
reorder the initializtaion of devices.
Test: without avc denial on B3 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I38c8baaa221e7552d2cdabe2169e937ec0d548ea
2022-03-31 09:08:39 +00:00
Tai Kuo
a3e65a0674
Remove CS40L26 common rules
...
Bug: 220651401
Test: full build.
Test: Check normal and audio-coupled haptics function
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I4b87df352a066e50d1dd5e23b7b0cb06216fc78b
2022-02-21 16:42:27 +08:00
Joel Galenson
78579f4243
Include core policy OWNERS
...
Test: None
Change-Id: Ie4d25275e7f390ce6b44ddae53a8cce3c50ca9c1
2021-12-21 07:39:20 -08:00
Robin Peng
2add9de1f5
Move bluejay source code into bluejay device folders am: ad04f387e5
am: d0fbb7d25f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay-sepolicy/+/16273840
Change-Id: I8971229b2ee23e355eb52a7626bd7a5bd6fc2f0d
2021-11-22 08:54:01 +00:00
Robin Peng
d0fbb7d25f
Move bluejay source code into bluejay device folders am: ad04f387e5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay-sepolicy/+/16273840
Change-Id: Id7c1b87b1a18ec4a5e6fd7802efbe7315ec0d300
2021-11-22 08:27:50 +00:00
Robin Peng
ad04f387e5
Move bluejay source code into bluejay device folders
...
from: 9419ce002ef9160ace967918f3568c88b5731d0f
Bug: 206553389
Change-Id: If4e8b2b04ecc6804b20ef7eebadcea565eb7c3e2
2021-11-16 22:06:17 +08:00
Roman Yepishev
3e87f7351a
Initial empty repository
2021-11-15 23:23:19 +00:00