cm: sepolicy: Allow ueventd to load WiFi and audio irmware

* Every device which uses Prima or WCD will hit this, so just allow it.

Change-Id: Ie2303ad7fc3498276d41e567a738cd016f635453
This commit is contained in:
Steve Kondik 2014-04-05 14:08:20 -07:00
parent 002b4f0a4f
commit d3827c4f41

View File

@ -3,3 +3,11 @@ allow ueventd sysfs:file relabelfrom;
# ueventd will set permissions on cpufreq nodes # ueventd will set permissions on cpufreq nodes
allow ueventd sysfs_devices_system_cpu:file setattr; allow ueventd sysfs_devices_system_cpu:file setattr;
# ueventd loads wifi firmware on a ton of devices
allow ueventd wifi_data_file:dir r_dir_perms;
allow ueventd wifi_data_file:file r_file_perms;
# ueventd loads audio firmware on many devices
allow ueventd audio_data_file:dir r_dir_perms;
allow ueventd audio_data_file:file r_file_perms;