Wolfram Liebchen
747fa28ad9
sm6225-common: Add notification light HAL
...
The otherwise unused charging-LED is used as notification light with
configurable pulse-widths.
Change-Id: Ic6c7cf993b8e83793b191d24cff65320c68d40d0
2023-11-11 16:28:23 +02:00
electimon
c51f172bec
sm6225-common: Rename camera.mot.is.coming.cts
...
* This prop is illegal due to violating the
* vendor property namespace rules
[Dhina17: Adapted for sm6225]
Signed-off-by: electimon <electimon@gmail.com>
Change-Id: I2da4951e19e97e5291cbb0f0b18cdae14f63fbaa
2023-08-27 19:57:09 +05:30
Dhina17
b6b3a73f89
sm6225-common: sepolicy: Label camera.mot.is.coming.cts
...
Change-Id: I21f8bc7ea4520f3396efda9c3d0651e7ba81906f
2023-08-27 19:44:35 +05:30
Tommaso Fonda
2a9b641dce
sm6225-common: sepolicy: Label more IIO nodes
...
Addresses e.g. (observed on rhode):
avc: denied { read } for name="name" dev="sysfs" ino=59156
scontext=u:r:vendor_hvdcp:s0 tcontext=u:object_r:sysfs:s0 tclass=file
permissive=0
Change-Id: If49f5e6973425683a1bdf9c4fafa8f863883e18f
2023-08-01 22:42:53 +05:30
Tommaso Fonda
bdc1988602
sm6225-common: sepolicy: Label rhode touchscreen nodes
...
avc: denied { read } for name="vendor" dev="sysfs" ino=51521
scontext=u:r:vendor_init_touch:s0 tcontext=u:object_r:sysfs:s0
tclass=file permissive=0
avc: denied { read } for name="vendor" dev="sysfs" ino=51520
scontext=u:r:vendor_init_touch:s0 tcontext=u:object_r:sysfs:s0
tclass=file permissive=0
Change-Id: I038d821fd603c89c37020fa491c60b806b91f35d
2023-08-01 22:42:37 +05:30
Michael Bestas
8f862572e7
sm6225-common: sepolicy: Resolve hvdcp IIO denials
...
Change-Id: Ic2a3dbad57398b201a6b21cf846ec9b4848743e5
2023-07-19 23:47:58 +03:00
Michael Bestas
6d6a28f63a
sm6225-common: sepolicy: Simplify SEC NFC policy
...
Change-Id: I441dadca7d7497f9e7f015437d90d28807bff8ce
2023-07-19 22:59:00 +03:00
Michael Bestas
c7e7075365
sm6225-common: sepolicy: Sort genfs_contexts
...
Change-Id: I134fa3e0528257d819e352464d6a2b5deafc33a3
2023-07-19 22:59:00 +03:00
SGCMarkus
edbe98444d
sm8250-common: sepolicy: Label STFlashTool
...
Change-Id: I9b6b0062de8ccd28d73b7ad12ed5cd2084bd70a9
2023-07-19 22:32:29 +03:00
Michael Bestas
6296e15c1a
sm6225-common: sepolicy: Label ST NFC
...
Change-Id: I940a8394b7c4fed0af86faa55d931e3963497123
2023-07-19 22:16:44 +03:00
Dhina17
e192c9ba83
sm6225-common: sepolicy: Consider all vendor.hw.touch.* properties
...
Change-Id: Ia43b6fb58079dc2f7b503a8ddfb75cdbb9309345
2023-06-24 22:21:06 +05:30
Dhina17
9b3f813e6d
sm6225-common: sepolicy: Label devon fts_ts nodes
...
Change-Id: Ia862dfb312c9777782dcc41573c7eb6a6700933e
2023-06-24 22:20:57 +05:30
Michael Bestas
b28d79f9c5
sm6225-common: Label init.mmi.acdb.sh
...
Change-Id: Iae7e31b4e43f6359d47670dbfdc05c5deccb76ac
2023-06-01 18:17:01 +03:00
Dhina17
efd11b00ab
sm6225-common: Fix devon egis fp denials
...
Change-Id: Iad529eec329ecf37f9df34c88ff3eecb6cde08d5
2023-05-24 00:50:27 +05:30
Dhina17
3ffdc321ba
sm6225-common: sepolicy: Label rhode power supply node
...
Change-Id: I425af737fc49e4b33f819a9aeeb3972631d38c1e
2023-05-20 02:57:00 +05:30
Dhina17
d94b7581e5
sm6225-common: sepolicy: Use same label for all fps device
...
Change-Id: Ib6551e19adcb188991846bac75ad637f0225e5a7
2023-05-20 02:57:00 +05:30
Dhina17
156ea9a868
sm6225-common: sepolicy: Add rules for focaltech fp
...
Change-Id: I9bf360696c6362b42e532228bf3ec9c1e684f163
2023-05-20 02:55:08 +05:30
Dhina17
03b114addb
sm6225-common: sepolicy: Label rhode wakeup nodes
...
Change-Id: Ie0b86a720b462fda4f6e6dc875a233f9733dbe5c
2023-05-08 22:35:59 +05:30
Michael Bestas
f8ba4072cf
sm6225-common: sepolicy: Label init.oem.fingerprint.sh
...
Change-Id: Ib7de1e98e440dfc9f0048e7299e379767c86bf3d
2023-05-07 01:03:33 +03:00
Michael Bestas
5c1d33f485
sm6225-common: sepolicy: Label caprip wakeup nodes
...
Change-Id: Iaa05e661740033323475f07f79337b5b7f3d0661
2023-05-07 01:03:33 +03:00
Michael Bestas
7574807fb4
sm6225-common: sepolicy: Label emmc partitions
...
Change-Id: I06cfb37e1ccd65b0d2da778c94330f1507fa1c67
2023-05-07 01:03:33 +03:00
Michael Bestas
d094348e25
sm6225-common: sepolicy: Sort sched sysfs
...
Change-Id: Id500c3da842b4b31d8d4333359a8990df2d715e8
2023-05-05 22:32:10 +03:00
Michael Bestas
720dd61ad4
sm6225-common: sepolicy: Label NVT touch sysfs
...
Change-Id: Id28a897cd6b35082782fb2d9cbe67311a03d38e5
2023-05-05 22:32:10 +03:00
Michael Bestas
b6fe7a847b
sm6225-common: sepolicy: Label LDO vibrator path
...
Change-Id: I0b8ac23f33fddb8904a4561c7b7ca03467e07c6a
2023-05-05 22:32:10 +03:00
Michael Bestas
b1cf538d07
sm6225-common: sepolicy: Label devon charger nodes & sort
...
Change-Id: I96d22a37c82ebfc18e90a2d89168a6db07d691fc
2023-05-05 22:32:10 +03:00
Michael Bestas
30687eb7db
sm6225-common: sepolicy: Label devon wakeup nodes & sort
...
Change-Id: Icb576b749f37fc4f5419ce082a96fbb1603e2a2c
2023-05-05 22:32:10 +03:00
Michael Bestas
afe0497d1c
sm6225-common: sepolicy: Label focal/fpc fingerprint services
...
Change-Id: I63dffeb97a78fdc2218f4146c1c9c106329b6494
2023-04-25 03:54:52 +03:00
Michael Bestas
00cf17f1db
sm6225-common: sepolicy: Label init.mmi.boot.sh and resolve denials
...
Change-Id: I78dcfb47e28a20304e64880aeae1876d566d7924
2023-04-19 20:35:11 +03:00
Michael Bestas
e57a75c253
sm6225-common: sepolicy: Label extcon nodes
...
Change-Id: Idc944f15a83f4f1385efce16d7617b57e1dbf3b1
2023-04-16 13:37:57 +03:00
Michael Bestas
b0083807a3
sm6225-common: sepolicy: Remove duplicate sysfs_wakeup nodes
...
Change-Id: I54afb6b48bc97d2c8376b5bdc3e4c924a73a2e68
2023-04-16 13:37:57 +03:00
Michael Bestas
266042304a
sm6225-common: sepolicy: Allow services log to /dev/kmsg
...
Change-Id: I4d77053acf022e0ca511e8090c3000e64871f27c
2023-04-10 19:18:18 +03:00
Michael Bestas
c870554729
sm6225-common: sepolicy: Resolve vendor_init_touch denials
...
Change-Id: Ia71c46662f12f3939e1a4d51b4ab06101f8cc9b7
2023-04-10 19:18:11 +03:00
Michael Bestas
30d50e935a
sm6225-common: sepolicy: Label ft3519 touchscreen sysfs
...
Change-Id: I9dc2738553f4f7540566f25c7131462d9a45dbf8
2023-04-10 19:18:11 +03:00
Michael Bestas
b4382fcf2e
sm6225-common: sepolicy: Allow GNSS HAL to access ISensorManager
...
Change-Id: Ib3f16ca6e0e848163dd680eeeb8a72a300753ca0
2023-04-10 19:18:11 +03:00
Michael Bestas
7481b43ee2
sm6225-common: sepolicy: Allow rild read mnt_vendor_file dir
...
Change-Id: I099d1ea9e0c690af7e96764852b2122ac8bf6ae9
2023-04-10 19:18:11 +03:00
Michael Bestas
670a0c4143
sm6225-common: sepolicy: Allow NFC HAL set NFC props
...
Change-Id: I8213df668c8ab8184d544f24359c2bcf04cfe85c
2023-04-10 19:18:11 +03:00
Michael Bestas
93fdcc5964
sm6225-common: sepolicy: Label additional power_supply sysfs
...
Change-Id: I275ccf6aa2369baae2e167e6ec33ceb3ef3d53e0
2023-04-10 19:18:02 +03:00
Michael Bestas
14b933ff64
sm6225-common: sepolicy: Graphics composer HAL is a client of configstore
...
Change-Id: I0cd5e5a8246b1f2a770a206a2cb7fb151fdd630d
2023-04-10 19:18:01 +03:00
Michael Bestas
f84656c8d5
sm6225-common: sepolicy: Cleanup & label additional sysfs wakeup nodes
...
Change-Id: I6156ff3a749e7bb19b874349da857127061afab6
2023-04-10 19:18:01 +03:00
Michael Bestas
ebcefb0db2
sm6225-common: sepolicy: Allow fingerprint HAL write to sysfs_devices_system_cpu
...
Change-Id: Ifcbe5d07c3ea4a7e7bc62299456230f09f39b76f
2023-04-10 17:56:49 +03:00
Michael Bestas
a478ab0425
sm6225-common: sepolicy: Allow camera HAL access mmi,panel_id sysfs
...
Change-Id: Ic05ffa4ba3a9830b6d38fbb65b94b4be647f01d8
2023-04-10 17:56:44 +03:00
Michael Bestas
3edbb012cb
sm6225-common: sepolicy: Allow audio HAL to access ISensorManager
...
Change-Id: I98b5496390cf2aa9b92b34a19c4c34109481dc51
2023-04-10 17:56:43 +03:00
dianlujitao
e7f547f4bd
sm6225-common: Use ueventd to load aw882xx calibration file
...
* Avoid direct filesystem access from the kernel
Change-Id: Id9571e0cfb635b536eb4927fb4b2bed042917306
2023-04-10 17:56:43 +03:00
Aayush Gupta
8a6dc828aa
sm6225-common: Label and address NFC sec hal and its denials
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1e1f62611ecd1bc090e4a9d87f4b0a86d1e83c2a
2023-04-09 01:35:41 +05:30
Dhina17
c23037ab30
sm6225-common: Fix egis fps denials
...
Change-Id: I2bc8b476da316520bcb920780048a51b4d7f845f
2023-04-09 01:34:33 +05:30
Dhina17
d4a738f675
sm6225-common: Label chipone fps hal
...
Change-Id: Iaaf7455589745e6fa3187c830dc1e7fbe5b3e374
2023-04-09 01:09:24 +05:30
Dhina17
0919f61e5b
sm6225-common: Label wakeup nodes
...
Run [0] script with device connected via adb.
Reference:
[0] - https://android.googlesource.com/platform/system/hardware/interfaces/+/refs/heads/master/suspend/1.0/default/SuspendSepolicyTests.sh
Change-Id: I1741fe89141477317223115da68d3bfc72cb4f9e
2023-04-09 01:09:24 +05:30
Dhina17
fc860f50cd
sm6225-common: Label vibrator node
...
Change-Id: I98a4d76d72a79c16dfe2afbe4fab866f4f716bd4
2023-04-09 01:09:24 +05:30
Dhina17
e323ba70ad
sm6225-common: Label power supply nodes
...
Change-Id: Icadb1ae14a530dcb409928bdff2fcac54773d70e
2023-04-09 01:09:24 +05:30
Dhina17
23b675da2d
sm6225-common: Import base sepolicy from moto sm8250-common
...
- Imported from https://github.com/LineageOS/android_device_motorola_sm8250-common/tree/lineage-19.1/sepolicy HEAD ed02954834ecc70cee043170b1322dff5cd491b8
- Adapted and cleaned up.
Change-Id: I2e8cd6419c740c0e05ecb6fcd4db8b743e5ac229
2023-04-09 01:09:24 +05:30