diff options
author | Steve Kondik <shade@chemlab.org> | 2014-04-05 14:08:20 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2014-04-05 14:56:09 -0700 |
commit | d3827c4f4170f7b647d776f1901e2422ab8adcca (patch) | |
tree | fd5c58d210c819d8eef68ab4d5db36a8e4342450 /sepolicy | |
parent | 002b4f0a4f2579e1ff96244ba3804ce0729a9810 (diff) | |
download | vendor_replicant-d3827c4f4170f7b647d776f1901e2422ab8adcca.zip vendor_replicant-d3827c4f4170f7b647d776f1901e2422ab8adcca.tar.gz vendor_replicant-d3827c4f4170f7b647d776f1901e2422ab8adcca.tar.bz2 |
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
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/ueventd.te | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sepolicy/ueventd.te b/sepolicy/ueventd.te index 52e1948..396e266 100644 --- a/sepolicy/ueventd.te +++ b/sepolicy/ueventd.te @@ -3,3 +3,11 @@ allow ueventd sysfs:file relabelfrom; # ueventd will set permissions on cpufreq nodes 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; |