Daniel Norman
f6ee9c4b50
Removes duplicate hidraw_device type definition.
...
This type is now defined by the platform.
Bug: 303522222
Change-Id: I1a53405c7b6f12d6318a7808fa2cb61e02696cba
Test: ls -z /dev/hidraw0
2023-11-10 22:52:51 +00:00
Treehugger Robot
fac134469c
Merge "Remove unused CS40L26 I2C paths" into main
2023-11-08 11:08:32 +00:00
Wilson Sung
c67fe4c115
Update error on ROM 11063387
...
Bug: 309732305
Test: SELinuxUncheckedDenialBootTest
Change-Id: Ie6ba6830346630f851bc2db7b5965686e865edb5
2023-11-08 16:06:29 +08:00
Mike Wang
5d3838f1eb
Change the MDS to platform app in selinux ap context.
...
The MDS will be signed with platform key and become a platform app. To
make the selinux rules for modem_diagnostic_app work, need to set it to
platform app in app context.
Bug: 287683516
Test: Tested with both dev key or platform key signed MDS apps and the selinux rules works.
Change-Id: I19cce0963d85fd156e54f3c530431e1d465054b3
2023-11-08 05:19:22 +00:00
Jenny Ho
59b9e9ce4e
sepolicy: remove tracking_denials/hal_health_default.te
...
local check there is no hal_health_default related sepolicy
error log, remove related .te file.
Bug: 307468788
Change-Id: I8c12a2fb76241f9c9f096dddbf3a81f5f041359b
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-11-07 16:14:10 +00:00
Weizhung Ding
1b4f6b7035
Merge "sync legacy sysfs_display permission" into main
2023-11-07 08:32:12 +00:00
Wilson Sung
1755eb8be7
Merge "Update error on ROM 11060498" into main
2023-11-07 07:30:00 +00:00
Treehugger Robot
cd12e6947e
Merge "sensors: Move USF related sepolicy to gs-common." into main
2023-11-07 06:49:08 +00:00
Wilson Sung
c56335f89d
Update error on ROM 11060498
...
Bug: 309551158
Bug: 309551159
Bug: 309550514
Bug: 309550905
Bug: 309551062
Test: SELinuxUncheckedDenialBootTest
Change-Id: Ic8d05cea6a18c240f9fcf801ceaeabe3f51ae03c
2023-11-07 05:41:43 +00:00
Rick Chen
e759711bf5
sensors: Move USF related sepolicy to gs-common.
...
Bug: 305120274
Test: Compile pass.
Change-Id: Id2d47bcf49d21bc7144145d07fd54bddf3e9033c
Signed-off-by: Rick Chen <rickctchen@google.com>
2023-11-06 23:20:31 +08:00
Weizhung Ding
873751ee60
sync legacy sysfs_display permission
...
Test: build
Bug: 308381451
Change-Id: I470500ec44b08bcb2c106d27100bef0a9e301742
2023-11-06 14:03:25 +00:00
Sam Ou
b3aafb8368
Merge changes from topic "thismeal_enhancement" into main
...
* changes:
Allow dump_power to create thismeal.txt by executing battery_mitigation
Update odpm scale value sepolicy
2023-11-06 10:36:49 +00:00
Tai Kuo
956c643267
Remove unused CS40L26 I2C paths
...
Bug: 285343932
Bug: 307468462
Test: No AVC denials.
Change-Id: Id25e88e536500b9c205acf87900b597d611a9b63
2023-11-06 17:56:58 +08:00
Wilson Sung
a7a818547a
Merge "Update error on ROM 11021299" into main
2023-11-06 09:35:26 +00:00
Wilson Sung
94b82378b6
Update error on ROM 11021299
...
Bug: 308380763
Bug: 308381394
Bug: 308381432
Bug: 308381409
Bug: 308381338
Bug: 308381747
Bug: 308381292
Bug: 308381668
Bug: 308381451
Bug: 308381687
Bug: 308381222
Bug: 308381263
Bug: 308381279
Bug: 308381611
Bug: 308381748
Test: SELinuxUncheckedDenialBootTest
Change-Id: If24f3fcb5a1830ef834119d05e49f23193ae132e
2023-11-06 08:16:57 +00:00
Mike Wang
3c9256f338
Merge "Add selinux policy change to allow MDS access Samsung OemRil hal." into main
2023-11-06 02:30:55 +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
mikeyuewang
eed49f4c46
Add selinux policy change to allow MDS access Samsung OemRil hal.
...
Bug: 301641283
selinux log:
11-03 15:32:38.850 2643 2643 I auditd : type=1400 audit(0.0:1616): avc: denied { call } for comm="binder:2643_3" scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.850 2643 2643 I binder:2643_3: type=1400 audit(0.0:1616): avc: denied { call } for scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.854 2643 2643 I auditd : type=1400 audit(0.0:1617): avc: denied { transfer } for comm="binder:2643_3" scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.854 2643 2643 I binder:2643_3: type=1400 audit(0.0:1617): avc: denied { transfer } for scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.854 1095 1095 I auditd : type=1400 audit(0.0:1618): avc: denied { call } for comm="HwBinder:1095_1" scontext=u:r:rild:s0 tcontext=u:r:modem_diagnostic_app:s0:c512,c768 tclass=binder permissive=1
11-03 15:32:38.854 1095 1095 I HwBinder:1095_1: type=1400 audit(0.0:1618): avc: denied { call } for scontext=u:r:rild:s0 tcontext=u:r:modem_diagnostic_app:s0:c512,c768 tclass=binder permissive=1
Change-Id: Ia71844db230302fd3120b28b3ade2e55443ec078
2023-11-03 07:36:16 +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
Treehugger Robot
519a15e014
Merge "Allow HWC to access display refresh control" into main
2023-10-31 04:05:09 +00:00
Guibing Cai
2067882407
Merge "zumapro: sepolicy: Update gpu sysfs nodes sepolicies." into main
2023-10-30 16:49:45 +00:00
Megha Patil
eee3f39c49
Merge "Sepolicy for the new property to switch Modem Binary" into main
2023-10-30 11:34:07 +00:00
Megha Patil
6191d7d37f
Sepolicy for the new property to switch Modem Binary
...
Sepolicy Rules added for telephony.TnNtn.image_switch
BUG: b/298322438
Test: Test Binding sequence of Service
Change-Id: Ie79aff94159d79a573ec92546a5d3e390b802b22
2023-10-30 11:32:41 +00:00
Sergiu Ferentz
0bbc562d41
Revert "Update error on ROM 11021299"
...
This reverts commit 2ee5bdcc34
.
Reason for revert: Build breakage at: b/308395718
Change-Id: I43b2eafbdb398ce4b47ee1e5ebd86e5317916e58
2023-10-30 11:07:10 +00:00
Wilson Sung
2ee5bdcc34
Update error on ROM 11021299
...
Bug: 308380763
Bug: 308381394
Bug: 308381432
Bug: 308381409
Bug: 308381338
Bug: 308381747
Bug: 308381292
Bug: 308381668
Bug: 308381451
Bug: 308381687
Bug: 308381222
Bug: 308381263
Bug: 308381279
Bug: 308381611
Bug: 308381748
Test: SELinuxUncheckedDenialBootTest
Change-Id: I54b3464f7e445c8a696a4e8dfd0613fd2e2ab7b1
2023-10-30 16:12:14 +08: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
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
Wilson Sung
b8b1185356
Update permissive domain
...
Bug 307468752
Bug: 307468788
Bug: 307468729
Bug: 307468767
Bug: 307468462
Bug: 307468561
Bug: 307468923
Bug: 307468731
Bug: 307468925
Bug: 307468690
Bug: 307468733
Bug: 307468692
Bug: 307468756
Bug: 307468758
Bug: 307468945
Bug: 307468771
Bug: 307468867
Bug: 307468827
Bug: 307468887
Bug: 296187211
Change-Id: Ib4df93d03b2828113b008032b3e574c0e4298f01
2023-10-24 07:22:43 +00:00
Jeremy DeHaan
b70a0d779e
Allow HWC to access display refresh control
...
Bug: 304394975
Change-Id: Ie718bc50d9ffec8347079b32327b7d3862ff41d6
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-10-16 16:20:29 -07: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
John Chang
2d20db9d65
display: properties of vrr settings
...
Bug: 290843234
Test: verify getprop/setprop after reboot.
Change-Id: I9cf5e2272b6ea9e9bbcf72b4363faf272872e27c
2023-10-10 18:21:54 +00:00
Matthew Sedam
e1b80aa4d5
Merge "Allow CHRE to access the IStats service for the zumapro target" into main
2023-10-09 18:18:57 +00:00
Matthew Sedam
a934af3727
Allow CHRE to access the IStats service for the zumapro target
...
This CL also moves the chre.te file from legacy to vendor.
Bug: 298459533
Test: Use stats service from chre
Change-Id: I6b954983e71b436a0dfef8a50cc2ce352bd14d79
2023-10-06 20:32:43 +00:00
Mike Wang
3c86943cfe
Grant the MDS access to the IPowerStats hal service. am: 72c63096bd
am: 89f3aa07c7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24887460
Change-Id: I7bd685ec1f3f81ea37ae0630aaf162af88323ab5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 17:12:26 +00:00
Mike Wang
89f3aa07c7
Grant the MDS access to the IPowerStats hal service. am: 72c63096bd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24887460
Change-Id: Ifc30437721481db68ead05dd1c98bb4f89e3b0ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 16:24:32 +00: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
Mike Wang
72c63096bd
Grant the MDS access to the IPowerStats hal service.
...
ref logs:
09-06 10:07:18.006 536 536 I auditd : avc: denied { find } for pid=22543 uid=10225 name=android.hardware.power.stats.IPowerStats/default scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:hal_power_stats_service:s0 tclass=service_manager permissive=1
09-06 10:07:18.010 22543 22543 I auditd : type=1400 audit(0.0:65): avc: denied { call } for comm="pool-4-thread-1" scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:hal_power_stats_default:s0 tclass=binder permissive=1 app=com.google.mds
Test: Tested with MDS app and the MDS can get IPowerStats binder and
call the interface.
Bug: 297250368
Change-Id: I7503a86baa01e4391d64f958cd053822de78d8fd
2023-09-28 15:26:21 +00: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
Wilson Sung
14b4ee2aad
Merge "Correct the SEPolicy owner" into main
2023-09-08 04:07:10 +00:00
Wilson Sung
7974b22abc
Correct the SEPolicy owner
...
Bug: 296187211
Change-Id: I04f78cfd314d499546a624a5ade643a8bc95fb21
2023-09-08 09:51:24 +08: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