Commit Graph

6 Commits

Author SHA1 Message Date
LuK1337
74c4300652 sepolicy: qti: Add rules for vendor.oplus.hardware.oplusSensor
Change-Id: I3f51f2586e0af11749bd2cdb5a744b7b2fcb283d
2022-07-11 09:35:09 +02:00
LuK1337
e20099c05f sepolicy: qti: Label SM8250 charging sysfs path
Change-Id: I3662e118e1b401d97c8450ae6b3c95442dfef625
2022-07-11 09:35:09 +02:00
LuK1337
41ac9d7d73 sepolicy: qti: Label SM8250 vibrator sysfs paths
Change-Id: Icb13e32b4b72e734c7252e5b31b856f9ece4dd98
2022-07-11 09:35:09 +02:00
LuK1337
73b6c06adf sepolicy: qti: Allow sensors to access ssc_interactive & soc:sensor_fc
Change-Id: I75b740b8fba66615b08f791a43e476042e19a0f6
2022-07-11 09:35:09 +02:00
LuK1337
17d82b5a99 sepolicy: qti: Label SM8250 wakeup nodes
for i in $(realpath /sys/class/wakeup/*); do if ! echo "$(ls -dZ $i)" | grep -q sysfs_wakeup; then echo genfscon sysfs $(echo $i | sed -e 's|/sys||g' -e 's|wakeup/wakeup.|wakeup|g' -e 's|wakeup[0-9]*|wakeup|g') u:object_r:sysfs_wakeup:s0; fi; done | sort -u

Change-Id: Id70f4e725f8925b31c0007fae5eb98756ddcd410
2022-07-11 09:35:09 +02:00
Alexander Koskovich
eb50d7c01c Add initial QTI SEPolicy for Oplus
Change-Id: Ib06cada5e7031d1f95976bf48a6a8475a835c9a4
2022-07-11 09:35:09 +02:00