Skip to content
Snippets Groups Projects
Commit 179ada91 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

Allow apexd to also create dirs/files in its storage.

Bug: 118865310
Test: no denials when running ApexServiceTest#SubmitSessionTestSuccess
Change-Id: I9a309fca99c23ca7db4af58db782a2bd6a83d829
parent a7397469
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,9 @@ init_daemon_domain(apexd)
allow apexd apex_key_file:dir { search getattr };
allow apexd apex_key_file:file r_file_perms;
# Allow reading and writing of APEX files in the APEX data dir
allow apexd apex_data_file:dir rw_dir_perms;
allow apexd apex_data_file:file rw_file_perms;
# Allow creating, reading and writing of APEX files/dirs in the APEX data dir
allow apexd apex_data_file:dir create_dir_perms;
allow apexd apex_data_file:file create_file_perms;
# allow apexd to create loop devices with /dev/loop-control
allow apexd loop_control_device:chr_file rw_file_perms;
......
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