Commit graph

25 commits

Author SHA1 Message Date
Krzysztof Kosiński
44db75e814 Delete sepolicy for legacy VR services.
None of the zumapro devices include these services.

Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: Iad24884869a1abd5daed60ef032b3f6c016aaf2d
2024-07-10 22:20:52 +00:00
Kiwon Park
33de53de68 Revert "Add setupwizard_feature_prop as one of properties allowed to be read"
This reverts commit 26efc37a3d.

Reason for revert: Doesn't fix the issues in factory testing

Change-Id: I8c8473f5a9c0cf9c53a95943101976d4b7103580
2024-06-13 17:24:30 +00:00
Kiwon Park
26efc37a3d Add setupwizard_feature_prop as one of properties allowed to be read
06-05 20:45:54.890420  root   351   351 W libc    : Unable to set property "setupwizard.feature.provisioning_profile_mode" to "true": error code: 0x18
06-05 20:45:54.894967  root   350   350 E init    : Unable to set property 'setupwizard.feature.provisioning_profile_mode' from uid:0 gid:0 pid:351: SELinux permission check failed

Test: manual
Bug: 336903409
Change-Id: I7282cfdbd621dd0e77f08c8ff7287f9693fa060a
2024-06-06 21:41:56 +00:00
Oleg Blinnikov
51e4f2e9eb persist.sys.hdcp_checking property added
Change-Id: I7ae5e18afe7ee1b7d86c63adeda748e439b7b5ea
Bug: 321344894
Test: modify property, see that max_ver file is updated
2024-03-19 16:06:08 +00:00
Mark Chang
45f43f3af2 Merge "Allow systemui_app to set property." into main 2024-01-25 05:37:35 +00:00
Mark Chang
b434a0ecf2 Allow systemui_app to set property.
This is to fix the denied log.
01-23 15:58:26.896     1     1 W /system/bin/init: type=1107 audit(0.0:17): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=debug.touch_sensitivity_mode pid=2123 uid=10237 gid=10237 scontext=u:r:systemui_app:s0:c237,c256,c512,c768 tcontext=u:object_r:debug_prop:s0 tclass=property_service permissive=0'

Bug: 309912697
Test: Setting property was successful.
Change-Id: Id841d2d45de8d8d57366faf71f5ee60da74ce111
Signed-off-by: Mark Chang <changmark@google.com>
2024-01-24 02:09:07 +00:00
Megha Patil
ab78d95fb8 Add System Property to Specify NTN Demo Mode Enabled
"telephony.ril.ntn_demo_mode" Property is added which specifies
RIL about NTN Demo Mode.

BUG: b/321178074
Test: Set the property in the service.
Change-Id: I8baca9ceaf364b579293679cabe26c33e0a4ec1e
2024-01-23 10:34:57 +00:00
Wilson Sung
95ab7f7ea9 Allow sysUI access nfc_service
Bug: 307468867
Test: make sepolicy
Change-Id: Iee2c35b92024c56ff6120d1b7c751b2021e5ae6e
2024-01-08 02:43:12 +00:00
Achigo Liu
e226fde393 Merge "Fixes adb user unauthorized on user builds" into main 2024-01-06 00:40:20 +00:00
Achigo Liu
90798eb40e Fixes adb user unauthorized on user builds
Allow systemui to find adbd

Bug: 318808947
Change-Id: Ifb88a64b851a64338191dd4f40b6b60a9bee5039
Signed-off-by: Achigo Liu <achigoliu@google.com>
2024-01-06 00:39:18 +00:00
Wilson Sung
4cad299072 Allow systemui to write protolog file
This is enabled on debuggable builds only, includes
- Grant mlstrustedsubject typeattribute to wm_trace_data_file
- Grant systemui the write access to
  wm_trace_data_file

Bug: 251513116
Bug: 288049075
Test: make sepolicy
Change-Id: I47c9bbf13835b2e7eaac3e2b436e3b486ce02431
2023-12-27 10:59:28 +08:00
Virkumar Karavate
727f2b5468 Merge "Allow pixelntnservice accessing SubscriptionManager" into main 2023-12-22 03:21:52 +00:00
Wilson Sung
3c5bb2ab43 Allow systemui_app access statsmanager_service
Bug: 283841311
Bug: 308381668
Fix: 308381668
Test: make sepolicy
Change-Id: I71888ee14637ab10d983709a4c74d8186d77d4bd
2023-12-21 11:25:37 +00:00
virkumar
379c836acd Allow pixelntnservice accessing SubscriptionManager
Bug: 312575569
Test: manually check if there is any AVC denied.
Change-Id: Ic366fbc2f3a58c343fa8d28f82894d798ee2b0c7
2023-12-05 12:10:36 +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
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
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
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
Samuel Huang
d460f878fe Revert "Revert "Create telephony.ril.silent_reset system_ext pro..."
Revert submission 23817868-revert-23736941-tpsr-ril-property-WQVGKEVBKX

Reason for revert: The root cause is missing property definition in gs101-sepolicy. This CL can be merged safely. Verified by abtd run: https://android-build.googleplex.com/builds/abtd/run/L48900000961646046

Reverted changes: /q/submissionid:23817868-revert-23736941-tpsr-ril-property-WQVGKEVBKX

Bug: 286476107
Change-Id: I81a350f1df3c9071945e484277ed7fab5ae4c60e
2023-06-28 10:28:06 +00:00
Sebastian Pickl
0c5d6dd888 Revert "Create telephony.ril.silent_reset system_ext property fo..."
Revert submission 23736941-tpsr-ril-property

Reason for revert: culprit for b/289014054 verified by abtd run: https://android-build.googleplex.com/builds/abtd/run/L54800000961620143

Bug: 289014054

Reverted changes: /q/submissionid:23736941-tpsr-ril-property

Change-Id: I2b845e6600e613eaa10788274cb028903d5df82e
2023-06-27 10:05:38 +00:00
Samuel Huang
7d7f055d46 Create telephony.ril.silent_reset system_ext property for RILD restart
RILD listens for changes to this property. If the value changes to 1, RILD will restart itself and set this property back to 0.

The TelephonyGoogle app will set this property to 1 when it receives a request from the SCONE app. Since TelephonyGoogle runs in the com.android.phone process, we also need to give the radio domain permission to set the telephony.ril.silent_reset property.

Bug: 286476107
Test: manual
Change-Id: I363b44a1a44184df05449ceb97089bb9e0211550
2023-06-21 06:35:13 +00:00
Robin Peng
bff99af2da init zumapro from zuma sha 43d5907677d0f
Bug: 272725898
Change-Id: If35d9efdda9dd3b8d8b24008f0738a0cbbe5bd9b
2023-03-31 14:16:57 +00:00