libcutils: add file permission for storaged

Change-Id: I09b11db0a7a94b51b5b279b3e4ec58ea9f0c12d7
This commit is contained in:
Jin Qian 2016-11-10 11:56:44 -08:00
parent 62cb372279
commit 6c9477a244

View file

@ -149,6 +149,10 @@ static const struct fs_path_config android_files[] = {
"system/bin/run-as" },
{ 00700, AID_SYSTEM, AID_SHELL, CAP_MASK_LONG(CAP_BLOCK_SUSPEND),
"system/bin/inputflinger" },
{ 00750, AID_SYSTEM, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) |
CAP_MASK_LONG(CAP_SETGID) |
CAP_MASK_LONG(CAP_SYS_PTRACE),
"system/bin/storaged" },
/* Support FIFO scheduling mode in SurfaceFlinger. */
{ 00755, AID_SYSTEM, AID_GRAPHICS, CAP_MASK_LONG(CAP_SYS_NICE),