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

Issue 1065963002: Add utime implementation to libnacl (Closed)

Created:
5 years, 8 months ago by Sam Clegg
Modified:
5 years, 8 months ago
Reviewers:
Mark Seaborn
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/src/native_client.git@master
Target Ref:
refs/heads/master
Project:
nacl
Visibility:
Public.

Description

Add utime implementation to libnacl This relies on the IRT utimes function to implement utime. Although the sel_ldr syscall is not yet implemented this change allows nacl_io to intercept utime calls without overriding utime itself. R=mseaborn@chromium.org BUG= https://code.google.com/p/chromium/issues/detail?id=387487 Committed: https://chromium.googlesource.com/native_client/src/native_client/+/405975899a17e58d3541cbd59ba1bb89600d1f4a

Patch Set 1 #

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -27 lines) Patch
M src/untrusted/nacl/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M src/untrusted/nacl/nacl.gyp View 2 chunks +1 line, -1 line 0 comments Download
M src/untrusted/nacl/nacl.scons View 2 chunks +1 line, -1 line 0 comments Download
D src/untrusted/nacl/stubs/utime.c View 1 chunk +0 lines, -20 lines 0 comments Download
A src/untrusted/nacl/utime.c View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
M tests/syscalls/syscalls.cc View 1 2 3 4 chunks +26 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Sam Clegg
5 years, 8 months ago (2015-04-07 16:55:39 UTC) #1
Mark Seaborn
LGTM with some tweaks... https://codereview.chromium.org/1065963002/diff/20001/src/untrusted/nacl/sys_private.c File src/untrusted/nacl/sys_private.c (right): https://codereview.chromium.org/1065963002/diff/20001/src/untrusted/nacl/sys_private.c#newcode256 src/untrusted/nacl/sys_private.c:256: int utime(const char *path, const ...
5 years, 8 months ago (2015-04-07 19:08:43 UTC) #2
Sam Clegg
https://codereview.chromium.org/1065963002/diff/20001/src/untrusted/nacl/sys_private.c File src/untrusted/nacl/sys_private.c (right): https://codereview.chromium.org/1065963002/diff/20001/src/untrusted/nacl/sys_private.c#newcode256 src/untrusted/nacl/sys_private.c:256: int utime(const char *path, const struct utimbuf *buf) { ...
5 years, 8 months ago (2015-04-10 21:18:56 UTC) #3
Mark Seaborn
LGTM with comment fixes. https://codereview.chromium.org/1065963002/diff/40001/src/untrusted/nacl/utime.c File src/untrusted/nacl/utime.c (right): https://codereview.chromium.org/1065963002/diff/40001/src/untrusted/nacl/utime.c#newcode13 src/untrusted/nacl/utime.c:13: * TODO(sbc): remove this once ...
5 years, 8 months ago (2015-04-15 18:14:18 UTC) #4
Sam Clegg
https://codereview.chromium.org/1065963002/diff/40001/src/untrusted/nacl/utime.c File src/untrusted/nacl/utime.c (right): https://codereview.chromium.org/1065963002/diff/40001/src/untrusted/nacl/utime.c#newcode13 src/untrusted/nacl/utime.c:13: * TODO(sbc): remove this once utimes declaration get added ...
5 years, 8 months ago (2015-04-15 20:46:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1065963002/60001
5 years, 8 months ago (2015-04-15 20:46:56 UTC) #8
commit-bot: I haz the power
5 years, 8 months ago (2015-04-15 22:57:50 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/native_client/src/native_client/+/405975899...

Powered by Google App Engine
This is Rietveld 408576698