diff --git a/ueventd.te b/ueventd.te index e80fa32b8517f80d4e86059b0232819bb040cf97..66e70e874db43de0a771c5bbfe3676f9b78f6323 100644 --- a/ueventd.te +++ b/ueventd.te @@ -12,8 +12,9 @@ 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:file setattr; +allow ueventd sysfs:file relabelfrom; allow ueventd sysfs_type:file { relabelfrom relabelto }; -allow ueventd sysfs_devices_system_cpu:file rw_file_perms; +allow ueventd sysfs_devices_system_cpu:file {rw_file_perms setattr}; allow ueventd tmpfs:chr_file rw_file_perms; allow ueventd dev_type:dir create_dir_perms; allow ueventd dev_type:lnk_file { create unlink };