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

Unified Diff: native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc

Issue 15800004: [NaCl SDK] nacl_io: Added support for access() syscall. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to HEAD. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc
diff --git a/native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc b/native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc
index 9e6f4832a730b77c207a7a9b76620a7bd1d24645..7b70e889180f6d26495c03f04410faf26764d59f 100644
--- a/native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc
+++ b/native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc
@@ -30,6 +30,7 @@ class MountRefMock : public Mount {
~MountRefMock() { (*mount_count)--; }
public:
+ Error Access(const Path& path, int a_mode) { return ENOSYS; }
Error Open(const Path& path, int mode, MountNode** out_node) {
*out_node = NULL;
return ENOSYS;

Powered by Google App Engine
This is Rietveld 408576698