Commit graph

1215 commits

Author SHA1 Message Date
Vamsi Krishna Gattupalli
8afaf747e6 sepolicy: Fix avc denials for wakeup nodes
Label wakeup sysfs nodes listed by SuspendSepolicyTests.sh

Change-Id: I4b543c1c628613990bad565330899a0147510924
Signed-off-by: Ansa Ahmed <ansaahme@qti.qualcomm.com>
2023-05-03 04:40:44 -07:00
Vamana Murthi
b30000e27c Allow vendor_location_xtwifi_client to access ssgtzd socket
Change-Id: I473ae330cfa265a324c136b068fe94e62d38c845
CRs-Fixed: 3362880
2023-04-03 20:52:19 +05:30
qctecmdr
7767f4672d Merge "Add rules for qms daemon" 2023-03-23 03:28:42 -07:00
Tengfei Fan
37d04f59a7 sepolicy: add root path for remoteproc-wpss wakeup node
Add root path for remoteproc-wpss wakeup node.

Change-Id: Ie6931140e7690d32c52e3e17bad7e3f11ac0c1a9
2023-03-22 17:24:47 +08:00
Vamana Murthi
2a0ce8f444 sepolicy rules to allow Gnss Hal to access RIL Srv
Change-Id: I58f8f71978ddca6e97811e7523a1966cc6f475f8
CRs-fixed: 3287913
2023-03-20 14:51:17 +05:30
Pavan Kumar M
43fa987fe0 Add rules for qms daemon
Change-Id: Ifb54c1cfcdf231964530a3fe6e2785808cd6904a
2023-03-20 00:10:15 -07:00
vidyalak
f149500bed sm6150: support for vendor_boot and init_boot partition
Included vendor_boot and init_boot partition for AB OTA
In msmsteppe sepolicy changes.

Change-Id: I6f10642819de572e6f26e9b084188579ba5336bf
2023-03-17 10:56:18 +05:30
Tengfei Fan
b6acde700a sepolicy: Fix avc denials of remoteproc-wpss for wakeup nodes
Label wakeup sysfs nodes listed by SuspendSepolicyTests.sh

Change-Id: I382fb204eafeedf331b89aebfe74e0684ba2e12d
2023-03-13 14:34:40 +08:00
Vaishnavi AVS
31cb5eaa26 sepolicy_vndr: Add sepolicy rules for I2C wakeup nodes
Add sepolicy rules for I2C wakeup nodes to fix avc denials
and errors from suspend sepolicy scripts.

Change-Id: Ia8e1972b5699dd5a56b4079840da8866c5ff6bf5
2023-03-06 00:42:23 -08:00
Vaishnavi AVS
2199a340af sepolicy_vndr: Add sepolicy rules for UART wakeup nodes
Add sepolicy rules for UART wakeup nodes to fix avc denials
and errors from suspend sepolicy scripts.

Change-Id: Ic0e4a09b29f6adf55e3b9b825dbca4b7472a1736
2023-03-06 12:03:21 +05:30
Rakesh Kota
380fc2940e sepolicy_vndr: Add sepolicy rules for PON wakeup nodes on ravelin
Add sepolicy rules for PON wakeup nodes to fix errors
from suspend sepolicy scripts.

Change-Id: If291843654fb78c62d64aa23b759db9f7d4f4b96
2023-02-22 15:50:41 +05:30
Leela Sravani Atmakuri
9bbbddbefe sepolicy_vndr: Modify nativehaltestservice.te
CRs-Fixed: 3412497
External Impact: No

Change-Id: I04d2309db37d8e14506d2d4ba743ac1279247240
2023-02-21 02:31:05 -08:00
Udipto Goswami
aec146fc65 sepolicy_vndr: Add permission for USB HAL to access usb sysfs nodes
Adding permissions for for usb hal to access the
vendor_sysfs_usb_node. This is required to hal to perform error
recovery in host mode.

Change-Id: Ie7fff2ba54fd50864ab6be90e97d002be7ca10cc
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
2023-02-13 22:39:21 -08:00
Leela Sravani Atmakuri
11b5899b2b sepolicy_vndr: Add nativehaltestservice.te
CRs-Fixed: 3400283

Change-Id: I5688524048cb430a311939763b66f8a344095120
2023-02-08 02:24:25 -08:00
qctecmdr
483eed269a Merge "sepolicy_vndr: Add sepolicy rules to access RGB nodes on ravelin" 2023-02-02 05:16:53 -08:00
Arvind Kumar
4149ce8a88 parrot: Update sepolicy for OTA partitions to fix AVC denials.
Update sepolicy for OTA partitions to fix AVC denials
seen during OTA update.

Change-Id: I56bad41bef6e35df5a76ddd8ee4aeaa08f01e3ce
2023-01-31 10:52:04 +05:30
Rakesh Kota
86973c5b83 sepolicy_vndr: Add sepolicy rules to access RGB nodes on ravelin
Add label for led device node on ravelin platform.

Change-Id: I797de14c5e4c089625008a16f7df462c13415b6b
2023-01-20 12:59:36 +05:30
Akhil Budampati
840718ffec sepolicy_vndr: hal_trustedui: Add sepolicy rules to access touch nodes
Add sepolicy rules to access new trusted_touch_enable,
trusted_touch_type and trusted_touch_event nodes in TUI HAL

Change-Id: I0f516196e953514cf99926181528eecccc99022c
2023-01-11 09:51:56 +05:30
qctecmdr
d65bf3f91c Merge "sepolicy_vndr: allow charger to read display properties" 2022-12-26 22:40:42 -08:00
qctecmdr
f53cb3d08f Merge "QGuard: add permission for black screen detector" 2022-12-23 00:24:42 -08:00
xiaohuin
5c24ca8f16 QGuard: add permission for black screen detector
1. add logger permission
2. add black screen detector permissions

Change-Id: I7416325a7a74cf82f317bc3334e0f45bd60d79cd
CRs-Fixed: 3367465
2022-12-23 15:47:48 +08:00
Devanshi Bansal
9f28b215d4 sepolicy_vndr: allow charger to read display properties
Change-Id: I1d9c503bcfe2fad1d816afb665790151c9a361d1
2022-12-20 20:56:19 -08:00
xuanpeng
4ddea154d9 sepolicy_vndr: Add selinux label for LED devices
Add label for LED devices for led hal and vibrator hal to access it
properly.

Change-Id: I0515724c146dba1def0a7d585e4bdac1eaae7b5c
2022-12-06 14:38:36 +08:00
qctecmdr
aebb6a98ba Merge "sepolicy: Add Sepolicy permission for charger and QG" 2022-11-22 23:04:30 -08:00
Manaf Meethalavalappu Pallikunhi
ba128925e9 sepolicy: Remove thermal-engine access to audio device node
Remove thermal-engine access to audio device node as it doesn't
require any audio device resources access.

Change-Id: I65826695c48ef139fe6678b78bd6a98c7757bef4
2022-11-21 23:58:02 -08:00
Arvind Kumar
9021da02e4 Add file contexts for new partition on Neo
Add file contexts for multiimgqti partition
to enable A/B OTA update on this partitions.

Change-Id: I6895cc3589bef81e3b46b35c087d9333bf86fbb9
2022-11-16 11:14:39 +05:30
Umang Chheda
52d148c773 sepolicy: Add Sepolicy permission for charger and QG
Add Sepolicy nodes for charger and QG.

Change-Id: If1773395bc53457a91567d5aa9ddad41faa36834
2022-11-11 03:06:24 -08:00
Sonal Aggarwal
b598a80b5f sepolicy_vndr: Add label for rpmb device node of emmc type for neo
As neo_LA is emmc type device, the node /dev/mmcblk0rpmb is required
to be labelled in file contexts for neo.

Change-Id: I162a99e0b6863be208f000531ab576b2a21601da
2022-11-03 14:51:20 +05:30
qctecmdr
12bb0cd43c Merge "sepolicy_vndr: Add fan service for Anorak" 2022-10-31 05:44:43 -07:00
Minghao Zhang
c1aa3cd657 sepolicy_vndr: Add fan service for Anorak
Add fan service to control fan to run and stop as cooling device.

Change-Id: Ibdd81db8f34489796cfc66035b539b19b4016c91
2022-10-28 18:12:07 +08:00
Pavan Kumar M
5d6c0f3629 sepolicy : Add sysfs_net related path entries
VTS test fails when secontext entry for the driver path
is not present in genfs_context.

Update the secontexts for sysfs_net for anorak target

Change-Id: I528411d518bf7332f41e896411fec47389665e0d
CRs-Fixed: 3322587
2022-10-28 13:21:20 +05:30
Yuanfang Zhang
7ed184f888 sepolicy: add selabel for byte-cntr1 node
Add add selable for new node byte-cntr1.

Change-Id: I1c64a20841230a634de7d83e37723804d1b2ddde
2022-10-18 15:04:39 +08:00
Vala Zadeh
1a79994c5c sepolicy_vndr: Add IQtiRadioConfig
- Add IQtiRadioConfig to vendor_hal_telephony_service
  domain in vendor partition which is needed for RIL
  to connect to the service.

Change-Id: I00dfc42d78db1fb54e9186def0394ce1e7afa8b4
CRs-Fixed: 3162170
2022-09-28 02:58:59 -07:00
qctecmdr
ee1cca4cc1 Merge "sepolicy: Permission for init shell to update readahead." 2022-09-25 22:24:05 -07:00
Devanshi Bansal
0b70f0b7b5 sepolicy_vndr: Add permission for panel1 brightness node
Change-Id: Ida65ffd6046bd0f2c5d9fe836776d72524e40c00
2022-09-23 02:03:27 -07:00
Sai Manobhiram
a23a9cb882 sepolicy: Permission for init shell to update readahead.
Allow vendor_qti_init_shell to have permissions to
-    /sys/block/sd*

Change-Id: Ia08207abef0700c3a4d1615c83bdd9e680e07c7a
2022-09-21 03:31:27 -07:00
qctecmdr
3607a25194 Merge "sepolicy_vndr: Allow recovery to read sysfs to get mmc type for SDExpress" 2022-09-20 00:05:42 -07:00
LAVEENA FULWANI
9fb47d9dfa sepolicy_vndr: Allow recovery to read sysfs to get mmc type for SDExpress
Change-Id: I67a01bd3de2c0ea152418e4cb866a81faa0bce07
2022-09-13 18:13:52 +05:30
Sasi Kumar Maddineni
ed29b7706e Labelling wakeup nodes
Change-Id: I4214a51ba7518309639537b3cf6f1879f99edea0
2022-09-13 03:14:18 -07:00
qctecmdr
39c3270288 Merge "Add permissions to access btfmslim node" 2022-09-09 05:35:52 -07:00
Satish Kumar Kodishala
a98f1950e0 Add permissions to access btfmslim node
Add permissions to access btfmslim node

CRs-Fixed: 3104843
Change-Id: I0d796623745616ef3c559aeec1564cee31cae0e8
2022-09-07 23:40:39 -07:00
jiaoyuan
8a5a0fcd71 Add new policy change for setprop
if app use setprop cmd, need to add new policy change

Change-Id: Iafc8274ea16de754c2cc5f28912d3071e5379f47
2022-09-07 13:28:25 +08:00
qctecmdr
09e6dfdb9d Merge "sepolicy_vndr: Add sepolicy for ssg service app" 2022-08-04 00:25:49 -07:00
Charles McGrath
dd500f8e80 sepolicy_vndr: Add sepolicy for ssg service app
sepolicy changes for mlid to talk to service apps
as well as other vendor services

Change-Id: Iaf3d8ed13b3034d3365723483d62495b71224c61
2022-08-03 15:43:11 -07:00
Devanshi Bansal
076f86a3da sepolicy_vndr: Add permission to access card1
Change-Id: I6a01fd6e67275d7a286a13551c1950f7b9f81917
2022-07-29 00:32:50 -07:00
qctecmdr
5fba61cc60 Merge "sepolicy_vndr: update sepolicy for power-opt service on parrot" 2022-07-26 05:00:54 -07:00
qctecmdr
97187aee36 Merge "sepolicy_vndr: Update sepolicy rules for PMIC peripherals" 2022-07-26 00:27:28 -07:00
zehugong
eee653d5b9 sepolicy_vndr: update sepolicy for power-opt service on parrot
Enable rule to get soc_name for power optimization.

Change-Id: I45e9dca389c0b82a371fd336dddea0ecbc4eeead
2022-07-26 14:39:54 +08:00
Jishnu Prakash
21b0223aa5 sepolicy_vndr: Update sepolicy rules for PMIC peripherals
Update sepolicy rules for RGB, RTC and PON peripherals
for anorak.

Change-Id: I5e6762f6cd77789a040e0baf180e1ca83ad5ca38
2022-07-22 11:29:15 +05:30
Chris Goldsworthy
bce4b5e6e0 sepolicy: Add selabel for new CDSP CMA heap
Add a new selabel for the new CDSP CMA heap.

Change-Id: Ia169d61d8a672f5fcac45fc11f21d37279f01c24
2022-07-13 10:47:39 -07:00