Hsiu-Chang Chen
cadc3a71b6
wifi: genfs_contexts: fix path for wifi device
...
Bug: 313754855
Test: without avc denial when booting
Change-Id: I0d94aa3c766c2d98748f53223e45fdb32caa38ba
2023-12-04 15:37:05 +08:00
Hsiu-Chang Chen
ae260626bc
wlan: add cnss-daemon and related libraries am: 53746d9546
am: cc2eda58a1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21257900
Change-Id: Ifa5b92a131372c681371a48bb8c6fec715a20b34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-15 10:08:06 +00:00
Hsiu-Chang Chen
53746d9546
wlan: add cnss-daemon and related libraries
...
cnss-daemon is necessary for CHRE function
Bug: 264524963
Test: Regression Test
Change-Id: Ic7b63617e30a9e6427b0ac280bf4763f9cc19f6e
2023-02-15 01:47:13 +00:00
Hsiu-Chang Chen
412d4909c5
wifi: correct label wlan0/p2p0/wifi-aware0 device as sysfs_net am: 9ac637312b
am: ccea61be5a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19493414
Change-Id: Id224eb65a530ba1cd6a4b5896b67e55e0b434c07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-03 00:09:17 +00:00
Hsiu-Chang Chen
9ac637312b
wifi: correct label wlan0/p2p0/wifi-aware0 device as sysfs_net
...
Bug: 239657967
Test: NetdSELinuxTest#CheckProperMTULabels
Change-Id: I31db1d2110b2c18cf12a5cfa9b13e8c6dff09d59
2022-08-02 08:54:18 +00:00
chungkai
f2a7632106
genfs_contexts: fix path for i2c peripheral device
...
paths are changed when we enable parallel module loading and
reorder the initializtaion of devices.
Test: without avc denial on L10 when booting
Bug: 240641235
Signed-off-by: chungkai <chungkai@google.com >
Change-Id: I411ceaa02cb6fb36fc767937a62f945685c4a019
2022-08-02 08:51:28 +00:00
Darren Hsu
4e2b651fdc
sepolicy: allow hal_power_stats to read wifi sysfs and property
...
avc: denied { read } for name="power_stats" dev="sysfs"
ino=114517 scontext=u:r:hal_power_stats_default:s0
tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
avc: denied { read } for name="u:object_r:wifi_hal_prop:s0"
dev="tmpfs" ino=371 scontext=u:r:hal_power_stats_default:s0
tcontext=u:object_r:wifi_hal_prop:s0 tclass=file permissive=0
Bug: 240391946
Test: get bugreport and make sure no avc denials related to
Test: hal_power_stats
Change-Id: I3be32eb4e61926c3abd24c67e7dab9b4056bf00a
Signed-off-by: Darren Hsu <darrenhsu@google.com >
2022-07-28 15:48:41 +08:00
Hsiu-Chang Chen
0c59021e58
Add sepolicy for hal_wifi_ext
...
07-27 11:58:09.569 869 869 I auditd : type=1400 audit(0.0:2682598):
avc: denied { read } for comm="wifi_ext@1.0-se" name="driverdump" dev="proc"
ino=4026535980 scontext=u:r:hal_wifi_ext:s0 tcontext=u:object_r:proc:s0
tclass=file permissive=0
Bug: 239656339
Test: avc error is gone
Change-Id: Icf816897780fecc1bb35696e492e6fa2661abc20
2022-07-27 08:27:21 +00:00
Darren Hsu
07f8ea39a1
sepolicy: label more paths for sysfs_wakeup
...
Bug: 234311758
Test: forrest apct/device_boot_health_check_extra
Change-Id: I6dab109733062b32e09cfddcbf43cbdc515c07ba
Signed-off-by: Darren Hsu <darrenhsu@google.com >
2022-06-06 11:13:06 +08:00
Jack Wu
2d50edbc64
Add sepolicy for P9222 WLC power_supply
...
05-30 05:13:03.096 836 836 I auditd : type=1400 audit(0.0:6): avc: denied { getattr } for comm="android.hardwar" path="/sys/devices/platform/10da0000.hsi2c/i2c-6/i2c-p9222/power_supply/wireless/capacity" dev="sysfs" ino=71270 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
05-30 05:13:03.100 836 836 I auditd : type=1400 audit(0.0:7): avc: denied { read } for comm="android.hardwar" name="type" dev="sysfs" ino=71272 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
Bug: 234311757
Test: build ok, no avc denied
Signed-off-by: Jack Wu <wjack@google.com >
Change-Id: I0fb296a9472eda7ff5f2babfea1c769caea525e1
2022-05-31 13:08:07 +08:00
Hsiu-Chang Chen
374602a559
wifi: Add sepolicy for LOWI tools
...
Add sepolicy rules for LOWI tools including loc_launcher and
lowi-server which are necessary for NAN and RTT
Bug: 223296149
Test: loc_launcher and lowi-server start automatically
Change-Id: I915be13fa715de85de91c30e0605f1e8e9d578f4
2022-03-15 09:37:05 +00:00
Tai Kuo
1663eff382
Setup sysfs_vibrator
...
Bug: 220068530
Test: dumpsys android.hardware.vibrator.IVibrator/default
Change-Id: Icd8a7d5db2277c72be9a72723434145db4eecb02
2022-03-07 11:27:09 +08:00