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

Issue 474433005: [NaCl SDK] Remove syscalls wrappers for chmod and unlink. (Closed)

Created:
6 years, 4 months ago by Sam Clegg
Modified:
6 years, 4 months ago
Reviewers:
binji
CC:
chromium-reviews, binji+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

[NaCl SDK] Remove syscalls wrappers for chmod and unlink. This allows applications that are linked with nacl_io to use the libc-supplied versions of these functions when nacl_io is not initialized. Fix some issues with using nacl_io without ppapi present. Add some tests for using syscalls when nacl_io is not initialized. R=binji@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291036

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 12

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -77 lines) Patch
M native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_intercept.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc View 1 2 3 4 3 chunks +28 lines, -14 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_object.cc View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc View 1 2 3 4 3 chunks +12 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_dummy.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc View 1 2 3 6 chunks +20 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h View 1 chunk +1 line, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/library.dsc View 1 2 3 3 chunks +1 line, -6 lines 0 comments Download
D native_client_sdk/src/libraries/nacl_io/syscalls/chmod.c View 1 chunk +0 lines, -10 lines 0 comments Download
D native_client_sdk/src/libraries/nacl_io/syscalls/link.c View 1 2 3 1 chunk +0 lines, -10 lines 0 comments Download
A + native_client_sdk/src/libraries/nacl_io/syscalls/mount.c View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
D native_client_sdk/src/libraries/nacl_io/syscalls/syscall_mount.c View 1 2 3 1 chunk +0 lines, -11 lines 0 comments Download
D native_client_sdk/src/libraries/nacl_io/syscalls/unlink.c View 1 chunk +0 lines, -12 lines 0 comments Download
M native_client_sdk/src/libraries/ppapi_simple/ps.h View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/ppapi_simple/ps.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc View 1 2 3 4 3 chunks +39 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Sam Clegg
6 years, 4 months ago (2014-08-20 11:00:49 UTC) #1
binji
lgtm https://codereview.chromium.org/474433005/diff/100001/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc File native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc (right): https://codereview.chromium.org/474433005/diff/100001/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc#newcode147 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc:147: // succeed. If we haven't initialized kernel-intercept yet, ...
6 years, 4 months ago (2014-08-20 18:13:35 UTC) #2
Sam Clegg
https://codereview.chromium.org/474433005/diff/100001/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc File native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc (right): https://codereview.chromium.org/474433005/diff/100001/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc#newcode147 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc:147: // succeed. If we haven't initialized kernel-intercept yet, they ...
6 years, 4 months ago (2014-08-21 10:19:34 UTC) #3
Sam Clegg
6 years, 4 months ago (2014-08-21 10:20:01 UTC) #4
Message was sent while issue was closed.
Committed patchset #5 manually as 291036 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698