blob: 4445183a0a0a37ce37d680f2a1662fd01c37b78b [file] [log] [blame]
William Roberts80ea1d22012-05-31 09:44:51 -04001type sdcardd, domain;
2type sdcardd_exec, exec_type, file_type;
3
4init_daemon_domain(sdcardd)
5
6allow sdcardd cgroup:dir create_dir_perms;
7allow sdcardd fuse_device:chr_file rw_file_perms;
8allow sdcardd rootfs:dir mounton;
William Robertsc195ec32013-03-06 16:26:36 -08009allow sdcardd sdcard_type:filesystem mount;
Robert Craig1ed1eff2013-01-30 06:51:22 -050010allow sdcardd self:capability { setuid setgid dac_override sys_admin };
William Roberts80ea1d22012-05-31 09:44:51 -040011allow sdcardd system_data_file:dir create_dir_perms;
12allow sdcardd system_data_file:file create_file_perms;