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

Issue 939723003: sandbox: Change directory names in ProcUtil test to support Android (Closed)

Created:
5 years, 10 months ago by leecam
Modified:
5 years, 10 months ago
CC:
chromium-reviews, rickyz+watch_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

sandbox: Change directory names in ProcUtil test to support Android The ProcUtil tests HasOpenDirectory HasOpenDirectoryWithFD use /dev to test HasOpenDirectory. /dev fails to open on Android due to SELinux. This change picks /proc/self instead, which will work on all linux platforms. BUG=459360 TEST=sandbox_linux_unittests Committed: https://crrev.com/5a50fdd84f42a4df08cced9d792985336b5335a4 Cr-Commit-Position: refs/heads/master@{#317366}

Patch Set 1 #

Total comments: 3

Patch Set 2 : better naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M sandbox/linux/services/proc_util_unittest.cc View 1 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
jln (very slow on Chromium)
Thanks Lee, lgtm! https://chromiumcodereview.appspot.com/939723003/diff/1/sandbox/linux/services/proc_util_unittest.cc File sandbox/linux/services/proc_util_unittest.cc (right): https://chromiumcodereview.appspot.com/939723003/diff/1/sandbox/linux/services/proc_util_unittest.cc#newcode51 sandbox/linux/services/proc_util_unittest.cc:51: // Have a "/proc/self" file descriptor ...
5 years, 10 months ago (2015-02-19 00:47:21 UTC) #2
leecam
https://codereview.chromium.org/939723003/diff/1/sandbox/linux/services/proc_util_unittest.cc File sandbox/linux/services/proc_util_unittest.cc (right): https://codereview.chromium.org/939723003/diff/1/sandbox/linux/services/proc_util_unittest.cc#newcode51 sandbox/linux/services/proc_util_unittest.cc:51: // Have a "/proc/self" file descriptor around. On 2015/02/19 ...
5 years, 10 months ago (2015-02-20 00:27:43 UTC) #3
jln (very slow on Chromium)
https://codereview.chromium.org/939723003/diff/1/sandbox/linux/services/proc_util_unittest.cc File sandbox/linux/services/proc_util_unittest.cc (right): https://codereview.chromium.org/939723003/diff/1/sandbox/linux/services/proc_util_unittest.cc#newcode51 sandbox/linux/services/proc_util_unittest.cc:51: // Have a "/proc/self" file descriptor around. On 2015/02/20 ...
5 years, 10 months ago (2015-02-20 01:14:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/939723003/20001
5 years, 10 months ago (2015-02-20 17:44:11 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/25)
5 years, 10 months ago (2015-02-20 18:42:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/939723003/20001
5 years, 10 months ago (2015-02-20 19:16:15 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-20 19:23:10 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 19:24:01 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5a50fdd84f42a4df08cced9d792985336b5335a4
Cr-Commit-Position: refs/heads/master@{#317366}

Powered by Google App Engine
This is Rietveld 408576698