-
- Downloads
sepolicy(hostapd): Add a HIDL interface for hostapd
Change sepolicy permissions to now classify hostapd as a HAL exposing HIDL interface. Sepolicy denial for accessing /data/vendor/misc/wifi/hostapd: 12-27 23:40:55.913 4952 4952 W hostapd : type=1400 audit(0.0:19): avc: denied { write } for name="hostapd" dev="sda13" ino=4587601 scontext=u:r:hal_wifi_hostapd_default:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0 01-02 19:07:16.938 5791 5791 W hostapd : type=1400 audit(0.0:31): avc: denied { search } for name="net" dev="sysfs" ino=30521 scontext=u:r:hal_wifi_hostapd_default:s0 tcontext=u:object_r:sysfs_net:s0 tclass=dir permissive=0 Bug: 36646171 Test: Device boots up and able to turn on SoftAp. Change-Id: Ibacfcc938deab40096b54b8d0e608d53ca91b947
Showing
- private/compat/26.0/26.0.ignore.cil 1 addition, 0 deletionsprivate/compat/26.0/26.0.ignore.cil
- private/hwservice_contexts 1 addition, 0 deletionsprivate/hwservice_contexts
- private/system_server.te 1 addition, 0 deletionsprivate/system_server.te
- public/attributes 1 addition, 0 deletionspublic/attributes
- public/hal_neverallows.te 2 additions, 0 deletionspublic/hal_neverallows.te
- public/hal_wifi_hostapd.te 28 additions, 0 deletionspublic/hal_wifi_hostapd.te
- public/hwservice.te 1 addition, 0 deletionspublic/hwservice.te
- public/su.te 1 addition, 0 deletionspublic/su.te
- vendor/file.te 2 additions, 2 deletionsvendor/file.te
- vendor/file_contexts 2 additions, 2 deletionsvendor/file_contexts
- vendor/hal_wifi_hostapd_default.te 11 additions, 0 deletionsvendor/hal_wifi_hostapd_default.te
- vendor/hostapd.te 0 additions, 23 deletionsvendor/hostapd.te
Loading
Please register or sign in to comment