Commit graph

67 commits

Author SHA1 Message Date
Chungkai Mei
171bfb004b sepolicy: fix avc denial
fix avc denial

Test: bott passed and no avc log after boot
Bug: 260769063
Bug: 261105028
Bug: 260366126
Bug: 261650934
Bug: 262178497
Bug: 262315567
Bug: 262633072
Change-Id: I926d535fe6871726b5cd0602e436f6b5a3a9e736
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-01-16 02:55:37 +00:00
Ken Yang
2dda40afef WLC: Cleanup the sysfs_wlc policies
The sepolicy must be self-contained without including wirelss_charger to
avoid build break in AOSP

Bug: 263830018
Change-Id: Iff235b0c006474b59af853a19d01ba57c3dfe451
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-10 16:03:22 +00:00
Adam Shih
97748d82a9 set necessary domains to permissive
Bug: 254378739
Test: enforce and boot to home
Change-Id: I1dc8f400971e0926dbb2c5c0ac6f0ef99250e067
2023-01-04 11:57:28 +08:00
Wasb Liu
cefb0a621f hal_health_default: updated sepolicy
Add necessary sepolicy.

Bug: 260366438
Bug: 261933135
Bug: 262178574
Bug: 262794970
Test: no avc denied for hal_health_default
Change-Id: I47043f64931c191063a0b3d5807ef814fa8b787f
Signed-off-by: Wasb Liu <wasbliu@google.com>
2022-12-29 09:47:23 +00:00
Darren Hsu
3ea4ff4944 sepolicy: Allow hal_power_stats to access required sysfs
Bug: 260366519
Bug: 260768935
Bug: 260922184
Bug: 261105152
Bug: 261363958
Bug: 261519183
Bug: 261651283
Bug: 261783107
Test: Captured bugreport and make sure there is no any avc denails
Test: related to hal_power_stats
Change-Id: Ic214dc1d8ea920b1bb8f700cd8b75918af3ab046
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-12-29 14:33:17 +08:00
Kris Chen
4963317cad zuma: fingerprint: fix SELinux denails
Bug: 261105164
Test: boot with no relevant error on p23 device
Change-Id: I8d897693685591a042c5febfeca0121375749b8e
2022-12-23 17:43:50 +08:00
Ernie Hsu
bb7586ac03 mediacodec_samsung: add sepolicy for mfc codec
Add necessary sepolicy. Log and reason are added in review comment
move sysfs out from legacy setting

Bug: 262633502
Bug: 263049105
Bug: 262794577
Bug: 262794578
Bug: 262794634
Test: video playback
      SELinuxTest#scanBugreport
      SELinuxTest#scanAvcDeniedLogRightAfterReboot
Change-Id: I240f3fc4672a0d3133699f76a808573e172d23f2
2022-12-22 03:46:04 +00:00
Lopy Cheng
7b281b63f2 hal_graphics_composer_default: add sepolicy for display
Fix avc denied issues.

Bug: 260769163
Bug: 261105029
Bug: 261933075
Bug: 261933169
Bug: 262178623
Test:
There is no AVC denied log after reboot

Change-Id: I291877a0f70f25a43f49a96a2b280be925bb98c5
2022-12-12 16:12:18 +08:00
Adam Shih
d55543c288 isolate samsung modem related sepolicy
Bug: 254378739
Test: boot with relevant binary launched
Change-Id: Ia18fce855bee17b93d97d1aa29a40d834a81fe09
2022-11-09 10:41:21 +08:00
Adam Shih
62b41afb1e review rild
Bug: 254378739
Test: boot with rild launched
Change-Id: I90a800bb6b15732cc2fcfdafc5174f8c874b55ef
2022-11-02 10:53:58 +08:00
Adam Shih
81a354fc88 move brcm gps solution to gs-common
Bug: 254758553
Test: google map can locate on pixel
Change-Id: I0ffbf5da277d71e04cd3aec1e8ef366b00309a83
2022-10-28 14:00:27 +08:00
Adam Shih
53ee1c09b9 review cbd
Bug: 254378739
Test: boot with cbd launched
Change-Id: I9c89c0fc3b40957bc60dd7854788d49e498fc0cd
2022-10-28 11:59:23 +08:00
Adam Shih
2f2b04a36e review modem_svc_sit
Bug: 254378739
Test: boot with modem_svc_sit running
Change-Id: Iee1a831f12ca5c2df54181f0807f1d284072cf7f
2022-10-28 11:12:56 +08:00
Adam Shih
1889b6d85f review modem_diagnostic_app
Bug: 254378739
Test: build pass
Change-Id: Ia2a07987a0e60e882074df1b8514139bdd6cd95c
2022-10-27 13:46:20 +08:00
Adam Shih
f652d07d61 review dmd and modem_logging_control
Bug: 254378739
Test: boot with both of them launched
Change-Id: I3402c89be55bb8258d0ceb8475cef9fb913d2604
2022-10-24 14:30:52 +08:00
Adam Shih
aff9f380d3 review ssr_detector_app
Bug: 254378739
Test: boot with ssr app correctly labeled
Change-Id: I28581c15cf0f7ecb01cbd11c747ad338b157e1c8
2022-10-24 14:12:27 +08:00
Adam Shih
cbbbe57599 review rfsd
Bug: 254378739
Test: boot with rfsd launched
Change-Id: I15446c8fb84de588ba09325414a1cbabbdaa9c58
2022-10-24 11:54:10 +08:00