diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 45a7e0b..c01a8b4 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -1371,6 +1371,7 @@ service irsc_util /system/bin/irsc_util "/etc/sec_config" service rmt_storage /system/bin/rmt_storage class core user root + group wakelock writepid /dev/cpuset/system-background/tasks service tftp_server /system/bin/tftp_server diff --git a/sepolicy/rmt_storage.te b/sepolicy/rmt_storage.te index a9a340f..2fc2dac 100644 --- a/sepolicy/rmt_storage.te +++ b/sepolicy/rmt_storage.te @@ -1,3 +1,3 @@ -allow rmt_storage self:capability { dac_override net_raw }; +allow rmt_storage self:capability net_raw; set_prop(rmt_storage, rmt_storage_prop)