Commit graph

7 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
40c5487ca9 dre: sepolicy: Remove OP charger feature
OnePlus does not ship their DASH/Warp Charging feature with the N200.
Their 18W block is most likely just a rebranded QTI charger.

Change-Id: I176b3bd91877943f76b0db6e146ea845e0bf2d55
2022-06-06 21:01:30 -05:00
Bruno Martins
2596fae414 sm8350-common: sepolicy: Allow camera to set vendor.sys.op.disable_ufstw
Change-Id: Iafd461fed468a91f3c5637a6ecb61616acbcb225
2021-06-02 13:18:06 +02:00
LuK1337
965826e23b sm8350-common: sepolicy: Add rules for OnePlus charger
Change-Id: Ic4685fca5d631bce8b87492bc3c956e3dc567054
2021-06-02 09:35:21 +01:00
Bruno Martins
186093efa0 sm8350-common: sepolicy: Trash leftover rules
Change-Id: Ia4e454598230bb5f78812494c2c3d45933c71250
2021-06-02 01:00:04 +01: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
f9c9767e3b sm8250-common: sepolicy: Initial vendor sepolicy
Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
2021-01-08 14:31:38 +01:00