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

Issue 576363002: [NaCl SDK] nacl_io: handle null irt function pointers (Closed)

Created:
6 years, 3 months ago by Sam Clegg
Modified:
6 years, 3 months ago
Reviewers:
binji
CC:
chromium-reviews, binji+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[NaCl SDK] nacl_io: handle null irt function pointers Under pnacl the filename-dev irt interface is not available which means the "real" pointers end up being NULL. Without this fix nacl_io will crash on fist call to open(2) in the passthrough fs (the default root filesystem!). Technically this change is only needed for newlib today but applying to all libc versions since the availability of dev interfaces is never guaranteed. Committed: https://crrev.com/b8bb8fcd9db486a59ecd8e16fd580ca99704e4ad Cr-Commit-Position: refs/heads/master@{#295414}

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -28 lines) Patch
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc View 1 3 chunks +7 lines, -9 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc View 1 3 chunks +9 lines, -10 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc View 1 3 chunks +8 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Sam Clegg
6 years, 3 months ago (2014-09-17 23:05:04 UTC) #2
binji
I cross-checked against irt_dev.h and found some other spots, I think. Otherwise, lgtm https://codereview.chromium.org/576363002/diff/1/native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc File ...
6 years, 3 months ago (2014-09-17 23:30:45 UTC) #3
Sam Clegg
On 2014/09/17 23:30:45, binji wrote: > I cross-checked against irt_dev.h and found some other spots, ...
6 years, 3 months ago (2014-09-17 23:35:24 UTC) #4
binji
On 2014/09/17 23:35:24, Sam Clegg wrote: > On 2014/09/17 23:30:45, binji wrote: > > I ...
6 years, 3 months ago (2014-09-17 23:37:22 UTC) #5
Sam Clegg
On 2014/09/17 23:37:22, binji wrote: > On 2014/09/17 23:35:24, Sam Clegg wrote: > > On ...
6 years, 3 months ago (2014-09-18 00:04:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/576363002/20001
6 years, 3 months ago (2014-09-18 00:36:09 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 87e5555fab97025e2d419758d255876fda00b99f
6 years, 3 months ago (2014-09-18 04:34:12 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 04:34:47 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b8bb8fcd9db486a59ecd8e16fd580ca99704e4ad
Cr-Commit-Position: refs/heads/master@{#295414}

Powered by Google App Engine
This is Rietveld 408576698