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

am: ded0b58d62

Change-Id: I574e60486bb12214e33a8e9aabf7794d4ebc0b1a
This commit is contained in:
Tomonori Nanbu 2017-06-22 15:45:20 +00:00 committed by android-build-merger
commit 9d86e622e3

View File

@ -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;
# hal_wifi writes firmware paths to this file.
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 };