Skip to content
Snippets Groups Projects
Commit 59cd88e2 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Gerrit Code Review
Browse files

Merge "Allow installd to get/set filesystem quotas."

parents a24fae4f fe1de046
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
type installd, domain, domain_deprecated; type installd, domain, domain_deprecated;
type installd_exec, exec_type, file_type; type installd_exec, exec_type, file_type;
typeattribute installd mlstrustedsubject; typeattribute installd mlstrustedsubject;
allow installd self:capability { chown dac_override fowner fsetid setgid setuid }; allow installd self:capability { chown dac_override fowner fsetid setgid setuid sys_admin };
# Allow labeling of files under /data/app/com.example/oat/ # Allow labeling of files under /data/app/com.example/oat/
allow installd dalvikcache_data_file:dir relabelto; allow installd dalvikcache_data_file:dir relabelto;
...@@ -127,6 +127,10 @@ allow installd dumpstate:fifo_file { getattr write }; ...@@ -127,6 +127,10 @@ allow installd dumpstate:fifo_file { getattr write };
binder_call(installd, system_server) binder_call(installd, system_server)
allow installd permission_service:service_manager find; allow installd permission_service:service_manager find;
# Allow installd to read and write quotas
allow installd block_device:dir { search };
allow installd labeledfs:filesystem { quotaget quotamod };
### ###
### Neverallow rules ### Neverallow rules
### ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment