Skip to content
Snippets Groups Projects
Commit 7ba028a6 authored by Jin Qian's avatar Jin Qian Committed by android-build-merger
Browse files

Merge "storaged: allow shell to call dumpsys storaged" am: eca32251 am: f81e48b6

am: fc8bbd7e

Change-Id: I1f7323f857093bc793bd03f956c64626170e503f
parents 1eb656f0 fc8bbd7e
No related branches found
No related tags found
No related merge requests found
......@@ -10,3 +10,6 @@ allow shell atrace_exec:file rx_file_perms;
# Run app_process.
# XXX Transition into its own domain?
app_domain(shell)
# allow shell to call dumpsys storaged
binder_call(shell, storaged)
......@@ -21,6 +21,10 @@ userdebug_or_eng(`
allow storaged debugfs_mmc:file r_file_perms;
')
# Needed to provide debug dump output via dumpsys pipes.
allow storaged shell:fd use;
allow storaged shell:fifo_file write;
# Binder permissions
add_service(storaged, storaged_service)
......
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