diff options
author | ripp <ripp@yandex-team.ru> | 2015-01-23 06:51:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-23 14:52:57 +0000 |
commit | 8fe7481f6b9d9c4012390b959fc7a305111a5a23 (patch) | |
tree | c3d11d7d357ca1b2348f622adcda4a2a1755e926 /components/nacl/renderer | |
parent | f8c1329271d1268fd5cd7c8d4c7f65233f918961 (diff) | |
download | chromium_src-8fe7481f6b9d9c4012390b959fc7a305111a5a23.zip chromium_src-8fe7481f6b9d9c4012390b959fc7a305111a5a23.tar.gz chromium_src-8fe7481f6b9d9c4012390b959fc7a305111a5a23.tar.bz2 |
Fixed running gdb on rooted device
The command passed as a parameter to some implementations of "su" must
be enclosed in quotation marks. Otherwise, the command contains spaces,
can be splited into several commands. For example 'su -c echo foo' can
be executed by "su" as two commands: "echo" and "foo". The right way to
run this is 'su -c "echo foo"'. This patch fixes "su" behaviour and
still works fine without --su-prefix flag
Added quotes around adb shell command
R=jbudorick@chromium.org, klundberg@chromium.org
TEST=Run build/android/adb_gdb with parameter --su-prefix="su -c", on device which is rooted with "SuperSU v1.99 - Copyright (C) 2012-2014 - Chainfire"
Review URL: https://codereview.chromium.org/855943002
Cr-Commit-Position: refs/heads/master@{#312845}
Diffstat (limited to 'components/nacl/renderer')
0 files changed, 0 insertions, 0 deletions