Wilson Sung
91dcd6ba19
Merge "Update error on ROM 11120060" into main
2023-11-20 12:01:27 +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
Wilson Sung
db4d015590
Update error on ROM 11120060
...
Bug: 312069580
Test: SELinuxUncheckedDenialBootTest
Change-Id: I94d03d02552f8ac8cad106f72917573b6027df73
2023-11-20 03:20: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
Tim Lin
648fffe4e8
Merge "sepolicy: define vendor_satellite_service domain" into main
2023-11-16 23:47:24 +00:00
YiKai Peng
411639b38b
Merge "sepolicy: remove tracking_denials/hal_wireless_charger.te" into main
2023-11-16 09:57:16 +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
Alec Foster
d3dc68df1b
Merge "Add IQfpExtendedFingerprint to service_contexts." into main
2023-11-16 00:41:15 +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
YiKai Peng
453f8f58ff
sepolicy: remove tracking_denials/hal_wireless_charger.te
...
Bug: 307468561
Test: Build/Flash
Change-Id: I36c20bc37329d33fa79dfe35434b773afc4b2324
Signed-off-by: YiKai Peng <kenpeng@google.com>
2023-11-15 08:35:27 +00:00
Megha Patil
48735bb478
Add a new property to track the current Binary
...
new propert to mirror the current binary
Bug: b/311102904
Test: Test the Enable Satellite Api
Change-Id: I0e207e8e9c48b0b081fb76a252649e7e0dc07210
2023-11-15 05:55:57 +00:00
Avinash Malipatil
ec2f055771
Merge "SEPolicy change to allow ImsMedia to set priority of audio threads." into main
2023-11-15 04:06:59 +00:00
Avinash Malipatil
6b3841bea3
SEPolicy change to allow ImsMedia to set priority of audio threads.
...
Setting real-time thread priority for audio threads is a must to handle voice stream during vowifi calls.
AVC Error: auditd : avc: denied { find } for pid=9346 uid=1001 name=scheduling_policy scontext=u:r:radio:s0 tcontext=u:object_r:scheduling_policy_service:s0 tclass=service_manager permissive=0
Bug: 309727903
Bug: 308517246
Test: adb shell 'ps -Tl -p '
Change-Id: Ib37aa1018ee63433ad878d1319a0c8158754befd
2023-11-14 15:55:17 +00:00
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
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
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
Sungwoo choi
b750cf8179
sepolicy: define vendor_satellite_service domain
...
vendor_satellite_service domain is for VendorSatelliteService.
package: com.samsung.slsi.telephony.satelliteservice
policy: vendor_satellite_service.te
Bug: 303240366
Bug: 304696411
Test: make
Change-Id: Ib7024d0397eda6d7f4e0809a1824dc550948207d
Signed-off-by: Sungwoo choi <sungwoo48.choi@samsung.com>
2023-10-31 20:06:44 +08: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