am b8bdfde3: ueventd: Add policy support for ueventd labeling changes

* commit 'b8bdfde3d0d23f4730155bba807276eb06a3aa48':
  ueventd: Add policy support for ueventd labeling changes
This commit is contained in:
Nick Kralevich 2014-07-07 19:48:19 +00:00 committed by Android Git Automerger
commit 7b7a25eaa5

View file

@ -10,7 +10,8 @@ allow ueventd self:capability { chown mknod net_admin setgid fsetid sys_rawio da
allow ueventd device:file create_file_perms;
allow ueventd device:chr_file rw_file_perms;
allow ueventd sysfs:file rw_file_perms;
allow ueventd sysfs_type:file { relabelfrom relabelto setattr };
allow ueventd sysfs_type:file { relabelfrom relabelto setattr getattr };
allow ueventd sysfs_type:dir { relabelfrom relabelto setattr r_dir_perms };
allow ueventd sysfs_devices_system_cpu:file rw_file_perms;
allow ueventd tmpfs:chr_file rw_file_perms;
allow ueventd dev_type:dir create_dir_perms;