Commit graph

12 commits

Author SHA1 Message Date
Jack Wu
018f7619cc Add sepolicy for dual_batt_gauge power supply
10-30 04:38:39.556   814   814 I auditd  : type=1400 audit(0.0:13): avc:  denied  { getattr } for  comm="android.hardwar" path="/sys/devices/platform/google,dual_batt_gauge/power_supply/dualbatt/type" dev="sysfs" ino=77177 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
10-30 04:38:39.556   814   814 I auditd  : type=1400 audit(0.0:11): avc:  denied  { read } for  comm="android.hardwar" name="type" dev="sysfs" ino=77177 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
10-30 04:38:39.556   814   814 I auditd  : type=1400 audit(0.0:12): avc:  denied  { open } for  comm="android.hardwar" path="/sys/devices/platform/google,dual_batt_gauge/power_supply/dualbatt/type" dev="sysfs" ino=77177 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1

Bug: 308380763
Test: reboot device and check the avc
Change-Id: Ie39f9df23c4041ac442599d85279b69638a514d2
Signed-off-by: Jack Wu <wjack@google.com>
2023-10-31 11:37:25 +08:00
YiKai Peng
5f4f0e3f60 Merge "WLC: add static i2c number for sepolicy" into main 2023-10-24 12:30:31 +00:00
YiKai Peng
74e9d81f53 WLC: add static i2c number for sepolicy
Bug: 306699444
Test: No selinux denials related to wireless
Change-Id: I6c3a8781b4a113c14393930be65bdcb028a32c83
Signed-off-by: YiKai Peng <kenpeng@google.com>
2023-10-24 07:16:18 +00:00
timothywang
5e97a88cf9 Allow vendor_init to set camera debug prop
Bug: 301039060
Test: build pass, check property
Change-Id: Iece5d1d88e66d65ad78cba0508cc4547d30d8c0d
2023-10-13 18:12:59 +08:00
Joe Huang
97baab5951 Add sepolicy for gnss
Bug: 294708565
Test: GPS test
Change-Id: I6a460a16b4a9a7624b7769c4725a03249869bb65
2023-10-03 14:27:18 +08:00
Treehugger Robot
f147b6d264 Merge "Add service context for IDisplay/secondary" into main 2023-09-12 06:00:28 +00:00
Jenny Ho
c46d5ae695 sepolicy: add secondary battery and wireless charging permission
Bug: 299268124
Test: data is correct in dumpstate
Change-Id: I030c3d9230980654b142902bec6c6acf942caa72
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-09-07 20:07:42 +08:00
Burney Yu
8572f023b2 Add service context for IDisplay/secondary
Bug: 283353282
Test: Test pixel display interface
Change-Id: I30f56cb721155d90292049bcf35274a5d6fbe065
2023-09-07 16:47:40 +08:00
Tai Kuo
83b0b32da2 Remove unused CS40L26 I2C paths
Bug: 285343932
Test: No AVC denials.
Change-Id: I35ef8dbd4304d620cf7eb57fc00f88387d76eb64
2023-09-04 19:11:56 +08:00
Weizhung Ding
9f7a30113a Add permission for secondary dsim
Bug: 287392044
Test: adjust brightness
Change-Id: I730ab114243911bd08f21579ab1d43d60ca4a19b
2023-06-15 06:35:20 +00:00
Tai Kuo
ee9740df18 Update vibrator SEPolicy for possible paths
Pre-porting. Align with other P23 projects.

Bug: 264625320
Test: Build sepolicy.
Change-Id: I8996bbdd32fd8c2c708dca00f49a0ab4c33aedb7
2023-02-04 15:31:31 +08:00
Cyan_Hsieh
aaae350c47 Initial device comet sepolicy
Bug: 263919239
Change-Id: I5a72c5574a66c6719b87bc3dbd5e3b0baec09bd1
2023-01-09 16:12:19 +08:00