blob: 396e266c89c1887ba51d7eca7cd10aedb732d159 [file] [log] [blame]
Steve Kondik002b4f02014-04-05 14:05:13 -07001# ueventd needs to relabel files that pop in and out of sysfs
2allow ueventd sysfs:file relabelfrom;
3
4# ueventd will set permissions on cpufreq nodes
5allow ueventd sysfs_devices_system_cpu:file setattr;
Steve Kondikd3827c42014-04-05 14:08:20 -07006
7# ueventd loads wifi firmware on a ton of devices
8allow ueventd wifi_data_file:dir r_dir_perms;
9allow ueventd wifi_data_file:file r_file_perms;
10
11# ueventd loads audio firmware on many devices
12allow ueventd audio_data_file:dir r_dir_perms;
13allow ueventd audio_data_file:file r_file_perms;