Commit Graph

9 Commits

Author SHA1 Message Date
LuK1337
009684123e sepolicy: qti: Label SM8150 vibrator sysfs path
Change-Id: I80836911f8b15fed6742b69e4ebe307bbdb796f2
2022-10-11 19:55:23 +02:00
LuK1337
f2de507d76 sepolicy: qti: Label SM8150 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: I5473d60b40686d0085f291f46d882cac0390ff3d
2022-10-11 19:55:22 +02:00
LuK1337
cf5e10f923 sepolicy: qti: Label oneplus_wlchg wakeup nodes
Change-Id: I9839c23d2f80874bda56e79b2a587ec7912cdb51
2022-07-16 11:27:17 +02:00
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