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

am: ebd94809

Change-Id: Ic26678ba99bf79d4596bda9e433748788fbf98d1
parents 32b4f50c ebd94809
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