Skip to content
Snippets Groups Projects
Commit 9d86e622 authored by Tomonori Nanbu's avatar Tomonori Nanbu Committed by android-build-merger
Browse files

Merge "Add sepolicy for hal_wifi to access /proc/modules" am: 6acd70b9

am: ded0b58d

Change-Id: I574e60486bb12214e33a8e9aabf7794d4ebc0b1a
parents 65ffb065 ded0b58d
No related branches found
No related tags found
No related merge requests found
...@@ -21,3 +21,5 @@ allow hal_wifi self:netlink_socket create_socket_perms_no_ioctl; ...@@ -21,3 +21,5 @@ allow hal_wifi self:netlink_socket create_socket_perms_no_ioctl;
allow hal_wifi self:netlink_generic_socket create_socket_perms_no_ioctl; allow hal_wifi self:netlink_generic_socket create_socket_perms_no_ioctl;
# hal_wifi writes firmware paths to this file. # hal_wifi writes firmware paths to this file.
allow hal_wifi sysfs_wlan_fwpath:file { w_file_perms }; allow hal_wifi sysfs_wlan_fwpath:file { w_file_perms };
# allow hal_wifi to access /proc/modules to check if Wi-Fi driver is loaded
allow hal_wifi proc_modules:file { getattr open read };
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment