Skip to content
Snippets Groups Projects
Commit ebd94809 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

am: ecf06230

Change-Id: I6cbd42e70bac1dc33218d1344ff9cb8c73374ff8
parents e1b0d956 ecf06230
No related branches found
No related tags found
No related merge requests found
......@@ -61,8 +61,13 @@ recovery_only(`
allow fastbootd proc_cmdline:file r_file_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:dir r_dir_perms;
# Needed for realpath() call to resolve symlinks.
allow fastbootd block_device:dir getattr;
userdebug_or_eng(`
# Refined manipulation of /mnt/scratch, without these perms resorts
# 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