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
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
Ted Wang
16dc4769c4
Add sepolicy for Bluetooth HAL to access uart and lpm related device nodes
...
Bug: 303046044
Test: Manually
Change-Id: I20db519f27c8e59cac0ad326078228c89565550f
2023-10-26 10:06:10 +00:00
samou
30de3456f5
Allow battery_motigation to access gpu cur_freq
...
Bug: 290149543
Change-Id: Iee0c935194f09dfa960f5b3a701d6e8abc0af17d
Signed-off-by: samou <samou@google.com>
2023-10-26 03:30:53 +00:00
Hiroshi Akiyama
65bb6f7c98
Migrate dump_power.sh to cpp for improved speed
...
Bug: 299133307
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ia12b5f4c050a719f994b0f7df8211533d48e0806
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-10-13 18:01:11 -07:00
Kuen-Han Tsai
92083a0f38
genfs_contexts: Modify USB SELinux policies
...
Add USB wakeup sources sepolicy contexts
Bug: 295128467
Test: Change USB sepolicies and existing tests still pass.
Change-Id: Ic6c693a24c59cc3248d89208268bad6279b50003
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2023-10-04 15:44:47 +08:00
Tai Kuo
a3abd5ad39
Allow regmap debugfs for drivers probed by insmod
...
auditd : type=1400 audit(0.0:731): avc: denied { search } for
comm="modprobe" name="regmap" dev="debugfs" ino=2057
scontext=u:r:insmod-sh:s0 tcontext=u:object_r:vendor_regmap_debugfs:s0
tclass=dir permissive=1 bug=b/274727542
vendor_kernel_boot and vendor_dlkm modules probe by insmod need this.
Move regmap debugfs from legacy/whitechapel_pro/ to vendor/.
Bug: 274727542
Bug: 289012421
Bug: 285343932
Test: ls -d /sys/kernel/debug/regmap/*-0043
Change-Id: I1db7a5a3413467b4e14954d994b071b206fe0300
2023-09-12 16:42:21 +08:00
Hasan Awais
c9a5c03e84
Merge "uwb: add permissions for factory uwb calib file" into main
2023-09-11 21:21:06 +00:00
Tommy Kardach
eb18168d82
Merge "Allow Camera HAL to acquire wake locks" into main
2023-09-11 20:04:11 +00:00
Hasan Awais
3ca2aca558
uwb: add permissions for factory uwb calib file
...
needed for copying the factory calib file from persist to
/data/vendor/uwb, along with converting the file to a valid format
for uwb HAL
Equivalent CL: ag/22980180
Bug: 296108382
Bug: 296108391
Test: local build passed
Change-Id: I576d21433e2d0b958ef876bd42c382dd2061796e
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-09-11 17:36:08 +00:00
Tommy Kardach
4d8b7ddfd6
Allow Camera HAL to acquire wake locks
...
Bug: 298439902
Bug: 298272647
Test: manual flash
Change-Id: Ide1bf19ff54e0ce517722c1a028ac946e87ed787
2023-09-08 09:30:55 -07:00
Jack Wu
a43564d968
fix incorrect max_secondary path
...
Bug: 299268124
Test: data is correct in dumpstate
Change-Id: I198b7117270ef078c698b2c30f479bcb510d6471
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-07 20:10:19 +08:00
Treehugger Robot
fefaa5a45a
Merge "Add the common CS40L26 I2C path" into main
2023-09-06 05:59:54 +00:00
Jack Wu
442592fc0c
move google,charger SELinux config from legacy to vendor
...
Bug: 298923686
Test: no Permission denied while accessing the file node
Change-Id: Idea525f8067dd8d74065bcb128da4b25a04113dc
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-05 17:12:38 +08:00
Tai Kuo
2bbb50d15b
Add the common CS40L26 I2C path
...
Bug: 285343932
Test: No AVC denials for vibration and HAL dumpsys
Change-Id: I5a5baf70696748a19618157cd4e466e5f9ac4fdd
2023-09-04 19:28:45 +08:00
Wilson Sung
a202da5e8a
sepolicy: allows pixelstat to access pca file nodes
...
Bug: 298628728
Test: no Permission denied while accessing the file node
Change-Id: I0a2ffa3eb583775fa8e6dae02367d156152ee386
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-04 07:14:52 +00:00
Wilson Sung
863d41f6c6
Move vendor to legacy/zuma/vendor
...
Bug: 296187211
Change-Id: I28450565c4ee585060387ad988e7efbb1620eaee
2023-09-04 11:07:29 +08:00
Luis Delgado de Mendoza
3e84a7d11f
Add sepolicy for chre.wakeup/non-wakeup channels.
...
Somehow this didn't transfer from previous platforms and needs to be added.
Bug: 296209514
Test: presubmits
Change-Id: I9ccaa515e1be3f882868400d25c2617dd4db61b6
2023-08-29 16:09:57 -07:00
Alec Foster
a0a3bf954f
Merge "Add selinux policy for QFP UDFPS." into udc-qpr-dev am: 2ceb44240d
am: adf57ce075
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24558016
Change-Id: I5eb748142276e85ad6780381f1b7a528550c8eb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 06:37:04 +00:00
Alec Foster
2ceb44240d
Merge "Add selinux policy for QFP UDFPS." into udc-qpr-dev
2023-08-29 04:56:44 +00:00
Daniel Okazaki
2fd032d1c7
adding zumapro BMS sepolicy entries am: a2e02afde8
am: 29b703b93d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24576031
Change-Id: I92b898c6f7cd252c213d759d47251ec13af9b5b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 03:30:23 +00:00
Zheng Pan
146021afc9
update selinux policy based on new i2c bus id am: 9d124e7ddd
am: 2b6f638ebc
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24541565
Change-Id: I3505c7eb5285dd590217579dd80ddfe02b79152b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 03:30:19 +00:00
Daniel Okazaki
a2e02afde8
adding zumapro BMS sepolicy entries
...
Bug: 296941196
Test: build/flash/adb bugreport
Change-Id: I97185198f0147c5e7bd836b3e1b7e23284c6fe9b
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-08-28 19:36:27 +00:00
Alec Foster
8d86f12d0e
Add selinux policy for QFP UDFPS.
...
Bug: 295228935
Test: adb logcat -b events -e avc -d
Test: Fingerprint sensor works.
Change-Id: I22a92d6acdc8b4211bf84f33ab9d7c524f078ebc
2023-08-28 19:36:23 +00:00
Zheng Pan
9d124e7ddd
update selinux policy based on new i2c bus id
...
Bug: 296941196
Test: Check logcat and make sure no permission deny
Change-Id: Ib82ba45c600f940c0253b165fbe2f5676990231f
2023-08-24 22:45:23 +00:00
Wilson Sung
c7a757a4ee
Revert "Sync zuma-sepolicy to legacy folder"
...
This reverts commit 355f0df8fd
.
Bug: 297270938
Merged-In: I3b15b35df4bc40716d0aa757a226c5075c7e29ff
Change-Id: I44cbb1a0ea6248fbc5a4dc3c12e96d2b66a32282
2023-08-24 08:47:01 +08:00
Vania Januar
dbe23f1ab5
Revert "Revert^2 commit 2c99c990d3
""
...
This reverts commit 9bd666007d
.
Reason for revert: build break b/297170337
Change-Id: I2459b680bb3153d3d7e0f17761b4a825da942bcc
2023-08-23 12:58:42 +00:00
Wilson Sung
9bd666007d
Revert^2 commit 2c99c990d3
"
...
This reverts commit 5d2c755531
.
Bug: 297129706
Change-Id: Ia8301a139559e8abf119a0964d7a06914aacf55e
2023-08-23 17:57:57 +08:00
Chiachang Wang
5d2c755531
Revert commit 2c99c990d3
...
This reverts commit 2c99c990d3
.
Reason for revert: <Build break>
Change-Id: I030b4f5c59383478355ac2cee8363f45c8101041
2023-08-23 04:16:56 +00:00
Wilson Sung
355f0df8fd
Sync zuma-sepolicy to legacy folder
...
Duplicate from zuma-sepolicy 7f3e2b9
Test: make selinux_policy
Bug: 296187211
Change-Id: If686fbdcf058849479019e8b37bb1d57a0215ed6
Signed-off-by: Wilson Sung <wilsonsung@google.com>
2023-08-22 15:37:56 +08:00
Treehugger Robot
a5c98e6cb0
Merge "Add sepolicies for gcma_camera heaps" into udc-qpr-dev
2023-08-21 10:29:20 +00:00
Treehugger Robot
6368bbd757
Merge "Add missing paths for permission" into udc-qpr-dev
2023-08-21 10:15:45 +00:00
Spade Lee
31eae0600c
Add missing paths for permission
...
Bug: 296141243
Change-Id: I0905fbcad90a8d4f6cfbc881e73e6912461cf985
Signed-off-by: Spade Lee <spadelee@google.com>
2023-08-21 09:15:01 +00:00
Martin Liu
f8d4e87b03
Add sepolicies for gcma_camera heaps
...
Bug: 275481134
Test: launch camera
Change-Id: I2efe897826d3c32bb85c815207865c0db557ea9f
Signed-off-by: Martin Liu <liumartin@google.com>
2023-08-21 08:47:16 +00:00
horngchuang
c52abed728
Add sepolicy permission of new camera components
...
Bug: 296775053
Test: Build and test for sensor denials
Change-Id: I53dfbcf47b1750402af7c85f9ff67cb4c25afbd3
2023-08-21 13:07:17 +08:00
Ilya Matyukhin
dabd49dff7
Merge "zumapro: Add sysfs_faceauth_gcma_heap type" into udc-qpr-dev
2023-08-16 20:38:34 +00:00
Jason Chiu
7ae66582a0
Merge "Add sepolicy for swiftshader" into udc-qpr-dev
2023-08-16 11:30:25 +00:00
Jenny Ho
1fcea23710
Add permission to read charger online
...
Bug: 296141243
Change-Id: Ie477983e4647ad24f04dc819e2d89de38d78775c
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-08-16 08:19:39 +00:00
Hyunki Koo
e1542f9b76
Add sepolicy for swiftshader
...
Bug: 295365113
Change-Id: Ib122cb4015bb66bdcdd00adffee36b65a46bc322
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
2023-08-16 00:30:28 +00:00
Ilya Matyukhin
dc29ce7753
zumapro: Add sysfs_faceauth_gcma_heap type
...
Bug: 288156745
Test: build
Change-Id: I009e0721c09886d96a8d071afaf9244305e1a257
2023-08-11 05:32:18 +00:00
Inseob Kim
d9a89215f4
Move coredomain seapp contexts to system_ext
...
Coredomain apps shouldn't be labeled with vendor sepolicy, due to Treble
violation.
Bug: 280547417
Test: TH
Change-Id: Ifcaa41df790cb2b720775563cc4cd5cdf10e5c50
Merged-In: Ifcaa41df790cb2b720775563cc4cd5cdf10e5c50
(cherry picked from commit 63200470b8
)
2023-08-11 05:03:50 +00:00
Jenny Ho
ad31020715
add permission for dc-mains
...
Bug: 290542674
Change-Id: I30bb1e796b1863c035b2c4b4baa7695a80a31d60
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-07-31 16:11:10 +08:00
Jenny Ho
01401737a7
Merge "Add sepolicy to allow dump battery charger and FG data" into udc-qpr-dev
2023-07-20 08:14:28 +00:00
Jenny Ho
207d448245
Add sepolicy to allow dump battery charger and FG data
...
W cat : type=1400 audit(0.0:308): avc: denied { read } for name="registers_dump" dev="sysfs" ino=78205 scontext=u:r:dump_power:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
W cat : type=1400 audit(0.0:309): avc: denied { read } for name="registers" dev="debugfs" ino=33 scontext=u:r:dump_power:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
W cat : type=1400 audit(0.0:311): avc: denied { read } for name="model_ok" dev="debugfs" ino=26186 scontext=u:r:dump_power:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
W cat : type=1400 audit(0.0:312): avc: denied { read } for name="registers" dev="debugfs" ino=26192 scontext=u:r:dump_power:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
W cat : type=1400 audit(0.0:313): avc: denied { read } for name="debug_registers" dev="debugfs" ino=26193 scontext=u:r:dump_power:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
Bug: 290542674
Change-Id: I7d8fa1efdf9c1c233643089273ddfd786b44ce15
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-07-19 11:51:34 +00:00
Utku Utkan
c0ed974888
Revert^2 "Introduce CameraServices seinfo tag for PixelCameraServices"
...
Revert submission 24122569-revert-24056607-pixel-camera-services-extensions-sepolicy-OFSULTXSBL
Reason for revert: Relanding the original topic after copying the certificates under `device/google` for `without-vendor` branches
Reverted changes: /q/submissionid:24122569-revert-24056607-pixel-camera-services-extensions-sepolicy-OFSULTXSBL
Bug: 287069860
Test: m && flashall
Change-Id: I01fc4a31db761cb3dbb5dc93eb9e0b4d569b82f7
2023-07-18 20:37:58 -07:00
Inseob Kim
faf722a9cd
Revert "Introduce CameraServices seinfo tag for PixelCameraServices"
...
Revert submission 24056607-pixel-camera-services-extensions-sepolicy
Reason for revert: build breakage on git_main-without-vendor
Reverted changes: /q/submissionid:24056607-pixel-camera-services-extensions-sepolicy
Change-Id: I61599734edc5d80ca25beb4707549502318accaa
2023-07-19 01:15:21 +00:00
Utku Utkan
5b6bd7a496
Introduce CameraServices seinfo tag for PixelCameraServices
...
Bug: 287069860
Test: m && flashall && check against 'avc: denied' errors
Change-Id: I190f58ce9bcdc5c121e9329eb34030eeaf4d8709
2023-07-18 12:18:35 -07:00
Joerg Wagner
ca2f1c7d86
Prepare for Mali r44p0 UMD update
...
Add selinux rule to allow new V2 interface file alongside of V1 used up to r43p0.
The V1 entry will be removed once the r44p0 UMD update completes.
This decouples small changes from large, potentially intrusive ones in
other repositories.
Bug: 284254900
Change-Id: Ia928f871d8ea1fdbfb963cecb8fc4a99947e443e
2023-07-18 10:10:18 +02:00
Jenny Ho
eb242f21f6
Add sepolicy for max77779fg
...
Bug: 290315763
Change-Id: I71249d99b972f7966f8b1b3a4978d62985f27d49
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-07-07 08:03:46 +00:00
Firman Prayoga
6da1510a72
Merge "zumapro-sepolicy: Update camera device nodes" into udc-qpr-dev
2023-06-27 06:53:45 +00:00