32 Commits

Author SHA1 Message Date
SGCMarkus
7ec57dede3 sm7325-common: sepolicy: allow thermal engine read access to vendor_sysfs_usb_supply
Change-Id: Ieaa0188f31ba9c37396a691165859ab0b0e195f0
2022-08-11 21:26:16 +02:00
SGCMarkus
0a33bd0595 sm7325-common: sepolicy: adapt dt2w path to new implementation
Change-Id: Ibedf5ec526dfea8353838e267fefd7e5ef3a18d5
2022-08-11 21:26:16 +02:00
SGCMarkus
163b60efb0 sm7325-common: sepolicy: label cam-sync/cam-req-mgr v4l name
and allow desktopcamera hal access to it

Change-Id: I518002f0ef620e708d72f7f53b94486913d8b974
2022-08-11 21:26:16 +02:00
SGCMarkus
c8748021a6 sm7325-common: sepolicy: allow init.qti.media to read sku_version
also label sku_version while we at it

Change-Id: Id826748274b96957f88b5e1abe11337778b20a8f
2022-08-11 21:26:16 +02:00
SGCMarkus
570636673b sm7325-common: sepolicy: allow fp hal to acess tzstorage data files
FP HAL needs read access to /data/vendor/tzstorage/goodix/gf_otp_info

Change-Id: If7460e792df04dfc1a1efdb8a2d72d56f1801a62
2022-08-11 21:26:16 +02:00
Marc Bourgoin
782cc6aa56 sm7325-common: Add support for dubai (Edge 30)
Also decommonize a kernel cmdline

Change-Id: Id5aa4a5b2b893bd43531fa7bd0c1b9391705b430
2022-08-04 10:14:51 +02:00
SGCMarkus
e7c5fc252b sm7325-common: sepolicy: move some moto props to private
Change-Id: I2f992b80f29ed1f9660e72c82b2dc6a21fb697fe
2022-04-03 21:51:09 +02:00
SGCMarkus
85e730bd67 sm7325-common: sepolicy: remove battery duplicate
Change-Id: I3743d3535c46db57f661b8f34d2ed5496a8314c0
2022-04-03 21:50:32 +02:00
SGCMarkus
a42400032e sm7325-common: sepolicy: remove duplicate definition
this is defined in device/qcom/sepolicy_vndr/generic/vendor/lahaina

Change-Id: I236b7aee6e7996e5cd8fc3e93e863eb65b949203
2022-04-01 18:16:04 +02:00
SGCMarkus
7d32b1387c sm7325-common: sepolicy: first adaptions to berlin 2022-03-27 00:04:19 +01:00
SGCMarkus
95b667c5b9 sm8250-common -> sm7325-common 2022-03-26 23:16:05 +01:00
SGCMarkus
22ee9f1402 sm8250-common: sepolicy: remove label for gsm.operator.iso-country
e7fae4b66b
2022-03-13 16:09:19 +01:00
SGCMarkus
7ad58f9629 sm8250-common: sepolicy: allow vendor_file execute_no_trans
In some cases vendor_init_fingerprint, vendor_init_hw,
and vendor_qti_init_shell were not allowed to execute setprop/getprop

This caused ril and fingerprint, as well as partially sensors to fail.

Log:
avc:  denied  { execute_no_trans } for  pid=613 comm="init.oem.hw.sh" path="/vendor/bin/setprop" dev="overlay" ino=32565 scontext=u:r:vendor_init_hw:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
avc: denied { execute_no_trans } for comm="init.qcom.early" path="/vendor/bin/getprop" dev="overlay" ino=34132 scontext=u:r:vendor_qti_init_shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
avc: denied { execute_no_trans } for comm="init.oem.finger" path="/vendor/bin/getprop" dev="overlay" ino=34132 scontext=u:r:vendor_init_fingerprint:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
avc: denied { execute_no_trans } for comm="init.qcom.post_" path="/vendor/bin/getprop" dev="overlay" ino=34132 scontext=u:r:vendor_qti_init_shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
2022-03-09 22:50:07 +01:00
SGCMarkus
3c0cba0748 sm8250-common: livedisplay: uprev to 2.1 2022-03-06 23:02:20 +01:00
SGCMarkus
37fb10f30e sm8250-common: sepolicy: allow hal_fingerprint_default access to vendor_sysfs_fingerprint 2022-02-25 16:58:36 +01:00
SGCMarkus
906e2153d7 sm8250-common: sepolicy: add pstar touch hal service 2022-02-22 21:57:46 +01:00
SGCMarkus
7375f455fa sm8250-common: sepolicy: fix power hal and wakeup
also fix few more nfc denials
2022-02-21 00:11:32 +01:00
SGCMarkus
31398f7cdc sm8250-common: sepolicy: label dt-gesture and allow power/sensor hal access
pstar uses the touchscreen_mmi via stmicro_mmi driver
this is a partial revert of
376db816f6
2022-02-20 17:19:53 +01:00
SGCMarkus
d1def81471 sm8250-common: sepolicy: allow gnss hal to find fwk_sensor_hwservice 2022-02-20 17:09:08 +01:00
SGCMarkus
5ecaa7df6c sm8250-common: sepolicy: allow fingerprint hal access to bootimage props 2022-02-20 17:06:10 +01:00
SGCMarkus
b750905fc0 sm8250-common: sepolicy: allow rild access to wifi hal props 2022-02-20 17:05:35 +01:00
SGCMarkus
de433dd886 sm8250-common: sepolicy: label bq25960, mmi_chrg_manager(_qc3p) power supplies
also remove fp_fpc1020 duplicate
2022-02-20 17:04:34 +01:00
SGCMarkus
e948fd1bba sm8250-common: sepolicy: label moto nfc props
also make the touch prop more common
2022-02-20 17:02:57 +01:00
SGCMarkus
b41d7c4118 sm8250-common: sepolicy: allow thermal-engine access to sysfs_battery_supply 2022-02-20 17:01:38 +01:00
SGCMarkus
b43e3fd93e sm8250-common: sepolicy: label stflashtool and st secure_element 2022-02-20 16:59:59 +01:00
SGCMarkus
e565a9ed2d sm8250-common: sepolicy: label pstar nfc service and device 2022-02-20 15:21:51 +01:00
SGCMarkus
55cd6328ed sm8250-common: sepolicy: label pstars vibrator interface 2022-02-20 15:15:29 +01:00
dianlujitao
0fe53f415a sm8250-common: sepolicy: Fix build for S
Change-Id: Ic0c822ce146bee4d09a62306d4573f557acd186e
2022-02-20 14:29:59 +01:00
SamarV-121
918ba8d989 sm8250-common: sepolicy: Unlabel ro.gfx.driver.1
* https://android-review.googlesource.com/c/platform/system/sepolicy/+/1344643

Change-Id: I8cf513c21b91260ef914ea1621a7363c133d37d3
2022-02-20 14:24:42 +01:00
dianlujitao
a668c90d3a sm8250-common: sepolicy: Remove nonexistent property labels
Change-Id: I725ebcd810a718d0f6f42c4422d32845520aacef
2022-02-20 14:24:31 +01:00
SGCMarkus
488bd72bc5 sm8250-common: sepolicy: add rules for goodix/fpc1020 2022-02-20 14:21:47 +01:00
SGCMarkus
a6fb204f84 sm8250-common: add sepolicies from nio
state: fffc7ba5a6
2022-02-19 15:28:33 +01:00