Skip to content
Snippets Groups Projects
Commit ecf06230 authored by Hridya Valsaraju's avatar Hridya Valsaraju Committed by android-build-merger
Browse files

Merge "Add a few permissions required by fastbootd"

am: a0718293

Change-Id: I53e93a5dd95a68f68307c692e0e86a063be8e99d
parents e5ff5023 a0718293
No related branches found
No related tags found
No related merge requests found
...@@ -61,8 +61,13 @@ recovery_only(` ...@@ -61,8 +61,13 @@ recovery_only(`
allow fastbootd proc_cmdline:file r_file_perms; allow fastbootd proc_cmdline:file r_file_perms;
allow fastbootd rootfs:dir r_dir_perms; allow fastbootd rootfs:dir r_dir_perms;
# Needed to read fstab node from device tree.
allow fastbootd sysfs_dt_firmware_android:file r_file_perms; allow fastbootd sysfs_dt_firmware_android:file r_file_perms;
allow fastbootd sysfs_dt_firmware_android:dir r_dir_perms;
# Needed for realpath() call to resolve symlinks.
allow fastbootd block_device:dir getattr;
userdebug_or_eng(` userdebug_or_eng(`
# Refined manipulation of /mnt/scratch, without these perms resorts # Refined manipulation of /mnt/scratch, without these perms resorts
# to deleting scratch partition when partition(s) are flashed. # to deleting scratch partition when partition(s) are flashed.
......
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