1. seandroid
  2. Untitled project
  3. external/sepolicy

Commits

Stephen Smalley  committed c14e797

vold needs sys_boot for reboot upon encrypting userdata.

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

  • Participants
  • Parent commits 49857c5
  • Branches seandroid-4.3

Comments (0)

Files changed (1)

File vold.te

View file
  • Ignore whitespace
 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;