aboutsummaryrefslogtreecommitdiffstats
path: root/uncrypt.te
diff options
context:
space:
mode:
Diffstat (limited to 'uncrypt.te')
-rw-r--r--uncrypt.te5
1 files changed, 4 insertions, 1 deletions
diff --git a/uncrypt.te b/uncrypt.te
index 265a8b1..743236d 100644
--- a/uncrypt.te
+++ b/uncrypt.te
@@ -1,5 +1,5 @@
# uncrypt
-type uncrypt, domain;
+type uncrypt, domain, mlstrustedsubject;
type uncrypt_exec, exec_type, file_type;
init_daemon_domain(uncrypt)
@@ -28,3 +28,6 @@ allow uncrypt powerctl_prop:property_service set;
allow uncrypt self:capability sys_rawio;
allow uncrypt block_device:blk_file w_file_perms;
allow uncrypt block_device:dir r_dir_perms;
+
+# Access userdata block device.
+allow uncrypt userdata_block_device:blk_file w_file_perms;