diff --git a/sepolicy/rild.te b/sepolicy/rild.te index a74bc4d..0adfd16 100644 --- a/sepolicy/rild.te +++ b/sepolicy/rild.te @@ -3,7 +3,7 @@ allow rild persist_file:dir search; allow rild persist_file:file rw_file_perms; allow rild cutback_data_file:dir rw_dir_perms; -allow rild cutback_data_file:sock_file rw_file_perms; +allow rild cutback_data_file:sock_file create_file_perms; allow rild sensorservice_service:service_manager find; allow rild system_server:binder { transfer call }; allow rild system_server:unix_stream_socket { read getopt write }; diff --git a/sepolicy/ueventd.te b/sepolicy/ueventd.te index ed1d71a..d360c5a 100644 --- a/sepolicy/ueventd.te +++ b/sepolicy/ueventd.te @@ -1,8 +1,7 @@ -allow ueventd device:chr_file { relabelfrom relabelto }; allow ueventd sysfs_mmi_fp:file w_file_perms; allow ueventd sysfs_mmi_touch:file w_file_perms; allow ueventd sysfs_mmi_touch:dir search; -allow ueventd synaptics_rmi_device:chr_file rw_file_perms; +allow ueventd synaptics_rmi_device:chr_file { rw_file_perms relabelfrom relabelto}; allow ueventd sysfs_fpc:file rw_file_perms; allow ueventd sysfs_sensors:file rw_file_perms;