summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-16Snap for 8736029 from 89b3eaaf0ad530f20b21c7201d631cadd397518d to ↵aml_go_adb_330913000android13-mainline-go-adbd-releaseAndroid Build Coastguard Worker
mainline-go-adbd-release Change-Id: I9f83b003e407415ed01503b48af430158bdfd8bb
2022-06-06Snap for 8686562 from 2c8db88ecee6917844a7bc717c0e8bebc0a62c33 to ↵Android Build Coastguard Worker
mainline-go-adbd-release Change-Id: Icc56b5740ffa406a0bb699ca2aeb9bda6e67dd50
2022-05-26sepolicy_vndr: Add shell permission to /sys/class/kgsl/kgsl-3d0/perfcounter ↵Wilson Sung
am: 2c8db88ece Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/18572945 Change-Id: Id02a75de29bf0dde46b8d86b6f4df96ecc48bf76 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25sepolicy_vndr: Add shell permission to /sys/class/kgsl/kgsl-3d0/perfcounterandroid13-devWilson Sung
Allow shell users to have permission to update sysfs node /sys/class/kgsl/kgsl-3d0/perfcounter Bug: 193434313 Change-Id: Id964c20d49b21a9a21a19d86eed46b9ca4ee9138
2022-04-27Snap for 8505378 from c1f7a372234b4688949f2f9e8c645d7e306345c8 to ↵Android Build Coastguard Worker
mainline-go-adbd-release Change-Id: Iea720fd5fa8c751a057e376d439824ef59b76c2e
2022-04-14BatteryDefender: Allow health to read typec sysfs nodes am: 5d98dda6dd am: ↵Stephane Lee
77aa7a3343 am: 4cf191b7c0 am: c1f7a37223 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/2059151 Change-Id: I90a68e0b40fe9ef0af49928ae055c097ac7d4eee Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14BatteryDefender: Allow health to read typec sysfs nodes am: 5d98dda6dd am: ↵Stephane Lee
77aa7a3343 am: 4cf191b7c0 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/2059151 Change-Id: I05aacbb391388a8ec31e0dd9caf351c85fc6af8a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14BatteryDefender: Allow health to read typec sysfs nodes am: 5d98dda6dd am: ↵Stephane Lee
77aa7a3343 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/2059151 Change-Id: I205eb3822bb524531e251ff42f50038d4f6ddc84 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14BatteryDefender: Allow health to read typec sysfs nodes am: 5d98dda6ddStephane Lee
Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/2059151 Change-Id: Id5702643a63dbdeb83cf19676f32351bfede6d8b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12BatteryDefender: Allow health to read typec sysfs nodesStephane Lee
Bug: 192828279 Bug: 180104512 Test: Ensure that there are no sepolicy errors on boot for hal_health_default Change-Id: Id58a3fc5db45608f151e4c3926faec3034a3e7cc
2022-03-15Add sepolicy rules from AU184 am: 5cde66e787ChihYao Chien
Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/17122843 Change-Id: Icb6cb2268e229146958e0a7198c480fb381aa333
2022-03-15Add sepolicy rules am: 0a5fdd83a4ChihYao Chien
Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/17118122 Change-Id: Ie4b3acd1e43406eb965edd9f2ce4b4b5f2b81914
2022-03-15Add exception to access sysfs_msm_subsys am: c1236d91c6ChihYao Chien
Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/17118121 Change-Id: I98b538d7ba9667e647fb27fe40453c5f15b82ee8
2022-03-09Snap for 8277270 from 31db17dd61109243233e29d561b8cff2466eb973 to ↵Android Build Coastguard Worker
mainline-go-adbd-release Change-Id: I213e10016c1b9c7ff0e8d7e6ffa48feec8c15821
2022-03-08Add sepolicy rules from AU184ChihYao Chien
avc: denied { find } for pid=4219 uid=10202 name=vendor.qti.hardware.radio.ims.IImsRadio/imsradio0 scontext=u:r:qtelephony:s0:c202,c256,c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0 avc: denied { read } for name="wakeup24" dev="sysfs" ino=63576 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0 avc: denied { read } for name="wakeup23" dev="sysfs" ino=63561 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0 Bug: 215046366 Change-Id: Ia5a1e0647473250ccbab46df4be88a2a6f2f033a
2022-03-08Add sepolicy rulesChihYao Chien
avc: denied { search } for comm="com.qti.phone" name="com.qualcomm.qti.telephonyservice" dev="dm-39" ino=2607 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c154,c256,c512,c768 tclass=dir permissive=0 app=com.qualcomm.qti.telephonyservice Bug: 209719286 Change-Id: I70a013563ac53ec725801c7aff77444340b75e3d
2022-03-08Add exception to access sysfs_msm_subsysChihYao Chien
avc: denied { search } for comm="HwBinder:1281_1" name="5000000.qcom,kgsl-3d0" dev="sysfs" ino=34274 scontext=u:r:cameraserver:s0 tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir permissive=0 avc: denied { search } for comm="EvtQ_c2.qti.avc" name="5000000.qcom,kgsl-3d0" dev="sysfs" ino=34274 scontext=u:r:mediacodec:s0 tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir permissive=0 Bug: 208956148 Change-Id: I9438386217458159446bbe88029384e48c3dda57
2022-03-04[automerger skipped] Merge "Allow PowerStatsHAL to read NFC power state ↵Kelly Rossmoyer
stats am: 96f5029513 am: 6df5c76dc8 am: fe00141417 am: 6824f55f79" into sc-v2-dev am: 94a057b540 -s ours am: 0b9259b403 -s ours am: 31db17dd61 -s ours am skip reason: Merged-In I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15 with SHA-1 6a6a8f46c5 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16822347 Change-Id: I9486fe3ac152b4581b9677fb58d3d24576fccd42
2022-03-04[automerger skipped] Merge changes from topic ↵Kelly Rossmoyer
"cherrypicker-L69200000952982237:N17800001235032436" into sc-v2-dev-plus-aosp am: 10094e2e05 -s ours am: 57a2b23c71 -s ours am skip reason: Merged-In I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15 with SHA-1 556d549643 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16822347 Change-Id: Ie07589d8c751266622725c8574189a5644a2ad92
2022-03-04[automerger skipped] [automerge] Allow PowerStatsHAL to read NFC power state ↵Kelly Rossmoyer
stats am: 96f5029513 am: 6df5c76dc8 am: fe00141417 am: 6824f55f79 2p: 6a6a8f46c5 am: 2255139b9d -s ours am: 4de9469464 -s ours am skip reason: Merged-In I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15 with SHA-1 556d549643 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16822347 Change-Id: Id81ec05dc554a03c16dd504beb3c0e46a358bd57
2022-03-04[automerger skipped] Merge "Allow PowerStatsHAL to read NFC power state ↵Kelly Rossmoyer
stats am: 96f5029513 am: 6df5c76dc8 am: fe00141417 am: 6824f55f79" into sc-v2-dev am: 94a057b540 -s ours am: 0b9259b403 -s ours am skip reason: Merged-In I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15 with SHA-1 6a6a8f46c5 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16822347 Change-Id: Ibdd76fa38429bb4c32e685a4363de67d90e52816
2022-03-04[automerger skipped] Merge changes from topic ↵Kelly Rossmoyer
"cherrypicker-L69200000952982237:N17800001235032436" into sc-v2-dev-plus-aosp am: 10094e2e05 -s ours am skip reason: Merged-In I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15 with SHA-1 556d549643 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16822347 Change-Id: I2ed13cdfd10a066154f23da783767338ae7106bf
2022-03-04[automerger skipped] [automerge] Allow PowerStatsHAL to read NFC power state ↵Kelly Rossmoyer
stats am: 96f5029513 am: 6df5c76dc8 am: fe00141417 am: 6824f55f79 2p: 6a6a8f46c5 am: 2255139b9d -s ours am skip reason: Merged-In I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15 with SHA-1 556d549643 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16822347 Change-Id: I1d248e74473c1a9c22ca068fd322d1f60e65035e
2022-03-04[automerger skipped] Merge "Allow PowerStatsHAL to read NFC power state ↵Kelly Rossmoyer
stats am: 96f5029513 am: 6df5c76dc8 am: fe00141417 am: 6824f55f79" into sc-v2-dev am: 94a057b540 -s ours am skip reason: Merged-In I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15 with SHA-1 6a6a8f46c5 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16822347 Change-Id: I79687eb474d07e002f38031ea674feb8c1019667
2022-03-04Merge changes from topic ↵Kelly Rossmoyer
"cherrypicker-L69200000952982237:N17800001235032436" into sc-v2-dev-plus-aosp * changes: [automerge] Allow PowerStatsHAL to read NFC power state stats am: 96f5029513 am: 6df5c76dc8 am: fe00141417 am: 6824f55f79 2p: 6a6a8f46c5 Allow PowerStatsHAL to read NFC power state stats am: 96f5029513 am: 6df5c76dc8 am: fe00141417 am: 6824f55f79
2022-03-04Merge "Allow PowerStatsHAL to read NFC power state stats am: 96f5029513 am: ↵Kelly Rossmoyer
6df5c76dc8 am: fe00141417 am: 6824f55f79" into sc-v2-dev
2022-03-04[automerger skipped] modem_diagnostics: add rules for getting battery info ↵jintinglin
am: 9b994b3f1e am: ab5568f3e0 -s ours am: 077af8ab21 -s ours am skip reason: Merged-In I7afc884829f0a48f1fd1101930e5837af6bcc959 with SHA-1 1fa8d47cb0 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16259102 Change-Id: I94ffe4a45e65105837b99bed239b42a81c6b43fb
2022-03-03[automerger skipped] modem_diagnostics: add rules for getting battery info ↵jintinglin
am: 9b994b3f1e am: ab5568f3e0 -s ours am skip reason: Merged-In I7afc884829f0a48f1fd1101930e5837af6bcc959 with SHA-1 1fa8d47cb0 is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16259102 Change-Id: Idc7d03f3dcdf7aad4de61172ca12e330effd5684
2022-03-03modem_diagnostics: add rules for getting battery info am: 9b994b3f1ejintinglin
Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16259102 Change-Id: I5209a98b25b5882b301d91a3fe7d9d12e615922f
2022-03-03[automerge] Allow PowerStatsHAL to read NFC power state stats am: 96f5029513 ↵Kelly Rossmoyer
am: 6df5c76dc8 am: fe00141417 am: 6824f55f79 2p: 6a6a8f46c5 Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16822347 Bug: 217388683 Change-Id: I61a58500b1df28b8cdb3428209c3cd66a2430f78 Merged-In: I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15
2022-03-02Snap for 8239155 from 2473f4354632bdf38a75cfce2d7fb609de844086 to ↵Android Build Coastguard Worker
mainline-go-adbd-release Change-Id: I9cec7185b996ae1cb61aa6a85d7b3e97ea2414c3
2022-03-01sunfish sepolicy: support wv aidl hal am: 93f60c7fb0 am: 60a09532f9 am: ↵Robert Shih
f0a30ebc6c am: 2473f43546 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/2002712 Change-Id: Ia0553e98a685d360f75ce20e21a7d8efc363d26d
2022-03-01sunfish sepolicy: support wv aidl hal am: 93f60c7fb0 am: 60a09532f9 am: ↵Robert Shih
f0a30ebc6c Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/2002712 Change-Id: I10d959f52d25cd81598372dd69663b869c095d1d
2022-03-01sunfish sepolicy: support wv aidl hal am: 93f60c7fb0 am: 60a09532f9Robert Shih
Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/2002712 Change-Id: I1dda695781797716c0b7d2e630e1c6e4f4f7d229
2022-03-01sunfish sepolicy: support wv aidl hal am: 93f60c7fb0Robert Shih
Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/2002712 Change-Id: I9ca377ed4a3b4277af4ef38c8ec7eec3e0c5d8b6
2022-03-01sunfish sepolicy: support wv aidl halRobert Shih
Bug: 219538389 Test: atest GtsMediaTestCases Change-Id: If8d3d9469592654082edc0004d7802d8da722ee7 Merged-In: If8d3d9469592654082edc0004d7802d8da722ee7
2022-02-18Add nodes to sysfs_limit_power_transfer to enable limitPowerTransfer API am: ↵Badhri Jagan Sridharan
3f5147ad11 am: eb90bb66b2 am: 8d99c1afd6 am: 13f636ac2f Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/1991239 Change-Id: I60d18584f9579608e3695c2ec77472f598566a29
2022-02-18Add nodes to sysfs_limit_power_transfer to enable limitPowerTransfer API am: ↵Badhri Jagan Sridharan
3f5147ad11 am: eb90bb66b2 am: 8d99c1afd6 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/1991239 Change-Id: Ic6250f0ee044743bfa09abb339141aab671fedf4
2022-02-18Add nodes to sysfs_limit_power_transfer to enable limitPowerTransfer API am: ↵Badhri Jagan Sridharan
3f5147ad11 am: eb90bb66b2 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/1991239 Change-Id: I5a19093dd3c35e47b1d4defa34575f629818b2d5
2022-02-18Add nodes to sysfs_limit_power_transfer to enable limitPowerTransfer API am: ↵Badhri Jagan Sridharan
3f5147ad11 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/1991239 Change-Id: Ifd30a30d4b2183df1de1e9bf09b5d1ac1842950f
2022-02-17Add nodes to sysfs_limit_power_transfer to enable limitPowerTransfer APIBadhri Jagan Sridharan
Bug: 200993386 Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> Change-Id: I456cf8a9c22558dda1a680727106e9c093c9e237
2022-02-11[automerger skipped] Empty merge of ↵Xin Li
sc-v2-dev-plus-aosp-without-vendor@8084891 am: ea59cd4460 -s ours am: e985663b7e -s ours am skip reason: Merged-In I07206955e7269c6732c47f8094ab50e622a8e6b0 with SHA-1 86b2d1c4da is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16843624 Change-Id: Iaa0e87c1947c501100c974ba53d10f609781b446
2022-02-11[automerger skipped] Empty merge of ↵Xin Li
sc-v2-dev-plus-aosp-without-vendor@8084891 am: ea59cd4460 -s ours am skip reason: Merged-In I07206955e7269c6732c47f8094ab50e622a8e6b0 with SHA-1 86b2d1c4da is already in history Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/16843624 Change-Id: Ie7d08ff2500d991b4442d3932ddfda5875a1a32c
2022-02-11Empty merge of sc-v2-dev-plus-aosp-without-vendor@8084891Xin Li
Bug: 214455710 Merged-In: I07206955e7269c6732c47f8094ab50e622a8e6b0 Change-Id: I674d4a312506e5f4a276a7ecce0f8cf8bf6437d4
2022-02-09Allow PowerStatsHAL to read NFC power state stats am: 96f5029513 am: ↵Kelly Rossmoyer
6df5c76dc8 am: fe00141417 am: 6824f55f79 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/1972542 Bug: 217388683 Change-Id: I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15 (cherry picked from commit 556d549643fe4b9dce983569c63e7bc0c292fd9c) Merged-In:I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15
2022-02-08Allow PowerStatsHAL to read NFC power state stats am: 96f5029513 am: ↵Kelly Rossmoyer
6df5c76dc8 am: fe00141417 am: 6824f55f79 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/1972542 Change-Id: I6f67d7e1b5f266fee6980a08cd1d629eb4d41d15
2022-02-08Allow PowerStatsHAL to read NFC power state stats am: 96f5029513 am: ↵Kelly Rossmoyer
6df5c76dc8 am: fe00141417 Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/1972542 Change-Id: I41c8593c5b0db63ab4002f7540c0acbcf60af4c6
2022-02-08Allow PowerStatsHAL to read NFC power state stats am: 96f5029513 am: 6df5c76dc8Kelly Rossmoyer
Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/1972542 Change-Id: Ia4cf5b3d062672876c3d9a16cc1606c05df5f7c8
2022-02-08Allow PowerStatsHAL to read NFC power state stats am: 96f5029513Kelly Rossmoyer
Original change: https://android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/1972542 Change-Id: Ia9b9fb64e01e6501957f061b752d9453e4d13a4a
2022-02-04Allow PowerStatsHAL to read NFC power state statsandroid-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-beta-3android-s-qpr3-beta-1android-t-preview-1android-s-v2-beta-3android-s-qpr3-beta-1Kelly Rossmoyer
This change - in combination with the associated code change - allows PowerStatsHAL to read high-level NFC power state stats from sysfs on sunfish devices. Without this sepolicy, the code change produces errors like the following: 02-01 20:12:40.350 1023 1023 W stats@1.0-servi: type=1400 audit(0.0:32): avc: denied { read } for name="power_stats" dev="sysfs" ino=67037 scontext=u:r:hal_power_stats_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 02-01 20:12:40.353 1023 1023 E libpixelpowerstats: getResults:Failed to open file /sys/class/misc/st21nfc/device/power_stats Error = Permission denied: Permission denied Bug: 217388683 Test: lshal debug android.hardware.power.stats@1.0::IPowerStats/default Change-Id: I862d31bc92774fcaf4cbb8eb01d1305994cc08e5