Commit Graph

10 Commits

Author SHA1 Message Date
Cyber Knight e06f0fec39
Revert "sepolicy: msmsteppe: label UFS sysfs node"
- This reverts commit e4163edba7 as it is incorrect.
- It causes sideload to fail with kPostinstallRunnerError on a msmsteppe device.
- UFS sysfs nodes are labeled properly in sepolicy_vndr as vendor_sysfs_scsi_target and should be left as is.
- Labeling it incorrectly in qcom/common essentially causes update_engine_sideload to get a SELinux denial;
- when trying to search the UFS sysfs nodes with vendor_sysfs_mmc_host.
- The correct fix is to revert this as it was not needed to begin with.

Test: Build, sideload and check whether kPostinstallRunnerError occurs.
Change-Id: Ic15740660f123eefce22515e5ddafb5959c1fb4d
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-01-25 07:06:56 +08:00
Vishalcj17 f81823ddb1 Revert "sepolicy: Label DCVS nodes to all"
Qualcomm labels all the DCVS/devfreq nodes in SoC policies. Instead of maintaining it every tag/SOC update, keep it in sepolicy_vndr to avoid conflicts and errors. This fixes high battery drain and performance issues by allowing the correct values to be set in init scripts. If SoC SEPolicies are broken, we can fix them rather than moving to common.  These nodes differ a lot by platform, which makes common policies not particularly useful.

This reverts commit 9817d1f368.

Change-Id: Ifc22d9baaed8ed353987c95f79c87ec71d972bc5
2024-01-04 07:53:20 +00:00
chrisl7 9817d1f368 sepolicy: Label DCVS nodes to all
[1] - Need after switch to AIDL Perf (SM8650)
[2] - Fix high spam
[3] - https://gerrit.aospa.co/c/AOSPA/android_device_qcom_sepolicy_vndr/+/36718

Change-Id: Ic803e1a34e6e80936c228fa2be264d9b8ad81bf9
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-11-15 14:01:13 +00:00
Pulkit077 e4163edba7 sepolicy: msmsteppe: label UFS sysfs node
Change-Id: I6056bb7c2697e9c1163803494b4d97cb82f38810
Signed-off-by: Pulkit077 <pulkitagarwal2k1@gmail.com>
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-11-12 00:09:37 +00:00
Pulkit077 28abd41e85 sepolicy: Fix wakeup labels for (msmnile|msmsteppe|atoll)
Change-Id: I9be4435303fb4295e48befbacfd84ee86e538662
Signed-off-by: Pulkit077 <pulkitagarwal2k1@gmail.com>
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-11-12 00:09:08 +00:00
chrisl7 e27d9d435e sepolicy: Import missing SM8450 sepolicy definition from LA.VENDOR.1.0.r1-21200-WAIPIO.QSSI13.0
Change-Id: I17b7efdd84e3f95fd1db796473a1cc2e926619ad
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:52:21 -04:00
chrisl7 ce7ff0e820 common: sepolicy: Adapt sepolicy to LA.VENDOR.13.2.0.r1-13100-KAILUA.0
[1] - Move partally bengal to sepolicy_vndr, keep 4.19 specifc nodes here
[2] - Keep kona here for now
[3] - Import msmsteppe from taro sepolicy_vndr
[4] - Use neuralnetworks on sepolicy_vndr

Change-Id: Icda5ebce28b97d45c8067f08be98d85313ab1474
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
Jake Weinstein 4cf4a266c1 common: sepolicy: Remove blank msmsteppe policies
Qualcomm removed them at
"removing some of the target dir from the component.", which
we reverted.

Change-Id: If2d407c03c112099b67bcd88d2ec4b31c0425642
2022-10-30 02:31:07 +09:00
chrisl7 df490c97ef sepolicy: vndr: Remove hal_rcsservice to all platform
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I140ee0b92bd1b47bb91e1c2df422e7e2b2676774
2022-10-29 11:58:28 +09:00
Jake Weinstein dcca525fb8 Revert "removing some of the target dir from the component."
This adds back SDM845, SM6125, SM8150, SM8250, SM8350,
and others.

This reverts commit 4346ce0d904984c5582d62cd9586a15abf2d62d5.

Change-Id: Idc0f96e28b4d47481d1281d34bf13859a45be1d8
2022-10-29 05:03:45 +09:00