Commit graph

11 commits

Author SHA1 Message Date
Albert Tang
d736c9340f dre: sepolicy: Fix flashlight
Change-Id: I95ebf14ffaae81b28204505d23ee448213c23bea
2022-06-14 20:05:00 -05:00
Albert Tang
a925fae1c0 dre: Remove Fingerprint-On-Display (FOD)
The N200 does not have this feature.

Change-Id: I98345722d6d4096d922b3c7f8b829bb80307f9fa
2022-06-03 17:40:51 -05:00
Albert Tang
14c4279118 dre: Remove KeyHandler
The N200 does not have an alert slider, making KeyHandler useless to us.

Change-Id: I9589b730172b3fc79070d75b8183fe9f92447a6e
2022-06-03 17:40:51 -05:00
Bruno Martins
186093efa0 sm8350-common: sepolicy: Trash leftover rules
Change-Id: Ia4e454598230bb5f78812494c2c3d45933c71250
2021-06-02 01:00:04 +01:00
LuK1337
1d85651b3a sm8350-common: sepolicy: Remove procfs_oem_wireless type
SM8350 devices don't have /proc/wireless or /proc/skin_temp_thrd.

Change-Id: Ib3a67f7c508ab3aea0bee28866b7293c8a785739
2021-06-02 01:15:32 +02:00
Bruno Martins
4cd2c8b6e5 sm8350-common: Bring up camera with enforcing SELinux
SELinux is more and more annoying nowadays, we all know that...
After spending hours to figure out why camera wasn't working while
on enforcing mode, the audits finally showed up after booting
into permissive mode. :S

05-31 01:19:55.133   877   877 I provider@2.4-se: type=1400 audit(0.0:456): avc: denied { read write } for name="capture" dev="sysfs" ino=116259 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
05-31 01:19:55.133   877   877 I provider@2.4-se: type=1400 audit(0.0:457): avc: denied { open } for path="/sys/kernel/tof_control/app0/capture" dev="sysfs" ino=116259 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1

Change-Id: I1727b1a299a02f15b75dce9a4d5c72201f6632c3
2021-06-01 23:23:38 +01:00
LuK1337
d1d109c825 sm8250-common: Bring in TOF sensor HAL
Change-Id: Ic5296a9ecf96f9a7fec5f523f9c59bfb68a0704f
2021-02-16 19:18:10 +01:00
Hikari-no-Tenshi
19525f89df sm8250-common: tri-state-key: Add hall sensor calibration support
Change-Id: I8449041eec5c8ab4153bd2942ebc7fda9ceb743e
2021-02-08 15:06:53 +01:00
LuK1337
f9c9767e3b sm8250-common: sepolicy: Initial vendor sepolicy
Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
2021-01-08 14:31:38 +01:00
LuK1337
da018dd3c6 sm8250-common: Re:Start sepolicy
* Drop all old rules, but keep tri-state-key.
* Also introduce dashd/wlchgd domain as they are needed for seclabels.

Change-Id: I0a7121f51d106d927866aead746a49b3dea6a149
2021-01-06 18:47:30 +01:00
quark2323
59b31cc8a7 sm8250-common: Address backlight/scsi/thermal related denials in recovery
Change-Id: Iecfac8b7bd618a2dca32775709c608610c564835
2020-06-29 14:26:44 +02:00