Darren Hsu
9b03fffd65
sepolicy: label required display paths for hal_power_stats
...
Bug: 321871758
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ic7f4271730b851194eaf42d3752c834ae85831bc
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-25 17:22:47 +08:00
Kai Chang
20aa003baa
Merge "fingerprint: Allow fps to access wakeup node" into main
2024-01-12 09:25:50 +00:00
eddielan
6b25e7527c
fingerprint: Allow fps to access wakeup node
...
01-12 08:01:43.652 1852 1852 W android.hardwar: type=1400 audit(0.0:38):
avc: denied { write } for name="wakeup_enable" dev="sysfs" ino=97986
scontext=u:r:hal_fingerprint_capacitance:s0
tcontext=u:object_r:sysfs_wakeup:s0 tclass=file permissive=0
Bug: 319578405
Test: Build pass & check on device
Change-Id: I31380020ac5fe61bb976954d03a9449bbe6c287d
2024-01-12 08:20:52 +00:00
Wilson Sung
52692f5cc7
Label and sort wakeup nodes
...
Bug: 318032188
Test: make sepolicy
Change-Id: I5477cee657942e1b2eb87f250adba4048c5b7696
2024-01-08 17:06:23 +08:00
Wilson Sung
76a6fad054
Move fingerprint to each device sepolicy folder
...
Bug: 312322769
Test: make sepolicy
Change-Id: I5f0032655f97e01cd18fdabb9d909e9e2295744d
2023-12-19 03:51:26 +00:00
sashwinbalaji
05f2f5195b
sepolicy: thermal: add init_thermal policies
...
Bug: 315096213
Test: Build and verify for avc errors
Change-Id: Idf032c9ce1544253cebd82fda24bcd4582c95111
2023-12-18 19:28:13 +08:00
Kamal Shafi
b66a9c1e64
sepolicy: migrate zumapro devices sepolicy
...
- Move device specific sepolicy
Bug: 312869113
Test: build
Change-Id: I6f9228ba62d18cbcb6b8618b3ff7078b50daabbe
2023-11-27 06:24:33 +00:00
Treehugger Robot
bb0a18f99c
Merge "comet-sepolicy: Enable Lbe atc on secondary display" into main
2023-11-20 06:05:05 +00:00
Joe Huang
ca8e1ec77b
Merge "Add sepolicy rules for gnss" into main
2023-11-03 02:39:12 +00:00
Joe Huang
d510a3608b
Add sepolicy rules for gnss
...
Bug: 303789385
Test: GPS test on normal & factory builds
Change-Id: I140d2ec76f11b68b2e0abac2cc9278a82048814d
2023-11-02 17:41:32 +08:00
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
Burney Yu
527935ad96
comet-sepolicy: Enable Lbe atc on secondary display
...
Bug: 283353282
Test: Check PixelDisplayService log
Change-Id: I1d60b8da4b0cd35f2b5f3aa439945588e4d1ab72
2023-10-20 16:51:10 +08: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