Commit graph

22 commits

Author SHA1 Message Date
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