Index: native_client_sdk/src/libraries/nacl_io/mount_passthrough.cc |
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_passthrough.cc b/native_client_sdk/src/libraries/nacl_io/mount_passthrough.cc |
index 268cbea7a593bc0841317d2aeb38cb6b8bd6ce11..5e7ec8a3afbd22ba03c6e6d7b19aead166b7bf88 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/mount_passthrough.cc |
+++ b/native_client_sdk/src/libraries/nacl_io/mount_passthrough.cc |
@@ -108,6 +108,11 @@ Error MountPassthrough::Init(int dev, |
void MountPassthrough::Destroy() {} |
+Error MountPassthrough::Access(const Path& path, int a_mode) { |
+ // There is no underlying 'access' syscall in NaCl. It just returns ENOSYS. |
+ return ENOSYS; |
+} |
+ |
Error MountPassthrough::Open(const Path& path, int mode, MountNode** out_node) { |
*out_node = NULL; |