sepolicy: rmt_storage: remove access to qti_debugfs for rmt_storage

This change removes the access to qti_debugfs file context for
rmt_storage.

Change-Id: I8e92ef3929fbc4cc39bea3a5847f64e6c72b97ed
This commit is contained in:
Ankit Jain
2017-10-23 18:18:03 +05:30
committed by Gerrit - the friendly Code Review server
parent 0fc201444c
commit f0fe2057d6

View File

@@ -20,12 +20,6 @@ allowxperm rmt_storage self:socket ioctl IPC_ROUTER_IOCTL_BIND_CONTROL_PORT;
allow rmt_storage kmsg_device:chr_file w_file_perms;
#debugfs access
userdebug_or_eng(`
allow rmt_storage debugfs_rmt_storage:dir search;
allow rmt_storage debugfs_rmt_storage:file w_file_perms;
')
r_dir_file(rmt_storage, sysfs_uio)
r_dir_file(rmt_storage, sysfs_uio_file)