Commit graph

107 commits

Author SHA1 Message Date
Treehugger Robot
8d6c7dea5d Merge "Move bootanim to vendor" into main 2023-12-06 06:10:51 +00:00
Wilson Sung
94fa60cc47 Move bootanim to vendor
Bug: 312143882
Test: make selinux_policy
Change-Id: I194dedde82f7980520b0d5f01a2820f612365e1c
2023-12-05 07:23:46 +00:00
Wilson Sung
c7973bf59a Move uwb service to vendor
Bug: 312143882
Test: make selinux_policy
Change-Id: I6266383542ab6a6db6cdcd6891e79aae6f6beb41
2023-12-05 03:16:18 +00:00
Jason Chiu
4d6d0adb8f zumapro: move sepolicy related to bootctrl hal to gs-common
Bug: 265063384
Change-Id: I0eaa0b798f46a32404c8d7d797b5aeceb12326a0
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 01:35:46 +08:00
Wilson Sung
4b30393e1a Move hal_input_processor_default to vendor
Bug: 312143882
Bug: 273163412
Test: make selinux_policy
Change-Id: Ie130e123a79c8d3cab71dbabbfb82c287b93b425
2023-12-01 03:19:30 +00:00
Treehugger Robot
d1e65d3c84 Merge "Move service_contexts to vendor and tracking_denials" into main 2023-11-30 23:24:12 +00:00
Treehugger Robot
6825c00c06 Merge "Move legacy property.te to vendor and tracking_denials" into main 2023-11-30 23:22:54 +00:00
Treehugger Robot
2e4848d6a8 Merge "Move Exynos.HWCService to vendor/" into main 2023-11-30 23:22:54 +00:00
Treehugger Robot
f86a7057ef Merge "Move legacy property_contexts to vendor and tracking_denials" into main 2023-11-30 23:22:12 +00:00
Luis Delgado de Mendoza
2c24437cb1 Add necessary entries in genfs for the new BT channel.
Bug: 308452948
Test: Validated locally on husky.
Change-Id: I9d6f31e856cf4290ff4fd880f115234eb3ed019c
2023-11-30 09:41:29 -08:00
Wilson Sung
4e44355a8d Move service_contexts to vendor and tracking_denials
Bug: 312143882
Bug: 314080507
Test: make selinux_policy
Change-Id: Ia8474dc880c912b9a3db4401551a3eeed280bb47
2023-11-30 09:57:15 +00:00
Wilson Sung
994ec8c478 Move Exynos.HWCService to vendor/
Bug: 312143882
Test: make selinux_policy
Change-Id: I2b33d160ee7cbd169e044308a9fc4c5eda19e6b3
2023-11-30 09:39:12 +00:00
Wilson Sung
1f829bd3f9 Move legacy property.te to vendor and tracking_denials
Bug: 312143882
Bug: 314065301
Test: make selinux_policy
Change-Id: I1e414cb04b71bf9aa47f8b60a78aad220bdf21b6
2023-11-30 09:11:00 +00:00
Wilson Sung
c467c70f33 Move legacy property_contexts to vendor and tracking_denials
Bug: 312143882
Bug: 314065298
Test: make selinux_policy
Change-Id: Ica7bbd24df3959af917896dbdc43d352e33add43
2023-11-30 08:48:52 +00:00
Treehugger Robot
dde9116594 Merge "Move legacy genfs_contexts to vendor" into main 2023-11-30 07:33:04 +00:00
Wilson Sung
e531406f68 Move legacy file.te to vendor and tracking_denials
Bug: 312143882
Bug: 314035704
Test: make selinux_policy
Change-Id: Ibf5ac4c3e06bb2f5aab44e59073156181ab0b5a1
2023-11-30 05:07:58 +00:00
Wilson Sung
4ab2964a03 Move legacy genfs_contexts to vendor
Bug: 312143882
Bug: 314036370
Test: make selinux_policy
Change-Id: I5846fb7b26eee3ddc7c7ac67f6b60f4357ec3608
2023-11-30 05:05:48 +00:00
Guibing Cai
ab0537780c Merge "zumapro: sepolicy: update ospm selinux settings." into main 2023-11-29 18:10:38 +00:00
Treehugger Robot
a47912cabc Merge "trusty: Fix selinux denials for block devices" into main 2023-11-29 02:37:08 +00:00
Alec Foster
4d742a4ced Merge "Revert^2 "Add IQfpExtendedFingerprint to service_contexts."" into main 2023-11-28 18:14:33 +00:00
Donnie Pollitz
662dc87e32 trusty: Fix selinux denials for block devices
Bug: 312894027
Test: Confirmed avc denial is gone on boot
Change-Id: Iaa87cdef24214a2b6f6eba2af917c03bbbb4bfb5
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-11-28 09:20:41 +01:00
guibing
6c797e281a zumapro: sepolicy: update ospm selinux settings.
Use the similar setting from zuma: ag/23270943 and ag/22980665

Bug: 300516041
Test: Power hal works without related avc errors.
Change-Id: I45fb13299f153f0f472e21f54af393147c7fbd7c
2023-11-28 00:36:38 +00:00
Alec Foster
c659e9d5c7 Revert^2 "Add IQfpExtendedFingerprint to service_contexts."
8eb45bceb6
Bug: 313504369

Change-Id: I978eb6434d959412548d6bd6d59985374e29674f
2023-11-27 22:29:06 +00:00
Kamal Shafi
83f48c2556 sepolicy: move lwis dev sepolicy to device folder
- Remove lwis dev device specific sepolicy from zumapro

Bug: 312869113
Test: build
Change-Id: I12e8e703fb3a58a5be4f4b6dd0ade188cf4d8c0e
2023-11-27 10:09:13 +00:00
Treehugger Robot
659d928c41 Merge "sepolicy: add front camera taotie eeprom sepolicy" into main 2023-11-23 07:59:57 +00:00
Kamal Shafi
daeea509ef sepolicy: add front camera taotie eeprom sepolicy
Add missing sepolicy for front camera eeprom.

Bug: 312849126
Test: build
Change-Id: I032624791c1dc114d4513d633c72b4f415bc7c5f
2023-11-23 06:21:03 +00:00
Wilson Sung
7d7ebbc370 Move lwis declaration to vendor
Bug: 312143882
Test: make selinux_policy
Change-Id: Ice60742e2b1d2c863dbb55f31e5e38c4d8768fcb
2023-11-23 02:23:02 +00:00
Wilson Sung
2a66f04eee Move legacy zuma/file_contexts to vendor
Bug: 312143882
Change-Id: I992762f507a49edfcb4f25bf26594bbb03f191a1
2023-11-22 11:34:18 +00:00
Treehugger Robot
aed9527a37 Merge "Move sg_device related policy" into main 2023-11-22 09:39:24 +00:00
Wilson Sung
b880b46c91 Move file_context to vendor
Bug: 312143882
Change-Id: Idadeb768371ec170fce8851a381d6ab9e5d31bfc
2023-11-22 08:39:03 +00:00
Donnie Pollitz
25c848aea9 Merge "Fix SELinux permissions for trusty_userdata partition" into main 2023-11-22 08:07:38 +00:00
Randall Huang
a5f3627328 Move sg_device related policy
Bug: 312582937
Test: make selinux_policy
Change-Id: Ic64acb35898e8517141e2fcffb4e2ff71b3b5345
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-11-22 14:42:38 +08:00
Wilson Sung
c967ee5dc3 Move sg_device related policy
Bug: 312143882
Test: make selinux_policy
Change-Id: I68b00a6577a01cf04f67b6b277bce6fe1faef618
2023-11-22 02:44:43 +00:00
Donnie Pollitz
6ebd0711a4 Fix SELinux permissions for trusty_userdata partition
Bug: 301677815
Test: Trusty storage port tests passing
Change-Id: Ibbcbd4523e31a3c79035fe16bc1bec3ed60205fa
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-11-21 09:15:50 +01:00
Wilson Sung
9cb23f8b7a Merge "Move vendor_persist_type to vendor" into main 2023-11-21 02:30:00 +00:00
Devika Krishnadas
006925c584 Merge "Add Pixel Mapper as a sp-HAL" into main 2023-11-20 18:17:28 +00:00
Wilson Sung
75f9200a13 Move vendor_persist_type to vendor
radio needs this type

Bug: 312143882
Change-Id: I95b7d4dc0b867234972955eac0be6b8204ce3ecc
2023-11-20 12:34:01 +00:00
Wilson Sung
19c23bb5e4 Merge "Revert "Add IQfpExtendedFingerprint to service_contexts."" into main 2023-11-20 08:42:11 +00:00
Wilson Sung
8eb45bceb6 Revert "Add IQfpExtendedFingerprint to service_contexts."
Revert submission 25333146-sba4500_redux

Reason for revert: BB
Reverted changes: /q/submissionid:25333146-sba4500_redux
Bug: 312087854

Change-Id: I380eabae240d294f6c6ee6f1f0254e5976bc65ea
2023-11-20 06:40:56 +00:00
Kyle Tso
38484e0653 Merge changes from topic "contaminantdisable-sepolicy-main" into main
* changes:
  hal_usb_impl: Add get_prop for vendor_usb_config_prop
  hal_usb_impl: Move hal_usb_impl and hal_usb_gadget_impl to vendor
2023-11-17 03:51:44 +00:00
Kyle Tso
48815490ff hal_usb_impl: Add get_prop for vendor_usb_config_prop
avc:  denied  { read } for  comm="android.hardwar" name="u:object_r:vendor_usb_config_prop:s0" dev="tmpfs" ino=391 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:vendor_usb_config_prop:s0 tclass=file permissive=0

Bug: 310560098
Change-Id: I86588715cae2696dd0e045c5b75dde55e0f84c1e
Signed-off-by: Kyle Tso <kyletso@google.com>
2023-11-17 02:53:38 +00:00
Devika Krishnadas
ef01242b5b Add Pixel Mapper as a sp-HAL
Bug: 267352318

Change-Id: Ib1f2b6e10ae4a6b590f6be761e23be859ba46e01
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2023-11-16 01:24:03 +00:00
Chien Kun Niu
84ef937a19 hal_usb_impl: Move hal_usb_impl and hal_usb_gadget_impl to vendor
Move hal_usb_impl and hal_usb_gadget_impl to right space

Bug: 310816620
Change-Id: I04d3710dd7f4e52b204f537de73d18a1351a6836
Signed-off-by: Chien Kun Niu <rickyniu@google.com>
2023-11-15 17:50:29 +08:00
Alec Foster
46d2ea414e Add IQfpExtendedFingerprint to service_contexts.
Bug: 309966766
Bug: 309015469
Test: Fingerprint enroll successfully starts.
Test: adb logcat -b events -e avc -d | grep -iE "qfp"
Change-Id: Ie8f1c55057f8e32bae4db8b5ff22986f77c95dcf
2023-11-10 00:32:05 +00:00
samou
dd2b21c59b Allow dump_power to create thismeal.txt by executing battery_mitigation
Bug: 293899466
Change-Id: I648bd54c7ff0909afaddda45a2f091500ab9227e
Signed-off-by: samou <samou@google.com>
2023-11-03 09:58:26 +00:00
samou
eb67c49ec7 Update odpm scale value sepolicy
Bug: 290149543
Change-Id: I9682a43e3ca1488ef732580fe395b34e32a902cc
Signed-off-by: samou <samou@google.com>
2023-11-02 11:45:35 +00:00
Guibing Cai
2067882407 Merge "zumapro: sepolicy: Update gpu sysfs nodes sepolicies." into main 2023-10-30 16:49:45 +00:00
Daniel Okazaki
52ddf480c5 dump_power: adding dwell defend logs sepolicy
Bug: 306108267
Test: build/flash
Test: adb bugreport
Change-Id: I2dd8cbe12c88c5d5b776e299598d6573a0042711
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-10-27 18:45:20 +00:00
guibing
cf06992020 zumapro: sepolicy: Update gpu sysfs nodes sepolicies.
Use similar gpu sysfs nodes sepolicies from zuma.

Bug: 300516438
Test: ls -lZ /sys/devices/platform/1f000000.mali
Change-Id: I7190c19c6122bf867a6bde939c4be006ae7432f9
2023-10-27 17:55:45 +00:00
Treehugger Robot
aa3595f165 Merge "Add sepolicy for Bluetooth HAL to access uart and lpm related device nodes" into main 2023-10-27 08:58:24 +00:00