Commit Graph

11 Commits

Author SHA1 Message Date
Mesquita ae0c1c93d3 fixup! sepolicy: common: Add the attributes corresponding to the umdservice
* move from generic to common folder

Change-Id: I173bf374d993810bd442790da6ac4616d18b9843
Signed-off-by: Mesquita <mesquita@aospa.co>
2023-10-19 10:25:38 -03:00
Yashaswini Guvvala 19bd126728 sepolicy: generic: Add the attributes corresponding to the umdservice
Change-Id: I1102eda821c08084eccbdd2162b68989aed7c628
2023-10-19 02:36:35 +00:00
Mashopy dee693aa36 sepolicy: qva: kona: Fix KineticsXR controller debug property
Kona is able to compile again in userdebug builds

Change-Id: Ia84873a15aff6ec4bba59dc71d40ac9e1ca32af7
2023-09-13 22:33:13 +00:00
electimon 6e93bc0b99 common: sepolicy: Move AOSPA specific sepolicies to their own folders
* With this, qcom common sepolicy compiles on AOSP based ROMs.

Change-Id: Ie5e2c5660305a859ebfb0ddbec8fd19be3ac11e4
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
Jake Weinstein 2b1d3d1de6 common: sepolicy: legacy: Add support for MSM8937/MSM8953/MSM8998/SDM660
from LA.UM.9.6.4.r1-03900-89xx.QSSI13.0 and LA.UM.11.2.1.r1-02600-sdm660.0

Includes support for MSM8937/MSM8953/MSM8998/SDM660

Change-Id: Iaa111b2eebaf7ef755b57cea26d6c4ba0a4d5def
2023-01-20 06:42:13 +00:00
Jake Weinstein f815cf4635 common: sepolicy: Commonize system SEPolicy
There's no reason for these to be separate since
all devices use the same QSSI system policy.

This also fixes inheriting of system policies
as the directory in the Makefile and
the actual directory did not match before.

Change-Id: I48b178f136b2a6ff0d0bb36264149b46ef3884c4
2023-01-20 03:18:58 +00:00
Jake Weinstein ccbf9fcde2 common: sepolicy: Add public policies to generic and legacy
Also add private to legacy

Change-Id: I2c51d55f91c709d8432e44fa0201bc8b46c15c5c
2023-01-05 09:40:19 +00:00
Jake Weinstein d2f0a861e3 common: sepolicy: Move policies to common directory
The folder structure added by I75165f3bf86f5f099298672977f6f5f5dc46c064
was confusing. In this commit, we are moving policies to
the common directory, which will only take effect on 855 and
newer. Then, as needed, we can backport to legacy.

Change-Id: Idc300d2a31b7851d37827e647a60a2b992ab256c
2022-12-31 09:04:21 +00:00
Jyotiraditya Panda 11d08a95e7 common: sepolicy: Allow system server to read camera properties.
avc: denied { read } for name="u:object_r:vendor_persist_camera_prop:s0" dev="tmpfs" ino=12792 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_persist_camera_prop:s0 tclass=file permissive=0
W libc    : Access denied finding property "vendor.camera.aux.packagelist"
W CameraManagerGlobal: ignore the torch status update of camera: 2

Change-Id: I75165f3bf86f5f099298672977f6f5f5dc46c064
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-12-08 15:09:48 +00:00
chrisw444 e8269cc8c9 common: sepolicy: Fix mediaserver denial
* 10-30 10:47:22.470 E/SELinux (560): avc:  denied  { find } for pid=1236 uid=1013 name=package_native scontext=u:r:mediaserver:s0 tcontext=u:object_r:package_native_service:s0 tclass=service_manager permissive=0

Change-Id: Ia93424d231b2d8c95e32c6e58cf534f991ad9a5c
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
2022-12-01 11:00:15 -03:00
Jake Weinstein 6f4c4eb90d common: sepolicy: Build custom policies
Moving to device/qcom/common so we don't need
to rebase so many changes going forward.

Change-Id: I0a51c45e0bd54fe14a0bf95e7460bcd9688705ca
2022-10-29 07:33:03 +09:00