platform_vendor_tequila/sepolicy/ueventd.te
Steve Kondik d3827c4f41 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
2014-04-05 14:56:09 -07:00

13 lines
491 B
Text

# ueventd needs to relabel files that pop in and out of sysfs
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;