|
|
Created:
5 years, 10 months ago by mdempsky Modified:
5 years, 10 months ago CC:
chromium-reviews, rickyz+watch_chromium.org, jln+watch_chromium.org, hidehiko Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptionsandbox: use waitpid consistently
The BMM PNaCl toolchain doesn't currently support waitid. Arguably it
should because it's in POSIX, but the userland/Linux signal ABI
mismatch makes it non-trivial because of the siginfo_t. Since we
don't need the siginfo_t anyway, we can just use waitpid instead.
While here, use WIFEXITED and WEXITSTATUS for interpreting status
instead of directly comparing it to the expected exit code.
Committed: https://crrev.com/b71febc45698e4cae48c92c7a99d235da41adb55
Cr-Commit-Position: refs/heads/master@{#317080}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Respond to jln feedback #Messages
Total messages: 24 (9 generated)
mdempsky@chromium.org changed reviewers: + jln@chromium.org, rickyz@chromium.org
lgtm
The CQ bit was checked by mdempsky@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/928963003/1
The CQ bit was unchecked by commit-bot@chromium.org
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an LGTM may have been provided, it was from a non-committer, _not_ a full super star committer. See http://www.chromium.org/getting-involved/become-a-committer Note that this has nothing to do with OWNERS files.
lgtm https://codereview.chromium.org/928963003/diff/1/sandbox/linux/services/crede... File sandbox/linux/services/credentials.cc (right): https://codereview.chromium.org/928963003/diff/1/sandbox/linux/services/crede... sandbox/linux/services/credentials.cc:117: return WIFEXITED(status) && WEXITSTATUS(status) == kExitSuccess; ugh, thanks :/ https://codereview.chromium.org/928963003/diff/1/sandbox/linux/services/crede... sandbox/linux/services/credentials.cc:184: CHECK_EQ(0, WEXITSTATUS(status)); Since you're now checking the exit code, do you want to use kExitSuccess here and in _exit() above?
New patchsets have been uploaded after l-g-t-m from rickyz@chromium.org,jln@chromium.org
https://codereview.chromium.org/928963003/diff/1/sandbox/linux/services/crede... File sandbox/linux/services/credentials.cc (right): https://codereview.chromium.org/928963003/diff/1/sandbox/linux/services/crede... sandbox/linux/services/credentials.cc:184: CHECK_EQ(0, WEXITSTATUS(status)); On 2015/02/19 03:59:59, jln wrote: > Since you're now checking the exit code, do you want to use kExitSuccess here > and in _exit() above? Done.
The CQ bit was checked by mdempsky@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/928963003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by mdempsky@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/928963003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
On 2015/02/19 06:29:35, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, > http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) Err... WTF? Any ideas why webgl_conformance would be affected by this CL?
On 2015/02/19 06:34:59, mdempsky wrote: > On 2015/02/19 06:29:35, I haz the power (commit-bot) wrote: > > Try jobs failed on following builders: > > linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, > > > http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) > > Err... WTF? Any ideas why webgl_conformance would be affected by this CL? This is so odd. I'll try the CQ another time...
The CQ bit was checked by jln@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/928963003/20001
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/b71febc45698e4cae48c92c7a99d235da41adb55 Cr-Commit-Position: refs/heads/master@{#317080} |