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

Allow apexd to configure /sys/block/dm-

To configure readahead for APEX dm-verity devices.

Bug: 117823094
Test: apexd can change readahead
Change-Id: Ie0396d59ef758ad55f499f65957697d26a48aae9
parent ac2b2d44
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,10 @@ allow apexd apex_mnt_dir:lnk_file create_file_perms;
# Unmount and mount filesystems
allow apexd labeledfs:filesystem { mount unmount };
# Configure read-ahead of dm-verity devices
allow apexd sysfs_dm:dir r_dir_perms;
allow apexd sysfs_dm:file rw_file_perms;
# Spawning a libbinder thread results in a dac_override deny,
# /dev/cpuset/tasks is owned by system.
#
......
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