Commits

Stephen Smalley  committed c2d256c

Fix vold denials related to encrypting userdata.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>

  • Participants
  • Parent commits d7b2669
  • Branches seandroid-4.2

Comments (0)

Files changed (1)

 allow vold tmpfs:filesystem { mount unmount };
 allow vold tmpfs:dir create_dir_perms;
 allow vold tmpfs:dir mounton;
-allow vold self:capability { net_admin dac_override mknod sys_admin chown fowner fsetid };
+allow vold self:capability { net_admin dac_override mknod sys_admin chown fowner fsetid sys_boot };
 allow vold self:netlink_kobject_uevent_socket *;
 allow vold app_data_file:dir search;
 allow vold app_data_file:file rw_file_perms;
 allow vold kernel:system module_request;
 
 # Write to /proc/sysrq-trigger
-allow vold sysrq_proc:file write;
+allow vold sysrq_proc:file w_file_perms;
 
 # Create and mount on /data/tmp_mnt.
 allow vold system_data_file:dir { rw_dir_perms mounton };