Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Issue 2160243002: android: Use /data/local/tmp/ for the command line on userdebug and eng builds. (Closed)

Created:
4 years, 5 months ago by Benoit L
Modified:
4 years, 5 months ago
Reviewers:
Torne
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

android: Use /data/local/tmp/ for the command line on userdebug and eng builds. Android N SELinux policy doesn't allow reading files in /data/local/ anymore. This makes it harder to pass command line arguments. Check /data/local/tmp on debuggable builds, since this is still readable on Android N. BUG=593720 Committed: https://crrev.com/486b0ddbd566364b5d196510a4abe51b4293cdab Cr-Commit-Position: refs/heads/master@{#406287}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M base/android/java/src/org/chromium/base/CommandLineInitUtil.java View 3 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Benoit L
4 years, 5 months ago (2016-07-19 15:01:04 UTC) #6
Benoit L
On 2016/07/19 15:01:04, Benoit L wrote: Note: I tested it on a userdebug N phone, ...
4 years, 5 months ago (2016-07-19 15:01:23 UTC) #7
Torne
This means the existing scripts will immediately break - do we maybe want to check ...
4 years, 5 months ago (2016-07-19 15:17:56 UTC) #8
Benoit L
On 2016/07/19 15:17:56, Torne wrote: > This means the existing scripts will immediately break - ...
4 years, 5 months ago (2016-07-19 15:45:09 UTC) #9
Torne
Oh, sorry, I didn't notice that it checks for the file existing first; I thought ...
4 years, 5 months ago (2016-07-19 15:59:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2160243002/1
4 years, 5 months ago (2016-07-19 16:00:35 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-19 16:05:16 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-19 16:05:20 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 16:07:34 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/486b0ddbd566364b5d196510a4abe51b4293cdab
Cr-Commit-Position: refs/heads/master@{#406287}

Powered by Google App Engine
This is Rietveld 408576698